/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
LensPickerAdapter.java | 105 ApplicationInfo aInfo = mPackageManager.getApplicationInfo(packageName, 0); 120 displayName = getComponentLabel(aInfo); 125 getComponentIcon(aInfo), 157 private Drawable getComponentIcon(ApplicationInfo aInfo) { 158 return mPackageManager.getApplicationIcon(aInfo); 161 private String getComponentLabel(ApplicationInfo aInfo) { 162 CharSequence appLabel = mPackageManager.getApplicationLabel(aInfo);
|
ResolverAdapter.java | 100 ApplicationInfo aInfo = packageManager.getApplicationInfo(packageName, 0); 115 displayName = getComponentLabel(packageManager, aInfo); 119 getComponentIcon(packageManager, aInfo), launchIntent,
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/ |
PrivilegedAppDisableTest.java | 68 ApplicationInfo aInfo = pm.getApplicationInfo(PRIVILEGED_SHIM_PKG, 70 return aInfo.flags;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
AlertWindowNotification.java | 101 final ApplicationInfo aInfo = getApplicationInfo(pm, mPackageName); 102 final String appName = (aInfo != null) 103 ? pm.getApplicationLabel(aInfo).toString() : mPackageName; 120 if (aInfo != null) { 121 final Drawable drawable = pm.getApplicationIcon(aInfo);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityTestsBase.java | 97 final ActivityInfo aInfo = new ActivityInfo(); 98 aInfo.applicationInfo = new ApplicationInfo(); 99 aInfo.applicationInfo.packageName = component.getPackageName(); 100 aInfo.applicationInfo.uid = uid; 104 aInfo /*aInfo*/, new Configuration(), null /* resultTo */, null /* resultWho */, 118 final ActivityInfo aInfo = new ActivityInfo(); 119 aInfo.applicationInfo = new ApplicationInfo(); 120 aInfo.applicationInfo.packageName = component.getPackageName(); 125 final TaskRecord task = new TaskRecord(service, 0, aInfo, intent /*intent*/ [all...] |
/frameworks/base/core/java/android/app/ |
LoadedApk.java | 139 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, 144 setApplicationInfo(aInfo); 145 mPackageName = aInfo.packageName; 269 * @param aInfo The new ApplicationInfo to use for this LoadedApk 273 public void updateApplicationInfo(@NonNull ApplicationInfo aInfo, 275 setApplicationInfo(aInfo); 278 makePaths(mActivityThread, aInfo, newPaths); 318 private void setApplicationInfo(ApplicationInfo aInfo) { 320 aInfo = adjustNativeLibraryPaths(aInfo); [all...] |
LocalActivityManager.java | 270 ActivityInfo aInfo = null; 282 aInfo = r.activityInfo; 285 if (aInfo == null) { 286 aInfo = mActivityThread.resolveActivityInfo(intent); 308 if (aInfo == r.activityInfo || 309 (aInfo.name.equals(r.activityInfo.name) && 310 aInfo.packageName.equals(r.activityInfo.packageName))) { 311 if (aInfo.launchMode != ActivityInfo.LAUNCH_MULTIPLE || 346 r.activityInfo = aInfo;
|
ActivityThread.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
MediaProjectionPermissionActivity.java | 73 ApplicationInfo aInfo; 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); 76 mUid = aInfo.uid; 99 String label = aInfo.loadLabel(packageManager).toString(); 137 .setIcon(aInfo.loadIcon(packageManager))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbPermissionActivity.java | 73 ApplicationInfo aInfo; 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); 81 String appName = aInfo.loadLabel(packageManager).toString(); 84 ap.mIcon = aInfo.loadIcon(packageManager);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStartInterceptor.java | 97 void intercept(Intent intent, ResolveInfo rInfo, ActivityInfo aInfo, String resolvedType, 104 mAInfo = aInfo; 209 ActivityInfo aInfo, String callingPackage, int userId) { 227 newIntent.putExtra(EXTRA_PACKAGE_NAME, aInfo.packageName);
|
ActivityStarter.java | 264 String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, 279 aInfo, rInfo, voiceSession, voiceInteractor, resultTo, resultWho, requestCode, 295 String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, 320 final int userId = aInfo != null ? UserHandle.getUserId(aInfo.applicationInfo.uid) : 0; 380 if (err == ActivityManager.START_SUCCESS && aInfo == null) { 393 && sourceRecord.info.applicationInfo.uid != aInfo.applicationInfo.uid) { 438 boolean abort = !mSupervisor.checkStartAnyActivityPermission(intent, aInfo, resultWho, 442 callingPid, resolvedType, aInfo.applicationInfo); 450 aInfo.applicationInfo.packageName) [all...] |
ActivityRecord.java | [all...] |
ActivityStackSupervisor.java | [all...] |
ActivityManagerService.java | [all...] |
ActivityStack.java | [all...] |
/frameworks/support/compat/tests/java/android/support/v4/content/pm/ |
ShortcutManagerCompatTest.java | 236 ActivityInfo aInfo = new ActivityInfo(); 237 aInfo.packageName = mContext.getPackageName(); 238 aInfo.permission = permission; 240 rInfo.activityInfo = aInfo;
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/ |
OverlayPackagesProviderTest.java | 351 ApplicationInfo aInfo = new ApplicationInfo(); 352 aInfo.flags = ApplicationInfo.FLAG_SYSTEM; 354 serviceInfo.applicationInfo = aInfo;
|
/external/dng_sdk/source/ |
dng_string.cpp | 158 TextToUnicodeInfo aInfo = NULL; 160 if (::CreateTextToUnicodeInfo (&aMapping, &aInfo) == noErr) 166 ::ConvertFromTextToUnicode (aInfo, 180 ::DisposeTextToUnicodeInfo (&aInfo); 235 UnicodeToTextInfo aInfo = NULL; 237 if (::CreateUnicodeToTextInfo (&aMapping, &aInfo) == noErr) 243 ::ConvertFromUnicodeToText (aInfo, 258 ::DisposeUnicodeToTextInfo (&aInfo); [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbUserSettingsManager.java | 144 ApplicationInfo aInfo = mPackageManager.getApplicationInfo(packageName, 0); 145 if (aInfo.uid != uid) {
|
UsbProfileGroupSettingsManager.java | [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
Utils.java | 103 for (ApplicationInfo aInfo : aInfos) { 104 if ((aInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 105 apps.add(aInfo.packageName);
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 709 AuthorityInfo aInfo; 711 aInfo = getOrCreateAuthorityLocked(target, -1, false); 716 Slog.d(TAG, "setIsSyncable: " + aInfo.toString() + " -> " + syncable); 718 if (aInfo.syncable == syncable) { 724 aInfo.syncable = syncable; 728 requestSync(aInfo, SyncOperation.REASON_IS_SYNCABLE, new Bundle()); 933 AuthorityInfo ainfo = getAuthority(syncInfo.authorityId); local 1289 AuthorityInfo ainfo = mAuthorities.get(cur.authorityId); local 1305 AuthorityInfo ainfo = mAuthorities.get(cur.authorityId); local [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ChooserActivity.java | 318 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { 321 final Bundle replExtras = mReplacementExtras.getBundle(aInfo.packageName); 327 if (aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_PARENT) 328 || aInfo.name.equals(IntentForwarderActivity.FORWARD_INTENT_TO_MANAGED_PROFILE)) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | [all...] |