Home
last modified time | relevance | path

Searched refs:_ (Results 1 – 25 of 246) sorted by relevance

12345678910

/system/connectivity/shill/cellular/
Dmock_mm1_modem_proxy.cc21 using testing::_;
27 ON_CALL(*this, Enable(_, _, _, _)) in MockModemProxy()
29 ON_CALL(*this, CreateBearer(_, _, _, _)) in MockModemProxy()
31 ON_CALL(*this, DeleteBearer(_, _, _, _)) in MockModemProxy()
33 ON_CALL(*this, Reset(_, _, _)) in MockModemProxy()
35 ON_CALL(*this, FactoryReset(_, _, _, _)) in MockModemProxy()
37 ON_CALL(*this, SetCurrentCapabilities(_, _, _, _)) in MockModemProxy()
39 ON_CALL(*this, SetCurrentModes(_, _, _, _, _)) in MockModemProxy()
41 ON_CALL(*this, Command(_, _, _, _, _)) in MockModemProxy()
43 ON_CALL(*this, SetPowerState(_, _, _, _)) in MockModemProxy()
Dmock_modem_gsm_card_proxy.cc21 using testing::_;
26 ON_CALL(*this, GetIMEI(_, _, _)) in MockModemGSMCardProxy()
28 ON_CALL(*this, GetIMSI(_, _, _)) in MockModemGSMCardProxy()
30 ON_CALL(*this, GetSPN(_, _, _)) in MockModemGSMCardProxy()
32 ON_CALL(*this, GetMSISDN(_, _, _)) in MockModemGSMCardProxy()
34 ON_CALL(*this, EnablePIN(_, _, _, _, _)) in MockModemGSMCardProxy()
36 ON_CALL(*this, SendPIN(_, _, _, _)) in MockModemGSMCardProxy()
38 ON_CALL(*this, SendPUK(_, _, _, _, _)) in MockModemGSMCardProxy()
40 ON_CALL(*this, ChangePIN(_, _, _, _, _)) in MockModemGSMCardProxy()
Dmock_mm1_sim_proxy.cc21 using testing::_;
27 ON_CALL(*this, SendPin(_, _, _, _)) in MockSimProxy()
29 ON_CALL(*this, SendPuk(_, _, _, _, _)) in MockSimProxy()
31 ON_CALL(*this, EnablePin(_, _, _, _, _)) in MockSimProxy()
33 ON_CALL(*this, ChangePin(_, _, _, _, _)) in MockSimProxy()
Dmock_modem_gsm_network_proxy.cc21 using testing::_;
26 ON_CALL(*this, GetRegistrationInfo(_, _, _)) in MockModemGSMNetworkProxy()
28 ON_CALL(*this, GetSignalQuality(_, _, _)) in MockModemGSMNetworkProxy()
30 ON_CALL(*this, Register(_, _, _, _)) in MockModemGSMNetworkProxy()
32 ON_CALL(*this, Scan(_, _, _)) in MockModemGSMNetworkProxy()
Dmock_mm1_modem_simple_proxy.cc21 using testing::_;
27 ON_CALL(*this, Connect(_, _, _, _)) in MockModemSimpleProxy()
29 ON_CALL(*this, Disconnect(_, _, _, _)) in MockModemSimpleProxy()
31 ON_CALL(*this, GetStatus(_, _, _)) in MockModemSimpleProxy()
Dmock_modem_cdma_proxy.cc21 using testing::_;
26 ON_CALL(*this, Activate(_, _, _, _)) in MockModemCDMAProxy()
28 ON_CALL(*this, GetRegistrationState(_, _, _)) in MockModemCDMAProxy()
30 ON_CALL(*this, GetSignalQuality(_, _, _)) in MockModemCDMAProxy()
Dmock_modem_proxy.cc21 using testing::_;
26 ON_CALL(*this, Enable(_, _, _, _)) in MockModemProxy()
28 ON_CALL(*this, Disconnect(_, _, _)) in MockModemProxy()
30 ON_CALL(*this, GetModemInfo(_, _, _)) in MockModemProxy()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc43 using testing::_;
96 GetBootTimeAtUpdate(_)) in SetupUpdateCompletedTime()
120 GetStatus(_, _, _, _, _)) in TEST_F()
128 GetStatus(_, _, _, _, _)) in TEST_F()
135 GetStatus(_, _, _, _, _)) in TEST_F()
142 GetStatus(_, _, _, _, _)) in TEST_F()
149 GetStatus(_, _, _, _, _)) in TEST_F()
156 GetStatus(_, _, _, _, _)) in TEST_F()
163 GetStatus(_, _, _, _, _)) in TEST_F()
170 GetStatus(_, _, _, _, _)) in TEST_F()
[all …]
Dmock_policy.h35 ON_CALL(*this, UpdateCheckAllowed(testing::_, testing::_, testing::_, in MockPolicy()
36 testing::_)) in MockPolicy()
39 ON_CALL(*this, UpdateCanStart(testing::_, testing::_, testing::_, in MockPolicy()
40 testing::_, testing::_)) in MockPolicy()
43 ON_CALL(*this, UpdateDownloadAllowed(testing::_, testing::_, testing::_, in MockPolicy()
44 testing::_)) in MockPolicy()
47 ON_CALL(*this, P2PEnabled(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
50 ON_CALL(*this, P2PEnabledChanged(testing::_, testing::_, testing::_, in MockPolicy()
51 testing::_, testing::_)) in MockPolicy()
/system/tpm/trunks/
Dtpm_utility_test.cc35 using testing::_;
95 GetCapabilitySync(TPM_CAP_HANDLES, handle, _, _, _, _)) in SetExistingKeyHandleExpectation()
134 GetCapabilitySync(TPM_CAP_PCRS, _, _, _, _, _)) in SetExistingPCRSExpectation()
155 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F()
161 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F()
167 EXPECT_CALL(mock_tpm_, SelfTestSync(_, _)) in TEST_F()
177 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F()
184 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F()
190 EXPECT_CALL(mock_tpm_, ShutdownSync(TPM_SU_CLEAR, _)); in TEST_F()
208 EXPECT_CALL(mock_tpm_, HierarchyChangeAuthSync(TPM_RH_PLATFORM, _, _, _)) in TEST_F()
[all …]
Dsession_manager_test.cc32 using testing::_;
109 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F()
115 EXPECT_CALL(mock_tpm_, StartAuthSessionSyncShort(_, handle, in TEST_F()
116 _, _, session_type, _, _, in TEST_F()
117 _, _, _)) in TEST_F()
128 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F()
139 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F()
142 EXPECT_CALL(mock_tpm_, StartAuthSessionSyncShort(_, in TEST_F()
144 _, _, _, _, _, _, _, _)) in TEST_F()
155 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F()
[all …]
Dmock_blob_parser.cc21 using testing::_;
27 ON_CALL(*this, SerializeKeyBlob(_, _, _)).WillByDefault(Return(true)); in MockBlobParser()
28 ON_CALL(*this, ParseKeyBlob(_, _, _)).WillByDefault(Return(true)); in MockBlobParser()
29 ON_CALL(*this, SerializeCreationBlob(_, _, _, _)).WillByDefault(Return(true)); in MockBlobParser()
30 ON_CALL(*this, ParseCreationBlob(_, _, _, _)).WillByDefault(Return(true)); in MockBlobParser()
Dpolicy_session_test.cc29 using testing::_;
79 _, true, _)) in TEST_F()
98 _, true, _)) in TEST_F()
108 EXPECT_CALL(mock_tpm_, PolicyGetDigestSync(_, _, _, _)) in TEST_F()
118 EXPECT_CALL(mock_tpm_, PolicyGetDigestSync(_, _, _, _)) in TEST_F()
130 EXPECT_CALL(mock_tpm_, PolicyORSync(_, _, _, _)) in TEST_F()
152 EXPECT_CALL(mock_tpm_, PolicyORSync(_, _, _, _)) in TEST_F()
163 EXPECT_CALL(mock_tpm_, PolicyPCRSync(_, _, _, _, _)) in TEST_F()
181 EXPECT_CALL(mock_tpm_, PolicyPCRSync(_, _, _, _, _)) in TEST_F()
194 EXPECT_CALL(mock_tpm_, PolicyCommandCodeSync(_, _, command_code, _)) in TEST_F()
[all …]
/system/tpm/attestation/server/
Dmock_key_store.cc19 using ::testing::_;
25 ON_CALL(*this, Read(_, _, _)).WillByDefault(Return(true)); in MockKeyStore()
26 ON_CALL(*this, Write(_, _, _)).WillByDefault(Return(true)); in MockKeyStore()
27 ON_CALL(*this, Delete(_, _)).WillByDefault(Return(true)); in MockKeyStore()
28 ON_CALL(*this, DeleteByPrefix(_, _)).WillByDefault(Return(true)); in MockKeyStore()
29 ON_CALL(*this, Register(_, _, _, _, _, _, _)).WillByDefault(Return(true)); in MockKeyStore()
30 ON_CALL(*this, RegisterCertificate(_, _)).WillByDefault(Return(true)); in MockKeyStore()
Dpkcs11_key_store_test.cc33 using ::testing::_;
148 ON_CALL(pkcs11_, GetSlotList(_, _, _)) in SetUp()
150 ON_CALL(pkcs11_, OpenSession(_, _, _, _)) in SetUp()
152 ON_CALL(pkcs11_, CloseSession(_, _)) in SetUp()
154 ON_CALL(pkcs11_, CreateObject(_, _, _, _)) in SetUp()
156 ON_CALL(pkcs11_, DestroyObject(_, _, _)) in SetUp()
158 ON_CALL(pkcs11_, GetAttributeValue(_, _, _, _, _)) in SetUp()
160 ON_CALL(pkcs11_, SetAttributeValue(_, _, _, _)) in SetUp()
162 ON_CALL(pkcs11_, FindObjectsInit(_, _, _)) in SetUp()
164 ON_CALL(pkcs11_, FindObjects(_, _, _, _)) in SetUp()
[all …]
/system/connectivity/shill/wimax/
Dmock_wimax_device_proxy.cc21 using testing::_;
26 ON_CALL(*this, Enable(_, _, _)) in MockWiMaxDeviceProxy()
28 ON_CALL(*this, Disable(_, _, _)) in MockWiMaxDeviceProxy()
30 ON_CALL(*this, ScanNetworks(_, _, _)) in MockWiMaxDeviceProxy()
32 ON_CALL(*this, Connect(_, _, _, _, _)) in MockWiMaxDeviceProxy()
34 ON_CALL(*this, Disconnect(_, _, _)) in MockWiMaxDeviceProxy()
/system/core/metricsd/
Dmetrics_collector_test.cc35 using ::testing::_;
61 EXPECT_CALL(metrics_lib_, SendToUMA(name, sample, _, _, _)) in ExpectSample()
115 EXPECT_CALL(metrics_lib_, SendEnumToUMA(_, _, 100)).Times(AtLeast(1)); in TEST_F()
120 EXPECT_CALL(metrics_lib_, SendToUMA(_, _, _, _, _)) in TEST_F()
123 EXPECT_CALL(metrics_lib_, SendToUMA("Platform.MeminfoMlocked", _, _, _, _)) in TEST_F()
125 EXPECT_CALL(metrics_lib_, SendEnumToUMA("Platform.MeminfoMlocked", _, _)) in TEST_F()
162 EXPECT_CALL(metrics_lib_, SendToUMA(_, compr_data_size >> 20, _, _, _)); in TEST_F()
164 SendToUMA(_, (real_orig_size - compr_data_size) >> 20, _, _, _)); in TEST_F()
165 EXPECT_CALL(metrics_lib_, SendToUMA(_, actual_ratio_sample, _, _, _)); in TEST_F()
166 EXPECT_CALL(metrics_lib_, SendToUMA(_, zero_pages, _, _, _)); in TEST_F()
[all …]
/system/tpm/attestation/common/
Dmock_tpm_utility.cc19 using ::testing::_;
61 ON_CALL(*this, ActivateIdentity(_, _, _, _, _, _)) in MockTpmUtility()
63 ON_CALL(*this, CreateCertifiedKey(_, _, _, _, _, _, _, _, _)) in MockTpmUtility()
65 ON_CALL(*this, SealToPCR0(_, _)) in MockTpmUtility()
67 ON_CALL(*this, Unseal(_, _)) in MockTpmUtility()
69 ON_CALL(*this, Unbind(_, _, _)) in MockTpmUtility()
71 ON_CALL(*this, Sign(_, _, _)) in MockTpmUtility()
Dmock_crypto_utility.cc19 using ::testing::_;
41 ON_CALL(*this, GetRandom(_, _)).WillByDefault(Invoke(FakeRandom)); in MockCryptoUtility()
42 ON_CALL(*this, CreateSealedKey(_, _)).WillByDefault(Return(true)); in MockCryptoUtility()
43 ON_CALL(*this, UnsealKey(_, _, _)).WillByDefault(Return(true)); in MockCryptoUtility()
44 ON_CALL(*this, EncryptData(_, _, _, _)) in MockCryptoUtility()
46 ON_CALL(*this, DecryptData(_, _, _)) in MockCryptoUtility()
48 ON_CALL(*this, GetRSASubjectPublicKeyInfo(_, _)) in MockCryptoUtility()
/system/connectivity/shill/
Dactive_link_monitor_unittest.cc44 using testing::_;
163 EXPECT_CALL(time_, GetTimeMonotonic(_)) in SetUp()
189 EXPECT_CALL(time_, GetTimeMonotonic(_)) in AdvanceTime()
254 PostDelayedTask(_, transmit_period_milliseconds)); in ExpectTransmit()
257 EXPECT_CALL(*client_, TransmitRequest(_)).WillOnce(Return(true)); in SendNextRequest()
259 PostDelayedTask(_, GetCurrentTestPeriodMilliseconds())); in SendNextRequest()
263 EXPECT_CALL(*client_, TransmitRequest(_)).Times(0); in ExpectNoTransmit()
266 EXPECT_CALL(device_info_, GetMACAddress(0, _)) in StartMonitor()
269 EXPECT_CALL(dispatcher_, PostTask(_)).Times(1); in StartMonitor()
304 HasSubstr("LinkMonitorResponseTimeSample"), 0, _, _, _)) in RunUnicastResponseCycle()
[all …]
/system/connectivity/shill/dhcp/
Ddhcp_config_unittest.cc48 using testing::_;
154 StartProcessInMinijail(_, _, _, _, _, _, _)) in TEST_F()
176 StartProcessInMinijail(_, _, IsDHCPCDArgs(!kHasLeaseSuffix), in TEST_F()
177 _, _, _, _)) in TEST_F()
213 EXPECT_CALL(*this, SuccessCallback(_, _)).Times(0); in TEST_F()
257 EXPECT_CALL(*this, FailureCallback(_)).Times(0); in TEST_F()
265 EXPECT_CALL(*this, FailureCallback(_)).Times(1); in TEST_F()
326 EXPECT_CALL(process_manager_, StartProcessInMinijail(_, _, _, _, _, _, _)) in TEST_F()
331 EXPECT_CALL(process_manager_, StartProcessInMinijail(_, _, _, _, _, _, _)) in TEST_F()
358 EXPECT_CALL(*this, SuccessCallback(_, _)).Times(0); in TEST_F()
[all …]
Ddhcpv4_config_unittest.cc52 using testing::_;
140 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateMockMinijailConfig()
144 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateMockMinijailConfig()
148 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateMockMinijailConfig()
152 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateMockMinijailConfig()
175 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateRunningConfig()
179 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateRunningConfig()
183 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateRunningConfig()
187 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateRunningConfig()
200 EXPECT_CALL(process_manager_, StartProcessInMinijail(_, _, _, _, _, _, _)) in CreateRunningConfig()
[all …]
/system/firewalld/
Diptables_unittest.cc33 using testing::_;
43 EXPECT_CALL(*iptables, AddAcceptRule(_, _, _, _)) in SetMockExpectations()
45 EXPECT_CALL(*iptables, DeleteAcceptRule(_, _, _, _)) in SetMockExpectations()
52 EXPECT_CALL(*iptables, AddAcceptRule(kIpTablesPath, _, _, _)) in SetMockExpectationsPerExecutable()
54 EXPECT_CALL(*iptables, AddAcceptRule(kIp6TablesPath, _, _, _)) in SetMockExpectationsPerExecutable()
56 EXPECT_CALL(*iptables, DeleteAcceptRule(kIpTablesPath, _, _, _)) in SetMockExpectationsPerExecutable()
58 EXPECT_CALL(*iptables, DeleteAcceptRule(kIp6TablesPath, _, _, _)) in SetMockExpectationsPerExecutable()
69 EXPECT_CALL(mock_iptables, AddAcceptRule(_, _, _, _)).Times(0); in TEST_F()
70 EXPECT_CALL(mock_iptables, DeleteAcceptRule(_, _, _, _)).Times(0); in TEST_F()
92 EXPECT_CALL(mock_iptables, AddAcceptRule(_, _, _, _)).Times(0); in TEST_F()
[all …]
/system/connectivity/shill/dbus/
Dchromeos_manager_dbus_adaptor_unittest.cc39 using testing::_;
93 EXPECT_CALL(manager_, ClaimDevice(_, kInterfaceName, _)) in TEST_F()
95 EXPECT_CALL(dbus_service_watcher_factory_, CreateDBusServiceWatcher(_, _, _)) in TEST_F()
104 EXPECT_CALL(manager_, ClaimDevice(_, kInterfaceName, _)) in TEST_F()
106 EXPECT_CALL(dbus_service_watcher_factory_, CreateDBusServiceWatcher(_, _, _)) in TEST_F()
115 EXPECT_CALL(manager_, ClaimDevice(_, kInterfaceName, _)) in TEST_F()
117 EXPECT_CALL(dbus_service_watcher_factory_, CreateDBusServiceWatcher(_, _, _)) in TEST_F()
136 EXPECT_CALL(manager_, ReleaseDevice(_, kInterfaceName, _, _)) in TEST_F()
143 EXPECT_CALL(manager_, ReleaseDevice(_, kInterfaceName, _, _)) in TEST_F()
159 EXPECT_CALL(manager_, SetupApModeInterface(&out_interface_name, _)) in TEST_F()
[all …]
/system/tpm/tpm_manager/server/
Dtpm2_initializer_test.cc31 using testing::_;
63 EXPECT_CALL(mock_tpm_utility_, StirRandom(_, _)) in TEST_F()
71 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
79 EXPECT_CALL(mock_data_store_, Read(_)) in TEST_F()
81 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
89 EXPECT_CALL(mock_data_store_, Write(_)) in TEST_F()
91 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
99 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
111 EXPECT_CALL(mock_data_store_, Read(_)) in TEST_F()
114 EXPECT_CALL(mock_tpm_utility_, GenerateRandom(_, _, _)) in TEST_F()
[all …]

12345678910