Home
last modified time | relevance | path

Searched refs:setInstance (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java75 ShadowCarWifiManager.setInstance(mCarWifiManager); in onStart_tetherStateOn_shouldReturnSwitchStateOn()
85 ShadowCarWifiManager.setInstance(mCarWifiManager); in onStart_tetherStateOff_shouldReturnSwitchStateOff()
95 ShadowCarWifiManager.setInstance(mCarWifiManager); in onSwitchOn_shouldAttemptTetherOn()
108 ShadowCarWifiManager.setInstance(mCarWifiManager); in onSwitchOff_shouldAttemptTetherOff()
121 ShadowCarWifiManager.setInstance(mCarWifiManager); in onTetherEnabling_shouldReturnSwitchStateDisabled()
134 ShadowCarWifiManager.setInstance(mCarWifiManager); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
148 ShadowCarWifiManager.setInstance(mCarWifiManager); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
162 ShadowCarWifiManager.setInstance(mCarWifiManager); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
DWifiEntryPreferenceControllerTest.java61 ShadowCarWifiManager.setInstance(mCarWifiManager); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java51 Factory.setInstance(null); in testSetup()
60 Factory.setInstance(null); in testTeardown()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceNativeInterface.java62 setInstance(new HidDeviceNativeInterface()); in getInstance()
73 private static void setInstance(HidDeviceNativeInterface nativeInterface) { in setInstance() method in HidDeviceNativeInterface
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceControllerTest.java76 ShadowTtsEngines.setInstance(mEnginesHelper); in setUp()
77 ShadowTextToSpeech.setInstance(mTextToSpeech); in setUp()
DTtsPlaybackSettingsManagerTest.java66 ShadowTextToSpeech.setInstance(mTts); in setUp()
67 ShadowTtsEngines.setInstance(mEnginesHelper); in setUp()
DTtsPlaybackPreferenceControllerTest.java95 ShadowTextToSpeech.setInstance(mTextToSpeech); in setUp()
96 ShadowTtsEngines.setInstance(mEnginesHelper); in setUp()
DPreferredEngineEntryPreferenceControllerTest.java64 ShadowTtsEngines.setInstance(mEnginesHelper); in setUp()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java188 TelecomSystem.setInstance(null); in tearDown()
477 TelecomSystem.setInstance(mTelecomSystem); in testLoadOneCallFromDb()
499 TelecomSystem.setInstance(mTelecomSystem); in testLoadTwoCallsFromDb()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationsState.java32 public static void setInstance(ApplicationsState applicationsState) { in setInstance() method in ShadowApplicationsState
DShadowIUsbManager.java31 public static void setInstance(IUsbManager instance) { in setInstance() method in ShadowIUsbManager
DShadowDataUsageController.java32 public static void setInstance(DataUsageController dataUsageController) { in setInstance() method in ShadowDataUsageController
DShadowTtsEngines.java34 public static void setInstance(TtsEngines ttsEngines) { in setInstance() method in ShadowTtsEngines
DShadowUserManager.java39 public static void setInstance(UserManager manager) { in setInstance() method in ShadowUserManager
DShadowTextToSpeech.java37 public static void setInstance(TextToSpeech textToSpeech) { in setInstance() method in ShadowTextToSpeech
DShadowCarWifiManager.java47 public static void setInstance(CarWifiManager wifiManager) { in setInstance() method in ShadowCarWifiManager
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DTempStorage.java66 public static void setInstance(TempStorage inst) { in setInstance() method in TempStorage
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/
DWallpaperManagerCompat.java58 public static void setInstance(WallpaperManagerCompat wallpaperManagerCompat) { in setInstance() method in WallpaperManagerCompat
/packages/apps/Messaging/src/com/android/messaging/
DFactory.java49 protected static void setInstance(final Factory factory) { in setInstance() method in Factory
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUserDetailsFragmentTest.java69 ShadowUserManager.setInstance(mUserManager); in setUpTestActivity()
DUserDetailsBaseFragmentTest.java84 ShadowUserManager.setInstance(mUserManager); in setUpTestActivity()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManagerTest.java73 ShadowApplicationsState.setInstance(mApplicationsState); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceControllerTest.java79 ShadowIUsbManager.setInstance(mIUsbManager); in setUp()
DDomainAppPreferenceControllerTest.java85 ShadowApplicationsState.setInstance(mApplicationsState); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DTelecomService.java95 TelecomSystem.setInstance( in initializeTelecomSystem()

12