Home
last modified time | relevance | path

Searched refs:isPrivilegedApp (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java40 static boolean isPrivilegedApp(int callerUid, int callerPid) { in isPrivilegedApp() method in SenderFilter
92 return isPrivilegedApp(callerUid, callerPid);
100 return isPrivilegedApp(callerUid, callerPid) ||
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerHelperImpl.java84 public boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException { in isPrivilegedApp() method in PackageTrackerHelperImpl
87 return packageInfo.applicationInfo.isPrivilegedApp(); in isPrivilegedApp()
DPackageManagerHelper.java32 boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException; in isPrivilegedApp() method
DPackageTracker.java186 if (!mPackageManagerHelper.isPrivilegedApp(mUpdateAppPackageName)) { in throwIfDeviceSettingsOrAppsAreBad()
198 if (!mPackageManagerHelper.isPrivilegedApp(mDataAppPackageName)) { in throwIfDeviceSettingsOrAppsAreBad()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java1349 when(mMockPackageManagerHelper.isPrivilegedApp(updateAppPackageName)).thenReturn(true); in configureUpdateAppPackageOk()
1355 when(mMockPackageManagerHelper.isPrivilegedApp(updateAppPackageName)).thenReturn(false); in configureUpdateAppPackageNotPrivileged()
1364 when(mMockPackageManagerHelper.isPrivilegedApp(dataAppPackageName)).thenReturn(true); in configureDataAppPackageOk()
1370 when(mMockPackageManagerHelper.isPrivilegedApp(dataAppPackageName)).thenReturn(false); in configureDataAppPackageNotPrivileged()
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfig.java192 if (info.targetSdkVersion <= Build.VERSION_CODES.M && !info.isPrivilegedApp()) { in getDefaultBuilder()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt518 whenever(applicationInfo.isPrivilegedApp).thenReturn(true) in stageInstantAppResolverScan()
536 whenever(applicationInfo.isPrivilegedApp).thenReturn(true) in stagePermissionsControllerScan()
577 whenever(applicationInfo.isPrivilegedApp).thenReturn(true) in stageInstallerScan()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java303 ai.isPrivilegedApp()); in createProjection()
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java764 if (ai.isPrivilegedApp() || (ai.isSystemApp() && !ai.isUpdatedSystemApp())) { in chooseDriverInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java617 || (info.isPrivilegedApp() in getRealCompilerFilter()
DPackageManagerService.java8263 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { in getRequiredInstallerLPr()
8297 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { in getRequiredPermissionControllerLPr()
/frameworks/base/core/java/android/view/
DLayoutInflater.java438 if (appInfo.isEmbeddedDexUsed() || appInfo.isPrivilegedApp()) { in initPrecompiledViews()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java2372 public boolean isPrivilegedApp() { in isPrivilegedApp() method in ApplicationInfo
DPackageParser.java7207 return applicationInfo.isPrivilegedApp(); in isPrivileged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1629 if (!pkg.applicationInfo.isPrivilegedApp()) { in isSysComponentOrPersistentPlatformSignedPrivApp()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1930 } else if (app.info.isPrivilegedApp()) {
/frameworks/base/core/java/android/provider/
DSettings.java3073 return isTestOnly || applicationInfo.isSystemApp() || applicationInfo.isPrivilegedApp() in isCallerExemptFromReadableRestriction()
/frameworks/base/config/
Dboot-profile.txt342 Landroid/content/pm/ApplicationInfo;->isPrivilegedApp()Z
Dboot-image-profile.txt4441 HSPLandroid/content/pm/ApplicationInfo;->isPrivilegedApp()Z
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java822 if (!app.isPrivilegedApp()) { in addDefaultRestrictBackgroundAllowlistUidsUL()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1738 if (!aInfo.applicationInfo.isPrivilegedApp() in getLockTaskLaunchMode()
/frameworks/base/core/api/
Dtest-current.txt788 method public boolean isPrivilegedApp();
/frameworks/base/boot/
Dboot-image-profile.txt4443 HSPLandroid/content/pm/ApplicationInfo;->isPrivilegedApp()Z