/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageManagerTests.java | 411 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0); 429 (info.privateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0); 438 (info.privateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0); 449 assertFalse((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0); 464 (info.privateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0); 467 (info.privateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0); 471 (info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0); 473 // ((info.privateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0) 568 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0); 714 ApplicationInfo appInfo = pm.getApplicationInfo(pkg.packageName [all...] |
ComponentTest.java | 601 pi.applicationInfo.uid, 0); 619 pi.applicationInfo.uid, 0); 625 pi.applicationInfo.uid, GET_DISABLED_COMPONENTS); [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationThreadNative.java | 23 import android.content.pm.ApplicationInfo; 281 ApplicationInfo info = 282 ApplicationInfo.CREATOR.createFromParcel(data); 460 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); 470 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); [all...] |
ActivityThread.java | 33 import android.content.pm.ApplicationInfo; 460 ApplicationInfo appInfo; 506 ApplicationInfo appInfo; 778 public final void scheduleCreateBackupAgent(ApplicationInfo app, 788 public final void scheduleDestroyBackupAgent(ApplicationInfo app, 846 public final void bindApplication(String processName, ApplicationInfo appInfo, [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 45 import android.content.pm.ApplicationInfo; 302 ApplicationInfo ai = null; 609 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 24 import android.content.pm.ApplicationInfo; 168 info.applicationInfo); 308 if ((info.applicationInfo.flags & ApplicationInfo.FLAG_IS_DATA_ONLY) != 0) { 624 ApplicationInfo appInfo = info.applicationInfo; 626 throw new NameNotFoundException("ApplicationInfo is null"); [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 35 import android.content.pm.ApplicationInfo; 766 if ((info.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS) == 0) { 816 if ((info.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS) == 0) { [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerShellCommand.java | 25 import android.content.pm.ApplicationInfo; 603 (info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0; 604 if ((!listDisabled || !info.applicationInfo.enabled) && 605 (!listEnabled || info.applicationInfo.enabled) && 610 pw.print(info.applicationInfo.sourceDir); 755 (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
UsageStatsService.java | 38 import android.content.pm.ApplicationInfo; 340 if (pi.applicationInfo != null && pi.applicationInfo.isSystemApp()) { 477 UserHandle.getAppId(pi.applicationInfo.uid), 648 if (pi == null || pi.applicationInfo == null) { 779 ApplicationInfo ai = mPackageManager.getApplicationInfo(packageName, [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 21 import android.content.pm.ApplicationInfo; 177 ApplicationInfo appInfo; 501 ApplicationInfo appInfo = launcherApps.getApplicationInfo( 504 (appInfo.flags & ApplicationInfo.FLAG_SUSPENDED) != 0) { 606 mInfo.providerInfo.applicationInfo,
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 22 import android.content.pm.ApplicationInfo; 179 final ApplicationInfo appInfo = info.applicationInfo; 180 return appInfo != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; 238 final Resources res = pm.getResourcesForApplication(si.applicationInfo);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcuts.java | 424 assistPackageInfo.applicationInfo.packageName, 425 assistPackageInfo.applicationInfo.icon); 513 if (packageInfo != null && packageInfo.applicationInfo.icon != 0) { 515 packageInfo.applicationInfo.packageName, 516 packageInfo.applicationInfo.icon); [all...] |
/frameworks/base/services/midi/java/com/android/server/midi/ |
MidiService.java | 24 import android.content.pm.ApplicationInfo; 594 if (info != null && info.applicationInfo != null) { 595 mBluetoothServiceUid = info.applicationInfo.uid; [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
Utils.java | 38 import android.content.pm.ApplicationInfo; 105 List<ApplicationInfo> aInfos = null; 112 for (ApplicationInfo aInfo : aInfos) { 113 if ((aInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 751 ApplicationInfo launcherAppInfo = pm.getApplicationInfo(
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 27 import android.content.pm.ApplicationInfo; 338 final int flags = pi.applicationInfo.flags; 339 final int privateFlags = pi.applicationInfo.privateFlags; 341 return ((flags&ApplicationInfo.FLAG_INSTALLED) != 0 342 && (privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) == 0); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
AppRestrictionsFragment.java | 28 import android.content.pm.ApplicationInfo; 371 final int flags = pi.applicationInfo.flags; 372 final int privateFlags = pi.applicationInfo.privateFlags; 374 return ((flags& ApplicationInfo.FLAG_INSTALLED) != 0 375 && (privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) == 0); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 127 import android.content.pm.ApplicationInfo; 520 // Necessary ApplicationInfo flags to mark an app as persistent 522 ApplicationInfo.FLAG_SYSTEM|ApplicationInfo.FLAG_PERSISTENT; [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PrintServicesTest.java | 23 import android.content.pm.ApplicationInfo; 557 ApplicationInfo appInfo = packageInfo.applicationInfo;
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 27 import android.content.pm.ApplicationInfo; 290 Resources res = pm.getResourcesForApplication(mActivityInfo.applicationInfo); 402 mActivityInfo.descriptionRes, mActivityInfo.applicationInfo);
|
/frameworks/base/core/java/android/content/ |
ContextWrapper.java | 20 import android.content.pm.ApplicationInfo; 148 public ApplicationInfo getApplicationInfo() { 790 public Context createApplicationContext(ApplicationInfo application,
|
/frameworks/base/core/java/android/print/ |
PrinterInfo.java | 26 import android.content.pm.ApplicationInfo; 146 ApplicationInfo appInfo = packageInfo.applicationInfo;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootsCache.java | 26 import android.content.pm.ApplicationInfo; 281 if ((info.applicationInfo.flags & ApplicationInfo.FLAG_STOPPED) != 0) {
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 29 import android.content.pm.ApplicationInfo; 124 public ApplicationInfo getApplicationInfo() { 666 public Context createApplicationContext(ApplicationInfo application, int flags)
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
UninstallAppProgress.java | 23 import android.content.pm.ApplicationInfo; 64 private ApplicationInfo mAppInfo; 339 boolean isUpdate = ((mAppInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0);
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 367 if (!deviceAdminInfo.getActivityInfo().applicationInfo.isInternal()) { 409 // Don't do the applicationInfo.isInternal() check here; if an active 442 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid);
|