Home
last modified time | relevance | path

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

1234567

/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/
Denterprise_device_mgr_proxy_test.cpp29 using ::testing::_;
87 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
105 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
123 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
141 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
158 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
177 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
195 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
210 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
226 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
[all …]
/base/usb/usb_manager/test/native/mock/src/
Dusb_bulkcallback_mock_test.cpp100 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
101 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
118 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
124 …EXPECT_CALL(*mockUsbImpl_, ClaimInterface(testing::_, testing::_, testing::_)).WillRepeatedly(Retu… in SetUpTestCase()
132 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in TearDownTestCase()
167 …EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)).WillRepeatedly(Ret…
172 EXPECT_CALL(*mockUsbImpl_, UnRegBulkCallback(testing::_, testing::_)).WillRepeatedly(Return(0));
190 …EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)).WillRepeatedly(Ret…
195 EXPECT_CALL(*mockUsbImpl_, UnRegBulkCallback(testing::_, testing::_)).WillRepeatedly(Return(0));
214 EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_))
[all …]
Dusb_request_mock_test.cpp68 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
69 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
86 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
92 …EXPECT_CALL(*mockUsbImpl_, ClaimInterface(testing::_, testing::_, testing::_)).WillRepeatedly(Retu… in SetUpTestCase()
100 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in TearDownTestCase()
133 …EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)).WillRepea…
151 …EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)).WillRepea…
170 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_))
192 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_))
214 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_))
[all …]
Dusb_device_pipe_mock_test.cpp92 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
93 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
110 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
118 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0)); in TearDownTestCase()
161 EXPECT_CALL(*mockUsbImpl_, CloseDevice(testing::_)).WillRepeatedly(Return(0));
165 EXPECT_CALL(*mockUsbImpl_, OpenDevice(testing::_)).WillRepeatedly(Return(0));
180 …EXPECT_CALL(*mockUsbImpl_, ControlTransferRead(testing::_, testing::_, testing::_)).WillRepeatedly…
197 EXPECT_CALL(*mockUsbImpl_, ControlTransferRead(testing::_, testing::_, testing::_))
217 EXPECT_CALL(*mockUsbImpl_, ControlTransferRead(testing::_, testing::_, testing::_))
237 …EXPECT_CALL(*mockUsbImpl_, ControlTransferRead(testing::_, testing::_, testing::_)).WillRepeatedly…
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/
Dans_subscriber_proxy_unit_test.cpp68 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(NO_ERROR)));
91 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(DEAD_OBJECT)));
114 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(-1)));
157 …EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(DoAll(Return(NO_ERROR…
179 …EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(DoAll(Return(DEAD_OBJ…
201 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(0);
221 …EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(DoAll(Return(NO_ERROR…
241 …EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(DoAll(Return(NO_ERROR…
264 …EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(DoAll(Return(DEAD_OBJ…
287 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(0);
[all …]
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_mock.cpp42 using ::testing::_;
187 EXPECT_CALL(*ptr, GetOsAccountList(::testing::_))
206 EXPECT_CALL(*ptr, GetSerialNumber(::testing::_))
209 EXPECT_CALL(*ptr, GetAllowCreateId(::testing::_))
223 EXPECT_CALL(*ptr, GetAllowCreateId(::testing::_))
225 EXPECT_CALL(*ptr, GetConstraintsByType(::testing::_, ::testing::_))
231 EXPECT_CALL(*ptr, GetConstraintsByType(::testing::_, ::testing::_))
237 EXPECT_CALL(*ptr, InsertOsAccount(::testing::_))
243 EXPECT_CALL(*ptr, InsertOsAccount(::testing::_))
246 EXPECT_CALL(*ptr, UpdateBaseOAConstraints(::testing::_, ::testing::_, ::testing::_))
[all …]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_idm_proxy_test.cpp58 EXPECT_CALL(*service, OpenSession(_, _))
64 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
83 EXPECT_CALL(*service, CloseSession(_))
89 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
113 EXPECT_CALL(*service, GetCredentialInfo(_, _, _))
122 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
145 EXPECT_CALL(*service, GetSecInfo(_, _))
152 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
178 EXPECT_CALL(*service, AddCredential(_, _, _, _))
188 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
[all …]
Duser_auth_proxy_test.cpp60 EXPECT_CALL(*service, GetAvailableStatus(_, _, _))
68 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
94 EXPECT_CALL(*service, GetProperty(_, _, _, _))
105 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
131 EXPECT_CALL(*service, SetProperty(_, _, _, _))
142 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
167 EXPECT_CALL(*service, Auth(_, _, _, _, _))
178 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
203 EXPECT_CALL(*service, AuthUser(_, _, _, _, _))
214 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
[all …]
Duser_auth_callback_proxy_test.cpp49 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
69 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
90 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
110 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
Dexecutor_callback_proxy_test.cpp63 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
85 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
108 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
129 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
149 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
Duser_idm_callback_proxy_test.cpp50 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
70 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
91 EXPECT_CALL(*service, OnCredentialInfos(_))
106 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
129 EXPECT_CALL(*service, OnSecureUserInfo(_))
143 EXPECT_CALL(*obj, SendRequest(_, _, _, _))
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_test.cpp53 EXPECT_CALL(*mock, AddExecutor(_, _, _, _)).WillRepeatedly(Return(1));
67 …EXPECT_CALL(*mock, AddExecutor(_, _, _, _)).WillRepeatedly(DoAll(SetArgReferee<1>(DEST_EXECUTOR_IN…
95 EXPECT_CALL(*mock, AddExecutor(_, _, _, _))
118 EXPECT_CALL(*mockHdi, AddExecutor(_, _, _, _)).Times(1);
119 EXPECT_CALL(*mockHdi, DeleteExecutor(_)).Times(1);
144 EXPECT_CALL(*mockHdi, AddExecutor(_, _, _, _)).Times(1);
145 EXPECT_CALL(*mockHdi, DeleteExecutor(_)).Times(1);
152 EXPECT_CALL(*testCallback, OnBeginExecute(_, _, _)).WillRepeatedly(Return(SUCCESS));
153 EXPECT_CALL(*testCallback, OnEndExecute(_, _)).WillRepeatedly(Return(SUCCESS));
154 EXPECT_CALL(*testCallback, OnSetProperty(_)).WillRepeatedly(Return(SUCCESS));
[all …]
Duser_idm_service_test.cpp63 EXPECT_CALL(*mockHdi, OpenSession(_, _)).Times(1);
99 EXPECT_CALL(*mockHdi, OpenSession(_, _))
120 EXPECT_CALL(*mockHdi, CloseSession(_))
138 EXPECT_CALL(*testCallback, OnCredentialInfos(_)).Times(2);
142 EXPECT_CALL(*mockHdi, GetCredential(_, _, _)).WillOnce(Return(HDF_FAILURE));
168 EXPECT_CALL(*testCallback, OnCredentialInfos(_)).Times(2);
172 EXPECT_CALL(*mockHdi, GetCredential(_, _, _)).Times(2);
188 EXPECT_CALL(*mockHdi, GetUserInfo(_, _, _, _))
219 EXPECT_CALL(*testCallback, OnCredentialInfos(_)).Times(1);
223 EXPECT_CALL(*mockHdi, GetCredential(_, _, _))
[all …]
Denrollment_impl_test.cpp63 EXPECT_CALL(*mock, BeginEnrollmentV1_1(userId, _, _, _)).WillRepeatedly(Return(1));
75 EXPECT_CALL(*mock, BeginEnrollmentV1_1(userId, _, _, _)).WillRepeatedly(Return(0));
93 EXPECT_CALL(*mock, UpdateEnrollmentResult(userId, _, _)).WillRepeatedly(Return(1));
126 …EXPECT_CALL(*mock, UpdateEnrollmentResult(userId, _, _)).WillRepeatedly(DoAll(WithArg<2>(fillUpInf…
152 EXPECT_CALL(*mock, UpdateEnrollmentResult(_, _, _)).WillRepeatedly(Return(0));
163 EXPECT_CALL(*mock, GetUserInfo(_, _, _, _)).WillRepeatedly(Return(1));
164 EXPECT_CALL(*mock, EnforceDeleteUser(_, _))
194 EXPECT_CALL(*mockHdi, CancelEnrollment(_))
198 EXPECT_CALL(*mockHdi, BeginEnrollmentV1_1(_, _, _, _))
240 EXPECT_CALL(*mock, BeginEnrollmentV1_1(_, _, _, _)).WillRepeatedly(Return(1));
[all …]
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_service_proxy_test.cpp68 EXPECT_CALL(*service, StartPrint(_, _, _)).Times(Exactly(1)).WillOnce(
82 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
108 EXPECT_CALL(*service, StartPrint(_, _, _)).Times(Exactly(1)).WillOnce(
122 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
146 EXPECT_CALL(*service, StopPrint(_)).Times(Exactly(1)).WillOnce(
151 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
175 EXPECT_CALL(*service, ConnectPrinter(_)).Times(Exactly(1)).WillOnce(
180 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
204 EXPECT_CALL(*service, DisconnectPrinter(_)).Times(Exactly(1)).WillOnce(
209 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
[all …]
/base/useriam/user_auth_framework/test/unittest/executors/
Dexecutor_unit_test.cpp87 EXPECT_CALL(*executorMgrWrapper, Register(_, _))
101 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(2)).WillRepeatedly([&testInfo](Executo… in __anonfd0d08910202()
129 EXPECT_CALL(*executorMgrWrapper, Register(_, _))
143 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(2)).WillRepeatedly([&testInfo](Executo… in __anonfd0d08910402()
170 EXPECT_CALL(*executorMgrWrapper, Register(_, _)).Times(Exactly(0));
189 EXPECT_CALL(*executorMgrWrapper, Register(_, _)).Times(Exactly(0));
192 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(2)).WillRepeatedly([&testInfo](Executo… in __anonfd0d08910502()
213 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(2)).WillRepeatedly([&testInfo](Executo… in __anonfd0d08910602()
258 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(1)).WillOnce([&testExecutorId](Executo… in __anonfd0d08910702()
271 …EXPECT_CALL(*executorHdi, GetExecutorInfo(_)).Times(Exactly(1)).WillOnce([&testExecutorId](Executo… in __anonfd0d08910802()
[all …]
Dauth_command_unit_test.cpp71 EXPECT_CALL(*messenger, Finish(_, _, _, _))
101 EXPECT_CALL(*messenger, Finish(_, _, _, _))
122 EXPECT_CALL(*messenger, Finish(_, _, _, _))
152 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
171 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
198 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
218 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
254 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
255 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
Didentify_command_unit_test.cpp71 EXPECT_CALL(*messenger, Finish(_, _, _, _))
101 EXPECT_CALL(*messenger, Finish(_, _, _, _))
123 EXPECT_CALL(*messenger, Finish(_, _, _, _))
153 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
172 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
199 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
219 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
255 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
256 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
Denroll_command_unit_test.cpp71 EXPECT_CALL(*messenger, Finish(_, _, _, _))
101 EXPECT_CALL(*messenger, Finish(_, _, _, _))
123 EXPECT_CALL(*messenger, Finish(_, _, _, _))
153 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
172 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
200 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
220 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
256 EXPECT_CALL(*messenger, Finish(_, _, _, _)).Times(Exactly(1));
257 EXPECT_CALL(*messenger, SendData(_, _, _, _, _))
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp141 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(NO_ERROR)));
164 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(DEAD_OBJECT)));
187 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).WillOnce(DoAll(Return(-1)));
296 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _))
320 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1)
344 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1)
411 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _))
433 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1)
455 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1)
498 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _))
[all …]
/base/print/print_fwk/test/unittest/service_test/
Dprint_extension_callback_proxy_test.cpp57 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
80 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
106 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
132 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
160 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
188 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
215 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
242 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
Dprint_callback_proxy_test.cpp62 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
86 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
129 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
160 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
191 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
222 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
250 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
278 EXPECT_CALL(*obj, SendRequest(_, _, _, _)).Times(1);
/base/customization/enterprise_device_management/test/unittest/network_manager_proxy/network_manager_proxy_test/
Dnetwork_manager_proxy_test.cpp79 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
113 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
146 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
180 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
210 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
242 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
274 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
306 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
346 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
/base/customization/enterprise_device_management/test/unittest/restrictions_proxy/
Drestrictions_proxy_test.cpp76 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
92 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
136 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
153 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
/base/customization/enterprise_device_management/test/unittest/datetime_manager_proxy/
Ddatetime_manager_proxy_test.cpp79 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
110 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
139 EXPECT_CALL(*object_, SendRequest(_, _, _, _))
169 EXPECT_CALL(*object_, SendRequest(_, _, _, _))

1234567