Home
last modified time | relevance | path

Searched refs:ShadowApplicationPackageManager (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragmentTest.java44 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
66 ShadowRestrictedLockUtilsInternal.class, ShadowApplicationPackageManager.class,
126 ShadowApplicationPackageManager.reset(); in tearDown()
155 ShadowApplicationPackageManager.setPackageManager(mPackageManager); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
178 ShadowApplicationPackageManager.setPackageManager(mPackageManager); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
200 ShadowApplicationPackageManager.setPackageManager(mPackageManager); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear()
219 ShadowApplicationPackageManager.setPackageManager(mPackageManager); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
DStorageFileCategoryPreferenceControllerTest.java57 import org.robolectric.shadows.ShadowApplicationPackageManager;
130 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
131 return (ShadowApplicationPackageManager) Shadows.shadowOf(mContext.getPackageManager()); in getShadowPackageManager()
DStorageAsyncLoaderTest.java39 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
57 @Config(shadows = {ShadowApplicationPackageManager.class})
95 ShadowApplicationPackageManager.reset(); in tearDown()
253 private ShadowApplicationPackageManager getShadowApplicationManager() { in getShadowApplicationManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java35 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
50 @Config(shadows = {ShadowApplicationPackageManager.class})
79 ShadowApplicationPackageManager.reset(); in tearDown()
136 private ShadowApplicationPackageManager getShadowApplicationPackageManager() { in getShadowApplicationPackageManager()
DNotificationAccessPreferenceControllerTest.java47 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
62 @Config(shadows = {ShadowApplicationPackageManager.class, ShadowNotificationManager.class})
97 ShadowApplicationPackageManager.reset(); in tearDown()
251 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAddDevicePreferenceControllerTest.java47 import org.robolectric.shadows.ShadowApplicationPackageManager;
51 @Config(shadows = ShadowApplicationPackageManager.class)
62 private ShadowApplicationPackageManager mPackageManager;
70 mPackageManager = (ShadowApplicationPackageManager) Shadows.shadowOf( in setUp()
DConnectedDeviceGroupControllerTest.java52 import org.robolectric.shadows.ShadowApplicationPackageManager;
55 @Config(shadows = ShadowApplicationPackageManager.class)
73 private ShadowApplicationPackageManager mPackageManager;
86 mPackageManager = (ShadowApplicationPackageManager) Shadows.shadowOf( in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsPreferenceControllerTest.java38 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
55 @Config(shadows = {ShadowApplicationPackageManager.class, ShadowCarUserManagerHelper.class})
95 ShadowApplicationPackageManager.reset(); in tearDown()
174 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
DClearDefaultsPreferenceControllerTest.java38 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
55 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowApplicationPackageManager.class,
104 ShadowApplicationPackageManager.reset(); in tearDown()
178 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
DAppLinkStatePreferenceControllerTest.java39 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
56 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowApplicationPackageManager.class})
89 ShadowApplicationPackageManager.reset(); in tearDown()
258 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
DDomainUrlsUtilsTest.java33 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
44 @Config(shadows = {ShadowApplicationPackageManager.class})
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java43 import com.android.car.notification.testutils.ShadowApplicationPackageManager;
64 @Config(shadows = {ShadowCarAssistUtils.class, ShadowApplicationPackageManager.class})
116 ShadowApplicationPackageManager.setResources(mContext.getResources()); in setupBaseActivityAndLayout()
197 ShadowApplicationPackageManager.reset(); in resetShadow()
374 ShadowApplicationPackageManager.setPackageInfo(pkgInfo); in maybeShowHeadsUp_isSignedWithPlatformKey_returnsNotNull()
399 ShadowApplicationPackageManager.setPackageInfo(pkgInfo); in maybeShowHeadsUp_isSystemApp_returnsNotNull()
478 ShadowApplicationPackageManager.setPackageInfo(packageInfo); in setPackageInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DVoiceInputInfoProviderTest.java35 import org.robolectric.shadows.ShadowApplicationPackageManager;
38 @Config(shadows = {ShadowApplicationPackageManager.class, ShadowVoiceInteractionServiceInfo.class})
87 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceControllerTest.java51 import org.robolectric.shadows.ShadowApplicationPackageManager;
61 ShadowApplicationPackageManager.class,
70 private ShadowApplicationPackageManager mPackageManager;
78 mPackageManager = (ShadowApplicationPackageManager) Shadows.shadowOf( in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java36 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
51 @Config(shadows = {ShadowApplicationPackageManager.class})
64 ShadowApplicationPackageManager.setResources(mContext.getResources()); in setUp()
70 ShadowApplicationPackageManager.reset(); in tearDown()
355 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
DExtraSettingsPreferenceControllerTest.java33 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
49 @Config(shadows = {ShadowApplicationPackageManager.class})
87 ShadowApplicationPackageManager.reset(); in tearDown()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceControllerTest.java41 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
54 ShadowApplicationPackageManager.class})
169 private ShadowApplicationPackageManager getShadowApplicationManager() { in getShadowApplicationManager()
DAccountDetailsPreferenceControllerTest.java36 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
50 ShadowApplicationPackageManager.class})
DAccountDetailsSettingControllerTest.java40 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
60 ShadowApplicationPackageManager.class})
DAccountSyncDetailsPreferenceControllerTest.java45 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
66 @Config(shadows = {ShadowContentResolver.class, ShadowApplicationPackageManager.class,
540 private ShadowApplicationPackageManager getShadowApplicationManager() { in getShadowApplicationManager()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowApplicationPackageManager.java30 public class ShadowApplicationPackageManager extends class
31 org.robolectric.shadows.ShadowApplicationPackageManager {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java35 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
54 ShadowCarUserManagerHelper.class, ShadowApplicationPackageManager.class})
230 private ShadowApplicationPackageManager getShadowApplicationManager() { in getShadowApplicationManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java60 SlicesDatabaseAccessorTest.ShadowApplicationPackageManager.class,
295 public static class ShadowApplicationPackageManager extends class in SlicesDatabaseAccessorTest
296 org.robolectric.shadows.ShadowApplicationPackageManager {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java48 import com.android.car.settings.testutils.ShadowApplicationPackageManager;
83 ShadowApplicationPackageManager.class,
131 ShadowApplicationPackageManager.reset(); in tearDown()
608 private ShadowApplicationPackageManager getShadowPackageManager() { in getShadowPackageManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java48 public class ShadowApplicationPackageManager extends class
49 org.robolectric.shadows.ShadowApplicationPackageManager {

12