Home
last modified time | relevance | path

Searched refs:findIndex (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java119 final int i = findIndex(pointerId);
131 private int findIndex(int pointerId) {
149 final int i = findIndex(pointerId);
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java50 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE)); in testFindIndex()
51 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE)); in testFindIndex()
52 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE)); in testFindIndex()
53 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE)); in testFindIndex()
405 int index = stats.findIndex(iface, uid, set, tag); in assertContains()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java159 final int i = stats.findIndex(iface, uid, set, tag); in assertStatsEntry()
167 final int i = stats.findIndex(iface, uid, set, tag); in assertStatsEntry()
/frameworks/base/core/java/android/net/
DNetworkStats.java345 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag); in combineValues()
373 public int findIndex(String iface, int uid, int set, int tag) { in findIndex() method in NetworkStats
415 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i]); in spliceOperationsFrom()
957 int idxVpnBackground = findIndex(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE); in deductTrafficFromVpnApp()
962 int idxVpnForeground = findIndex(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE); in deductTrafficFromVpnApp()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java976 final int i = stats.findIndex(iface, uid, SET_DEFAULT, tag); in assertValues()
982 final int i = stats.findIndex(iface, uid, SET_FOREGROUND, tag); in assertValues()