Searched refs:findIndexHinted (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 98 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 100 assertEquals(1, stats.findIndexHinted(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 102 assertEquals(2, stats.findIndexHinted(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 104 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, in testFindIndexHinted() 106 assertEquals(4, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, in testFindIndexHinted() 108 assertEquals(5, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, in testFindIndexHinted() 110 assertEquals(6, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 112 assertEquals(7, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, in testFindIndexHinted() 114 assertEquals(-1, stats.findIndexHinted(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, in testFindIndexHinted()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 458 public int findIndexHinted(String iface, int uid, int set, int tag, int metered, int roaming, in findIndexHinted() method in NetworkStats 677 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, in subtract()
|