resolved conflicts for a884d81e to stage-aosp-master
Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
This commit is contained in:
@@ -185,7 +185,7 @@ static jlong getUidStat(JNIEnv* env, jclass clazz, jint uid, jint type) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static JNINativeMethod gMethods[] = {
|
static const JNINativeMethod gMethods[] = {
|
||||||
{"nativeGetTotalStat", "(I)J", (void*) getTotalStat},
|
{"nativeGetTotalStat", "(I)J", (void*) getTotalStat},
|
||||||
{"nativeGetIfaceStat", "(Ljava/lang/String;I)J", (void*) getIfaceStat},
|
{"nativeGetIfaceStat", "(Ljava/lang/String;I)J", (void*) getIfaceStat},
|
||||||
{"nativeGetUidStat", "(II)J", (void*) getUidStat},
|
{"nativeGetUidStat", "(II)J", (void*) getUidStat},
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ static int readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static JNINativeMethod gMethods[] = {
|
static const JNINativeMethod gMethods[] = {
|
||||||
{ "nativeReadNetworkStatsDetail",
|
{ "nativeReadNetworkStatsDetail",
|
||||||
"(Landroid/net/NetworkStats;Ljava/lang/String;I[Ljava/lang/String;I)I",
|
"(Landroid/net/NetworkStats;Ljava/lang/String;I[Ljava/lang/String;I)I",
|
||||||
(void*) readNetworkStatsDetail }
|
(void*) readNetworkStatsDetail }
|
||||||
|
|||||||
Reference in New Issue
Block a user