Home
last modified time | relevance | path

Searched refs:kernelToTag (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java31 import static com.android.server.NetworkManagementSocketTagger.kernelToTag;
378 assertEquals(0, kernelToTag("0x0000000000000000")); in testKernelTags()
379 assertEquals(0x32, kernelToTag("0x0000003200000000")); in testKernelTags()
380 assertEquals(2147483647, kernelToTag("0x7fffffff00000000")); in testKernelTags()
381 assertEquals(0, kernelToTag("0x0000000000000000")); in testKernelTags()
382 assertEquals(2147483136, kernelToTag("0x7FFFFE0000000000")); in testKernelTags()
384 assertEquals(0, kernelToTag("0x0")); in testKernelTags()
385 assertEquals(0, kernelToTag("0xf00d")); in testKernelTags()
386 assertEquals(1, kernelToTag("0x100000000")); in testKernelTags()
387 assertEquals(14438007, kernelToTag("0xdc4e7700000000")); in testKernelTags()
[all …]
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java149 public static int kernelToTag(String string) { in kernelToTag() method in NetworkManagementSocketTagger
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java25 import static com.android.server.NetworkManagementSocketTagger.kernelToTag;
428 entry.tag = kernelToTag(reader.nextString()); in javaReadNetworkStatsDetail()