/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata_reader_test.cpp | 76 int actual = expected + 1; in TEST_F() local 77 EXPECT_EQ(dut_->Facing(&actual), 0); in TEST_F() 78 EXPECT_EQ(actual, expected); in TEST_F() 88 int actual = 0; in TEST_F() local 89 EXPECT_EQ(dut_->Facing(&actual), -EINVAL); in TEST_F() 94 int actual = 0; in TEST_F() local 95 EXPECT_EQ(dut_->Facing(&actual), -ENOENT); in TEST_F() 105 int actual = orientation + 1; in TEST_F() local 106 EXPECT_EQ(dut_->Orientation(&actual), 0); in TEST_F() 107 EXPECT_EQ(actual, orientation); in TEST_F() [all …]
|
D | default_option_delegate_test.cpp | 41 int actual = 0; in TEST_F() local 43 dut_->DefaultValueForTemplate(CAMERA3_TEMPLATE_STILL_CAPTURE, &actual)); in TEST_F() 44 EXPECT_EQ(actual, defaults_[CAMERA3_TEMPLATE_STILL_CAPTURE]); in TEST_F() 48 int actual = 0; in TEST_F() local 51 &actual)); in TEST_F() 52 EXPECT_EQ(actual, defaults_[OTHER_TEMPLATES]); in TEST_F() 57 int actual = 0; in TEST_F() local 59 &actual)); in TEST_F()
|
D | slider_control_options_test.cpp | 68 int actual = expected - 1; in TEST_F() local 69 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 70 EXPECT_EQ(actual, expected); in TEST_F() 84 int actual = default_val; in TEST_F() local 85 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 86 EXPECT_EQ(actual, expected); in TEST_F() 100 int actual = default_val; in TEST_F() local 101 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 102 EXPECT_EQ(actual, expected); in TEST_F() 107 int actual = min_ - 1; in TEST_F() local [all …]
|
D | menu_control_options_test.cpp | 65 int actual = expected - 1; in TEST_F() local 66 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 67 EXPECT_EQ(actual, expected); in TEST_F() 79 int actual = default_val; in TEST_F() local 80 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 82 EXPECT_TRUE(dut_->IsSupported(actual)); in TEST_F() 87 int actual = -1; in TEST_F() local 88 ASSERT_FALSE(dut_->IsSupported(actual)); in TEST_F() 95 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F() 96 EXPECT_TRUE(dut_->IsSupported(actual)); in TEST_F()
|
D | ignored_control_delegate_test.cpp | 28 int32_t actual = 0; in TEST() local 29 ASSERT_EQ(control.GetValue(&actual), 0); in TEST() 30 EXPECT_EQ(actual, value); in TEST() 38 int32_t actual = 0; in TEST() local 39 ASSERT_EQ(control.GetValue(&actual), 0); in TEST() 41 EXPECT_EQ(actual, value); in TEST()
|
D | no_effect_control_delegate_test.cpp | 28 int32_t actual = 0; in TEST() local 29 ASSERT_EQ(control.GetValue(&actual), 0); in TEST() 30 EXPECT_EQ(actual, value); in TEST() 38 int32_t actual = 0; in TEST() local 39 ASSERT_EQ(control.GetValue(&actual), 0); in TEST() 40 EXPECT_EQ(actual, new_value); in TEST()
|
D | map_converter_test.cpp | 43 int32_t actual = expected + 1; // Initialize to non-expected value. in ExpectConvertToV4L2() local 44 ASSERT_EQ(dut_->MetadataToV4L2(initial, &actual), 0); in ExpectConvertToV4L2() 45 EXPECT_EQ(actual, expected); in ExpectConvertToV4L2() 100 int actual = expected + 1; // Initialize to non-expected value. in TEST_F() local 101 ASSERT_EQ(dut_->V4L2ToMetadata(kv->second, &actual), 0); in TEST_F() 102 EXPECT_EQ(actual, expected); in TEST_F()
|
D | ranged_converter_test.cpp | 44 int32_t actual = expected + 1; // Initialize to non-expected value. in ExpectConvert() local 45 ASSERT_EQ(dut_->MetadataToV4L2(initial, &actual), 0); in ExpectConvert() 46 EXPECT_EQ(actual, expected); in ExpectConvert()
|
D | tagged_control_delegate_test.cpp | 62 uint8_t actual = expected + 1; // Initialize to an incorrect value. in TEST_F() local 63 ASSERT_EQ(dut_->GetValue(&actual), 0); in TEST_F() 64 EXPECT_EQ(actual, expected); in TEST_F()
|
D | tagged_control_options_test.cpp | 87 uint8_t actual = value + 1; in TEST_F() local 88 EXPECT_EQ(dut_->DefaultValueForTemplate(template_id, &actual), 0); in TEST_F() 89 EXPECT_EQ(actual, value); in TEST_F()
|
D | v4l2_control_delegate_test.cpp | 54 uint8_t actual = conversion_result + 1; // Something incorrect. in TEST_F() local 55 ASSERT_EQ(dut_->GetValue(&actual), 0); in TEST_F() 56 EXPECT_EQ(actual, conversion_result); in TEST_F()
|
D | metadata_test.cpp | 62 const camera_metadata_entry_t& actual) { in CompareTags() argument 63 ASSERT_EQ(expected.size(), actual.count); in CompareTags() 64 for (size_t i = 0; i < actual.count; ++i) { in CompareTags() 65 EXPECT_NE(expected.find(actual.data.i32[i]), expected.end()); in CompareTags()
|
/hardware/libhardware/modules/sensors/tests/ |
D | SensorEventQueue_test.cpp | 18 int actual = queue->getWritableRegion(requested, &buffer); in checkWritableBufferSize() local 19 if (actual != expected) { in checkWritableBufferSize() 20 printf("Expected buffer size was %d; actual was %d\n", expected, actual); in checkWritableBufferSize() 27 int actual = queue->getSize(); in checkSize() local 28 if (actual != expected) { in checkSize() 29 printf("Expected queue size was %d; actual was %d\n", expected, actual); in checkSize() 35 bool checkInt(const char* msg, int expected, int actual) { in checkInt() argument 36 if (actual != expected) { in checkInt() 37 printf("%s; expected %d; actual was %d\n", msg, expected, actual); in checkInt()
|
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/ |
D | drm_hal_clearkey_test.h | 146 bool ValueEquals(DrmMetricGroup::ValueType type, const std::string& expected, const CT& actual) { in ValueEquals() argument 147 return type == DrmMetricGroup::ValueType::STRING_TYPE && expected == actual.stringValue; in ValueEquals() 151 bool ValueEquals(DrmMetricGroup::ValueType type, const int64_t expected, const CT& actual) { in ValueEquals() argument 152 return type == DrmMetricGroup::ValueType::INT64_TYPE && expected == actual.int64Value; in ValueEquals() 156 bool ValueEquals(DrmMetricGroup::ValueType type, const double expected, const CT& actual) { in ValueEquals() argument 157 return type == DrmMetricGroup::ValueType::DOUBLE_TYPE && expected == actual.doubleValue; in ValueEquals()
|
/hardware/interfaces/media/c2/1.0/ |
D | IComponentInterface.hal | 23 * a potential or actual component. It can be created and used independently of 24 * an actual Codec2 component to query supported parameters for various 27 * An actual component exposes this interface via IComponent::getInterface().
|
/hardware/interfaces/confirmationui/support/test/ |
D | msg_formatting_test.cpp | 113 HardwareAuthToken expected, actual; in TEST() local 126 std::tie(in, actual) = read(Message<HardwareAuthToken>(), in); in TEST() 127 ASSERT_EQ(expected, actual); in TEST()
|
/hardware/google/interfaces/media/c2/1.0/ |
D | IComponentInterface.hal | 23 * a potential or actual component. It can be created and used independently of 24 * an actual Codec 2.0 component instance to query support and parameters for
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 386 bssl::UniquePtr<EVP_PKEY> actual(d2i_PUBKEY(NULL, &tmp, in TEST_P() local 389 ASSERT_EQ(EVP_PKEY_RSA, EVP_PKEY_type(actual.get()->type)) in TEST_P() 392 bssl::UniquePtr<RSA> rsa(EVP_PKEY_get1_RSA(actual.get())); in TEST_P() 433 bssl::UniquePtr<EVP_PKEY> actual(d2i_PUBKEY(NULL, &tmp, in TEST_P() local 436 ASSERT_EQ(EVP_PKEY_EC, EVP_PKEY_type(actual.get()->type)) in TEST_P() 439 bssl::UniquePtr<EC_KEY> ecKey(EVP_PKEY_get1_EC_KEY(actual.get())); in TEST_P() 500 bssl::UniquePtr<EVP_PKEY> actual(d2i_PUBKEY(NULL, &tmp, in TEST_F() local 503 ASSERT_EQ(EVP_PKEY_type(actual.get()->type), EVP_PKEY_RSA) in TEST_F() 513 ASSERT_EQ(1, EVP_PKEY_cmp(expected.get(), actual.get())) in TEST_F() 536 bssl::UniquePtr<EVP_PKEY> actual(d2i_PUBKEY(NULL, &tmp, in TEST_F() local [all …]
|
/hardware/interfaces/broadcastradio/1.1/ |
D | ITunerCallback.hal | 56 * @param result OK if the scan succeeded, client may retrieve the actual 75 * Client may retrieve the actual list with ITuner::getProgramList. 83 * Client may retrieve the actual program info with
|
/hardware/libhardware/modules/camera/3_4/ |
D | request_tracker_test.cpp | 225 std::set<std::shared_ptr<CaptureRequest>> actual; in TEST_F() local 228 dut_->Clear(&actual); in TEST_F() 230 EXPECT_EQ(actual, expected); in TEST_F()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalTestUtils.h | 155 const Collection& actual, in assertAllExistsAnyOrder() argument 159 for (auto a: actual) { in assertAllExistsAnyOrder()
|
/hardware/interfaces/graphics/bufferqueue/1.0/ |
D | IProducerListener.hal | 21 * This is a wrapper/wrapped HAL interface for the actual binder interface.
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraParameters.cpp | 509 int actual = previewFormatToEnum(fmt); in getSupportedPreviewFormats() local 510 if (actual != -1) { in getSupportedPreviewFormats() 511 formats.add(actual); in getSupportedPreviewFormats()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 756 const auto& actual = outputShapes[i].dimensions; in EvaluatePreparedModel() local 759 ASSERT_EQ(actual.size(), golden.size()); in EvaluatePreparedModel() 760 for (uint32_t j = 0; j < actual.size(); j++) { in EvaluatePreparedModel() 761 if (actual[j] == 0) continue; in EvaluatePreparedModel() 762 EXPECT_EQ(actual[j], golden[j]) << "index: " << j; in EvaluatePreparedModel() 777 const std::vector<uint32_t> actual = outputShapes[i].dimensions; in EvaluatePreparedModel() local 778 EXPECT_EQ(expect, actual); in EvaluatePreparedModel()
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 28 template <size_t actual, size_t expected> void check_member(void) { in check_member() 29 static_assert(actual == expected, ""); in check_member()
|