/system/connectivity/shill/ |
nice_mock_control.cc | 23 using ::testing::NiceMock; 33 return new NiceMock<DeviceMockAdaptor>(); 38 return new NiceMock<IPConfigMockAdaptor>(); 43 return new NiceMock<ManagerMockAdaptor>(); 48 return new NiceMock<ProfileMockAdaptor>(); 53 return new NiceMock<RPCTaskMockAdaptor>(); 58 return new NiceMock<ServiceMockAdaptor>(); 64 return new NiceMock<ThirdPartyVpnMockAdaptor>();
|
connection_tester_unittest.cc | 40 using testing::NiceMock; 51 new NiceMock<MockDeviceInfo>(&control_, nullptr, nullptr, nullptr)),
|
manager_unittest.cc | 100 using ::testing::NiceMock; 116 device_info_(new NiceMock<MockDeviceInfo>(control_interface(), 120 manager_adaptor_(new NiceMock<ManagerMockAdaptor>()), 122 ethernet_eap_provider_(new NiceMock<MockEthernetEapProvider>()), 125 wifi_provider_(new NiceMock<MockWiFiProvider>()), 128 new NiceMock<MockCryptoUtilProxy>(dispatcher())), 129 upstart_(new NiceMock<MockUpstart>(control_interface())) { 133 mock_devices_.push_back(new NiceMock<MockDevice>(control_interface(), 140 mock_devices_.push_back(new NiceMock<MockDevice>(control_interface(), 147 mock_devices_.push_back(new NiceMock<MockDevice>(control_interface() [all...] |
connection_diagnostics_unittest.cc | 47 using testing::NiceMock; 152 connection_(new NiceMock<MockConnection>(&device_info_)), 156 portal_detector_(new NiceMock<MockPortalDetector>(connection_)) {} 166 arp_client_ = new NiceMock<MockArpClient>(); 168 icmp_session_ = new NiceMock<MockIcmpSession>(&dispatcher_); 368 dns_client_ = new NiceMock<MockDNSClient>(); 658 dns_server_icmp_session_0_ = new NiceMock<MockIcmpSession>(&dispatcher_); 659 dns_server_icmp_session_1_ = new NiceMock<MockIcmpSession>(&dispatcher_); [all...] |
dns_server_tester_unittest.cc | 44 using testing::NiceMock; 64 new NiceMock<MockDeviceInfo>(&control_, nullptr, nullptr, nullptr)),
|
/system/connectivity/shill/cellular/ |
subscription_state_out_of_credits_detector_unittest.cc | 35 using testing::NiceMock; 48 cellular_(new NiceMock<MockCellular>(&modem_info_, 55 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), 56 connection_(new NiceMock<MockConnection>(&device_info_)), 77 NiceMock<MockDeviceInfo> device_info_; 78 NiceMock<MockManager> manager_; 79 NiceMock<MockMetrics> metrics_; 80 scoped_refptr<NiceMock<MockCellular>> cellular_; 81 scoped_refptr<NiceMock<MockCellularService>> service_; 82 scoped_refptr<NiceMock<MockConnection>> connection_ [all...] |
active_passive_out_of_credits_detector_unittest.cc | 41 using testing::NiceMock; 58 cellular_(new NiceMock<MockCellular>(&modem_info_, 65 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), 66 connection_(new NiceMock<MockConnection>(&device_info_)), 112 NiceMock<MockDeviceInfo> device_info_; 113 NiceMock<MockManager> manager_; 114 NiceMock<MockMetrics> metrics_; 115 scoped_refptr<NiceMock<MockCellular>> cellular_; 116 scoped_refptr<NiceMock<MockCellularService>> service_; 117 scoped_refptr<NiceMock<MockConnection>> connection_ [all...] |
/system/update_engine/ |
fake_system_state.h | 184 inline testing::NiceMock<MockConnectionManager>* mock_connection_manager() { 194 inline testing::NiceMock<MetricsLibraryMock>* mock_metrics_lib() { 199 inline testing::NiceMock<MockPrefs> *mock_prefs() { 204 inline testing::NiceMock<MockPrefs> *mock_powerwash_safe_prefs() { 209 inline testing::NiceMock<MockPayloadState>* mock_payload_state() { 214 inline testing::NiceMock<MockUpdateAttempter>* mock_update_attempter() { 219 inline testing::NiceMock<MockOmahaRequestParams>* mock_request_params() { 224 inline testing::NiceMock<MockP2PManager>* mock_p2p_manager() { 238 testing::NiceMock<MockConnectionManager> mock_connection_manager_; 240 testing::NiceMock<MetricsLibraryMock> mock_metrics_lib_ [all...] |
/external/google-breakpad/src/testing/test/ |
gmock-nice-strict_test.cc | 57 using testing::NiceMock; 114 NiceMock<MockFoo> nice_foo; 125 NiceMock<MockFoo>* const nice_foo = new NiceMock<MockFoo>; 138 NiceMock<MockFoo> nice_foo; 158 NiceMock<MockFoo> nice_foo; 166 NiceMock<MockFoo> nice_foo; 172 // Tests that NiceMock works with a mock class that has a non-default 175 NiceMock<MockBar> nice_bar("hi"); 182 // Tests that NiceMock works with a mock class that has a 10-ar [all...] |
/external/google-breakpad/src/testing/include/gmock/ |
gmock-generated-nice-strict.h | 34 // Implements class templates NiceMock and StrictMock. 37 // NiceMock<MockFoo> is a subclass of MockFoo that allows 42 // NiceMock and StrictMock "inherits" the constructors of their 44 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where 48 // A known limitation is that NiceMock<MockFoo> and 53 // particular, nesting NiceMock and StrictMock is NOT supported. 68 class NiceMock : public MockClass { 72 NiceMock() { 80 explicit NiceMock(const A1& a1) : MockClass(a1) { 85 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) [all...] |
/external/gmock/test/ |
gmock-nice-strict_test.cc | 58 using testing::NiceMock; 165 NiceMock<MockFoo> nice_foo; 176 NiceMock<MockFoo>* const nice_foo = new NiceMock<MockFoo>; 189 NiceMock<MockFoo> nice_foo; 205 NiceMock<MockFoo> nice_foo; 213 NiceMock<MockFoo> nice_foo; 219 // Tests that NiceMock works with a mock class that has a non-default 222 NiceMock<MockBar> nice_bar("hi"); 229 // Tests that NiceMock works with a mock class that has a 10-ar [all...] |
/external/gmock/include/gmock/ |
gmock-generated-nice-strict.h | 36 // Implements class templates NiceMock, NaggyMock, and StrictMock. 39 // NiceMock<MockFoo> is a subclass of MockFoo that allows 51 // NiceMock<MockFoo>. 53 // NiceMock, NaggyMock, and StrictMock "inherit" the constructors of 55 // you can write NiceMock<MockFoo>(5, "a") to construct a nice mock 59 // A known limitation is that NiceMock<MockFoo>, NaggyMock<MockFoo>, 64 // In particular, nesting NiceMock, NaggyMock, and StrictMock is NOT 80 class NiceMock : public MockClass { 84 NiceMock() { 92 explicit NiceMock(const A1& a1) : MockClass(a1) [all...] |
/system/tpm/tpm_manager/server/ |
tpm2_initializer_test.cc | 33 using testing::NiceMock; 55 NiceMock<MockOpensslCryptoUtil> mock_openssl_util_; 56 NiceMock<MockLocalDataStore> mock_data_store_; 57 NiceMock<MockTpmStatus> mock_tpm_status_; 58 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_;
|
tpm2_status_test.cc | 26 using testing::NiceMock; 44 NiceMock<trunks::MockTpmState> mock_tpm_state_;
|
tpm2_nvram_test.cc | 37 using testing::NiceMock; 70 NiceMock<trunks::MockHmacSession> mock_hmac_session_; 71 NiceMock<MockLocalDataStore> mock_data_store_; 72 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_;
|
/system/connectivity/shill/ethernet/ |
ethernet_service_unittest.cc | 31 using ::testing::NiceMock; 41 new NiceMock<MockEthernet>(control_interface(), 118 NiceMock<MockStore> mock_store;
|
/system/tpm/trunks/ |
hmac_session_test.cc | 30 using testing::NiceMock; 53 NiceMock<MockTpm> mock_tpm_; 54 NiceMock<MockSessionManager> mock_session_manager_;
|
scoped_key_handle_test.cc | 29 using testing::NiceMock; 48 NiceMock<MockTpm> mock_tpm_;
|
trunks_factory_for_test.cc | 37 using testing::NiceMock; 539 : default_tpm_(new NiceMock<MockTpm>()), 541 default_tpm_state_(new NiceMock<MockTpmState>()), 543 default_tpm_utility_(new NiceMock<MockTpmUtility>()), 547 default_session_manager_(new NiceMock<MockSessionManager>()), 549 default_hmac_session_(new NiceMock<MockHmacSession>()), 551 default_policy_session_(new NiceMock<MockPolicySession>()), 553 default_blob_parser_(new NiceMock<MockBlobParser>()),
|
/system/connectivity/shill/wimax/ |
wimax_unittest.cc | 37 using testing::NiceMock; 85 NiceMock<MockMetrics> metrics_; 124 scoped_refptr<NiceMock<MockWiMaxService>> service0( 125 new NiceMock<MockWiMaxService>(&control_, nullptr, &metrics_, &manager_)); 216 scoped_refptr<NiceMock<MockWiMaxService>> service0( 217 new NiceMock<MockWiMaxService>(&control_, nullptr, &metrics_, &manager_)); 316 scoped_refptr<NiceMock<MockWiMaxService>> service( 317 new NiceMock<MockWiMaxService>(&control_, nullptr, &metrics_, &manager_));
|
/system/connectivity/shill/vpn/ |
vpn_service_unittest.cc | 45 using testing::NiceMock; 60 connection_(new NiceMock<MockConnection>(&device_info_)), 126 scoped_refptr<NiceMock<MockConnection>> connection_; 197 NiceMock<MockStore> storage; 207 NiceMock<MockStore> storage; 216 NiceMock<MockStore> storage; 349 new NiceMock<MockProfile>(&control_, &metrics_, &manager_)); 378 scoped_refptr<NiceMock<MockConnection>> lower_connection_ = 379 new NiceMock<MockConnection>(&device_info_); 424 scoped_refptr<NiceMock<MockConnection>> lower_connection_ [all...] |
/external/webrtc/webrtc/video/ |
encoder_state_feedback_unittest.cc | 28 using ::testing::NiceMock; 58 process_thread_.reset(new NiceMock<MockProcessThread>);
|
/system/tpm/attestation/server/ |
database_impl_test.cc | 28 using testing::NiceMock; 84 NiceMock<MockCryptoUtility> mock_crypto_utility_;
|
/external/webrtc/webrtc/modules/video_coding/ |
video_coding_robustness_unittest.cc | 28 using ::testing::NiceMock; 76 NiceMock<MockVideoDecoder> decoder_; 77 NiceMock<MockVideoDecoder> decoderCopy_;
|
video_receiver_unittest.cc | 23 using ::testing::NiceMock; 75 NiceMock<MockVideoDecoder> decoder_; 76 NiceMock<MockPacketRequestCallback> packet_request_callback_;
|