/frameworks/support/compat/api23/android/support/v4/app/ |
AppOpsManagerCompat23.java | 30 public static int noteOp(Context context, String op, int uid, String packageName) { 32 return appOpsManager.noteOp(op, uid, packageName);
|
/frameworks/support/compat/java/android/support/v4/app/ |
AppOpsManagerCompat.java | 30 * Result from {@link #noteOp}: the given caller is allowed to 36 * Result from {@link #noteOp}: the given caller is not allowed to perform 43 * Result from {@link #noteOp}: the given caller should use its default 55 public int noteOp(Context context, String op, int uid, String packageName) { 71 public int noteOp(Context context, String op, int uid, String packageName) { 72 return AppOpsManagerCompat23.noteOp(context, op, uid, packageName); 117 public static int noteOp(@NonNull Context context, @NonNull String op, int uid, 119 return IMPL.noteOp(context, op, uid, packageName);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneSubInfoControllerTest.java | 108 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( 116 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 158 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( 166 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 208 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( 216 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 258 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( 266 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 311 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( 319 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( [all...] |
/frameworks/base/services/core/java/com/android/server/ |
MmsServiceBroker.java | 336 if (getAppOpsManager().noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 354 if (getAppOpsManager().noteOp(AppOpsManager.OP_RECEIVE_MMS, Binder.getCallingUid(), 375 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 389 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 402 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 412 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 422 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 433 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 444 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), 456 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid() [all...] |
TelephonyRegistry.java | 372 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), 487 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), 665 mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), [all...] |
/frameworks/av/services/audioflinger/ |
ServiceUtilities.cpp | 99 if (appOps.noteOp(AppOpsManager::OP_RECORD_AUDIO, uid, checkedOpPackageName)
|
/frameworks/native/include/binder/ |
AppOpsManager.h | 100 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage);
|
/frameworks/native/libs/binder/ |
AppOpsManager.cpp | 74 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 199 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 253 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 291 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(), 375 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 444 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 520 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), [all...] |
PhoneSubInfoController.java | 432 return mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), 441 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_SMS, 451 return mAppOps.noteOp(AppOpsManager.OP_READ_SMS,
|
SubscriptionController.java | 225 return mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(), [all...] |
/frameworks/base/core/java/android/app/ |
AppOpsManager.java | 80 * Result from {@link #checkOp}, {@link #noteOp}, {@link #startOp}: the given caller is 86 * Result from {@link #checkOp}, {@link #noteOp}, {@link #startOp}: the given caller is 100 * Result from {@link #checkOp}, {@link #noteOp}, {@link #startOp}: the given caller should [all...] |
/frameworks/base/services/core/java/com/android/server/clipboard/ |
ClipboardService.java | 166 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_CLIPBOARD, callingUid, 257 if (mAppOps.noteOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
BlockedNumberProviderTest.java | 74 when(mMockContext.mAppOpsManager.noteOp( 433 when(mMockContext.mAppOpsManager.noteOp(
|
/packages/services/Telephony/src/com/android/phone/ |
PhoneInterfaceManager.java | [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
MediaFocusControl.java | 401 if (mAppOps.noteOp(AppOpsManager.OP_TAKE_AUDIO_FOCUS, Binder.getCallingUid(),
|
AudioService.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 346 return appOps.noteOp(op, Binder.getCallingUid(), callingPackage)
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
TelecomServiceImplTest.java | 241 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), anyString())) 653 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) 667 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) 681 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelecomServiceImpl.java | [all...] |
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 495 if (appOps.noteOp(AppOpsManager.OP_WRITE_SMS,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintService.java | 486 if (mAppOps.noteOp(AppOpsManager.OP_USE_FINGERPRINT, uid, opPackageName) [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipService.java | 473 return mAppOps.noteOp(AppOpsManager.OP_USE_SIP, Binder.getCallingUid(), [all...] |
/frameworks/native/services/sensorservice/ |
SensorService.cpp | [all...] |