Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/policy/
DSoftRestrictedPermissionPolicy.java23 import static android.app.AppOpsManager.MODE_IGNORED;
191 return MODE_IGNORED; in forPermission()
199 return getDesiredOpMode() != MODE_IGNORED; in forPermission()
DPermissionPolicyService.java23 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/
DAppOpsManager.h34 MODE_IGNORED = IAppOpsService::MODE_IGNORED, enumerator
DPermissionController.h42 MODE_IGNORED = 1, enumerator
DIAppOpsService.h63 MODE_IGNORED = 1, enumerator
/frameworks/native/libs/binder/
DAppOpsManager.cpp34 const int APP_OPS_MANAGER_UNAVAILABLE_MODE = AppOpsManager::MODE_IGNORED;
/frameworks/base/core/java/android/content/
DContentProvider.java23 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/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java223 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/
DBackgroundRestrictionsTest.java183 TEST_APP_PACKAGE, allow ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppOpsModeAllowed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java19 import static android.app.AppOpsManager.MODE_IGNORED;
281 == AppOpsManager.MODE_IGNORED) { in onOpChanged()
360 MODE_IGNORED);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java20 import static android.app.AppOpsManager.MODE_IGNORED;
1541 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterSuggestionsAdd()
1590 .thenReturn(MODE_IGNORED); in testAppOpsChangeAfterConfigStoreLoad()
1632 .thenReturn(MODE_IGNORED); in testAppOpsChangeWrongUid()
1861 TEST_PACKAGE_1, MODE_IGNORED); in testUserApprovalNotificationClickOnDisallow()
1877 .thenReturn(MODE_IGNORED); in testUserApprovalNotificationClickOnDisallow()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java347 ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED; in evalMode()
1777 return AppOpsManager.MODE_IGNORED; in checkOperationImpl()
1808 return AppOpsManager.MODE_IGNORED; in checkOperationUnchecked()
1850 return AppOpsManager.MODE_IGNORED; in checkAudioOperationImpl()
1941 return AppOpsManager.MODE_IGNORED; in noteProxyOperation()
1958 return AppOpsManager.MODE_IGNORED; in noteProxyOperation()
1984 return AppOpsManager.MODE_IGNORED; in noteOperationImpl()
1997 AppOpsManager.MODE_IGNORED); in noteOperationUnchecked()
2005 AppOpsManager.MODE_IGNORED); in noteOperationUnchecked()
2006 return AppOpsManager.MODE_IGNORED; in noteOperationUnchecked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java20 import static android.app.AppOpsManager.MODE_IGNORED;
575 assertEquals("Audio not muted for suspended package", MODE_IGNORED, audioOpMode); in testAudioOpBlockedOnSuspend()
/frameworks/base/media/java/android/media/
DPlayerBase.java296 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio_sync()
/frameworks/base/core/java/android/app/
DAppOpsManager.java159 MODE_IGNORED,
177 public static final int MODE_IGNORED = 1; field in AppOpsManager
1783 AppOpsManager.MODE_IGNORED, // WRITE_SMS
1814 AppOpsManager.MODE_IGNORED, // PROJECT_MEDIA
1815 AppOpsManager.MODE_IGNORED, // ACTIVATE_VPN
5760 return AppOpsManager.MODE_IGNORED; in getSystemAlertWindowDefault()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java980 mAllowFineLocationApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps()
1038 mWifiScanAllowApps = AppOpsManager.MODE_IGNORED; in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java182 .thenReturn(AppOpsManager.MODE_IGNORED); in setUp()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1681 case AppOpsManager.MODE_IGNORED: in checkPermissionAndAppOp()
1708 case AppOpsManager.MODE_IGNORED: in noteAppOpAllowingLegacy()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java607 .thenReturn(AppOpsManager.MODE_IGNORED); in mockLocationPermissionDenied()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java19 import static android.app.AppOpsManager.MODE_IGNORED;
1811 .thenReturn(MODE_IGNORED); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java271 == AppOpsManager.MODE_IGNORED) { in onOpChanged()
/frameworks/base/core/java/android/hardware/
DCamera.java1761 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2462 if (res == AppOpsManager::MODE_IGNORED) { in startCameraOps()
2543 res == AppOpsManager::MODE_IGNORED ? "IGNORED" : in opChanged()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1056 mute ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED, in applyRestrictions()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java474 case AppOpsManager.MODE_IGNORED: in startServiceLocked()
1244 case AppOpsManager.MODE_IGNORED: in setServiceForegroundInnerLocked()
1302 case AppOpsManager.MODE_IGNORED: in setServiceForegroundInnerLocked()

12