Home
last modified time | relevance | path

Searched refs:g_asyncStatus (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_standard_member_test.cpp89 static AsyncStatus volatile g_asyncStatus; variable
100 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
114 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
119 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
162 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
166 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
177 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
183 g_asyncStatus = ASYNC_STATUS_ERROR; in AddDemoMember()
192 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
227 g_asyncStatus = ASYNC_STATUS_WAITING; in DeleteDemoMember()
[all …]
H A Ddeviceauth_standard_auth_test.cpp138 static AsyncStatus volatile g_asyncStatus; variable
149 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
163 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
168 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
307 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
322 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
352 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoSymClientIdenticalAccountGroup()
380 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoSymServerIdenticalAccountGroup()
410 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoAcrossAccountGroup()
423 g_asyncStatus = ASYNC_STATUS_WAITING; in DeleteDemoGroup()
[all …]
H A Ddeviceauth_func_test.cpp104 static AsyncStatus volatile g_asyncStatus; variable
115 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
129 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
134 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
387 g_asyncStatus = ASYNC_STATUS_WAITING; in AuthDeviceDirectWithPinDemo()
435 g_asyncStatus = ASYNC_STATUS_WAITING; in AuthDeviceDirectDemo()
483 g_asyncStatus = ASYNC_STATUS_WAITING; in DeviceLevelAuthDemo()
848 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
865 g_asyncStatus = ASYNC_STATUS_WAITING; in DeleteDemoGroup()
878 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
[all …]
H A Ddeviceauth_standard_test.cpp85 static AsyncStatus volatile g_asyncStatus; variable
96 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
110 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
115 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
234 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
238 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
241 while (g_asyncStatus == ASYNC_STATUS_WAITING) { in CreateDemoGroup()
249 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
272 while (g_asyncStatus == ASYNC_STATUS_WAITING) { in CreateDemoIdenticalAccountGroup()
280 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoAcrossAccountGroup()
[all …]
H A Ddevice_auth_ipc_test.cpp108 static AsyncStatus volatile g_asyncStatus; variable
141 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
155 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
160 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
286 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
290 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
301 g_asyncStatus = ASYNC_STATUS_WAITING; in DeleteDemoGroup()
306 g_asyncStatus = ASYNC_STATUS_ERROR; in DeleteDemoGroup()
579 ASSERT_EQ(g_asyncStatus, ASYNC_STATUS_FINISH);
581 ASSERT_EQ(g_asyncStatus, ASYNC_STATUS_FINISH);
[all …]
H A Dp2p_bind_ipc_test.cpp58 static AsyncStatus volatile g_asyncStatus; variable
91 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
105 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
110 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
/ohos5.0/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp116 static AsyncStatus volatile g_asyncStatus; variable
126 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
140 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
145 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
299 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
319 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
357 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoSymIdenticalAccountGroup()
390 g_asyncStatus = ASYNC_STATUS_WAITING; in DeleteDemoGroup()
407 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
454 g_asyncStatus = ASYNC_STATUS_WAITING; in AuthDemoMember()
[all …]
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp56 static AsyncStatus volatile g_asyncStatus; variable
93 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
102 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
123 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
127 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
130 while (g_asyncStatus == ASYNC_STATUS_WAITING) { in CreateDemoGroup()
133 EXPECT_EQ(g_asyncStatus, ASYNC_STATUS_FINISH); in CreateDemoGroup()
212 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
235 while (g_asyncStatus == ASYNC_STATUS_WAITING) { in CreateDemoIdenticalAccountGroup()
238 ASSERT_EQ(g_asyncStatus, ASYNC_STATUS_FINISH); in CreateDemoIdenticalAccountGroup()
/ohos5.0/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp80 static AsyncStatus volatile g_asyncStatus; variable
90 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
106 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
115 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
181 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
185 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
195 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
238 g_asyncStatus = ASYNC_STATUS_WAITING; in AuthDemoMember()
354 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
381 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateClientSymIdenticalAccountGroup()
[all …]
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp83 static AsyncStatus volatile g_asyncStatus; variable
93 g_asyncStatus = ASYNC_STATUS_TRANSMIT; in OnTransmit()
109 g_asyncStatus = ASYNC_STATUS_FINISH; in OnFinish()
118 g_asyncStatus = ASYNC_STATUS_ERROR; in OnError()
184 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoGroup()
188 g_asyncStatus = ASYNC_STATUS_ERROR; in CreateDemoGroup()
199 g_asyncStatus = ASYNC_STATUS_WAITING; in AddDemoMember()
242 g_asyncStatus = ASYNC_STATUS_WAITING; in AuthDemoMember()
360 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateDemoIdenticalAccountGroup()
391 g_asyncStatus = ASYNC_STATUS_WAITING; in CreateClientSymIdenticalAccountGroup()
[all …]