/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | AppOpsHelperTest.java | 19 import static android.app.AppOpsManager.MODE_IGNORED; 115 doReturn(MODE_IGNORED).when( in testCheckLocationAccess() 126 doReturn(MODE_IGNORED).when( in testCheckLocationAccess() 141 doReturn(MODE_IGNORED).when( in testNoteLocationAccess() 155 doReturn(MODE_IGNORED).when( in testNoteLocationAccess() 171 doReturn(MODE_IGNORED).when( in testStartLocationMonitoring() 188 doReturn(MODE_IGNORED).when( in testStartHighPowerLocationMonitoring() 223 doReturn(MODE_IGNORED).when( in testNoteMockLocationAccess()
|
/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 82 : AppOpsManager::MODE_IGNORED; in checkOp() 90 : AppOpsManager::MODE_IGNORED; in checkAudioOpNoThrow() 104 : AppOpsManager::MODE_IGNORED; in noteOp() 122 : AppOpsManager::MODE_IGNORED; in startOpNoThrow()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 36 MODE_IGNORED = IAppOpsService::MODE_IGNORED, enumerator
|
D | PermissionController.h | 42 MODE_IGNORED = 1, enumerator
|
D | IAppOpsService.h | 70 MODE_IGNORED = 1, enumerator
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | PermissionCheckerTest.java | 103 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_IGNORED); in testCheckPermissionForPreflight_appOpPermission_modeIgnored_returnsHardDenied() 176 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_IGNORED); in testCheckPermissionForDataDelivery_appOpPermission_modeIgnored_returnsHardDenied()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 21 import static android.app.AppOpsManager.MODE_IGNORED; 728 appOpMode = MODE_IGNORED; in addPermissionAppOp() 740 case MODE_IGNORED: in addPermissionAppOp() 854 setUidMode(opCode, uid, MODE_IGNORED, packageName); in setUidModeIgnored() 862 if (currentMode != MODE_IGNORED) { in setUidModeIgnoredIfNotAllowed() 863 mAppOpsManagerInternal.setUidModeFromPermissionPolicy(opCode, uid, MODE_IGNORED, in setUidModeIgnoredIfNotAllowed()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 24 import static android.app.AppOpsManager.MODE_IGNORED; 709 return mode == MODE_DEFAULT ? MODE_IGNORED : mode; in noteProxyOp() 807 if (strongestMode == MODE_IGNORED) { in enforceReadPermissionInner() 808 return MODE_IGNORED; in enforceReadPermissionInner() 888 if (strongestMode == MODE_IGNORED) { in enforceWritePermissionInner() 889 return MODE_IGNORED; in enforceWritePermissionInner()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AudioRestrictionManager.java | 80 return AppOpsManager.MODE_IGNORED; in checkAudioOperation()
|
D | AppOpsService.java | 33 import static android.app.AppOpsManager.MODE_IGNORED; 554 return MODE_IGNORED; in evalMode() 560 return MODE_IGNORED; in evalMode() 566 return MODE_IGNORED; in evalMode() 573 return MODE_IGNORED; in evalMode() 584 return MODE_IGNORED; in evalMode() 593 return MODE_IGNORED; in evalMode() 2846 return AppOpsManager.MODE_IGNORED; in checkOperationImpl() 2872 return AppOpsManager.MODE_IGNORED; in checkOperationUnchecked() 2876 return AppOpsManager.MODE_IGNORED; in checkOperationUnchecked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 223 AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED; in newInstance() 692 AppOpsManager.MODE_IGNORED, in loadPersistedAppOps() 696 AppOpsManager.MODE_IGNORED, in loadPersistedAppOps() 705 AppOpsManager.MODE_IGNORED, in loadPersistedAppOps() 723 AppOpsManager.MODE_IGNORED, in loadPersistedAppOps() 727 AppOpsManager.MODE_IGNORED, in loadPersistedAppOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 183 TEST_APP_PACKAGE, allow ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppOpsModeAllowed()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 202 if (!mUidIsTrusted && res == AppOpsManager::MODE_IGNORED) { in startCameraOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 20 import static android.app.AppOpsManager.MODE_IGNORED; 592 assertEquals("Op " + opToName(code) + " allowed for suspended package", MODE_IGNORED, in assertOpBlockedOnSuspend()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 23 import static android.app.AppOpsManager.MODE_IGNORED; 2057 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterSuggestionsAdd() 2106 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterConfigStoreLoad() 2147 .thenReturn(MODE_IGNORED); in testAppOpsChangeWrongUid() 2395 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2413 .thenReturn(MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2613 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalDialogClickOnDisallowWhenAddSuggestionsFromFgApp() 2627 .thenReturn(MODE_IGNORED); in testUserApprovalDialogClickOnDisallowWhenAddSuggestionsFromFgApp() 2803 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenAddSuggestionsFromNonFgApp() 2819 .thenReturn(MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenAddSuggestionsFromNonFgApp()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 153 .thenReturn(AppOpsManager.MODE_IGNORED); in testGetDefaultSmsApplicationWithAppOpsFix()
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 296 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio_sync()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 217 .thenReturn(AppOpsManager.MODE_IGNORED); in setUp() 970 eq(AppOpsManager.MODE_IGNORED)); in testSetPackageAuthorizationRevokeAuthorization() 976 eq(AppOpsManager.MODE_IGNORED)); in testSetPackageAuthorizationRevokeAuthorization()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 1062 mAllowFineLocationApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps() 1120 mWifiScanAllowApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 346 MODE_IGNORED, 364 public static final int MODE_IGNORED = 1; field in AppOpsManager 2193 AppOpsManager.MODE_IGNORED, // WRITE_SMS 2224 AppOpsManager.MODE_IGNORED, // PROJECT_MEDIA 2225 AppOpsManager.MODE_IGNORED, // ACTIVATE_VPN 2272 AppOpsManager.MODE_IGNORED, // ACTIVATE_PLATFORM_VPN 2274 AppOpsManager.MODE_IGNORED, // deprecated operation 8878 return AppOpsManager.MODE_IGNORED; in getSystemAlertWindowDefault()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 21 import static android.app.AppOpsManager.MODE_IGNORED; 1753 autoRevokePermissionsMode = shouldAutoRevoke ? MODE_ALLOWED : MODE_IGNORED; in setAutoRevokePermissionsMode()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 19 import static android.app.AppOpsManager.MODE_IGNORED; 420 == AppOpsManager.MODE_IGNORED) { in onOpChanged() 514 MODE_IGNORED); in handleUserDisallowAction()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 1350 case AppOpsManager.MODE_IGNORED: in isExternalStorageManager()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 532 AppOpsManager.MODE_IGNORED); in exemptFromAutoRevoke()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 607 .thenReturn(AppOpsManager.MODE_IGNORED); in mockLocationPermissionDenied()
|