Home
last modified time | relevance | path

Searched refs:activityName (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DActivityInfo.java40 public final String activityName; field in ActivityInfo
42 public ActivityInfo(String packageName, String activityName) { in ActivityInfo() argument
44 this.activityName = activityName; in ActivityInfo()
51 Objects.requireNonNull(activityName, "activityName"); in checkConstructorArguments()
56 return String.format("{packageName: %s, activityName: %s}", packageName, activityName); in toString()
71 Objects.equals(activityName, other.activityName); in equals()
78 out.writeString(activityName); in writeToParcel()
83 activityName = in.readString(); in ActivityInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java195 info.activityName = info.appName; in fetchAndMergeApps()
236 info.activityName = info.appName; in fetchAndMergeApps()
251 String both = info.packageName + "+" + info.activityName; in fetchAndMergeApps()
253 && !TextUtils.isEmpty(info.activityName) in fetchAndMergeApps()
328 info.activityName = app.activityInfo.loadLabel(pm); in addSystemApps()
329 if (info.activityName == null) info.activityName = info.appName; in addSystemApps()
367 public CharSequence activityName; field in AppRestrictionsHelper.SelectableAppInfo
373 return packageName + ": appName=" + appName + "; activityName=" + activityName in toString()
382 String lhsLabel = lhs.activityName.toString(); in compare()
383 String rhsLabel = rhs.activityName.toString(); in compare()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java98 Context context, String activityName) { in newPhotoViewIntentBuilder() argument
99 return new PhotoViewIntentBuilder(context, activityName); in newPhotoViewIntentBuilder()
150 private PhotoViewIntentBuilder(Context context, String activityName) { in PhotoViewIntentBuilder() argument
152 mIntent.setClassName(context, activityName); in PhotoViewIntentBuilder()
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionHardware.java171 String activityName = getActivityName(event.activity); in onActivityChanged() local
173 new ActivityRecognitionEvent(activityName, event.type, event.timestamp); in onActivityChanged()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java814 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord() argument
815 this(ComponentName.unflattenFromString(activityName), time, weight); in HistoricalRecord()
825 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord() argument
826 this.activity = activityName; in HistoricalRecord()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java503 public Drawable getActivityIcon(ComponentName activityName) in getActivityIcon() argument
514 public Drawable getActivityBanner(ComponentName activityName) in getActivityBanner() argument
552 public Drawable getActivityLogo(ComponentName activityName) in getActivityLogo() argument
615 public Resources getResourcesForActivity(ComponentName activityName) in getResourcesForActivity() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java499 public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException { in getActivityIcon() argument
509 public Drawable getActivityBanner(ComponentName activityName) throws NameNotFoundException { in getActivityBanner() argument
544 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { in getActivityLogo() argument
605 public Resources getResourcesForActivity(ComponentName activityName) in getResourcesForActivity() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java555 public Drawable getActivityIcon(ComponentName activityName) in getActivityIcon() argument
571 public Drawable getActivityBanner(ComponentName activityName) in getActivityBanner() argument
602 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { in getActivityLogo() argument
667 public Resources getResourcesForActivity(ComponentName activityName) in getResourcesForActivity() argument
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java382 final String activityName = mInfo.getSettingsActivity(); in getServiceSettingsActivityLocked()
383 if (activityName == null) return null; in getServiceSettingsActivityLocked()
386 return new ComponentName(packageName, activityName); in getServiceSettingsActivityLocked()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1336 @Override public Drawable getActivityIcon(ComponentName activityName) in getActivityIcon() argument
1338 return getActivityInfo(activityName, sDefaultFlags).loadIcon(this); in getActivityIcon()
1370 public Drawable getActivityBanner(ComponentName activityName) in getActivityBanner() argument
1372 return getActivityInfo(activityName, sDefaultFlags).loadBanner(this); in getActivityBanner()
1403 public Drawable getActivityLogo(ComponentName activityName) in getActivityLogo() argument
1405 return getActivityInfo(activityName, sDefaultFlags).loadLogo(this); in getActivityLogo()
1516 public Resources getResourcesForActivity(ComponentName activityName) in getResourcesForActivity() argument
1519 getActivityInfo(activityName, sDefaultFlags).applicationInfo); in getResourcesForActivity()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5149 public abstract Drawable getActivityIcon(@NonNull ComponentName activityName) in getActivityIcon() argument
5187 public abstract Drawable getActivityBanner(@NonNull ComponentName activityName) in getActivityBanner() argument
5295 public abstract Drawable getActivityLogo(@NonNull ComponentName activityName) in getActivityLogo() argument
5520 public abstract Resources getResourcesForActivity(@NonNull ComponentName activityName) in getResourcesForActivity() argument
/frameworks/base/tools/aapt/
DCommand.cpp1080 String8 activityName; in doDump() local
1116 String8 aName(getComponentName(pkg, activityName)); in doDump()
1694 activityName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4766 String activityName = targetActivityInfo.name;
4769 Log.e(TAG, String.format(tmpl, activityName, pkgName, mAccountType));
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java21101 final ComponentName activityName = new ComponentName(info.packageName, info.name);
21102 set[i] = activityName;
21103 if (!found && activityName.equals(comp)) {