Home
last modified time | relevance | path

Searched refs:getCarrierPrivilegeStatus (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java402 public int getCarrierPrivilegeStatus(Signature signature, String packageName) { in getCarrierPrivilegeStatus() method in UiccCard
404 return mUiccProfile.getCarrierPrivilegeStatus(signature, packageName); in getCarrierPrivilegeStatus()
416 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus() method in UiccCard
418 return mUiccProfile.getCarrierPrivilegeStatus(packageManager, packageName); in getCarrierPrivilegeStatus()
429 public int getCarrierPrivilegeStatus(PackageInfo packageInfo) { in getCarrierPrivilegeStatus() method in UiccCard
431 return mUiccProfile.getCarrierPrivilegeStatus(packageInfo); in getCarrierPrivilegeStatus()
DUiccCarrierPrivilegeRules.java279 public int getCarrierPrivilegeStatus(Signature signature, String packageName) { in getCarrierPrivilegeStatus() method in UiccCarrierPrivilegeRules
288 int accessStatus = ar.getCarrierPrivilegeStatus(signature, packageName); in getCarrierPrivilegeStatus()
304 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus() method in UiccCarrierPrivilegeRules
324 return getCarrierPrivilegeStatus(pInfo); in getCarrierPrivilegeStatus()
337 public int getCarrierPrivilegeStatus(PackageInfo packageInfo) { in getCarrierPrivilegeStatus() method in UiccCarrierPrivilegeRules
346 int accessStatus = ar.getCarrierPrivilegeStatus(packageInfo); in getCarrierPrivilegeStatus()
375 int accessStatus = getCarrierPrivilegeStatus(packageManager, pkg); in getCarrierPrivilegeStatusForUid()
407 int status = getCarrierPrivilegeStatus(packageManager, packageName); in getCarrierPackageNamesForIntent()
DUiccProfile.java1597 public int getCarrierPrivilegeStatus(Signature signature, String packageName) { in getCarrierPrivilegeStatus() method in UiccProfile
1601 carrierPrivilegeRules.getCarrierPrivilegeStatus(signature, packageName); in getCarrierPrivilegeStatus()
1607 public int getCarrierPrivilegeStatus(PackageManager packageManager, String packageName) { in getCarrierPrivilegeStatus() method in UiccProfile
1611 carrierPrivilegeRules.getCarrierPrivilegeStatus(packageManager, packageName); in getCarrierPrivilegeStatus()
1617 public int getCarrierPrivilegeStatus(PackageInfo packageInfo) { in getCarrierPrivilegeStatus() method in UiccProfile
1621 carrierPrivilegeRules.getCarrierPrivilegeStatus(packageInfo); in getCarrierPrivilegeStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java124 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testParseRule_Normal()
206 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature1, in testParseRule_TwoMessages()
212 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature2, in testParseRule_TwoMessages()
352 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testAID_OnlyARAM()
412 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testAID_OnlyARAD()
469 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testAID_BothARAMandARAD()
473 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testAID_BothARAMandARAD()
594 assertEquals(0, mUiccCarrierPrivilegeRules.getCarrierPrivilegeStatus(signature, in testAID_RetransmitLogicalChannel()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java171 when(mTelephonyManagerMockForSub1.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckReadPhoneState_hasCarrierPrivileges()
213 when(mTelephonyManagerMockForSub1.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()
297 when(mTelephonyManagerMockForSub1.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivileges()
360 when(mTelephonyManagerMockForSub2.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnOtherSubscription()
374 when(mTelephonyManagerMockForSub2.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnInvisibleSubscription()
440 when(mTelephonyManagerMockForSub1.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivileges()
459 when(mTelephonyManagerMockForSub2.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivilegesOnOtherSub()
554 when(mTelephonyManagerMockForSub1.getCarrierPrivilegeStatus(anyInt())).thenReturn( in testEnforeceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege_withPrivileges()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java170 && getCarrierPrivilegeStatus(context, subId, Binder.getCallingUid()) in checkCarrierPrivilegeForSubId()
642 if (getCarrierPrivilegeStatus(context, subId, uid) in enforceCarrierPrivilege()
655 if (getCarrierPrivilegeStatus(context, activeSubId, uid) in checkCarrierPrivilegeForAnySubId()
663 private static int getCarrierPrivilegeStatus(Context context, int subId, int uid) { in getCarrierPrivilegeStatus() method in TelephonyPermissions
672 return telephonyManager.createForSubscriptionId(subId).getCarrierPrivilegeStatus(uid); in getCarrierPrivilegeStatus()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java181 public int getCarrierPrivilegeStatus(PackageInfo packageInfo) { in getCarrierPrivilegeStatus() method in UiccAccessRule
189 int accessStatus = getCarrierPrivilegeStatus(sig, packageInfo.packageName); in getCarrierPrivilegeStatus()
206 public int getCarrierPrivilegeStatus(Signature signature, String packageName) { in getCarrierPrivilegeStatus() method in UiccAccessRule
DSubscriptionInfo.java598 if (rule.getCarrierPrivilegeStatus(packageInfo) in canManageSubscription()
DSubscriptionManager.java2720 if (rule.getCarrierPrivilegeStatus(packageInfo) in canManageSubscription()
DTelephonyManager.java8210 return telephony.getCarrierPrivilegeStatus(subId) in hasCarrierPrivileges()
12378 public @CarrierPrivilegeStatus int getCarrierPrivilegeStatus(int uid) { in getCarrierPrivilegeStatus() method in TelephonyManager
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1078 int getCarrierPrivilegeStatus(int subId); in getCarrierPrivilegeStatus() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1445 if (rules[i].getCarrierPrivilegeStatus(info) in checkCarrierPrivilegeInMetadata()
/frameworks/base/telephony/api/
Dsystem-current.txt766 …android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int);
960 method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo);
961 method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String);
/frameworks/base/api/
Dsystem-current.txt9006 …android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int);
9188 method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo);
9189 method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String);
/frameworks/base/non-updatable-api/
Dsystem-current.txt8904 …android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public int getCarrierPrivilegeStatus(int);
9086 method public int getCarrierPrivilegeStatus(android.content.pm.PackageInfo);
9087 method public int getCarrierPrivilegeStatus(android.content.pm.Signature, String);
/frameworks/base/config/
Dboot-image-profile.txt23022 HSPLcom/android/internal/telephony/TelephonyPermissions;->getCarrierPrivilegeStatus(Ljava/util/func…
23917 HSPLcom/android/internal/telephony/uicc/UiccCard;->getCarrierPrivilegeStatus(Landroid/content/pm/Pa…
23952 HSPLcom/android/internal/telephony/uicc/UiccCarrierPrivilegeRules;->getCarrierPrivilegeStatus(Landr…
23996 HSPLcom/android/internal/telephony/uicc/UiccProfile;->getCarrierPrivilegeStatus(Landroid/content/pm…
Dhiddenapi-greylist-max-o.txt98772 Lcom/android/internal/telephony/ITelephony$Stub$Proxy;->getCarrierPrivilegeStatus(I)I
99126 Lcom/android/internal/telephony/ITelephony;->getCarrierPrivilegeStatus(I)I