Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccRulesAuthTableTest.java86 assertEquals(1, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opA)); in testFindIndex()
87 assertEquals(3, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opB)); in testFindIndex()
88 assertEquals(2, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opA)); in testFindIndex()
89 assertEquals(2, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opB)); in testFindIndex()
115 assertEquals(0, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opA)); in testFindIndex_AllowAllWithUserConsent()
116 assertEquals(0, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opB)); in testFindIndex_AllowAllWithUserConsent()
117 assertEquals(0, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opA)); in testFindIndex_AllowAllWithUserConsent()
118 assertEquals(0, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opB)); in testFindIndex_AllowAllWithUserConsent()
128 assertEquals(-1, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opA)); in testFindIndex_DisallowAll()
129 assertEquals(-1, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opB)); in testFindIndex_DisallowAll()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java165 final int i = findIndex(pointerId); in captureDown()
177 private int findIndex(int pointerId) { in findIndex() method
195 final int i = findIndex(pointerId); in detectSwipe()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java77 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
79 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
81 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
83 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
85 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
87 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
89 assertEquals(-1, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
863 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains()
/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java244 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
257 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
/frameworks/base/core/java/android/net/
DNetworkStats.java464 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag, entry.metered, in combineValues()
493 public int findIndex(String iface, int uid, int set, int tag, int metered, int roaming, in findIndex() method in NetworkStats
541 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i], metered[i], roaming[i], in spliceOperationsFrom()
1264 int idxVpnBackground = findIndex(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, in deductTrafficFromVpnApp()
1270 int idxVpnForeground = findIndex(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, in deductTrafficFromVpnApp()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccRulesAuthTable.java148 public int findIndex(@EuiccProfileInfo.PolicyRule int policy, CarrierIdentifier carrierId) { in findIndex() method in EuiccRulesAuthTable
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java461 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, in testGetRulesAuthTable()
464 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, in testGetRulesAuthTable()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1201 final int i = stats.findIndex(iface, uid, s, tag, m, r, d); in assertValues()
/frameworks/base/api/
Dsystem-current.txt5362 method public int findIndex(int, android.service.carrier.CarrierIdentifier);
/frameworks/base/config/
Dboot-image-profile.txt2913 HPLandroid/icu/text/Edits$Iterator;->findIndex(IZ)I
3781 HPLandroid/net/NetworkStats;->findIndex(Ljava/lang/String;IIIIII)I
Dhiddenapi-public-dex.txt43100 Landroid/telephony/euicc/EuiccRulesAuthTable;->findIndex(ILandroid/service/carrier/CarrierIdentifie…