Searched refs:mock (Results 1 – 11 of 11) sorted by relevance
/system/core/fastboot/ |
D | socket_test.cpp | 284 SocketMock mock; in TEST() local 286 mock.ExpectSend("foo"); in TEST() 287 EXPECT_TRUE(SendString(&mock, "foo")); in TEST() 289 mock.ExpectSend("abc"); in TEST() 290 mock.ExpectSend("123"); in TEST() 291 EXPECT_TRUE(SendString(&mock, "abc")); in TEST() 292 EXPECT_TRUE(SendString(&mock, "123")); in TEST() 296 SocketMock* mock = new SocketMock; in TEST() local 298 mock->ExpectSendFailure("foo"); in TEST() 299 EXPECT_FALSE(SendString(mock, "foo")); in TEST() [all …]
|
D | tcp_test.cpp | 36 std::unique_ptr<SocketMock> mock(new SocketMock); in TEST() local 37 mock->ExpectSend("FB01"); in TEST() 38 mock->AddReceive("FB01"); in TEST() 41 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST() 46 std::unique_ptr<SocketMock> mock(new SocketMock); in TEST() local 47 mock->ExpectSend("FB01"); in TEST() 48 mock->AddReceive("FB99"); in TEST() 51 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST() 56 std::unique_ptr<SocketMock> mock(new SocketMock); in TEST() local 57 mock->ExpectSendFailure("FB01"); in TEST() [all …]
|
/system/update_engine/include/ |
D | update_includes.sh | 49 ${DBUS_GENERATOR} "${xmls[@]}" --mock="${mockh}" --proxy="${proxyh}" 73 generate mock "libcros" \ 76 generate mock "shill" \
|
/system/firewalld/ |
D | libfirewalld-client-test.pc.in | 5 Description: firewalld client interface mock library
|
/system/update_engine/ |
D | libupdate_engine-client-test.pc.in | 5 Description: update_engine client interface mock library
|
/system/connectivity/shill/ |
D | libshill-client-test.pc.in | 5 Description: shill client interface mock library
|
/system/connectivity/apmanager/ |
D | libapmanager-client-test.pc.in | 5 Description: apmanager client interface mock library
|
/system/extras/perfprofd/tests/ |
D | README.txt | 34 mock utilities layer and then have a test driver that invokes the 51 | mockutils | mock implementations of perfprofd_sleep,
|
/system/core/adb/ |
D | test_device.py | 36 import mock 91 @mock.patch('adb.device.get_devices') 97 @mock.patch('adb.device.get_devices') 104 @mock.patch('adb.device.get_devices') 111 @mock.patch('adb.device.get_devices') 119 @mock.patch('adb.device.get_devices') 125 @mock.patch('adb.device.get_devices')
|
/system/core/metricsd/ |
D | metrics.gyp | 154 'uploader/mock/sender_mock.cc',
|
D | Android.mk | 57 uploader/mock/sender_mock.cc \
|