/hardware/interfaces/nfc/1.1/vts/functional/ |
D | VtsHalNfcV1_1TargetTest.cpp | 97 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp() 102 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 108 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in SetUp() 113 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 115 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp() 120 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 124 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in TearDown() 129 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in TearDown() 144 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in TEST_P() 149 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in TEST_P() [all …]
|
/hardware/google/av/media/eco/tests/ |
D | EcoDataTest.cpp | 62 EXPECT_TRUE(data->findString(ENCODER_TYPE, &testValue) == ECODataStatus::OK); in TEST() 67 EXPECT_EQ(data->findString(ENCODER_TYPE, &testValue), ECODataStatus::OK); in TEST() 85 EXPECT_TRUE(data->findString(it->first, &testValue) == ECODataStatus::OK); in TEST() 94 EXPECT_TRUE(data->findString("encoder-name", nullptr) != ECODataStatus::OK); in TEST() 98 EXPECT_TRUE(data->findString("encoder-name", &testValue) != ECODataStatus::OK); in TEST() 101 EXPECT_TRUE(data->setString("", "avc") != ECODataStatus::OK); in TEST() 104 EXPECT_TRUE(data->findString("", &testValue) != ECODataStatus::OK); in TEST() 112 EXPECT_TRUE(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue) == ECODataStatus::OK); in TEST() 117 EXPECT_EQ(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue), ECODataStatus::OK); in TEST() 135 EXPECT_TRUE(data->findInt32(it->first, &testValue) == ECODataStatus::OK); in TEST() [all …]
|
D | EcoSessionTest.cpp | 256 EXPECT_TRUE(info.findString(KEY_INFO_TYPE, &infoType) == ECODataStatus::OK); in TEST_F() 261 EXPECT_TRUE(info.findInt32(ENCODER_TYPE, &codecType) == ECODataStatus::OK); in TEST_F() 265 EXPECT_TRUE(info.findInt32(ENCODER_PROFILE, &profile) == ECODataStatus::OK); in TEST_F() 269 EXPECT_TRUE(info.findInt32(ENCODER_LEVEL, &level) == ECODataStatus::OK); in TEST_F() 273 EXPECT_TRUE(info.findInt32(ENCODER_TARGET_BITRATE_BPS, &bitrate) == ECODataStatus::OK); in TEST_F() 277 EXPECT_TRUE(info.findInt32(ENCODER_KFI_FRAMES, &kfi) == ECODataStatus::OK); in TEST_F() 291 EXPECT_TRUE(info.findString(KEY_INFO_TYPE, &infoType) == ECODataStatus::OK); in TEST_F() 295 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 299 EXPECT_TRUE(info.findInt32(FRAME_NUM, &frameNum) == ECODataStatus::OK); in TEST_F() 303 EXPECT_TRUE(info.findInt64(FRAME_PTS_US, &framePtsUs) == ECODataStatus::OK); in TEST_F() [all …]
|
/hardware/interfaces/nfc/1.0/vts/functional/ |
D | VtsHalNfcV1_0TargetTest.cpp | 108 EXPECT_EQ(NfcStatus::OK, nfc_->open(nfc_cb_)); in SetUp() 113 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 123 EXPECT_EQ((int)NfcStatus::OK, res.args->last_data_[3]); in SetUp() 137 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in SetUp() 142 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 144 EXPECT_EQ(NfcStatus::OK, nfc_->open(nfc_cb_)); in SetUp() 149 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 153 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in TearDown() 158 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in TearDown() 195 EXPECT_EQ((int)NfcStatus::OK, res.args->last_data_[3]); in TEST_P() [all …]
|
/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 121 EXPECT_EQ(codec->configure(cfg, nullptr, nullptr, 0), OK); in TEST_P() 122 EXPECT_EQ(codec->getInputFormat(&ifmt), OK); in TEST_P() 130 EXPECT_EQ(codec->start(), OK); in TEST_P() 132 EXPECT_EQ(codec->dequeueInputBuffer(&ix, 1000000), OK); in TEST_P() 134 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P() 150 EXPECT_EQ(codec->configure(cfg, nullptr, nullptr, 0), OK); in TEST_P() 151 EXPECT_EQ(codec->getInputFormat(&ifmt), OK); in TEST_P() 159 EXPECT_EQ(codec->start(), OK); in TEST_P() 161 EXPECT_EQ(codec->dequeueInputBuffer(&ix, 1000000), OK); in TEST_P() 163 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 85 ASSERT_EQ(status, android::hardware::media::omx::V1_0::Status::OK); in SetUp() 126 if (_s == android::hardware::media::omx::V1_0::Status::OK) in SetUp() 204 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 206 EXPECT_EQ(status, android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 221 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 232 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 238 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 240 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 242 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() 244 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P() [all …]
|
/hardware/interfaces/oemlock/1.0/vts/functional/ |
D | VtsHalOemLockV1_0TargetTest.cpp | 55 EXPECT_EQ(status, OemLockStatus::OK); in TEST_P() 75 EXPECT_EQ(status, OemLockStatus::OK); in TEST_P() 94 ASSERT_EQ(status, OemLockStatus::OK); in TEST_P() 100 ASSERT_EQ(set_ret, OemLockStatus::OK); in TEST_P() 103 ASSERT_EQ(status, OemLockStatus::OK); in TEST_P() 109 ASSERT_EQ(restore_ret, OemLockStatus::OK); in TEST_P() 112 ASSERT_EQ(status, OemLockStatus::OK); in TEST_P() 132 EXPECT_EQ(status, OemLockStatus::OK); in TEST_P() 156 ASSERT_EQ(status, OemLockStatus::OK); in TEST_P() 170 ASSERT_EQ(status, OemLockStatus::OK); in TEST_P() [all …]
|
/hardware/interfaces/audio/effect/all-versions/vts/functional/ |
D | VtsHalAudioEffectTargetTest.cpp | 79 EXPECT_EQ(Result::OK, retval); in TEST_P() 89 if (r == Result::OK && result.size() > 0) { in TEST_P() 105 if (r == Result::OK) { in TEST_P() 110 EXPECT_EQ(Result::OK, retval); in TEST_P() 121 if (r == Result::OK) { in TEST_P() 130 EXPECT_EQ(r, Result::OK); in TEST_P() 179 ASSERT_EQ(Result::OK, ret); in SetUp() 211 if (r == Result::OK) { in findAndCreateEffect() 222 if (r == Result::OK) { in findEffectInstance() 241 if (r == Result::OK) { in getChannelCount() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 352 EXPECT_EQ(ErrorCode::OK, error); in verify_attestation_record() 353 if (error != ErrorCode::OK) return false; in verify_attestation_record() 426 EXPECT_EQ(ErrorCode::OK, error); in verify_attestation_record() 523 ASSERT_EQ(ErrorCode::OK, GetCharacteristics(key_blob, &retrieved_chars)); in CheckCharacteristics() 538 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P() 606 ErrorCode::OK, in TEST_P() 684 EXPECT_EQ(ErrorCode::OK, in TEST_P() 706 ErrorCode::OK, in TEST_P() 726 ErrorCode::OK, in TEST_P() 771 EXPECT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P() [all …]
|
/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | UnlockedDeviceRequiredTest.cpp | 38 CreateTestKeys(TAG_UNLOCKED_DEVICE_REQUIRED, ErrorCode::OK); in TEST_P() 40 EXPECT_EQ(ErrorCode::OK, UseAesKey(aesKeyData.blob)); in TEST_P() 41 EXPECT_EQ(ErrorCode::OK, UseHmacKey(hmacKeyData.blob)); in TEST_P() 42 EXPECT_EQ(ErrorCode::OK, UseRsaKey(rsaKeyData.blob)); in TEST_P() 43 EXPECT_EQ(ErrorCode::OK, UseEcdsaKey(ecdsaKeyData.blob)); in TEST_P() 48 ASSERT_EQ(ErrorCode::OK, static_cast<ErrorCode>(rc)); in TEST_P()
|
D | EarlyBootKeyTest.cpp | 49 CreateTestKeys(TAG_EARLY_BOOT_ONLY, ErrorCode::OK); in TEST_P() 58 EXPECT_EQ(ErrorCode::OK, UseAesKey(aesKeyData.blob)); in TEST_P() 59 EXPECT_EQ(ErrorCode::OK, UseHmacKey(hmacKeyData.blob)); in TEST_P() 60 EXPECT_EQ(ErrorCode::OK, UseRsaKey(rsaKeyData.blob)); in TEST_P() 61 EXPECT_EQ(ErrorCode::OK, UseEcdsaKey(ecdsaKeyData.blob)); in TEST_P() 66 EXPECT_EQ(earlyBootResult, ErrorCode::OK); in TEST_P()
|
/hardware/interfaces/drm/1.1/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 44 EXPECT_EQ(Status::OK, status); in openSession() 60 EXPECT_EQ(Status::OK, status); in openSession() 119 EXPECT_EQ(Status::OK, status); in loadKeys() 129 EXPECT_EQ(Status::OK, status); in loadKeys() 202 EXPECT_EQ(Status::OK, status); in TEST_P() 221 EXPECT_EQ(Status::OK, status); in TEST_P() 238 EXPECT_EQ(Status::OK, status); in TEST_P() 250 EXPECT_EQ(Status::OK, status); in TEST_P() 259 EXPECT_EQ(Status::OK, status); in TEST_P() 279 EXPECT_EQ(Status::OK, status); in TEST_P() [all …]
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraMetadata.cpp | 95 return OK; in unlock() 127 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK, in acquire() 186 return OK; in checkType() 196 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update() 209 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() 222 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { in update() 235 if ( (res = checkType(tag, TYPE_INT64)) != OK) { in update() 248 if ( (res = checkType(tag, TYPE_DOUBLE)) != OK) { in update() 261 if ( (res = checkType(tag, TYPE_RATIONAL)) != OK) { in update() 274 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() [all …]
|
/hardware/interfaces/broadcastradio/1.0/vts/functional/ |
D | VtsHalBroadcastradioV1_0TargetTest.cpp | 87 ASSERT_EQ(connectResult, Result::OK); in SetUp() 202 : mCallbackCalled(false), mBoolCallbackData(false), mResultCallbackData(Result::OK), in BroadcastRadioHidlTest() 303 if (result == Result::OK) { in getProperties() 309 EXPECT_EQ(Result::OK, halResult); in getProperties() 316 if (hidlReturn.isOk() && halResult == Result::OK) { in getProperties() 332 if (result == Result::OK) { in openTuner() 338 EXPECT_EQ(Result::OK, halResult); in openTuner() 356 if (result == Result::OK) { in checkAntenna() 361 return ((halResult == Result::OK) && (halConfig.antennaConnected == true)); in checkAntenna() 434 if (halResult == Result::OK) { in TEST_P() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 471 if (error != ErrorCode::OK) { in GenerateKey() 497 if (error != ErrorCode::OK) { in ImportKey() 522 if (error != ErrorCode::OK) { in ExportKey() 551 EXPECT_TRUE(rc == ErrorCode::OK || rc == ErrorCode::UNIMPLEMENTED); in CheckedDeleteKey() 590 if (error != ErrorCode::OK) { in Begin() 665 if (error != ErrorCode::OK) { in Finish() 678 if (error != ErrorCode::OK) { in Finish() 695 EXPECT_EQ(ErrorCode::OK, Abort(op_handle_)); in AbortIfNeeded() 727 EXPECT_EQ(ErrorCode::OK, in ProcessMessage() 734 EXPECT_EQ(ErrorCode::OK, in ProcessMessage() [all …]
|
/hardware/st/nfc/1.1/ |
D | Nfc.cpp | 26 ((x) == NFCSTATUS_SUCCESS) ? (V1_0::NfcStatus::OK) : (V1_0::NfcStatus::FAILED) 65 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in open() 78 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in coreInitialized() 83 : V1_0::NfcStatus::OK; in prediscover() 101 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in close() 106 : V1_0::NfcStatus::OK; in controlGranted() 111 : V1_0::NfcStatus::OK; in powerCycle() 135 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in closeForPowerOffCase()
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | media_video_hidl_test_common.cpp | 65 if (status != ::android::hardware::media::omx::V1_0::Status::OK) break; in enumerateProfileAndLevel() 86 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupRAWPort() 98 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupRAWPort() 109 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupAVCPort() 124 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupAVCPort() 135 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupHEVCPort() 145 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupHEVCPort() 156 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupMPEG4Port() 173 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupMPEG4Port() 184 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupH263Port() [all …]
|
/hardware/interfaces/biometrics/face/1.0/vts/functional/ |
D | VtsHalBiometricsFaceV1_0TargetTest.cpp | 137 ASSERT_EQ(Status::OK, res.status); in SetUp() 144 ASSERT_EQ(Status::OK, static_cast<Status>(ret2)); in SetUp() 160 ASSERT_EQ(Status::OK, res.status); in TEST_P() 178 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() 199 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() 255 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() 262 [](const OptionalUint64& res) { ASSERT_EQ(Status::OK, res.status); }); in TEST_P() 269 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() 279 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() 286 ASSERT_EQ(Status::OK, static_cast<Status>(ret)); in TEST_P() [all …]
|
/hardware/st/nfc/1.2/ |
D | Nfc.cpp | 28 ? (V1_0::NfcStatus::OK) : (V1_0::NfcStatus::FAILED) 67 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in open() 80 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in coreInitialized() 85 : V1_0::NfcStatus::OK; in prediscover() 102 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in close() 107 : V1_0::NfcStatus::OK; in controlGranted() 112 : V1_0::NfcStatus::OK; in powerCycle() 136 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in closeForPowerOffCase()
|
/hardware/interfaces/weaver/1.0/vts/functional/ |
D | VtsHalWeaverV1_0TargetTest.cpp | 63 ASSERT_EQ(status, WeaverStatus::OK); in TEST_P() 86 ASSERT_EQ(status, WeaverStatus::OK); in TEST_P() 96 ASSERT_EQ(status, WeaverStatus::OK); in TEST_P() 112 ASSERT_EQ(status, WeaverStatus::OK); in TEST_P() 117 ASSERT_EQ(writeRet, WeaverStatus::OK); in TEST_P() 128 ASSERT_EQ(ret, WeaverStatus::OK); in TEST_P() 142 ASSERT_EQ(status, WeaverReadStatus::OK); in TEST_P() 156 ASSERT_EQ(initialWriteRet, WeaverStatus::OK); in TEST_P() 160 ASSERT_EQ(overwriteRet, WeaverStatus::OK); in TEST_P() 174 ASSERT_EQ(status, WeaverReadStatus::OK); in TEST_P() [all …]
|
/hardware/interfaces/vibrator/1.0/vts/functional/ |
D | VtsHalVibratorV1_0TargetTest.cpp | 53 ASSERT_TRUE(status == Status::OK || status == Status::UNSUPPORTED_OPERATION); in validatePerformEffect() 54 if (status == Status::OK) { in validatePerformEffect() 68 EXPECT_EQ(Status::OK, vibrator->on(2000)); in TEST_P() 70 EXPECT_EQ(Status::OK, vibrator->off()); in TEST_P() 116 EXPECT_EQ(Status::OK, vibrator->setAmplitude(1)); in TEST_P() 117 EXPECT_EQ(Status::OK, vibrator->on(2000)); in TEST_P() 118 EXPECT_EQ(Status::OK, vibrator->setAmplitude(128)); in TEST_P() 120 EXPECT_EQ(Status::OK, vibrator->setAmplitude(255)); in TEST_P()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 55 *outStatus = StatusCode::OK; in get() 89 if (*outStatus == StatusCode::OK && pValue.get() != nullptr) { in get() 105 return StatusCode::OK; in set() 110 return StatusCode::OK; in subscribe() 114 return StatusCode::OK; in unsubscribe() 202 ASSERT_EQ(StatusCode::OK, status); in TEST_F() 213 ASSERT_EQ(StatusCode::OK, status); in TEST_F() 248 ASSERT_EQ(StatusCode::OK, res); in TEST_F() 262 ASSERT_EQ(StatusCode::OK, res); in TEST_F() 307 ASSERT_EQ(StatusCode::OK, res); in TEST_F() [all …]
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | Tuner.cpp | 88 mCallback->configChange(Result::OK, mAmfmConfig); in setConfigurationInternalLocked() 122 return Result::OK; in setConfiguration() 130 _hidl_cb(Result::OK, mAmfmConfig); in getConfiguration() 169 mCallback->tuneComplete(Result::OK, mCurrentProgramInfo.base); in tuneInternalLocked() 171 mCallback1_1->tuneComplete_1_1(Result::OK, mCurrentProgramInfo.selector); in tuneInternalLocked() 196 return Result::OK; in scan() 228 return Result::OK; in scan() 269 return Result::OK; in step() 316 return Result::OK; in tuneByProgramSelector() 325 return Result::OK; in cancel() [all …]
|
/hardware/interfaces/nfc/1.2/vts/functional/ |
D | VtsHalNfcV1_2TargetTest.cpp | 97 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp() 102 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 108 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in SetUp() 113 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 115 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp() 120 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in SetUp() 124 EXPECT_EQ(NfcStatus::OK, nfc_->close()); in TearDown() 129 EXPECT_EQ(NfcStatus::OK, res.args->last_status_); in TearDown()
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_test.cpp | 103 StatusV1_0 err = StatusV1_0::OK; in TEST_P() 105 if (err == StatusV1_0::OK) { in TEST_P() 144 EXPECT_NE(StatusV1_2::OK, status); in TEST_P() 153 if (S == Status::OK) { in checkKeySetIds() 160 if (S == Status::OK) { in checkKeySetIdState() 179 EXPECT_EQ(Status::OK, status); in TEST_P() 191 EXPECT_EQ(Status::OK, err); in TEST_P() 195 EXPECT_EQ(Status::OK, status); in TEST_P() 215 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::US… in TEST_P() 218 …drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::IN… in TEST_P() [all …]
|