/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 81 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 87 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 93 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 99 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 105 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 111 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 125 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 133 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 135 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 147 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | ConversionHelperHidl.h | 45 if (ret.isOk()) { in processReturn() 55 if (!ret.isOk()) { in processReturn() 58 return ret.isOk() ? OK : FAILED_TRANSACTION; in processReturn() 62 if (!ret.isOk()) { in processReturn() 65 return ret.isOk() ? analyzeResult(ret) : FAILED_TRANSACTION; in processReturn() 71 if (!ret.isOk()) { in processReturn() 74 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in processReturn()
|
D | EffectHalHidl.cpp | 169 if (!ret.isOk() || retval != Result::OK) { in prepareForProcessing() 170 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in prepareForProcessing() 226 if (ret.isOk() && ret == Result::OK) { in setProcessBuffers() 230 return ret.isOk() ? analyzeResult(ret) : FAILED_TRANSACTION; in setProcessBuffers() 262 return ret.isOk() ? status : FAILED_TRANSACTION; in command() 275 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in getDescriptor() 281 return ret.isOk() ? analyzeResult(ret) : FAILED_TRANSACTION; in close() 290 return ret.isOk() ? OK : FAILED_TRANSACTION; in dump() 315 if (!ret.isOk()) { in getConfigImpl() 340 if (ret.isOk()) { in setConfigImpl()
|
/frameworks/native/libs/binder/tests/ |
D | binderStabilityTest.cpp | 155 EXPECT_TRUE(server->sendBinder(BadStableBinder::undef()).isOk()); in TEST() 156 EXPECT_TRUE(server->sendBinder(BadStableBinder::system()).isOk()); in TEST() 157 EXPECT_TRUE(server->sendBinder(BadStableBinder::vintf()).isOk()); in TEST() 158 EXPECT_TRUE(server->sendBinder(BadStableBinder::vendor()).isOk()); in TEST() 162 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST() 167 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST() 172 EXPECT_TRUE(server->sendAndCallBinder(binder).isOk()); in TEST() 184 EXPECT_TRUE(server->returnNoStabilityBinder(&out).isOk()); in TEST() 189 EXPECT_TRUE(server->returnLocalStabilityBinder(&out).isOk()); in TEST() 194 EXPECT_TRUE(server->returnVintfStabilityBinder(&out).isOk()); in TEST() [all …]
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverUtils.cpp | 31 if (!ret.isOk()) { in notify() 39 if (!ret.isOk()) { in notify() 48 if (!ret.isOk()) { in notify() 57 if (!ret.isOk()) { in notify() 65 if (!ret.isOk()) { in notify() 73 if (!ret.isOk()) { in notify()
|
/frameworks/hardware/interfaces/stats/1.0/vts/functional/ |
D | VtsHalStatsV1_0TargetTest.cpp | 57 ASSERT_TRUE(ret.isOk()); in TEST_P() 68 ASSERT_TRUE(ret.isOk()); in TEST_P() 79 ASSERT_TRUE(ret.isOk()); in TEST_P() 94 ASSERT_TRUE(ret.isOk()); in TEST_P() 104 ASSERT_TRUE(ret.isOk()); in TEST_P() 113 ASSERT_TRUE(ret.isOk()); in TEST_P() 126 ASSERT_TRUE(ret.isOk()); in TEST_P() 147 ASSERT_TRUE(ret.isOk()); in TEST_P()
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | H2BGraphicBufferProducer.cpp | 99 if (!transResult.isOk()) { in requestBuffer() 115 if (!transResult.isOk()) { in setMaxDequeuedBufferCount() 129 if (!transResult.isOk()) { in setAsyncMode() 168 if (!transResult.isOk()) { in dequeueBuffer() 183 if (!transResult.isOk()) { in detachBuffer() 207 if (!transResult.isOk()) { in detachNextBuffer() 238 if (!transResult.isOk()) { in attachBuffer() 271 if (!transResult.isOk()) { in queueBuffer() 292 if (!transResult.isOk()) { in cancelBuffer() 311 if (!transResult.isOk()) { in query() [all …]
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 332 EXPECT_TRUE(res.isOk()) << res; in TEST() 339 EXPECT_TRUE(res.isOk()) << res; in TEST() 351 EXPECT_TRUE(res.isOk()) << res; in TEST() 361 EXPECT_TRUE(res.isOk()) << res; in TEST() 376 EXPECT_TRUE(res.isOk()) << res; in TEST() 386 EXPECT_TRUE(res.isOk()) << res; in TEST() 391 EXPECT_TRUE(res.isOk()) << res; in TEST() 398 EXPECT_TRUE(res.isOk()) << res; in TEST() 418 EXPECT_TRUE(res.isOk()) << res; in openNewDevice() 429 EXPECT_TRUE(res.isOk()) << res; in closeDevice() [all …]
|
D | CameraCharacteristicsPermission.cpp | 52 EXPECT_TRUE(rc.isOk()); in SetUp() 69 EXPECT_TRUE(rc.isOk()); in TEST_F() 77 ASSERT_TRUE(rc.isOk()); in TEST_F()
|
/frameworks/native/cmds/installd/tests/ |
D | binder_test_utils.h | 26 ASSERT_TRUE(expect_status.isOk()) << expect_status.toString8().c_str(); \ 32 ASSERT_FALSE(expect_status.isOk()); \ 38 EXPECT_TRUE(expect_status.isOk()) << expect_status.toString8().c_str(); \ 44 EXPECT_FALSE(expect_status.isOk()); \
|
/frameworks/base/services/core/jni/ |
D | com_android_server_VibratorService.cpp | 182 if (ret.isOk()) { in call() 229 hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk(); in vibratorInit() 231 halCall(&V1_0::IVibrator::ping).isOk(); in vibratorInit() 243 ok = hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk(); in vibratorExists() 245 ok = halCall(&V1_0::IVibrator::ping).isOk(); in vibratorExists() 254 if (!status.isOk()) { in vibratorOn() 269 if (!status.isOk()) { in vibratorOff() 283 if (!hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk()) { in vibratorSupportsAmplitudeControl() 295 if (!status.isOk()) { in vibratorSetAmplitude() 311 if (!hal->call(&aidl::IVibrator::getCapabilities, &cap).isOk()) { in vibratorSupportsExternalControl() [all …]
|
D | com_android_server_location_GnssLocationProvider.cpp | 1691 if (!linked.isOk()) { in android_location_GnssLocationProvider_init_once() 1701 if (!gnssXtra.isOk()) { in android_location_GnssLocationProvider_init_once() 1709 if (!agnssRil_V2_0.isOk()) { in android_location_GnssLocationProvider_init_once() 1717 if (!agnssRil_V1_0.isOk()) { in android_location_GnssLocationProvider_init_once() 1726 if (!agnss_V2_0.isOk()) { in android_location_GnssLocationProvider_init_once() 1733 if (!agnss_V1_0.isOk()) { in android_location_GnssLocationProvider_init_once() 1741 if (!gnssNavigationMessage.isOk()) { in android_location_GnssLocationProvider_init_once() 1754 if (!gnssMeasurement.isOk()) { in android_location_GnssLocationProvider_init_once() 1764 if (!gnssMeasurement.isOk()) { in android_location_GnssLocationProvider_init_once() 1773 if (!gnssMeasurement.isOk()) { in android_location_GnssLocationProvider_init_once() [all …]
|
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/ |
D | VtsHalBufferHubV1_0TargetTest.cpp | 129 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F() 152 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F() 164 ASSERT_TRUE(mBufferHub->ping().isOk()); in TEST_F() 181 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F() 193 ASSERT_TRUE(client->duplicate(dupCb).isOk()); in TEST_F() 212 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F() 222 ASSERT_TRUE(client->duplicate(dupCb).isOk()); in TEST_F() 236 ASSERT_TRUE(mBufferHub->importBuffer(token, importCb).isOk()); in TEST_F() 264 ASSERT_TRUE(mBufferHub->importBuffer(nullToken, importCb).isOk()); in TEST_F() 287 ASSERT_TRUE(mBufferHub->importBuffer(invalidToken, importCb).isOk()); in TEST_F() [all …]
|
/frameworks/native/libs/binderthreadstate/ |
D | test.cpp | 66 CHECK(stuff->call(idx).isOk()); in callHidl() 72 CHECK(stuff->call(idx).isOk()); in callAidl() 128 EXPECT_TRUE(server->callLocal().isOk()); in TEST() 133 EXPECT_TRUE(server->callLocal().isOk()); in TEST() 139 ASSERT_TRUE(stuff->call(0).isOk()); in TEST() 145 ASSERT_TRUE(stuff->call(0).isOk()); in TEST() 151 ASSERT_TRUE(stuff->call(100).isOk()); in TEST() 157 EXPECT_TRUE(stuff->call(100).isOk()); in TEST()
|
/frameworks/hardware/interfaces/cameraservice/vts/functional/ |
D | VtsHalCameraServiceV2_0TargetTest.cpp | 317 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 330 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 339 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 347 EXPECT_TRUE(remoteRet.isOk()); in TEST_P() 373 EXPECT_TRUE(ret.isOk() && ret == Status::NO_ERROR); in TEST_P() 379 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 383 EXPECT_TRUE(ret.isOk() && ret == Status::NO_ERROR); in TEST_P() 390 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 410 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() 436 EXPECT_TRUE(remoteRet.isOk() && status == Status::NO_ERROR); in TEST_P() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 364 if (!mPluginV1_2->setListener(NULL).isOk()) { in cleanup() 368 if (!mPlugin->setListener(NULL).isOk()) { in cleanup() 444 if (!hResult.isOk()) { in makeDrmPlugin() 676 if (!mPluginV1_2->setListener(this).isOk()) { in createPlugin() 679 } else if (!mPlugin->setListener(this).isOk()) { in createPlugin() 740 if (!hResult.isOk()) { in openSession() 772 if (status.isOk()) { in closeSession() 896 err = hResult.isOk() ? err : DEAD_OBJECT; in getKeyRequest() 920 err = hResult.isOk() ? err : DEAD_OBJECT; in provideKeyResponse() 930 return status.isOk() ? toStatusT(status) : DEAD_OBJECT; in removeKeys() [all …]
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 195 return transStatus.isOk() ? outName : ""; in __anon272953510402() 289 if (!transStatus.isOk()) { in query() 333 if (!transStatus.isOk()) { in config() 366 if (!transStatus.isOk()) { in querySupportedParams() 413 if (!transStatus.isOk()) { in querySupportedValues() 524 return transResult.isOk() ? in Codec2Client() 532 if (!transResult.isOk()) { 569 if (!transStatus.isOk()) { in createComponent() 609 if (!transStatus.isOk()) { in createInterface() 635 if (!transStatus.isOk()) { in createInputSurface() [all …]
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 291 if (!transResult.isOk() || status != android::OK) { in getGenerationNumber() 296 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber() 318 if (!transResult.isOk()) { in getGenerationNumber() 321 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber() 324 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber() 369 if (!transResult.isOk() || status != android::OK) { in fetchFromIgbp_l() 370 if (transResult.isOk()) { in fetchFromIgbp_l() 398 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l() 403 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l() 438 if (!transResult.isOk()) { in fetchFromIgbp_l() [all …]
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 48 static inline ::testing::AssertionResult isOk(const Return<T> &ret) { in isOk() function 49 return (ret.isOk() in isOk() 56 inline ::testing::AssertionResult isOk(const Return<Result> &ret) { in isOk() function 57 return ((ret.isOk() && ret == Result::OK) in isOk() 61 << (ret.isOk() ? toString(static_cast<Result>(ret)) : ""); in isOk() 64 static inline ::testing::AssertionResult isOk(Result result) { in isOk() function 89 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) 90 #define ASSERT_OK(__ret__) ASSERT_TRUE(isOk(__ret__))
|
/frameworks/native/libs/ui/ |
D | Gralloc3.cpp | 129 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor() 143 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer() 150 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() 164 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize() 185 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize() 228 error = (ret.isOk()) ? error : kTransactionError; in lock() 276 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock() 302 if (!ret.isOk()) { in unlock() 331 if (!ret.isOk()) { in isSupported() 402 return (ret.isOk()) ? error : static_cast<status_t>(kTransactionError); in allocate()
|
D | Gralloc2.cpp | 152 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor() 169 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer() 176 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() 199 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize() 224 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize() 268 error = (ret.isOk()) ? error : kTransactionError; in lock() 318 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock() 346 error = (ret.isOk()) ? error : kTransactionError; in unlock() 426 return (ret.isOk()) ? error : static_cast<status_t>(kTransactionError); in allocate()
|
/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.cpp | 173 if (!ret.isOk()) { in makeVersionedIPreparedModel() 202 mPreparedModelV1_0->unlinkToDeath(mDeathHandler).isOk(); in ~VersionedIPreparedModel() 233 if (!ret.isOk()) { in executeAsynchronously() 259 if (!ret.isOk()) { in executeAsynchronously() 285 if (!ret.isOk()) { in executeAsynchronously() 324 if (!ret.isOk()) { in executeSynchronously() 351 if (!ret.isOk()) { in executeSynchronously() 409 if (!ret.isOk()) { in getCapabilitiesFunction() 438 if (!ret.isOk()) { in executeFenced() 487 if (!ret.isOk()) { in getCapabilitiesFunction() [all …]
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraDeviceCallbacks.cpp | 67 if (!ret.isOk()) { in onDeviceError() 76 if (!ret.isOk()) { in onDeviceIdle() 88 if (!ret.isOk()) { in onCaptureStarted() 156 if (!ret.isOk()) { in processResultMessage() 188 if (!ret.isOk()) { in onRepeatingRequestError()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BProducerListener.cpp | 39 if (!mBase->onBufferReleased().isOk()) { in onBufferReleased() 46 if (!transResult.isOk()) { in needsReleaseNotify()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 261 if (!mTheRealServiceManager->checkService(String8(name).c_str(), &ret).isOk()) { in checkService() 278 if (!mTheRealServiceManager->listServices(dumpsysPriority, &ret).isOk()) { in listServices() 321 if (!mTheRealServiceManager->getService(name, &out).isOk()) { in waitForService() 328 name, waiter).isOk()) { in waitForService() 361 if (!mTheRealServiceManager->getService(name, &out).isOk()) { in waitForService() 370 if (!mTheRealServiceManager->isDeclared(String8(name).c_str(), &declared).isOk()) { in isDeclared()
|