Searched refs:kernelToTag (Results 1 – 3 of 3) sorted by relevance
28 import static com.android.server.NetworkManagementSocketTagger.kernelToTag;103 assertEquals(0, kernelToTag("0x0000000000000000")); in testKernelTags()104 assertEquals(0x32, kernelToTag("0x0000003200000000")); in testKernelTags()105 assertEquals(2147483647, kernelToTag("0x7fffffff00000000")); in testKernelTags()106 assertEquals(0, kernelToTag("0x0000000000000000")); in testKernelTags()107 assertEquals(2147483136, kernelToTag("0x7FFFFE0000000000")); in testKernelTags()109 assertEquals(0, kernelToTag("0x0")); in testKernelTags()110 assertEquals(0, kernelToTag("0xf00d")); in testKernelTags()111 assertEquals(1, kernelToTag("0x100000000")); in testKernelTags()112 assertEquals(14438007, kernelToTag("0xdc4e7700000000")); in testKernelTags()[all …]
149 public static int kernelToTag(String string) { in kernelToTag() method in NetworkManagementSocketTagger
24 import static com.android.server.NetworkManagementSocketTagger.kernelToTag;373 entry.tag = kernelToTag(reader.nextString()); in javaReadNetworkStatsDetail()