/frameworks/base/core/java/android/app/ |
AppOpsManager.java | 66 * setting for the operation under that caller: MODE_ALLOWED, MODE_IGNORED (don't execute 83 public static final int MODE_ALLOWED = 0; 814 AppOpsManager.MODE_ALLOWED, 815 AppOpsManager.MODE_ALLOWED, 816 AppOpsManager.MODE_ALLOWED, 817 AppOpsManager.MODE_ALLOWED, 818 AppOpsManager.MODE_ALLOWED, 819 AppOpsManager.MODE_ALLOWED, 820 AppOpsManager.MODE_ALLOWED, 821 AppOpsManager.MODE_ALLOWED, [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 20 import static android.app.AppOpsManager.MODE_ALLOWED; 212 if (enforceReadPermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 259 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 274 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 303 != AppOpsManager.MODE_ALLOWED) { 309 != AppOpsManager.MODE_ALLOWED) { 335 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 351 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 439 if (enforceReadPermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { 455 if (enforceReadPermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { [all...] |
/frameworks/base/services/core/java/com/android/server/ |
MmsServiceBroker.java | 337 callingPkg) != AppOpsManager.MODE_ALLOWED) { 355 callingPkg) != AppOpsManager.MODE_ALLOWED) { 376 callingPkg) != AppOpsManager.MODE_ALLOWED) { 390 callingPkg) != AppOpsManager.MODE_ALLOWED) { 403 callingPkg) != AppOpsManager.MODE_ALLOWED) { 413 callingPkg) != AppOpsManager.MODE_ALLOWED) { 423 callingPkg) != AppOpsManager.MODE_ALLOWED) { 434 callingPkg) != AppOpsManager.MODE_ALLOWED) { 445 callingPkg) != AppOpsManager.MODE_ALLOWED) { 457 callingPkg) != AppOpsManager.MODE_ALLOWED) { [all...] |
AppOpsService.java | 306 packageName) != AppOpsManager.MODE_ALLOWED) { 310 packageName) != AppOpsManager.MODE_ALLOWED) { [all...] |
/frameworks/native/include/binder/ |
AppOpsManager.h | 31 MODE_ALLOWED = IAppOpsService::MODE_ALLOWED,
|
IAppOpsService.h | 57 MODE_ALLOWED = 0,
|
/cts/tests/tests/permission/src/android/permission/cts/ |
AppOpsTest.java | 54 getContext().getPackageName(), AppOpsManager.MODE_ALLOWED);
|
/frameworks/support/compat/kitkat/android/support/v4/app/ |
NotificationManagerCompatKitKat.java | 42 == AppOpsManager.MODE_ALLOWED);
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
ClipboardService.java | 167 callingPackage) != AppOpsManager.MODE_ALLOWED) { 240 li.mPackageName) == AppOpsManager.MODE_ALLOWED) { 258 pkg) != AppOpsManager.MODE_ALLOWED) { 269 callingPackage) != AppOpsManager.MODE_ALLOWED) { 280 callingPackage) != AppOpsManager.MODE_ALLOWED) { 304 callingPackage) != AppOpsManager.MODE_ALLOWED) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneSubInfoControllerTest.java | 116 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 166 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 216 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 266 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 319 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 374 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 422 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 441 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 455 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( 507 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp [all...] |
/frameworks/av/services/audioflinger/ |
ServiceUtilities.cpp | 100 != AppOpsManager::MODE_ALLOWED) {
|
/frameworks/support/compat/java/android/support/v4/app/ |
AppOpsManagerCompat.java | 33 public static final int MODE_ALLOWED = 0; 112 * @return Returns {@link #MODE_ALLOWED} if the operation is allowed, or 133 * @return Returns {@link #MODE_ALLOWED} if the operation is allowed, or
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
PermissionsUtil.java | 65 return mode == AppOpsManager.MODE_ALLOWED;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
DrawOverlayDetails.java | 120 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); 126 if (result == AppOpsManager.MODE_ALLOWED) { 200 return context.getString((mode == AppOpsManager.MODE_ALLOWED) ?
|
WriteSettingsDetails.java | 122 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED); 128 if (result == AppOpsManager.MODE_ALLOWED) { 215 return context.getString((mode == AppOpsManager.MODE_ALLOWED) ?
|
AppOpsDetails.java | 134 entry.getPackageOps().getPackageName()) == AppOpsManager.MODE_ALLOWED); 140 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED);
|
AppOpsCategory.java | 314 item.getPrimaryOpMode() == AppOpsManager.MODE_ALLOWED); 374 int mode = checked ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED;
|
/frameworks/base/media/java/android/media/ |
PlayerBase.java | 152 mHasAppOpsPlayAudio = (mode == AppOpsManager.MODE_ALLOWED);
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
PermissionChecker.java | 107 != AppOpsManagerCompat.MODE_ALLOWED) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 200 callingPackage) != AppOpsManager.MODE_ALLOWED) { 254 callingPackage) != AppOpsManager.MODE_ALLOWED) { 292 callingPackage) != AppOpsManager.MODE_ALLOWED) { 376 callingPackage) != AppOpsManager.MODE_ALLOWED) { 445 callingPackage) != AppOpsManager.MODE_ALLOWED) { 521 callingPackage) != AppOpsManager.MODE_ALLOWED) { [all...] |
PhoneSubInfoController.java | 433 callingPackage) == AppOpsManager.MODE_ALLOWED; 442 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED) { 452 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED;
|
SmsApplication.java | 457 if (mode != AppOpsManager.MODE_ALLOWED) { 462 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); 569 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); 647 if (mode != AppOpsManager.MODE_ALLOWED) { 650 packageName, AppOpsManager.MODE_ALLOWED); 660 appOps.setUidMode(AppOpsManager.OP_WRITE_SMS, uid, AppOpsManager.MODE_ALLOWED); [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsAccess.java | 186 return (mode == AppOpsManager.MODE_ALLOWED);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsAccessTest.java | 103 setHasAppOpsPermission(AppOpsManager.MODE_ALLOWED, false);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
AppPermissionGroup.java | 155 == AppOpsManager.MODE_ALLOWED; 340 mAppOps.setUidMode(permission.getAppOp(), uid, AppOpsManager.MODE_ALLOWED); 379 mAppOps.setUidMode(permission.getAppOp(), uid, AppOpsManager.MODE_ALLOWED);
|