Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java112 private ActivityInfo mActivityInfo; field in DashboardFeatureProviderImplTest
124 mActivityInfo = new ActivityInfo(); in setUp()
125 mActivityInfo.packageName = mContext.getPackageName(); in setUp()
126 mActivityInfo.name = "class"; in setUp()
127 mActivityInfo.metaData = new Bundle(); in setUp()
128 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp()
129 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_SUMMARY, in setUp()
157 final Tile tile = spy(new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in bindPreference_shouldBindAllData()
158 mActivityInfo.metaData.putInt(META_DATA_KEY_ORDER, 10); in bindPreference_shouldBindAllData()
161 mActivityInfo.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI"); in bindPreference_shouldBindAllData()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountDetailDashboardFragmentTest.java76 private ActivityInfo mActivityInfo; field in AccountDetailDashboardFragmentTest
81 mActivityInfo = new ActivityInfo(); in setUp()
82 mActivityInfo.packageName = mContext.getPackageName(); in setUp()
83 mActivityInfo.name = "clazz"; in setUp()
84 mActivityInfo.metaData = new Bundle(); in setUp()
109 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay()
110 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_HasAccountType_shouldDisplay()
111 mActivityInfo.metaData.putString(METADATA_ACCOUNT_TYPE, "com.abc"); in refreshDashboardTiles_HasAccountType_shouldDisplay()
118 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay()
119 mActivityInfo.metaData.putString(METADATA_CATEGORY, CategoryKey.CATEGORY_ACCOUNT_DETAIL); in refreshDashboardTiles_NoAccountType_shouldNotDisplay()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialogTest.java54 private ActivityInfo mActivityInfo; field in ProfileSelectDialogTest
63 mActivityInfo = new ActivityInfo(); in setUp()
64 mActivityInfo.packageName = "pkg"; in setUp()
65 mActivityInfo.name = "cls"; in setUp()
70 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Normal()
82 final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE); in updateUserHandlesIfNeeded_Remove()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DResolveInfoBuilder.java36 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/robotests/src/com/android/settings/testutils/
DResolveInfoBuilder.java36 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/
DCategoryManagerTest.java51 private ActivityInfo mActivityInfo; field in CategoryManagerTest
60 mActivityInfo = new ActivityInfo(); in setUp()
61 mActivityInfo.packageName = "pkg"; in setUp()
62 mActivityInfo.name = "class"; in setUp()
63 mActivityInfo.applicationInfo = new ApplicationInfo(); in setUp()
76 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
77 final Tile tile2 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
93 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
95 final Tile tile2 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
116 final Tile tile1 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java99 private LauncherActivityInfo mActivityInfo; field in LoaderCursor
141 mActivityInfo = null; in moveToNext()
257 return mActivityInfo; in getLauncherActivityInfo()
279 mActivityInfo = mContext.getSystemService(LauncherApps.class) in getAppShortcutInfo()
281 if ((mActivityInfo == null) && !allowMissingTarget) { in getAppShortcutInfo()
291 mIconCache.getTitleAndIcon(info, mActivityInfo, useLowResIcon); in getAppShortcutInfo()
296 if (mActivityInfo != null) { in getAppShortcutInfo()
297 AppInfo.updateRuntimeFlagsForActivityTarget(info, mActivityInfo); in getAppShortcutInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/
DSuggestionFeatureProviderImplTest.java57 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/Settings/tests/robotests/src/com/android/settings/display/
DAppGridViewTest.java47 private ActivityInfo mActivityInfo; field in AppGridViewTest
60 mInfo.activityInfo = mActivityInfo; in setUp()
69 when(mPackageManager.loadUnbadgedItemIcon(mActivityInfo, mApplicationInfo)) in appEntry_shouldLoadIcon()
/packages/services/Telephony/tests/src/com/android/phone/euicc/
DEuiccUiDispatcherActivityTest.java52 private ActivityInfo mActivityInfo = ACTIVITY_INFO; field in EuiccUiDispatcherActivityTest
85 mActivityInfo = null; in testResolveEuiccUiIntent_noImplementation()
120 return mActivityInfo; in findBestActivity()