/frameworks/base/core/java/android/app/ |
D | AppOpInfo.java | 19 import static android.app.AppOpsManager.OP_NONE; 111 if (code < OP_NONE) throw new IllegalArgumentException(); in AppOpInfo() 112 if (switchCode < OP_NONE) throw new IllegalArgumentException(); in AppOpInfo() 142 if (code < OP_NONE) throw new IllegalArgumentException(); in Builder()
|
D | ActivityManagerNative.java | 69 broadcastStickyIntent(intent, permission, AppOpsManager.OP_NONE, userId); in broadcastStickyIntent()
|
D | ContextImpl.java | 1256 null, AppOpsManager.OP_NONE, null, false, false, getUserId()); in sendBroadcast() 1273 null /*excludedPermissions=*/, null, AppOpsManager.OP_NONE, null, false, false, in sendBroadcast() 1289 null /*excludedPermissions=*/, null, AppOpsManager.OP_NONE, null, false, false, in sendBroadcastMultiplePermissions() 1307 AppOpsManager.OP_NONE, options, false, false, getUserId()); in sendBroadcastMultiplePermissions() 1322 null /*excludedPermissions=*/, null, AppOpsManager.OP_NONE, null, false, false, in sendBroadcastAsUserMultiplePermissions() 1339 excludedPackages, AppOpsManager.OP_NONE, in sendBroadcastMultiplePermissions() 1367 excludedPermissions, null, AppOpsManager.OP_NONE, options, false, false, in sendBroadcast() 1408 null /*excludedPermissions=*/, null, AppOpsManager.OP_NONE, options, true, in sendOrderedBroadcast() 1420 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast() 1429 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast() [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | AttributionAndPermissionUtils.cpp | 192 attributionSource, std::string(), AppOpsManager::OP_NONE); in hasPermissionsForCamera() 198 sSystemCameraPermission, attributionSource, std::string(), AppOpsManager::OP_NONE); in hasPermissionsForSystemCamera() 206 attributionSource, std::string(), AppOpsManager::OP_NONE); in hasPermissionsForCameraHeadlessSystemUser() 212 attributionSource, std::string(), AppOpsManager::OP_NONE); in hasPermissionsForCameraPrivacyAllowlist() 218 attributionSource, std::string(), AppOpsManager::OP_NONE); in hasPermissionsForOpenCloseListener()
|
/frameworks/base/core/java/android/os/ |
D | PermissionEnforcer.java | 117 return AppOpsManager.OP_NONE; in permissionToOpCode$ravenwood() 122 if (permissionToOpCode(permission) != AppOpsManager.OP_NONE) { in anyAppOps() 139 if (permissionToOpCode(permission) != AppOpsManager.OP_NONE) { in enforcePermission()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 37 import static android.app.AppOpsManager.OP_NONE; 1471 FOREGROUND_SERVICE_TYPE_LOCATION, 0, null, OP_NONE, null, null, in testLongFGSExemptions() 1477 FOREGROUND_SERVICE_TYPE_LOCATION, thresholdMs * 2, null, OP_NONE, null, null, in testLongFGSExemptions() 1482 FOREGROUND_SERVICE_TYPE_LOCATION, 0, ACCESS_BACKGROUND_LOCATION, OP_NONE, in testLongFGSExemptions() 1487 FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK, 0, null, OP_NONE, null, null, in testLongFGSExemptions() 1493 FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK, thresholdMs * 2, null, OP_NONE, in testLongFGSExemptions() 1499 FOREGROUND_SERVICE_TYPE_CAMERA, thresholdMs * 2, null, OP_NONE, null, null, in testLongFGSExemptions() 1505 0, null, OP_NONE, null, null, timeout(windowMs * 2).times(2)); in testLongFGSExemptions() 1511 thresholdMs * 2, null, OP_NONE, null, null, timeout(windowMs * 2).times(0)); in testLongFGSExemptions() 1515 FOREGROUND_SERVICE_TYPE_NONE, 0, null, OP_NONE, in testLongFGSExemptions() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppPermissionTracker.java | 25 import static android.app.AppOpsManager.OP_NONE; 123 if (pair.second != OP_NONE) { in handleAppOpsInit() 301 if (mAppOp == OP_NONE) { in updateAppOps() 352 if (mAppOp != OP_NONE) { in toString() 470 if (permission.second != OP_NONE) { in dump() 571 TextUtils.isEmpty(perms[i + 1]) ? OP_NONE : strOpToOp(perms[i + 1])); in parsePermissionConfig() 620 if (pair.second != OP_NONE) { in dump()
|
D | BroadcastSkipPolicy.java | 139 if (opCode != AppOpsManager.OP_NONE && mService.getAppOpsManager().noteOpNoThrow(opCode, in shouldSkipMessage() 255 if (appOp != AppOpsManager.OP_NONE) { in shouldSkipMessage() 329 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp) { in shouldSkipMessage() 338 if (r.appOp != AppOpsManager.OP_NONE) { in shouldSkipMessage() 403 if (opCode != AppOpsManager.OP_NONE in shouldSkipMessage() 496 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in shouldSkipMessage() 535 if (appOp != AppOpsManager.OP_NONE) { in shouldSkipMessage() 586 if (r.appOp != AppOpsManager.OP_NONE in shouldSkipMessage()
|
D | BugReportHandlerUtil.java | 19 import static android.app.AppOpsManager.OP_NONE; 133 OP_NONE, /* options= */ null, in launchBugReportHandlerApp()
|
D | AssistDataRequester.java | 22 import static android.app.AppOpsManager.OP_NONE; 231 && (mRequestScreenshotAppOps != OP_NONE); in requestData()
|
D | UserController.java | 710 AppOpsManager.OP_NONE, in sendLockedBootCompletedBroadcast() 806 null, null, AppOpsManager.OP_NONE, null, false, MY_PID, SYSTEM_UID, in finishUserUnlocked() 830 null, null, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlocked() 889 }, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlockedCompleted() 947 AppOpsManager.OP_NONE, in finishUserUnlockedCompleted() 1224 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE, 1287 AppOpsManager.OP_NONE, 1568 null, null, 0, null, null, null, AppOpsManager.OP_NONE, 2603 /* requiredPermissions= */ null, AppOpsManager.OP_NONE, /* bOptions= */ null, 2631 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE, /* bOptions= */ null, [all …]
|
D | PreBootBroadcaster.java | 127 null, null, null, null, null, AppOpsManager.OP_NONE, bOptions.toBundle(), true, in sendNext()
|
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | HandwritingIme.java | 53 private static final int OP_NONE = 0; field in HandwritingIme 66 private int mRichGestureMode = OP_NONE; 319 mRichGestureMode = OP_NONE; in getRichGestureActionsSpinner() 453 return mRichGestureMode != OP_NONE; in areRichGesturesEnabled()
|
/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 319 fromDatasource, AppOpsManager.OP_NONE); in checkPermissionForDataDeliveryCommon() 357 /*startDataDelivery*/ true, /*fromDatasource*/ false, AppOpsManager.OP_NONE); in checkPermissionAndStartDataDelivery() 579 AppOpsManager.OP_NONE); in checkPermissionForPreflight()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 23 import static android.app.AppOpsManager.OP_NONE; 313 return OP_NONE;
|
D | PermissionPolicyService.java | 24 import static android.app.AppOpsManager.OP_NONE; 267 if (extraAppOp != OP_NONE) { in onStart() 296 if (appOpCode != OP_NONE) { in onStart() 389 if (op == OP_NONE) { in getSwitchOp() 390 return OP_NONE; in getSwitchOp() 948 if (appOpCode == OP_NONE) { in addPermissionAppOp() 1029 if (extraOpCode == OP_NONE) { in addExtraAppOp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | PhoneWindowManagerTests.java | 193 assertThat(outAppOp[0]).isEqualTo(AppOpsManager.OP_NONE); in testCheckAddPermission_withoutAccessibilityOverlay_noAccessibilityAppOpLogged() 213 assertThat(outAppOp[0]).isEqualTo(AppOpsManager.OP_NONE); in testCheckAddPermission_withAccessibilityOverlay_flagDisabled()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionCheckerManager.java | 122 if (AppOpsManager.permissionToOpCode(permission) == AppOpsManager.OP_NONE) { in checkPermission()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 42 OP_NONE = -1, enumerator
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 1019 if (attributedOp == AppOpsManager.OP_NONE) { in checkPermission() 1041 if (op == AppOpsManager.OP_NONE) { in finishDataDelivery() 1206 AppOpsManager.OP_NONE, AppOpsManager.ATTRIBUTION_FLAGS_NONE, in checkAppOpPermission() 1468 /*fromDatasource*/ false, AppOpsManager.OP_NONE, proxyAttributionFlags, in checkOp() 1543 if (attributedOp != AppOpsManager.OP_NONE && attributedOp != op) { in performOpTransaction() 1599 if (attributedOp != AppOpsManager.OP_NONE && attributedOp != op) { in performOpTransaction()
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 208 AppOpsManager::OP_NONE) != permission::PermissionChecker::PERMISSION_HARD_DENIED); in captureAudioOutputAllowed() 266 AppOpsManager::OP_NONE) != permission::PermissionChecker::PERMISSION_HARD_DENIED); in captureHotwordAllowed()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BroadcastHelper.java | 265 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, in sendBootCompletedBroadcastToSystemApp() 276 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, in sendBootCompletedBroadcastToSystemApp() 338 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, null, false, in sendDeviceCustomizationReadyBroadcast() 415 0, null, null, null, null, null, android.app.AppOpsManager.OP_NONE, in sendPreferredActivityChangedBroadcast()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 31 import static android.app.AppOpsManager.OP_NONE; 188 return evalMode(uid, OP_NONE, MODE_FOREGROUND) == MODE_ALLOWED; in isUidInForeground()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationService.java | 19 import static android.app.AppOpsManager.OP_NONE; 516 OP_NONE, in unhibernatePackageForUser() 535 OP_NONE, in unhibernatePackageForUser()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubClientBroker.java | 434 mAppOpsManager.startWatchingMode(AppOpsManager.OP_NONE, mPackage, this); in startMonitoringOpChanges() 784 if (opCode != AppOpsManager.OP_NONE) { in notePermissions()
|