Home
last modified time | relevance | path

Searched refs:returnStatus (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp196 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho() local
197 EXPECT_TRUE(returnStatus.isOk()); in testEventEcho()
198 EXPECT_EQ(Status::OK, returnStatus); in testEventEcho()
494 auto returnStatus = mMediaCas->provision(hidl_string(PROVISION_STR)); in TEST_P() local
495 EXPECT_TRUE(returnStatus.isOk()); in TEST_P()
496 EXPECT_EQ(Status::OK, returnStatus); in TEST_P()
500 returnStatus = mMediaCas->setPrivateData(hidlPvtData); in TEST_P()
501 EXPECT_TRUE(returnStatus.isOk()); in TEST_P()
502 EXPECT_EQ(Status::OK, returnStatus); in TEST_P()
506 returnStatus = mMediaCas->setSessionPrivateData(sessionId, hidlPvtData); in TEST_P()
[all …]
/hardware/interfaces/cas/1.1/vts/functional/
DVtsHalCasV1_1TargetTest.cpp217 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho() local
218 EXPECT_TRUE(returnStatus.isOk()); in testEventEcho()
219 EXPECT_EQ(Status::OK, returnStatus); in testEventEcho()
238 auto returnStatus = mediaCas->sendSessionEvent(sessionId, event, eventArg, eventData); in testSessionEventEcho() local
239 EXPECT_TRUE(returnStatus.isOk()); in testSessionEventEcho()
240 EXPECT_EQ(Status::OK, returnStatus); in testSessionEventEcho()
467 auto returnStatus = mMediaCas->provision(hidl_string(PROVISION_STR)); in TEST_P() local
468 EXPECT_TRUE(returnStatus.isOk()); in TEST_P()
469 EXPECT_EQ(Status::OK, returnStatus); in TEST_P()
473 returnStatus = mMediaCas->setPrivateData(hidlPvtData); in TEST_P()
[all …]
/hardware/interfaces/cas/1.2/vts/functional/
DVtsHalCasV1_2TargetTest.cpp234 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho() local
235 EXPECT_TRUE(returnStatus.isOk()); in testEventEcho()
236 EXPECT_EQ(Status::OK, returnStatus); in testEventEcho()
255 auto returnStatus = mediaCas->sendSessionEvent(sessionId, event, eventArg, eventData); in testSessionEventEcho() local
256 EXPECT_TRUE(returnStatus.isOk()); in testSessionEventEcho()
257 EXPECT_EQ(Status::OK, returnStatus); in testSessionEventEcho()
501 auto returnStatus = mMediaCas->provision(hidl_string(PROVISION_STR)); in TEST_P() local
502 EXPECT_TRUE(returnStatus.isOk()); in TEST_P()
503 EXPECT_EQ(Status::OK, returnStatus); in TEST_P()
507 returnStatus = mMediaCas->setPrivateData(hidlPvtData); in TEST_P()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/test/
DGRPCVehicleProxyServerUnitTest.cpp182 proto::VehicleHalCallStatus returnStatus; in TEST() local
193 auto grpcStatus = server.Subscribe(&context, &request, &returnStatus); in TEST()
196 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::OK); in TEST()
211 proto::VehicleHalCallStatus returnStatus; in TEST() local
216 auto grpcStatus = server.Subscribe(&context, &request, &returnStatus); in TEST()
219 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::NOT_AVAILABLE); in TEST()
229 proto::VehicleHalCallStatus returnStatus; in TEST() local
235 auto grpcStatus = server.Unsubscribe(&context, &request, &returnStatus); in TEST()
238 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::OK); in TEST()
/hardware/interfaces/cas/aidl/vts/functional/
DVtsHalCasAidlTargetTest.cpp204 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho() local
205 EXPECT_TRUE(returnStatus.isOk()); in testEventEcho()
557 auto returnStatus = mMediaCas->provision("invalid asset string"); in TEST_P() local
558 EXPECT_FALSE(returnStatus.isOk()); in TEST_P()
559 EXPECT_EQ(Status::ERROR_CAS_NO_LICENSE, returnStatus.getServiceSpecificError()); in TEST_P()
571 returnStatus = mMediaCas->processEcm(invalidSessionId, ecm); in TEST_P()
572 EXPECT_FALSE(returnStatus.isOk()); in TEST_P()
573 EXPECT_EQ(Status::ERROR_CAS_SESSION_NOT_OPENED, returnStatus.getServiceSpecificError()); in TEST_P()
579 returnStatus = mMediaCas->processEcm(sessionId, ecm); in TEST_P()
580 EXPECT_FALSE(returnStatus.isOk()); in TEST_P()
[all …]
/hardware/interfaces/cas/aidl/default/
DDescramblerImpl.cpp170 auto returnStatus = in descramble() local
177 *_aidl_return = returnStatus; in descramble()
178 return toStatus(returnStatus >= 0 ? OK : returnStatus); in descramble()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp2194 Return<Status> returnStatus = device1->setPreviewWindow(nullptr); in TEST_P() local
2195 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
2196 ASSERT_EQ(Status::OPERATION_NOT_SUPPORTED, returnStatus); in TEST_P()
2236 Return<Status> returnStatus = device1->setPreviewWindow(nullptr); in TEST_P() local
2237 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
2238 ASSERT_EQ(Status::OK, returnStatus); in TEST_P()
2290 Return<Status> returnStatus = device1->takePicture(); in TEST_P() local
2291 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
2292 ASSERT_EQ(Status::OK, returnStatus); in TEST_P()
2315 Return<Status> returnStatus = device1->takePicture(); in TEST_P() local
[all …]
/hardware/google/pixel/usb/
DUsbOverheatEvent.cpp246 ThermalStatus returnStatus; in unregisterThermalCallback() local
248 this, [&returnStatus](ThermalStatus status) { returnStatus = status; }); in unregisterThermalCallback()
249 if (!ret.isOk() || returnStatus.code != ThermalStatusCode::SUCCESS) { in unregisterThermalCallback()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DDescramblerTests.cpp76 auto returnStatus = mCas->provision(hidl_string(provisonStr)); in getKeyToken() local
77 if (returnStatus != android::hardware::cas::V1_0::Status::OK) { in getKeyToken()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp103 [](ErrorStatus launchStatus, ErrorStatus returnStatus,
106 cb->notify(returnStatus, preparedModel); in __anon40c1850f0302()
113 auto makePreparedModelReturn(ErrorStatus launchStatus, ErrorStatus returnStatus, in makePreparedModelReturn() argument
115 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelReturn()
122 return makePreparedModelReturnImpl(launchStatus, returnStatus, preparedModel, cb); in makePreparedModelReturn()
129 auto makePreparedModelWithConfigReturn(ErrorStatus launchStatus, ErrorStatus returnStatus, in makePreparedModelWithConfigReturn() argument
131 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelWithConfigReturn()
134 return makePreparedModelReturnImpl(launchStatus, returnStatus, preparedModel, cb); in makePreparedModelWithConfigReturn()
138 auto makePreparedModelFromCacheReturn(ErrorStatus launchStatus, ErrorStatus returnStatus, in makePreparedModelFromCacheReturn() argument
140 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelFromCacheReturn()
[all …]
/hardware/interfaces/tv/tuner/aidl/vts/functional/
DDescramblerTests.cpp122 auto returnStatus = mCasHidl->provision(hidl_string(provisonStr)); in getKeyToken() local
123 if (returnStatus != android::hardware::cas::V1_0::Status::OK) { in getKeyToken()
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DPreparedModelTest.cpp44 auto makeExecute(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus) { in makeExecute() argument
45 return [launchStatus, returnStatus]( in makeExecute()
48 cb->notify(returnStatus); in makeExecute()
DDeviceTest.cpp85 auto makePreparedModelReturn(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModelReturn() argument
87 return [launchStatus, returnStatus, preparedModel](const V1_0::Model& /*model*/, in makePreparedModelReturn()
90 cb->notify(returnStatus, preparedModel).isOk(); in makePreparedModelReturn()
/hardware/interfaces/camera/provider/aidl/vts/
DVtsAidlHalCameraProvider_TargetTest.cpp1723 ndk::ScopedAStatus returnStatus = in TEST_P() local
1725 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
1755 returnStatus = in TEST_P()
1757 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
1779 returnStatus = in TEST_P()
1782 returnStatus.getServiceSpecificError()); in TEST_P()
1938 ndk::ScopedAStatus returnStatus = in TEST_P() local
1940 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
2109 ndk::ScopedAStatus returnStatus = in TEST_P() local
2111 ASSERT_TRUE(returnStatus.isOk()); in TEST_P()
[all …]
Dcamera_aidl_test.cpp3886 ndk::ScopedAStatus returnStatus = in processColorSpaceRequest() local
3888 ASSERT_TRUE(returnStatus.isOk()); in processColorSpaceRequest()
3891 returnStatus = mSession->repeatingRequestEnd(requests.size() - 1, in processColorSpaceRequest()
3893 ASSERT_TRUE(returnStatus.isOk()); in processColorSpaceRequest()
4046 ndk::ScopedAStatus returnStatus = in processZoomSettingsOverrideRequests() local
4048 ASSERT_TRUE(returnStatus.isOk()); in processZoomSettingsOverrideRequests()
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp110 auto makePreparedModelReturn(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModelReturn() argument
112 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelReturn()
118 cb->notify_1_2(returnStatus, preparedModel).isOk(); in makePreparedModelReturn()
123 V1_0::ErrorStatus returnStatus, in makePreparedModelFromCacheReturn() argument
125 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelFromCacheReturn()
130 cb->notify_1_2(returnStatus, preparedModel).isOk(); in makePreparedModelFromCacheReturn()
DPreparedModelTest.cpp63 auto makeExecuteAsynchronously(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makeExecuteAsynchronously() argument
66 return [launchStatus, returnStatus, outputShapes, timing]( in makeExecuteAsynchronously()
69 cb->notify_1_2(returnStatus, outputShapes, timing); in makeExecuteAsynchronously()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DDeviceTest.cpp117 auto makePreparedModelReturn(V1_3::ErrorStatus launchStatus, V1_3::ErrorStatus returnStatus, in makePreparedModelReturn() argument
119 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelReturn()
126 cb->notify_1_3(returnStatus, preparedModel).isOk(); in makePreparedModelReturn()
131 V1_3::ErrorStatus returnStatus, in makePreparedModelFromCacheReturn() argument
133 return [launchStatus, returnStatus, preparedModel]( in makePreparedModelFromCacheReturn()
139 cb->notify_1_3(returnStatus, preparedModel).isOk(); in makePreparedModelFromCacheReturn()
DPreparedModelTest.cpp68 auto makeExecuteAsynchronously(V1_3::ErrorStatus launchStatus, V1_3::ErrorStatus returnStatus, in makeExecuteAsynchronously() argument
71 return [launchStatus, returnStatus, outputShapes, timing]( in makeExecuteAsynchronously()
76 cb->notify_1_3(returnStatus, outputShapes, timing); in makeExecuteAsynchronously()
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DDeviceTest.cpp92 auto makePreparedModelReturn(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModelReturn() argument
94 return [launchStatus, returnStatus, preparedModel](const V1_1::Model& /*model*/, in makePreparedModelReturn()
98 cb->notify(returnStatus, preparedModel).isOk(); in makePreparedModelReturn()