Searched refs:SetInstanceForTest (Results 1 – 11 of 11) sorted by relevance
35 static void SetInstanceForTest(UsbService* instance);
203 void UsbService::SetInstanceForTest(UsbService* instance) { in SetInstanceForTest() function in device::UsbService
94 void MultiUserWindowManager::SetInstanceForTest( in SetInstanceForTest() function in chrome::MultiUserWindowManager
63 chrome::MultiUserWindowManager::SetInstanceForTest(multi_user_window_manager_, in SetUp()
91 static void SetInstanceForTest(MultiUserWindowManager* instance,
185 chrome::MultiUserWindowManager::SetInstanceForTest(multi_user_window_manager_, in SetUpForThisManyWindows()
181 UsbService::SetInstanceForTest(new MockUsbService(mock_device_)); in SetUpService()191 base::Bind(&UsbService::SetInstanceForTest, service), in TearDownOnMainThread()
527 UsbService::SetInstanceForTest(new MockUsbService()); in SetUpService()537 base::Bind(&UsbService::SetInstanceForTest, service), in TearDownOnMainThread()561 UsbService::SetInstanceForTest(new MockUsbServiceForCheckingTraits()); in SetUpService()
150 chrome::MultiUserWindowManager::SetInstanceForTest( in TEST_F()
83 chrome::MultiUserWindowManager::SetInstanceForTest( in TestMultiUserWindowManager()
229 chrome::MultiUserWindowManager::SetInstanceForTest( in SetUpMultiUserWindowManager()