Home
last modified time | relevance | path

Searched refs:isPrivilegedApp (Results 1 – 21 of 21) 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/
DPackageManagerHelper.java32 boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException; in isPrivilegedApp() method
DPackageTrackerHelperImpl.java84 public boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException { in isPrivilegedApp() method in PackageTrackerHelperImpl
87 return packageInfo.applicationInfo.isPrivilegedApp(); in isPrivilegedApp()
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/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java374 if (callingPackageInfo.isPrivilegedApp()) { in reportAccessDeniedToReadIdentifiers()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java298 ai.isPrivilegedApp()); in createProjection()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java483 if (appInfo.isPrivilegedApp() || appInfo.isEmbeddedDexUsed() in compileLayouts()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java511 || (info.isPrivilegedApp() in getRealCompilerFilter()
DPackageManagerService.java3735 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { in getRequiredInstallerLPr()
3769 if (!resolveInfo.activityInfo.applicationInfo.isPrivilegedApp()) { in getRequiredPermissionControllerLPr()
17850 final boolean privileged = isPrivilegedApp(oldPackage);
18178 private static boolean isPrivilegedApp(PackageParser.Package pkg) {
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java710 if (ai.isPrivilegedApp() || (ai.isSystemApp() && !ai.isUpdatedSystemApp())) { in chooseDriverInternal()
/frameworks/base/core/java/android/view/
DLayoutInflater.java434 if (appInfo.isEmbeddedDexUsed() || appInfo.isPrivilegedApp()) { in initPrecompiledViews()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java2014 public boolean isPrivilegedApp() { in isPrivilegedApp() method in ApplicationInfo
DPackageParser.java6910 return applicationInfo.isPrivilegedApp(); in isPrivileged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1328 if (!pkg.applicationInfo.isPrivilegedApp()) { in isSysComponentOrPersistentPlatformSignedPrivApp()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1557 || (app.info.isPrivilegedApp()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1055 if (appInfo.isPrivilegedApp() && (lockTaskLaunchMode == LOCK_TASK_LAUNCH_MODE_ALWAYS in ActivityRecord()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java702 if (!app.isPrivilegedApp()) { in addDefaultRestrictBackgroundWhitelistUidsUL()
/frameworks/base/api/
Dtest-current.txt675 method public boolean isPrivilegedApp();
/frameworks/base/services/
Dart-profile11035 PLcom/android/server/pm/PackageManagerService;->isPrivilegedApp(Landroid/content/pm/PackageParser$P…