Searched refs:findIndexHinted (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 116 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 118 assertEquals(1, stats.findIndexHinted(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 120 assertEquals(2, stats.findIndexHinted(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 122 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, in testFindIndexHinted() 124 assertEquals(4, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, in testFindIndexHinted() 126 assertEquals(5, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, in testFindIndexHinted() 128 assertEquals(6, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 130 assertEquals(7, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 132 assertEquals(-1, stats.findIndexHinted(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 134 assertEquals(-1, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 564 public int findIndexHinted(String iface, int uid, int set, int tag, int metered, int roaming, in findIndexHinted() method in NetworkStats 797 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, in subtract()
|