Home
last modified time | relevance | path

Searched refs:MODE_DEFAULT (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java79 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasCarrierPrivileges()
90 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isDeviceOwner()
101 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isProfileOwner()
123 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, true); in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission()
134 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasReadHistoryPermission()
156 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_deniedAppOpsBit_deniedPermission()
/frameworks/support/compat/java/android/support/v4/app/
DAppOpsManagerCompat.java49 public static final int MODE_DEFAULT = 3; field in AppOpsManagerCompat
/frameworks/base/core/java/android/app/
DAppOpsManager.java105 public static final int MODE_DEFAULT = 3; field in AppOpsManager
911 AppOpsManager.MODE_DEFAULT, // OP_WRITE_SETTINGS
912 AppOpsManager.MODE_DEFAULT, // OP_SYSTEM_ALERT_WINDOW
931 AppOpsManager.MODE_DEFAULT, // OP_GET_USAGE_STATS
954 AppOpsManager.MODE_DEFAULT, // OP_REQUEST_INSTALL_PACKAGES
956 AppOpsManager.MODE_DEFAULT, // OP_INSTANT_APP_START_FOREGROUND
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java129 case AppOpsManager.MODE_DEFAULT: in checkUsageStatsPermission()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java179 if (mode == AppOpsManager.MODE_DEFAULT) { in hasAppOpsPermission()
/frameworks/base/core/java/android/provider/
DContactsContract.java8453 public static final int MODE_DEFAULT = MODE_LARGE; field in ContactsContract.QuickContact
8532 intent.putExtra(EXTRA_MODE, originalIntent.getIntExtra(EXTRA_MODE, MODE_DEFAULT)); in rebuildManagedQuickContactsIntent()
8639 Intent intent = composeQuickContactsIntent(context, target, lookupUri, MODE_DEFAULT, in showQuickContact()
8679 Intent intent = composeQuickContactsIntent(context, target, lookupUri, MODE_DEFAULT, in showQuickContact()
DSettings.java11233 int mode = AppOpsManager.MODE_DEFAULT; in isCallingPackageAllowedToPerformAppOpsProtectedOperation()
11244 case AppOpsManager.MODE_DEFAULT: in isCallingPackageAllowedToPerformAppOpsProtectedOperation()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java53 import static android.app.AppOpsManager.MODE_DEFAULT;
450 w.setAppOpVisibilityLw(mode == MODE_ALLOWED || mode == MODE_DEFAULT); in updateAppOpsState()
DWindowManagerService.java1470 (startOpResult != AppOpsManager.MODE_DEFAULT)) { in addWindow()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java145 case AppOpsManager.MODE_DEFAULT: in enforcePermission()
DUsageStatsService.java1379 if (mode == AppOpsManager.MODE_DEFAULT) { in hasPermission()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1763 return AppOpsManager.MODE_DEFAULT; in strModeToMode()
1998 case AppOpsManager.MODE_DEFAULT: in onShellCommand()
/frameworks/support/compat/api/
Dcurrent.txt81 field public static final int MODE_DEFAULT = 3; // 0x3
D26.0.0.txt87 field public static final int MODE_DEFAULT = 3; // 0x3
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4234 if (mode == AppOpsManager.MODE_DEFAULT) { in hasUsageStatsPermission()
/frameworks/support/api/
D24.2.0.txt3722 field public static final int MODE_DEFAULT = 3; // 0x3
D25.0.0.txt3775 field public static final int MODE_DEFAULT = 3; // 0x3
D25.2.0.txt4135 field public static final int MODE_DEFAULT = 3; // 0x3
D25.1.0.txt4135 field public static final int MODE_DEFAULT = 3; // 0x3
D23.0.0.txt2558 field public static final int MODE_DEFAULT = 3; // 0x3
D23.4.0.txt3155 field public static final int MODE_DEFAULT = 3; // 0x3
D23.1.0.txt2822 field public static final int MODE_DEFAULT = 3; // 0x3
D23.1.1.txt2795 field public static final int MODE_DEFAULT = 3; // 0x3
D25.3.0.txt4516 field public static final int MODE_DEFAULT = 3; // 0x3
D23.2.1.txt3147 field public static final int MODE_DEFAULT = 3; // 0x3

12