/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 80 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasCarrierPrivileges() 91 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isDeviceOwner() 102 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isProfileOwner() 124 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, true); in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission() 135 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasReadHistoryPermission() 157 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_deniedAppOpsBit_deniedPermission()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 22 import static android.app.AppOpsManager.MODE_DEFAULT; 64 return MODE_DEFAULT; 187 return MODE_DEFAULT; in forPermission() 234 return MODE_DEFAULT; in forPermission()
|
D | PermissionPolicyService.java | 20 import static android.app.AppOpsManager.MODE_DEFAULT; 598 case MODE_DEFAULT: in addOpIfRestricted() 744 return setUidModeIfMode(opCode, uid, MODE_DEFAULT, MODE_ALLOWED, packageName); in setUidModeAllowedIfDefault() 762 return setUidModeIfMode(opCode, uid, MODE_DEFAULT, MODE_IGNORED, packageName); in setUidModeIgnoredIfDefault() 793 setUidMode(opCode, uid, MODE_DEFAULT, packageName); in setUidModeDefault()
|
/frameworks/native/libs/binder/include/binder/ |
D | PermissionController.h | 44 MODE_DEFAULT = 3, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 75 @IntDef({MODE_DEFAULT, MODE_ON, MODE_OFF, MODE_ESTIMATE}) 77 public static final int MODE_DEFAULT = 0; field in BatteryMeterView 93 private int mShowPercentMode = MODE_DEFAULT; 194 setPercentShowMode(show ? MODE_ON : MODE_DEFAULT); in setForceShowPercent()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 179 if (mode == AppOpsManager.MODE_DEFAULT) { in hasAppOpsPermission()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 146 case AppOpsManager.MODE_DEFAULT: in checkUsageStatsPermission()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 161 MODE_DEFAULT, 191 public static final int MODE_DEFAULT = 3; field in AppOpsManager 1791 AppOpsManager.MODE_DEFAULT, // WRITE_SETTINGS 1811 AppOpsManager.MODE_DEFAULT, // GET_USAGE_STATS 1834 AppOpsManager.MODE_DEFAULT, // REQUEST_INSTALL_PACKAGES 1836 AppOpsManager.MODE_DEFAULT, // INSTANT_APP_START_FOREGROUND 1848 AppOpsManager.MODE_DEFAULT, // SMS_FINANCIAL_TRANSACTIONS 1855 AppOpsManager.MODE_DEFAULT, // LEGACY_STORAGE 5752 return AppOpsManager.MODE_DEFAULT; in getSystemAlertWindowDefault() 5763 return AppOpsManager.MODE_DEFAULT; in getSystemAlertWindowDefault()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 512 if (mode == AppOpsManager.MODE_DEFAULT) { in checkSystemAlertWindowPermission()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 8555 public static final int MODE_DEFAULT = MODE_LARGE; field in ContactsContract.QuickContact 8635 intent.putExtra(EXTRA_MODE, originalIntent.getIntExtra(EXTRA_MODE, MODE_DEFAULT)); in rebuildManagedQuickContactsIntent() 8742 Intent intent = composeQuickContactsIntent(context, target, lookupUri, MODE_DEFAULT, in showQuickContact() 8782 Intent intent = composeQuickContactsIntent(context, target, lookupUri, MODE_DEFAULT, in showQuickContact()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 834 .thenReturn(AppOpsManager.MODE_DEFAULT); in testCheckSystemAlertWindowPermissionWithModeDefaultAppOps() 843 .thenReturn(AppOpsManager.MODE_DEFAULT); in testCheckSystemAlertWindowPermissionWithModeDefaultAppOps()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 148 case AppOpsManager.MODE_DEFAULT: in enforcePermission()
|
D | UsageStatsService.java | 927 if (mode == AppOpsManager.MODE_DEFAULT) { in hasPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 121 case AppOpsManager.MODE_DEFAULT: in checkAndroidPermissions()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 21 import static android.app.AppOpsManager.MODE_DEFAULT; 623 return mode == MODE_DEFAULT ? MODE_IGNORED : mode; in noteProxyOp()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 473 case AppOpsManager.MODE_DEFAULT: in handleUnknownSources()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 179 .thenReturn(AppOpsManager.MODE_DEFAULT); in setUp()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 1680 case AppOpsManager.MODE_DEFAULT: in checkPermissionAndAppOp() 1707 case AppOpsManager.MODE_DEFAULT: in noteAppOpAllowingLegacy()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTestsBase.java | 448 doReturn(AppOpsManager.MODE_DEFAULT) in TestActivityTaskManagerService()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 640 setExclusiveAppops(oldPackageName, appOps, uid, AppOpsManager.MODE_DEFAULT); in setDefaultApplicationInternal()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 21 import static android.app.AppOpsManager.MODE_DEFAULT; 2749 if (mode != MODE_ALLOWED && mode != MODE_DEFAULT) { in initAppOpsState() 2770 if (mode != MODE_ALLOWED && mode != MODE_DEFAULT) { in updateAppOpsState() 2776 if (mode == MODE_ALLOWED || mode == MODE_DEFAULT) { in updateAppOpsState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 476 case AppOpsManager.MODE_DEFAULT: in checkPermission()
|
D | IpSecService.java | 1561 case AppOpsManager.MODE_DEFAULT: in enforceTunnelFeatureAndPermissions()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 113 case PermissionController::MODE_DEFAULT: in checkDumpAndUsageStats()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 2085 if (mode == AppOpsManager.MODE_DEFAULT) { in getBrightnessEvents()
|