/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 1838 AppOpsManager.MODE_DEFAULT, // WRITE_SETTINGS 1858 AppOpsManager.MODE_DEFAULT, // GET_USAGE_STATS 1881 AppOpsManager.MODE_DEFAULT, // REQUEST_INSTALL_PACKAGES 1883 AppOpsManager.MODE_DEFAULT, // INSTANT_APP_START_FOREGROUND 1895 AppOpsManager.MODE_DEFAULT, // SMS_FINANCIAL_TRANSACTIONS 1902 AppOpsManager.MODE_DEFAULT, // LEGACY_STORAGE 5808 return AppOpsManager.MODE_DEFAULT; in getSystemAlertWindowDefault() 5819 return AppOpsManager.MODE_DEFAULT; in getSystemAlertWindowDefault()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 513 if (mode == AppOpsManager.MODE_DEFAULT) { in checkSystemAlertWindowPermission()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 8561 public static final int MODE_DEFAULT = MODE_LARGE; field in ContactsContract.QuickContact 8641 intent.putExtra(EXTRA_MODE, originalIntent.getIntExtra(EXTRA_MODE, MODE_DEFAULT)); in rebuildManagedQuickContactsIntent() 8748 Intent intent = composeQuickContactsIntent(context, target, lookupUri, MODE_DEFAULT, in showQuickContact() 8788 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/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 121 case AppOpsManager.MODE_DEFAULT: in checkAndroidPermissions()
|
/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/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/core/java/android/os/storage/ |
D | StorageManager.java | 1680 case AppOpsManager.MODE_DEFAULT: in checkPermissionAndAppOp() 1707 case AppOpsManager.MODE_DEFAULT: in noteAppOpAllowingLegacy()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 182 .thenReturn(AppOpsManager.MODE_DEFAULT); in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTestsBase.java | 474 doReturn(AppOpsManager.MODE_DEFAULT) in TestActivityTaskManagerService()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 648 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; 2789 if (mode != MODE_ALLOWED && mode != MODE_DEFAULT) { in initAppOpsState() 2810 if (mode != MODE_ALLOWED && mode != MODE_DEFAULT) { in updateAppOpsState() 2816 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()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 107 case PermissionController::MODE_DEFAULT: in checkDumpAndUsageStats()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 2087 if (mode == AppOpsManager.MODE_DEFAULT) { in getBrightnessEvents()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 484 case AppOpsManager.MODE_DEFAULT: in startServiceLocked() 1332 case AppOpsManager.MODE_DEFAULT: in setServiceForegroundInnerLocked()
|