Home
last modified time | relevance | path

Searched refs:MODE_IGNORED (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppOpsHelperTest.java19 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/
DAppOpsManager.cpp82 : 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/
DAppOpsManager.h36 MODE_IGNORED = IAppOpsService::MODE_IGNORED, enumerator
DPermissionController.h42 MODE_IGNORED = 1, enumerator
DIAppOpsService.h70 MODE_IGNORED = 1, enumerator
/frameworks/base/core/tests/coretests/src/android/content/
DPermissionCheckerTest.java103 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/
DPermissionPolicyService.java21 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/
DContentProvider.java24 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/
DAudioRestrictionManager.java80 return AppOpsManager.MODE_IGNORED; in checkAudioOperation()
DAppOpsService.java33 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/
DAppStateTrackerTest.java223 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/
DBackgroundRestrictionsTest.java183 TEST_APP_PACKAGE, allow ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppOpsModeAllowed()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp202 if (!mUidIsTrusted && res == AppOpsManager::MODE_IGNORED) { in startCameraOps()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java20 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/
DWifiNetworkSuggestionsManagerTest.java23 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/
DSmsApplicationTest.java153 .thenReturn(AppOpsManager.MODE_IGNORED); in testGetDefaultSmsApplicationWithAppOpsFix()
/frameworks/base/media/java/android/media/
DPlayerBase.java296 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio_sync()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java217 .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/
DWifiPermissionsUtilTest.java1062 mAllowFineLocationApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps()
1120 mWifiScanAllowApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps()
/frameworks/base/core/java/android/app/
DAppOpsManager.java346 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/
DPackageInstaller.java21 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/
DWifiNetworkSuggestionsManager.java19 import static android.app.AppOpsManager.MODE_IGNORED;
420 == AppOpsManager.MODE_IGNORED) { in onOpChanged()
514 MODE_IGNORED); in handleUserDisallowAction()
/frameworks/base/core/java/android/os/
DEnvironment.java1350 case AppOpsManager.MODE_IGNORED: in isExternalStorageManager()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java532 AppOpsManager.MODE_IGNORED); in exemptFromAutoRevoke()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java607 .thenReturn(AppOpsManager.MODE_IGNORED); in mockLocationPermissionDenied()

12