/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 126 private ActivityInfo mActivityInfo; field in DashboardFeatureProviderImplTest 138 mActivityInfo = new ActivityInfo(); in setUp() 139 mActivityInfo.packageName = mContext.getPackageName(); in setUp() 140 mActivityInfo.name = "class"; in setUp() 141 mActivityInfo.metaData = new Bundle(); in setUp() 142 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp() 143 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_SUMMARY, in setUp() 172 final Tile tile = spy(new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in bindPreference_shouldBindAllData() 173 mActivityInfo.metaData.putInt(META_DATA_KEY_ORDER, 10); in bindPreference_shouldBindAllData() 176 mActivityInfo.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI"); in bindPreference_shouldBindAllData() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 80 private ActivityInfo mActivityInfo; field in AccountDetailDashboardFragmentTest 85 mActivityInfo = new ActivityInfo(); in setUp() 86 mActivityInfo.packageName = mContext.getPackageName(); in setUp() 87 mActivityInfo.name = "clazz"; in setUp() 88 mActivityInfo.metaData = new Bundle(); in setUp() 113 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay() 114 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay() 115 mActivityInfo.metaData.putString(METADATA_ACCOUNT_TYPE, "com.abc"); in refreshDashboardTiles_HasAccountType_shouldDisplay() 122 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay() 123 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAddShortcutInfo.java | 33 protected ShortcutConfigActivityInfo mActivityInfo; field in PendingAddShortcutInfo 36 this.mActivityInfo = activityInfo; in PendingAddShortcutInfo() 45 mActivityInfo = info.mActivityInfo; in PendingAddShortcutInfo() 54 return mActivityInfo; in getActivityInfo()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/ |
D | ResolveInfoBuilder.java | 36 private ActivityInfo mActivityInfo; field in ResolveInfoBuilder 44 mActivityInfo = new ActivityInfo(); in setActivity() 45 mActivityInfo.packageName = packageName; in setActivity() 46 mActivityInfo.name = className; in setActivity() 66 info.activityInfo = mActivityInfo; in build()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
D | CategoryManagerTest.java | 56 private ActivityInfo mActivityInfo; field in CategoryManagerTest 68 mActivityInfo = new ActivityInfo(); in setUp() 69 mActivityInfo.packageName = "pkg"; in setUp() 70 mActivityInfo.name = "class"; in setUp() 71 mActivityInfo.applicationInfo = new ApplicationInfo(); in setUp() 85 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys() 86 final Tile tile2 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys() 102 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() 104 final Tile tile2 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys() 125 final Tile tile1 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectDialogTest.java | 70 private ActivityInfo mActivityInfo; field in ProfileSelectDialogTest 80 mActivityInfo = new ActivityInfo(); in setUp() 81 mActivityInfo.packageName = "pkg"; in setUp() 82 mActivityInfo.name = "cls"; in setUp() 87 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Normal() 99 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Remove() 117 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_removesCloneProfile() 133 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updatePendingIntentsIfNeeded_removesUsersWithNoPendingIntentsAndCloneProfile()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | TargetPresentationGetter.java | 230 private final ActivityInfo mActivityInfo; field in TargetPresentationGetter.ActivityInfoPresentationGetter 235 mActivityInfo = activityInfo; in ActivityInfoPresentationGetter() 243 if (mActivityInfo.icon != 0) { in getIconSubstituteInternal() 245 mPm.getResourcesForApplication(mActivityInfo.applicationInfo), in getIconSubstituteInternal() 246 mActivityInfo.icon); in getIconSubstituteInternal() 260 return (String) mActivityInfo.loadLabel(mPm); in getAppSubLabelInternal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImplTest.java | 57 private ActivityInfo mActivityInfo; field in SuggestionFeatureProviderImplTest 64 mActivityInfo = new ActivityInfo(); in setUp() 65 mActivityInfo.packageName = "pkg"; in setUp() 66 mActivityInfo.name = "class"; in setUp()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 108 private LauncherActivityInfo mActivityInfo; field in LoaderCursor 158 mActivityInfo = null; in moveToNext() 212 return new IconRequestInfo<>(wai, mActivityInfo, iconBlob, useLowResIcon); in createIconRequestInfo() 326 return mActivityInfo; in getLauncherActivityInfo() 353 mActivityInfo = mContext.getSystemService(LauncherApps.class) in getAppShortcutInfo() 355 if ((mActivityInfo == null) && !allowMissingTarget) { in getAppShortcutInfo() 367 mIconCache.getTitleAndIcon(info, mActivityInfo, useLowResIcon); in getAppShortcutInfo() 373 if (mActivityInfo != null) { in getAppShortcutInfo() 374 AppInfo.updateRuntimeFlagsForActivityTarget(info, mActivityInfo, userIconInfo, in getAppShortcutInfo()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SwipePipToHomeAnimator.java | 56 private final ActivityInfo mActivityInfo; field in SwipePipToHomeAnimator 130 mActivityInfo = activityInfo; in SwipePipToHomeAnimator() 188 new IconProvider(context).getIcon(mActivityInfo), appIconSizePx); in SwipePipToHomeAnimator() 267 return mActivityInfo.getComponentName(); in getComponentName() 337 private ActivityInfo mActivityInfo; field in SwipePipToHomeAnimator.Builder 363 mActivityInfo = activityInfo; in setActivityInfo() 452 return new SwipePipToHomeAnimator(mContext, mTaskId, mActivityInfo, mAppIconSizePx, in build()
|
/packages/services/Telephony/tests/src/com/android/phone/euicc/ |
D | EuiccUiDispatcherActivityTest.java | 53 private ActivityInfo mActivityInfo = ACTIVITY_INFO; field in EuiccUiDispatcherActivityTest 92 mActivityInfo = null; in testResolveEuiccUiIntent_noImplementation() 145 return mActivityInfo; in findBestActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AppGridViewTest.java | 60 private ActivityInfo mActivityInfo; field in AppGridViewTest 73 mInfo.activityInfo = mActivityInfo; in setUp() 82 when(mPackageManager.loadUnbadgedItemIcon(mActivityInfo, mApplicationInfo)) in appEntry_shouldLoadIcon()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/ |
D | RecentTasksProviderTest.java | 106 private ActivityInfo mActivityInfo; field in RecentTasksProviderTest 270 when(mActivityInfo.loadIcon(any(PackageManager.class))).thenReturn(mIconDrawable); in getRecentTaskIconAsync_sets_iconFromPackageManager() 272 mActivityInfo); in getRecentTaskIconAsync_sets_iconFromPackageManager()
|