Home
last modified time | relevance | path

Searched refs:APP_SUCCESS (Results 1 – 25 of 26) sorted by relevance

12

/external/nos/host/android/hals/authsecret/test/
Dtest.cpp76 .WillOnce(Return(APP_SUCCESS)); in TEST()
78 .WillOnce(Return(APP_SUCCESS)); in TEST()
80 .WillOnce(Return(APP_SUCCESS)); in TEST()
93 .WillOnce(Return(APP_SUCCESS)); in TEST()
95 .WillOnce(Return(APP_SUCCESS)); in TEST()
97 .WillOnce(Return(APP_SUCCESS)); in TEST()
111 .WillOnce(Return(APP_SUCCESS)); in TEST()
113 .WillOnce(Return(APP_SUCCESS)); in TEST()
140 .WillOnce(Return(APP_SUCCESS)); in TEST()
142 .WillOnce(Return(APP_SUCCESS)); in TEST()
[all …]
/external/nos/host/generic/libnos/generator/test/
Dtest.cpp58 EXPECT_CALL(client, CallApp(APP_ID_TEST, 2, _, _)).WillOnce(Return(APP_SUCCESS)); in TEST()
59 EXPECT_CALL(client, CallApp(APP_ID_TEST, 0, _, _)).WillOnce(Return(APP_SUCCESS)); in TEST()
60 EXPECT_CALL(client, CallApp(APP_ID_TEST, 1, _, _)).WillOnce(Return(APP_SUCCESS)); in TEST()
86 .WillOnce(DoAll(SetArgPointee<3>(responseBytes), Return(APP_SUCCESS))); in TEST()
89 EXPECT_THAT(service.Greet(request, &real_response), Eq(APP_SUCCESS)); in TEST()
103 .WillOnce(Return(APP_SUCCESS)); in TEST()
105 EXPECT_THAT(service.Greet(request, nullptr), Eq(APP_SUCCESS)); in TEST()
136 .WillOnce(DoAll(SetArgPointee<3>(garbledResponse), Return(APP_SUCCESS))); in TEST()
166 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
172 EXPECT_THAT(service.Greet(request, &real_response), Eq(APP_SUCCESS)); in TEST()
/external/nos/test/system-test-harness/tools/
Dnugget_tools.cc90 buffer, &buffer) != app_status::APP_SUCCESS) { in CyclesSinceBoot()
122 nullptr) != app_status::APP_SUCCESS) { in RebootNuggetUnchecked()
137 buffer, &buffer) != app_status::APP_SUCCESS) { in RebootNugget()
153 buffer, &buffer) != app_status::APP_SUCCESS) { in RebootNugget()
188 buffer, &buffer) != app_status::APP_SUCCESS) { in WaitForSleep()
202 buffer, &buffer) != app_status::APP_SUCCESS) { in WaitForSleep()
235 buffer, &buffer) != app_status::APP_SUCCESS) { in WipeUserData()
245 buffer, nullptr) != app_status::APP_SUCCESS) { in WipeUserData()
253 buffer, &buffer) != app_status::APP_SUCCESS) { in WipeUserData()
Davb_tools.cc38 EXPECT_EQ(retval, APP_SUCCESS); in SetBootloader()
96 if (ret != APP_SUCCESS) { in GetResetChallenge()
Dnugget_tools.h15 ASSERT_EQ(value, app_status::APP_SUCCESS) \
Davb_tools.h18 ASSERT_EQ(value, app_status::APP_SUCCESS) \
/external/nos/host/generic/citadel/updater/
Dupdater.cpp248 if (retval == APP_SUCCESS) in is_app_success()
412 if (rv_A == APP_SUCCESS) { in do_update()
666 } while (rv == APP_SUCCESS && got > 0); in do_console()
1107 do_ap_uart(app) != APP_SUCCESS) { in execute_commands()
1117 do_version(app) != APP_SUCCESS) { in execute_commands()
1122 do_long_version(app) != APP_SUCCESS) { in execute_commands()
1127 do_section(app) != APP_SUCCESS) { in execute_commands()
1132 do_file_version(image) != APP_SUCCESS) { in execute_commands()
1137 do_file_section(image) != APP_SUCCESS) { in execute_commands()
1142 do_id(app) != APP_SUCCESS) { in execute_commands()
[all …]
/external/nos/host/android/hals/weaver/test/
Dtest.cpp51 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
104 .WillOnce(Return(APP_SUCCESS)); in TEST()
113 EXPECT_CALL(mockService, Write(_, _)).WillOnce(Return(APP_SUCCESS)); in TEST()
146 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
163 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
180 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
196 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
/external/nos/host/android/hals/oemlock/
DOemLock.cpp75 if (appStatus != APP_SUCCESS) { in setOemUnlockAllowedByCarrier()
91 if (appStatus != APP_SUCCESS) { in isOemUnlockAllowedByCarrier()
110 if (appStatus != APP_SUCCESS) { in setOemUnlockAllowedByDevice()
126 if (appStatus != APP_SUCCESS) { in isOemUnlockAllowedByDevice()
/external/nos/host/android/hals/oemlock/test/
Dtest.cpp114 .WillOnce(Return(APP_SUCCESS)); in TEST()
181 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
196 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
229 .WillOnce(Return(APP_SUCCESS)); in TEST()
241 .WillOnce(Return(APP_SUCCESS)); in TEST()
278 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
293 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
/external/nos/host/android/hals/authsecret/
DAuthSecret.cpp99 if (appStatus != APP_SUCCESS) { in TryEnrollCitadelUpdatePassword()
112 if (appStatus != APP_SUCCESS) { in RebootCitadel()
136 if (appStatus != APP_SUCCESS) { in TryEnablingCitadelUpdate()
/external/nos/host/android/hals/weaver/
DWeaver.cpp52 if (appStatus != APP_SUCCESS) { in getConfig()
74 if (appStatus != APP_SUCCESS) { in write()
91 if (appStatus != APP_SUCCESS) { in read()
/external/nos/host/generic/libnos_transport/test/
Dtest.cpp167 status->status = APP_STATUS_DONE | APP_SUCCESS; in ACTION_P()
174 status->status = APP_STATUS_DONE | APP_SUCCESS; in ACTION_P2()
356 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
458 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
476 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
517 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
539 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
586 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
603 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
622 EXPECT_THAT(res, Eq(APP_SUCCESS)); in TEST_F()
/external/nos/host/generic/libnos_transport/
Dtransport.c241 return APP_SUCCESS; in make_ready()
265 return APP_SUCCESS; in make_ready()
334 return APP_SUCCESS; in send_command()
439 if (status->version == TRANSPORT_V0) return APP_SUCCESS; in receive_reply()
441 if (crc == status->reply_crc) return APP_SUCCESS; in receive_reply()
/external/nos/test/system-test-harness/src/
Dnugget_core_tests.cc176 ASSERT_NE(APP_SUCCESS, NuggetCoreTest::client->CallApp( in TEST_F()
190 ASSERT_NE(APP_SUCCESS, NuggetCoreTest::client->CallApp( in TEST_F()
Dkeymaster-provision-tests.cc784 ASSERT_EQ(retval, APP_SUCCESS); in TEST_F()
Davb_tests.cc220 if (code == APP_SUCCESS) { in Load()
285 if (code == APP_SUCCESS) { in GetOwnerKey()
/external/nos/host/android/citadel/validation/
Dcitadel_validation_tool.cpp68 if (status != APP_SUCCESS) { in ReadRegister()
93 if (status != APP_SUCCESS) { in WriteRegister()
143 buffer, &buffer) != app_status::APP_SUCCESS) { in CyclesSinceBoot()
/external/nos/host/generic/libnos/
Ddebug.cpp29 ErrorString_helper(APP_SUCCESS) in StatusCodeString()
/external/nos/host/android/citadel/citadeld/
Dmain.cpp294 if (rv == APP_SUCCESS) { in cacheStats()
322 if (rv != APP_SUCCESS) { in dispatchEvents()
/external/nos/host/android/manual_tests/
Dtest_citadel.c209 case APP_SUCCESS: in debug_retval()
381 if (APP_SUCCESS != retval) in do_rw()
387 if (APP_SUCCESS != retval) in do_rw()
/external/nos/host/generic/nugget/include/
Dapplication.h305 APP_SUCCESS = 0, enumerator
/external/nos/host/android/hals/keymaster/
DKeymasterDevice.cpp216 case APP_SUCCESS: in status_to_error_code()
255 if (status != APP_SUCCESS) { \
270 if (status != APP_SUCCESS) { \
287 if (status != APP_SUCCESS) { \
/external/nos/host/android/hals/keymaster/test/
Dimport_wrapped_key_test.cpp371 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
Dimport_key_test.cpp377 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()

12