Home
last modified time | relevance | path

Searched refs:MODE_IGNORED (Results 1 – 25 of 35) 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/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/native/libs/binder/
DAppOpsManager.cpp34 const int APP_OPS_MANAGER_UNAVAILABLE_MODE = AppOpsManager::MODE_IGNORED;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java19 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/
DWifiNetworkSuggestionsManagerTest.java20 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/
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/base/services/core/java/com/android/server/appop/
DAppOpsService.java358 ? 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/
DSuspendPackagesTest.java20 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/
DAppOpsManager.java159 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/
DSmsApplicationTest.java153 .thenReturn(AppOpsManager.MODE_IGNORED); in testGetDefaultSmsApplicationWithAppOpsFix()
/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/base/media/java/android/media/
DPlayerBase.java296 int mode = AppOpsManager.MODE_IGNORED; in updateAppOpsPlayAudio_sync()
/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/core/java/android/os/storage/
DStorageManager.java1681 case AppOpsManager.MODE_IGNORED: in checkPermissionAndAppOp()
1708 case AppOpsManager.MODE_IGNORED: in noteAppOpAllowingLegacy()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java185 .thenReturn(AppOpsManager.MODE_IGNORED); in setUp()
/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;
1813 .thenReturn(MODE_IGNORED); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java272 == AppOpsManager.MODE_IGNORED) { in onOpChanged()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2499 if (res == AppOpsManager::MODE_IGNORED) { in startCameraOps()
2586 res == AppOpsManager::MODE_IGNORED ? "IGNORED" : in opChanged()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1055 mute ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED, in applyRestrictions()

12