Home
last modified time | relevance | path

Searched refs:ShadowActivityManager (Results 1 – 17 of 17) sorted by relevance

/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java62 QuickAccessWalletClientTest.ShadowActivityManager.class,
124 ShadowActivityManager.setCurrentUser(11); in isWalletFeatureAvailable_wrongUser()
220 public static class ShadowActivityManager { class in QuickAccessWalletClientTest
237 public static ShadowActivityManager getShadow() { in getShadow()
238 return (ShadowActivityManager) Shadow.extract( in getShadow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBubbleSummaryNotificationPreferenceControllerTest.java42 import org.robolectric.shadows.ShadowActivityManager;
79 final ShadowActivityManager activityManager = in isAvailable_lowRam_returnsUnsupported()
87 final ShadowActivityManager activityManager = in isAvailable_notLowRam_returnsAvailable()
DBubbleNotificationPreferenceControllerTest.java48 import org.robolectric.shadows.ShadowActivityManager;
76 final ShadowActivityManager activityManager = in isAvailable_lowRam_returnsUnsupported()
84 final ShadowActivityManager activityManager = in isAvailable_notLowRam_returnsAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DPasswordUtilsTest.java41 import com.android.settings.testutils.shadow.ShadowActivityManager;
53 @Config(shadows = {ShadowActivityManager.class})
77 ShadowActivityManager.setService(mActivityService); in setUp()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowActivityManager.java26 public class ShadowActivityManager extends org.robolectric.shadows.ShadowActivityManager { class
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowActivityManager.java28 public class ShadowActivityManager extends org.robolectric.shadows.ShadowActivityManager { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/vrlistener/
DEnabledVrListenersControllerTest.java33 import org.robolectric.shadows.ShadowActivityManager;
40 private ShadowActivityManager mActivityManager;
DVrListenerScreenPreferenceControllerTest.java33 import org.robolectric.shadows.ShadowActivityManager;
40 private ShadowActivityManager mActivityManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/zenaccess/
DZenAccessSettingObserverMixinTest.java42 import org.robolectric.shadows.ShadowActivityManager;
69 final ShadowActivityManager sam = Shadow.extract( in onStart_shouldRegisterListener()
DZenAccessControllerTest.java39 import org.robolectric.shadows.ShadowActivityManager;
49 private ShadowActivityManager mActivityManager;
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccessTest.java37 import org.robolectric.shadows.ShadowActivityManager;
49 private ShadowActivityManager mActivityManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBubbleSummaryPreferenceControllerTest.java58 import org.robolectric.shadows.ShadowActivityManager;
150 final ShadowActivityManager activityManager = in isAvailable_lowRam_shouldReturnFalse()
161 final ShadowActivityManager activityManager = in isAvailable_notLowRam_shouldReturnTrue()
DBubblePreferenceControllerTest.java74 import org.robolectric.shadows.ShadowActivityManager;
171 final ShadowActivityManager activityManager = in isNotAvailable_ifLowRam()
196 final ShadowActivityManager activityManager = in isAvailable_ifNotLowRam()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java42 import com.android.car.settings.testutils.ShadowActivityManager;
59 @Config(shadows = {ShadowActivityManager.class, ShadowUserManager.class,
89 ShadowActivityManager.setCurrentUser(10); in setUp()
94 ShadowActivityManager.reset(); in tearDown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java56 import org.robolectric.shadows.ShadowActivityManager;
100 final ShadowActivityManager activityManager = Shadow.extract( in launch_LowRamDevice_shouldHideAvatar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivityManager.java26 public class ShadowActivityManager { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java55 import com.android.settings.testutils.shadow.ShadowActivityManager;
82 @Config(shadows = {ShadowEntityHeaderController.class, ShadowActivityManager.class})
678 ShadowActivityManager.setCurrentUser(currentUser); in testStartBatteryDetailPage_typeUser_startByCurrentUser()