/hardware/interfaces/cas/1.0/vts/functional/ |
D | VtsHalCasV1_0TargetTest.cpp | 196 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/ |
D | VtsHalCasV1_1TargetTest.cpp | 217 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/ |
D | VtsHalCasV1_2TargetTest.cpp | 234 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/ |
D | GRPCVehicleProxyServerUnitTest.cpp | 182 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/ |
D | VtsHalCasAidlTargetTest.cpp | 204 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/ |
D | DescramblerImpl.cpp | 170 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/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 2194 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/ |
D | UsbOverheatEvent.cpp | 246 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/ |
D | DescramblerTests.cpp | 76 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/ |
D | DeviceTest.cpp | 103 [](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/ |
D | DescramblerTests.cpp | 122 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/ |
D | PreparedModelTest.cpp | 44 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()
|
D | DeviceTest.cpp | 85 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/ |
D | VtsAidlHalCameraProvider_TargetTest.cpp | 1723 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 …]
|
D | camera_aidl_test.cpp | 3886 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/ |
D | DeviceTest.cpp | 110 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()
|
D | PreparedModelTest.cpp | 63 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/ |
D | DeviceTest.cpp | 117 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()
|
D | PreparedModelTest.cpp | 68 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/ |
D | DeviceTest.cpp | 92 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()
|