/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 23 import static android.app.AppOpsManager.MODE_IGNORED; 191 return MODE_IGNORED; in forPermission() 199 return getDesiredOpMode() != MODE_IGNORED; in forPermission()
|
D | PermissionPolicyService.java | 23 import static android.app.AppOpsManager.MODE_IGNORED; 613 case MODE_IGNORED: in addOpIfRestricted() 762 return setUidModeIfMode(opCode, uid, MODE_DEFAULT, MODE_IGNORED, packageName); in setUidModeIgnoredIfDefault() 766 setUidMode(opCode, uid, MODE_IGNORED, packageName); in setUidModeIgnored()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 34 MODE_IGNORED = IAppOpsService::MODE_IGNORED, enumerator
|
D | PermissionController.h | 42 MODE_IGNORED = 1, enumerator
|
D | IAppOpsService.h | 63 MODE_IGNORED = 1, enumerator
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 23 import static android.app.AppOpsManager.MODE_IGNORED; 623 return mode == MODE_DEFAULT ? MODE_IGNORED : mode; in noteProxyOp() 716 if (strongestMode == MODE_IGNORED) { in enforceReadPermissionInner() 717 return MODE_IGNORED; in enforceReadPermissionInner() 795 if (strongestMode == MODE_IGNORED) { in enforceWritePermissionInner() 796 return MODE_IGNORED; in enforceWritePermissionInner()
|
/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 34 const int APP_OPS_MANAGER_UNAVAILABLE_MODE = AppOpsManager::MODE_IGNORED;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 19 import static android.app.AppOpsManager.MODE_IGNORED; 296 == AppOpsManager.MODE_IGNORED) { in onOpChanged() 375 MODE_IGNORED); 838 MODE_IGNORED); in sendUserApprovalNotification()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 20 import static android.app.AppOpsManager.MODE_IGNORED; 1671 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterSuggestionsAdd() 1720 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterConfigStoreLoad() 1762 .thenReturn(MODE_IGNORED); in testAppOpsChangeWrongUid() 2015 TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2031 .thenReturn(MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2178 TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenAddSuggestions() 2194 .thenReturn(MODE_IGNORED); in testUserApprovalNotificationClickOnDisallowWhenAddSuggestions()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 223 AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED; in newInstance() 688 AppOpsManager.MODE_IGNORED)); in loadPersistedAppOps() 691 AppOpsManager.MODE_IGNORED)); in loadPersistedAppOps() 699 AppOpsManager.MODE_IGNORED)); in loadPersistedAppOps() 715 AppOpsManager.MODE_IGNORED)); in loadPersistedAppOps() 718 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/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 358 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED; in evalMode() 1833 return AppOpsManager.MODE_IGNORED; in checkOperationImpl() 1851 return AppOpsManager.MODE_IGNORED; in checkOperationUnchecked() 1865 return AppOpsManager.MODE_IGNORED; in checkOperationUnchecked() 1907 return AppOpsManager.MODE_IGNORED; in checkAudioOperationImpl() 1996 return AppOpsManager.MODE_IGNORED; in noteProxyOperation() 2013 return AppOpsManager.MODE_IGNORED; in noteProxyOperation() 2039 return AppOpsManager.MODE_IGNORED; in noteOperationImpl() 2059 AppOpsManager.MODE_IGNORED); in noteOperationUnchecked() 2067 AppOpsManager.MODE_IGNORED); in noteOperationUnchecked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 20 import static android.app.AppOpsManager.MODE_IGNORED; 590 assertEquals("Op " + opToName(code) + " allowed for suspended package", MODE_IGNORED, in assertOpBlockedOnSuspend()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 159 MODE_IGNORED, 177 public static final int MODE_IGNORED = 1; field in AppOpsManager 1830 AppOpsManager.MODE_IGNORED, // WRITE_SMS 1861 AppOpsManager.MODE_IGNORED, // PROJECT_MEDIA 1862 AppOpsManager.MODE_IGNORED, // ACTIVATE_VPN 1906 AppOpsManager.MODE_IGNORED, // ACTIVATE_PLATFORM_VPN 5816 return AppOpsManager.MODE_IGNORED; in getSystemAlertWindowDefault()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 153 .thenReturn(AppOpsManager.MODE_IGNORED); in testGetDefaultSmsApplicationWithAppOpsFix()
|
/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/base/media/java/android/media/ |
D | PlayerBase.java | 296 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio_sync()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 980 mAllowFineLocationApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps() 1038 mWifiScanAllowApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 1681 case AppOpsManager.MODE_IGNORED: in checkPermissionAndAppOp() 1708 case AppOpsManager.MODE_IGNORED: in noteAppOpAllowingLegacy()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 185 .thenReturn(AppOpsManager.MODE_IGNORED); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 607 .thenReturn(AppOpsManager.MODE_IGNORED); in mockLocationPermissionDenied()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 19 import static android.app.AppOpsManager.MODE_IGNORED; 1813 .thenReturn(MODE_IGNORED); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 272 == AppOpsManager.MODE_IGNORED) { in onOpChanged()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 2499 if (res == AppOpsManager::MODE_IGNORED) { in startCameraOps() 2586 res == AppOpsManager::MODE_IGNORED ? "IGNORED" : in opChanged()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1055 mute ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED, in applyRestrictions()
|