Home
last modified time | relevance | path

Searched refs:OPSTR_READ_PHONE_STATE (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java140 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetDeviceIdWithOutPermission()
162 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetDeviceIdWithOutPermission()
224 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetNaiWithOutPermission()
245 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetNaiWithOutPermission()
307 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetImeiWithOutPermission()
328 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetImeiWithOutPermission()
384 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetDeviceSvnWithOutPermission()
393 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetDeviceSvnWithOutPermission()
450 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetSubscriberIdWithOutPermission()
472 eq(AppOpsManager.OPSTR_READ_PHONE_STATE), anyInt(), eq(TAG), eq(FEATURE_ID), in testGetSubscriberIdWithOutPermission()
[all …]
DTelephonyPermissionsTest.java156 when(mMockAppOps.noteOp(eq(AppOpsManager.OPSTR_READ_PHONE_STATE), eq(UID), eq(PACKAGE), in testCheckReadPhoneState_hasPermissionAndAppOp()
198 when(mMockAppOps.noteOp(eq(AppOpsManager.OPSTR_READ_PHONE_STATE), eq(UID), eq(PACKAGE), in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/
DLegacyPermissionManagerServiceTest.java246 AppOpsManager.OPSTR_READ_PHONE_STATE); in checkPhoneNumberAccess_targetPreRWithReadPhoneState_returnsGranted()
265 AppOpsManager.OPSTR_READ_PHONE_STATE); in checkPhoneNumberAccess_targetRWithReadPhoneState_returnsDenied()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java159 return appOps.noteOp(AppOpsManager.OPSTR_READ_PHONE_STATE, uid, callingPackage, in checkReadPhoneState()
212 return appOps.noteOp(AppOpsManager.OPSTR_READ_PHONE_STATE, uid, callingPackage, in checkReadPhoneStateOnAnyActiveSub()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerService.java162 AppOpsManager.OPSTR_READ_PHONE_STATE, callingFeatureId, message, pid, uid); in checkPhoneNumberAccess()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1378 public static final String OPSTR_READ_PHONE_STATE field in AppOpsManager
2023 OPSTR_READ_PHONE_STATE,
/frameworks/base/core/api/
Dcurrent.txt4577 field public static final String OPSTR_READ_PHONE_STATE = "android:read_phone_state";