HomeSort by relevance Sort by last modified time
    Searched refs:findIndexHinted (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsTest.java 65 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, hint));
66 assertEquals(1, stats.findIndexHinted(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, hint));
67 assertEquals(2, stats.findIndexHinted(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, hint));
68 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, hint));
69 assertEquals(4, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, hint));
70 assertEquals(5, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, hint));
71 assertEquals(-1, stats.findIndexHinted(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, hint));
  /frameworks/base/core/java/android/net/
NetworkStats.java 352 public int findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) {
530 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, i);

Completed in 251 milliseconds