/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 107 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 …]
|
D | CategoryManagerTest.java | 50 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/ |
D | AccountDetailDashboardFragmentTest.java | 76 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/ |
D | ProfileSelectDialogTest.java | 54 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/ |
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/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/Settings/tests/robotests/src/com/android/settings/display/ |
D | AppGridViewTest.java | 47 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/ |
D | EuiccUiDispatcherActivityTest.java | 52 private ActivityInfo mActivityInfo = ACTIVITY_INFO; field in EuiccUiDispatcherActivityTest 85 mActivityInfo = null; in testResolveEuiccUiIntent_noImplementation() 120 return mActivityInfo; in findBestActivity()
|