/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 112 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/ |
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/unit/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/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 | 51 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/ |
D | LoaderCursor.java | 99 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/ |
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()
|