Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java122 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceIdWithOutPermission()
143 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceIdWithOutPermission()
198 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetNaiWithOutPermission()
205 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetNaiWithOutPermission()
250 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetImeiWithOutPermission()
270 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetImeiWithOutPermission()
325 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceSvnWithOutPermission()
333 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceSvnWithOutPermission()
388 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetSubscriberIdWithOutPermission()
409 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetSubscriberIdWithOutPermission()
[all …]
DTelephonyPermissionsTest.java130 when(mMockAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneState_hasPermissionAndAppOp()
170 when(mMockAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h91 OP_READ_PHONE_STATE = 51, enumerator
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java181 return appOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, uid, callingPackage) in checkReadPhoneState()
229 return appOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, uid, callingPackage) == in checkReadPhoneStateOnAnyActiveSub()
/frameworks/base/core/java/android/app/
DAppOpsManager.java734 public static final int OP_READ_PHONE_STATE = 51; field in AppOpsManager
1141 OP_READ_PHONE_STATE,
1237 OP_READ_PHONE_STATE, // READ_PHONE_STATE
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2120 AppOpsManager.OP_READ_PHONE_STATE); in broadcastCallStateChanged()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2757 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in getNetworkPolicies()