Home
last modified time | relevance | path

Searched refs:mActivityInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileTest.java32 private ActivityInfo mActivityInfo; field in TileTest
38 mActivityInfo = new ActivityInfo(); in setUp()
39 mActivityInfo.applicationInfo = new ApplicationInfo(); in setUp()
40 mActivityInfo.packageName = mContext.getPackageName(); in setUp()
41 mActivityInfo.name = "abc"; in setUp()
42 mActivityInfo.icon = com.android.internal.R.drawable.ic_plus; in setUp()
43 mActivityInfo.metaData = new Bundle(); in setUp()
44 mTile = new Tile(mActivityInfo, "category"); in setUp()
49 mActivityInfo.metaData.putString(META_DATA_KEY_PROFILE, PROFILE_PRIMARY); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue()
55 mActivityInfo.metaData.putString(META_DATA_KEY_PROFILE, PROFILE_ALL); in isPrimaryProfileOnly_profileAll_shouldReturnFalse()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java40 private ActivityInfo mActivityInfo; field in LauncherActivityInfo
53 mActivityInfo = info; in LauncherActivityInfo()
93 return mActivityInfo.loadLabel(mPm); in getLabel()
106 final int iconRes = mActivityInfo.getIconResource(); in getIcon()
112 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getIcon()
119 icon = mActivityInfo.loadIcon(mPm); in getIcon()
131 return mActivityInfo.applicationInfo.flags; in getApplicationFlags()
139 return mActivityInfo.applicationInfo; in getApplicationInfo()
150 return mPm.getPackageInfo(mActivityInfo.packageName, in getFirstInstallTime()
163 return mActivityInfo.name; in getName()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java253 final ActivityInfo mActivityInfo; field in DeviceAdminInfo
294 mActivityInfo = activityInfo; in DeviceAdminInfo()
300 parser = mActivityInfo.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA); in DeviceAdminInfo()
306 Resources res = pm.getResourcesForApplication(mActivityInfo.applicationInfo); in DeviceAdminInfo()
362 "Unable to create context for: " + mActivityInfo.packageName); in DeviceAdminInfo()
369 mActivityInfo = ActivityInfo.CREATOR.createFromParcel(source); in DeviceAdminInfo()
378 return mActivityInfo.packageName; in getPackageName()
386 return mActivityInfo.name; in getReceiverName()
394 return mActivityInfo; in getActivityInfo()
402 return new ComponentName(mActivityInfo.packageName, in getComponent()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAdaptiveIconTest.java53 private ActivityInfo mActivityInfo; field in AdaptiveIconTest
58 mActivityInfo = new ActivityInfo(); in setUp()
59 mActivityInfo.packageName = mContext.getPackageName(); in setUp()
60 mActivityInfo.name = "class"; in setUp()
61 mActivityInfo.metaData = new Bundle(); in setUp()
87 final Tile tile = spy(new Tile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon()
88 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_ICON_BACKGROUND_ARGB, 0xff0000); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon()
100 final Tile tile = spy(new Tile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor()
113 final Tile tile = spy(new Tile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
114 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_ICON_BACKGROUND_HINT, in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java70 private ActivityInfo mActivityInfo; field in Tile
76 mActivityInfo = activityInfo; in Tile()
77 mActivityPackage = mActivityInfo.packageName; in Tile()
78 mActivityName = mActivityInfo.name; in Tile()
333 mActivityInfo = null; in ensureMetadataNotStale()
342 if (mActivityInfo == null) { in getActivityInfo()
348 mActivityInfo = infoList.get(0).activityInfo; in getActivityInfo()
349 mMetaData = mActivityInfo.metaData; in getActivityInfo()
355 return mActivityInfo; in getActivityInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java81 private ActivityInfo mActivityInfo; field in CrossProfileAppsServiceImplTest
338 mActivityInfo.exported = false; in startActivityAsUser_profile_notExported()
361 mActivityInfo.exported = false; in startAnyActivityAsUser_profile_notExported()
509 mActivityInfo = activityInfo; in mockActivityLaunchIntentResolvedTo()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java743 private final ActivityInfo mActivityInfo;
747 mActivityInfo = activityInfo;
755 if (mActivityInfo.icon != 0) {
757 mPm.getResourcesForApplication(mActivityInfo.applicationInfo),
758 mActivityInfo.icon);
772 return (String) mActivityInfo.loadLabel(mPm);
/frameworks/base/core/java/android/app/
DActivity.java808 /*package*/ ActivityInfo mActivityInfo; field in Activity
1458 if (mActivityInfo.parentActivityName != null) { in onCreate()
3317 mWindow.setDefaultIcon(mActivityInfo.getIconResource()); in initWindowDecorActionBar()
3318 mWindow.setDefaultLogo(mActivityInfo.getLogoResource()); in initWindowDecorActionBar()
3945 if (mActivityInfo.supportsPictureInPicture()) { in enterPictureInPictureModeIfPossible()
4337 if (mActivityInfo.taskAffinity == null) { in onNavigateUp()
7620 final String parentName = mActivityInfo.parentActivityName; in getParentActivityIntent()
7756 mActivityInfo = info; in attach()
DActivityThread.java5517 || (~activity.mActivityInfo.getRealConfigChanged() & diff) == 0 in performActivityConfigurationChanged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt2413 Landroid/app/admin/DeviceAdminInfo;->mActivityInfo:Landroid/content/pm/ActivityInfo;