Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java107 private ActivityInfo mActivityInfo; field in DashboardFeatureProviderImplTest
119 mActivityInfo = new ActivityInfo(); in setUp()
120 mActivityInfo.packageName = mContext.getPackageName(); in setUp()
121 mActivityInfo.name = "class"; in setUp()
122 mActivityInfo.metaData = new Bundle(); in setUp()
123 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_TITLE, R.string.settings_label); in setUp()
124 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_SUMMARY, in setUp()
152 final Tile tile = spy(new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE)); in bindPreference_shouldBindAllData()
153 mActivityInfo.metaData.putInt(META_DATA_KEY_ORDER, 10); in bindPreference_shouldBindAllData()
156 mActivityInfo.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI"); in bindPreference_shouldBindAllData()
[all …]
DCategoryManagerTest.java50 private ActivityInfo mActivityInfo; field in CategoryManagerTest
59 mActivityInfo = new ActivityInfo(); in setUp()
60 mActivityInfo.packageName = "pkg"; in setUp()
61 mActivityInfo.name = "class"; in setUp()
62 mActivityInfo.applicationInfo = new ApplicationInfo(); in setUp()
75 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
76 final Tile tile2 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
92 final Tile tile1 = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_ACCOUNT); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
94 final Tile tile2 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForMixedKeys()
115 final Tile tile1 = new ActivityTile(mActivityInfo, oldCategory); in backwardCompatCleanupForCategory_shouldChangeCategoryForOldKeys()
/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/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/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()