Searched refs:hasCarrierPrivileges (Results 1 – 10 of 10) sorted by relevance
78 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()
128 if (mTelephonyManager.hasCarrierPrivileges() != gainCarrierPrivileges) { in CarrierPrivilegeChangeMonitor()184 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges() method in CarrierPrivilegeUtils187 return getTelephonyManager(c, subId).hasCarrierPrivileges(); in hasCarrierPrivileges()228 if (hasCarrierPrivileges(c, subId) == gainCarrierPrivileges in changeCarrierPrivileges()
108 .that(getContext().getSystemService(TelephonyManager.class).hasCarrierPrivileges()) in ensurePreconditionsMet()
236 .that(mTelephonyManager.hasCarrierPrivileges()) in testHasCarrierPrivileges()262 if (telephonyManager.hasCarrierPrivileges()) { in getFirstActivateCarrierPrivilegedSubscriptionId()462 .that(tm.hasCarrierPrivileges()) in testSubscriptionInfoListing()1259 .hasCarrierPrivileges(), in testOpportunistic()
298 if (mTelephonyManager.hasCarrierPrivileges()) { in testHasCarrierPrivileges()
160 if (!mContext.getSystemService(TelephonyManager.class).hasCarrierPrivileges()) { in insert_nonAdnDirUris_throwsUnsupportedOperationException()
380 testAppInstance.telephonyManager().hasCarrierPrivileges(); in telephonyManager_returnsUsableInstance()
244 assertFalse(mTelephonyManager.createForSubscriptionId(dataSubId).hasCarrierPrivileges()); in testSetVcnConfig_withCarrierPrivileges()
708 assertFalse(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()716 assertTrue(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()723 assertFalse(mTelephonyManager.hasCarrierPrivileges()); in testHasCarrierPrivilegesViaCarrierConfigs()729 if (mTelephonyManager.hasCarrierPrivileges() == gain) { in changeCarrierPrivileges()
46093 method public boolean hasCarrierPrivileges();