/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 108 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission() 116 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission() 158 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetNaiWithOutPermission() 166 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetNaiWithOutPermission() 208 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetImeiWithOutPermission() 216 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetImeiWithOutPermission() 258 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceSvnWithOutPermission() 266 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetDeviceSvnWithOutPermission() 311 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetSubscriberIdWithOutPermission() 319 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetSubscriberIdWithOutPermission() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 337 if (getAppOpsManager().noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendMessage() 355 if (getAppOpsManager().noteOp(AppOpsManager.OP_RECEIVE_MMS, Binder.getCallingUid(), in downloadMessage() 376 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 390 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage() 403 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage() 413 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation() 423 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus() 434 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation() 445 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft() 457 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addMultimediaMessageDraft() [all …]
|
D | TelephonyRegistry.java | 379 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in addOnSubscriptionsChangedListener() 494 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in listen() 685 mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in canReadPhoneState()
|
D | LocationManagerService.java | 2831 return mAppOps.noteOp(AppOpsManager.OP_MOCK_LOCATION, Binder.getCallingUid(), in canCallerAccessMockLocation()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | AppOpsManagerCompat.java | 83 public static int noteOp(@NonNull Context context, @NonNull String op, int uid, in noteOp() method in AppOpsManagerCompat 87 return appOpsManager.noteOp(op, uid, packageName); in noteOp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSubInfoController.java | 433 return mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in checkReadPhoneState() 443 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_SMS, in checkReadPhoneNumber() 456 return mAppOps.noteOp(opCode, Binder.getCallingUid(), callingPackage) in checkReadPhoneNumber() 468 return mAppOps.noteOp(opCode, Binder.getCallingUid(), callingPackage) in checkReadPhoneNumber()
|
D | IccSmsInterfaceManager.java | 201 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), in updateMessageOnIccEf() 255 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), in copyMessageToIccEf() 293 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(), in getAllMessagesFromIccEf() 377 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendDataInternal() 446 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendTextInternal() 521 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendMultipartText() 937 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg) in sendStoredText() 963 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg) in sendStoredMultipartText()
|
D | SubscriptionController.java | 226 return mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in canReadPhoneState()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 101 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage);
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 99 if (appOps.noteOp(AppOpsManager::OP_RECORD_AUDIO, uid, checkedOpPackageName) in recordingAllowed()
|
/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 96 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() function in android::AppOpsManager
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1616 public int noteOp(String op, int uid, String packageName) { in noteOp() method in AppOpsManager 1617 return noteOp(strOpToOp(op), uid, packageName); in noteOp() 1796 public int noteOp(int op, int uid, String packageName) { in noteOp() method in AppOpsManager 1865 public int noteOp(int op) { in noteOp() method in AppOpsManager 1866 return noteOp(op, Process.myUid(), mContext.getOpPackageName()); in noteOp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 212 return mAppOps.noteOp(op, uid, pkgName) == AppOpsManager.MODE_ALLOWED; in checkAppOpAllowed()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 487 when(mMockAppOps.noteOp(AppOpsManager.OP_WIFI_SCAN, mUid, TEST_PACKAGE_NAME)) 489 when(mMockAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, mUid, TEST_PACKAGE_NAME))
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareClientState.java | 255 == PackageManager.PERMISSION_GRANTED && mAppOps.noteOp( in hasLocationingPermission()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 657 if (mAppOps.noteOp(AppOpsManager.OP_TAKE_AUDIO_FOCUS, Binder.getCallingUid(), in requestAudioFocus()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 473 return mAppOps.noteOp(AppOpsManager.OP_USE_SIP, Binder.getCallingUid(), in canUseSip()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 119 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp() 121 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_COARSE_LOCATION), anyInt(), in setUp() 396 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_COARSE_LOCATION), anyInt(), in testAwareEventsDelivery()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1446 if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName) in canAccessSensor()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 748 if (mAppOps.noteOp(AppOpsManager.OP_USE_FINGERPRINT, uid, opPackageName) in canUseFingerprint()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5245 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.noteOp( 5266 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.noteOp(
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 2287 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), in getNetworkPolicies()
|
/frameworks/support/api/ |
D | 25.1.0.txt | 4131 … method public static int noteOp(android.content.Context, java.lang.String, int, java.lang.String);
|
D | 25.0.0.txt | 3771 … method public static int noteOp(android.content.Context, java.lang.String, int, java.lang.String);
|
D | 23.0.0.txt | 2554 … method public static int noteOp(android.content.Context, java.lang.String, int, java.lang.String);
|