Home
last modified time | relevance | path

Searched refs:hasCarrierPrivileges (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/
DCsimRemover.java78 getContext().getSystemService(TelephonyManager.class).hasCarrierPrivileges()); in ensurePreconditionsMet()
95 .hasCarrierPrivileges(),"Timeout when waiting to gain carrier privileges again."); in removeCsim()
98 .that(getContext().getSystemService(TelephonyManager.class).hasCarrierPrivileges()) in removeCsim()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCarrierPrivilegeUtils.java128 if (mTelephonyManager.hasCarrierPrivileges() != gainCarrierPrivileges) { in CarrierPrivilegeChangeMonitor()
184 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges() method in CarrierPrivilegeUtils
187 return getTelephonyManager(c, subId).hasCarrierPrivileges(); in hasCarrierPrivileges()
228 if (hasCarrierPrivileges(c, subId) == gainCarrierPrivileges in changeCarrierPrivileges()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBaseCarrierApiTest.java108 .that(getContext().getSystemService(TelephonyManager.class).hasCarrierPrivileges()) in ensurePreconditionsMet()
DCarrierApiTest.java236 .that(mTelephonyManager.hasCarrierPrivileges()) in testHasCarrierPrivileges()
262 if (telephonyManager.hasCarrierPrivileges()) { in getFirstActivateCarrierPrivilegedSubscriptionId()
462 .that(tm.hasCarrierPrivileges()) in testSubscriptionInfoListing()
1259 .hasCarrierPrivileges(), in testOpportunistic()
/cts/tests/tests/telephony4/src/android/telephony4/cts/
DSimRestrictedApisTest.java298 if (mTelephonyManager.hasCarrierPrivileges()) { in testHasCarrierPrivileges()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_SimRecordsNoSimTest.java160 if (!mContext.getSystemService(TelephonyManager.class).hasCarrierPrivileges()) { in insert_nonAdnDirUris_throwsUnsupportedOperationException()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java380 testAppInstance.telephonyManager().hasCarrierPrivileges(); in telephonyManager_returnsUsableInstance()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnManagerTest.java244 assertFalse(mTelephonyManager.createForSubscriptionId(dataSubId).hasCarrierPrivileges()); in testSetVcnConfig_withCarrierPrivileges()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java708 assertFalse(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()
716 assertTrue(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()
723 assertFalse(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()
729 if (mTelephonyManager.hasCarrierPrivileges() == gain) { in changeCarrierPrivileges()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt46093 method public boolean hasCarrierPrivileges();