Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/telemetry/publisher/net/
DRefinedStats.java61 int index = findIndex(bucket.getUid(), bucket.getTag()); in addNetworkStats()
87 int rIndex = right.findIndex(left.mUid.get(l), left.mTag.get(l)); in subtract()
102 private int findIndex(int uid, int tag) { in findIndex() method in RefinedStats
/packages/services/Mms/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorage.java136 int existingMmsIndex = findIndex(mms); in addIncomingMms()
166 int existingMmsIndex = findIndex(mms); in addOutgoingMms()
305 private int findIndex(IncomingMms key) { in findIndex() method in PersistMmsAtomsStorage
327 private int findIndex(OutgoingMms key) { in findIndex() method in PersistMmsAtomsStorage
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java88 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
90 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
92 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
94 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
96 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
98 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
100 assertEquals(-1, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
1115 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java113 private int findIndex(int policyId, int ifIndex) { in findIndex() method in DscpPolicyTracker
176 final int addIndex = findIndex(policy.getPolicyId(), ifIndex); in addDscpPolicyInternal()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsFactoryTest.java581 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
594 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertNoStatsEntry()
610 final int i = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertStatsEntry()
DNetworkStatsBaseTest.java97 final int i = stats.findIndex(iface, uid, s, tag, m, r, d); in assertValues()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java832 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag, entry.metered, in combineValues()
886 public int findIndex(String iface, int uid, int set, int tag, int metered, int roaming, in findIndex() method
936 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i], metered[i], roaming[i], in spliceOperationsFrom()
1852 final int idxVpnBackground = findIndex(underlyingIfaces.get(i), tunUid, SET_DEFAULT, in deductTrafficFromVpnApp()
1860 final int idxVpnForeground = findIndex(underlyingIfaces.get(i), tunUid, SET_FOREGROUND, in deductTrafficFromVpnApp()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt982 Landroid/net/NetworkStats;->findIndex(Ljava/lang/String;IIIIII)I
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt71 Landroid/icu/impl/CalendarCache;->findIndex(J)I
3183 Landroid/icu/text/Edits$Iterator;->findIndex(IZ)I