Home
last modified time | relevance | path

Searched refs:findIndex (Results 1 – 13 of 13) 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/wm/
DSystemGesturesPointerEventListener.java208 final int i = findIndex(pointerId); in captureDown()
224 private int findIndex(int pointerId) { in findIndex() method
242 final int i = findIndex(pointerId); in detectSwipe()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java78 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
80 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
82 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, in testFindIndex()
84 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
86 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
88 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
90 assertEquals(-1, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex()
988 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java527 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
540 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertNoStatsEntry()
556 final int i = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertStatsEntry()
DNetworkStatsBaseTest.java95 final int i = stats.findIndex(iface, uid, s, tag, m, r, d); in assertValues()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccRulesAuthTable.java148 public int findIndex(@EuiccProfileInfo.PolicyRule int policy, CarrierIdentifier carrierId) { in findIndex() method in EuiccRulesAuthTable
/frameworks/base/core/java/android/net/
DNetworkStats.java699 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag, entry.metered, in combineValues()
753 public int findIndex(String iface, int uid, int set, int tag, int metered, int roaming, in findIndex() method in NetworkStats
803 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i], metered[i], roaming[i], in spliceOperationsFrom()
1660 final int idxVpnBackground = findIndex(underlyingIfaces[i], tunUid, SET_DEFAULT, in deductTrafficFromVpnApp()
1668 final int idxVpnForeground = findIndex(underlyingIfaces[i], tunUid, SET_FOREGROUND, in deductTrafficFromVpnApp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java455 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, in testGetRulesAuthTable()
458 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, in testGetRulesAuthTable()
/frameworks/base/telephony/api/
Dsystem-current.txt1210 …method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.servic…
/frameworks/base/non-updatable-api/
Dsystem-current.txt10595 …method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.servic…
/frameworks/base/api/
Dsystem-current.txt11713 …method public int findIndex(@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.servic…
/frameworks/base/config/
Dboot-image-profile.txt10516 HSPLandroid/icu/impl/LocaleIDs;->findIndex([Ljava/lang/String;Ljava/lang/String;)I
14348 HSPLandroid/net/NetworkStats;->findIndex(Ljava/lang/String;IIIIII)I
/frameworks/base/services/
Dart-profile38124 HPLcom/android/server/wm/SystemGesturesPointerEventListener;->findIndex(I)I