Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 61) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/metadata/
Dtest_common.h35 const T* expected, in ExpectMetadataEq()
51 T expected) { in ExpectMetadataEq()
59 const std::vector<T>& expected) { in ExpectMetadataEq()
67 const std::array<T, N>& expected) { in ExpectMetadataEq()
75 const ArrayVector<T, N>& expected) { in ExpectMetadataEq()
84 const std::vector<std::array<T, N>>& expected) { in ExpectMetadataEq()
Dslider_control_options_test.cpp49 std::vector<int> expected{min_, max_}; in TEST_F() local
64 int expected = max_ - 1; in TEST_F() local
78 int expected = min_; in TEST_F() local
94 int expected = max_; in TEST_F() local
Dmap_converter_test.cpp38 virtual void ExpectConvertToV4L2(int32_t converted, int32_t expected) { in ExpectConvertToV4L2()
96 int expected = 99; in TEST_F() local
Dmetadata_reader_test.cpp75 int expected = translation.second; in TEST_F() local
139 int32_t expected = 12; in TEST_F() local
152 int32_t expected = 0; in TEST_F() local
159 std::array<int32_t, 3> expected = {{12, 34, 56}}; in TEST_F() local
320 ReprocessFormatMap expected{{1, {4}}, {2, {5, 6}}, {3, {7, 8, 9}}}; in TEST_F() local
Dtagged_control_delegate_test.cpp58 uint8_t expected = 3; in TEST_F() local
Dranged_converter_test.cpp39 virtual void ExpectConvert(int32_t converted, int32_t expected) { in ExpectConvert()
Dmenu_control_options_test.cpp61 int expected = options_[2]; in TEST_F() local
Dtagged_control_options_test.cpp58 std::vector<uint8_t> expected{3, 4, 5}; in TEST_F() local
Dstate_test.cpp74 uint8_t expected = 99; in TEST_F() local
/hardware/interfaces/audio/aidl/vts/
DTestUtils.h40 int32_t expected, in assertResult()
52 const std::initializer_list<T>& expected, in assertResult()
74 #define ASSERT_STATUS(expected, ret) \ argument
77 #define EXPECT_STATUS(expected, ret) \ argument
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DAssertOk.h54 Result expected, Result result) { in assertResult()
63 Result expected, const Return<Result>& ret) { in assertResult()
71 const std::initializer_list<Result>& expected, in assertResult()
85 const std::initializer_list<Result>& expected, in assertResult()
114 #define ASSERT_RESULT(expected, ret) ASSERT_PRED_FORMAT2(detail::assertResult, expected, ret) argument
115 #define EXPECT_RESULT(expected, ret) EXPECT_PRED_FORMAT2(detail::assertResult, expected, ret) argument
/hardware/google/pixel/misc_writer/
Dmisc_writer_test.cpp52 const std::string& expected) { in CheckMiscPartitionVendorSpaceContent()
70 std::string expected = "theme-dark"; in TEST_F() local
83 std::string expected = "theme-dark"; in TEST_F() local
96 std::string expected = "enable-sota"; in TEST_F() local
118 std::string expected = std::string(MiscWriter::kMaxRamSize) + "8192"; in TEST_F() local
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/
DUserHalHelper_test.cpp85 InitialUserInfoRequest expected{ in TEST() local
105 InitialUserInfoRequest expected{ in TEST() local
124 InitialUserInfoRequest expected{ in TEST() local
214 SwitchUserRequest expected{ in TEST() local
302 CreateUserRequest expected{ in TEST() local
368 RemoveUserRequest expected{ in TEST() local
430 UserIdentificationGetRequest expected{ in TEST() local
506 UserIdentificationSetRequest expected{ in TEST() local
595 VehiclePropValue expected{ in TEST() local
632 VehiclePropValue expected{ in TEST() local
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/test/
DUserHalHelper_test.cpp102 InitialUserInfoRequest expected{ in TEST() local
121 InitialUserInfoRequest expected{ in TEST() local
208 SwitchUserRequest expected{ in TEST() local
294 CreateUserRequest expected{ in TEST() local
358 RemoveUserRequest expected{ in TEST() local
418 UserIdentificationGetRequest expected{ in TEST() local
494 UserIdentificationSetRequest expected{ in TEST() local
583 VehiclePropValue expected{ in TEST() local
622 VehiclePropValue expected{ in TEST() local
646 VehiclePropValue expected{ in TEST() local
[all …]
/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { in checkWritableBufferSize()
26 bool checkSize(SensorEventQueue* queue, int expected) { in checkSize()
35 bool checkInt(const char* msg, int expected, int actual) { in checkInt()
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h146 bool ValueEquals(DrmMetricGroup::ValueType type, const std::string& expected, const CT& actual) { in ValueEquals()
151 bool ValueEquals(DrmMetricGroup::ValueType type, const int64_t expected, const CT& actual) { in ValueEquals()
156 bool ValueEquals(DrmMetricGroup::ValueType type, const double expected, const CT& actual) { in ValueEquals()
/hardware/google/aemu/base/include/aemu/base/testing/
DGTestUtils.h37 inline ::testing::AssertionResult RangesMatch(const Range1& expected, in RangesMatch()
/hardware/libhardware/modules/camera/3_4/
Drequest_tracker_test.cpp58 bool expected = true) { in AddRequest()
88 std::shared_ptr<CaptureRequest> expected = GenerateCaptureRequest(frame, {}); in TEST_F() local
215 std::set<std::shared_ptr<CaptureRequest>> expected; in TEST_F() local
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp193 std::vector<float> dataIn(512*512), dataOut(256*256), expected(256*256); in TEST_P() local
245 std::vector<float> dataIn(128*128*128), dataOut(64*64*64), expected(64*64*64); in TEST_P() local
294 std::vector<float> dataIn(512*512), dataOut(256*256), expected; in TEST_P() local
351 std::vector<uint8_t> dataIn(64*64), dataOut(32*32), expected(32*32); in TEST_P() local
398 std::vector<float> dataIn(128*128*6), dataOut(128*128), expected(128*128); in TEST_P() local
DVtsScriptTests.cpp208 std::vector<uint8_t> dataIn(64), dataOut(64), expected(64); in TEST_P() local
311 std::vector<int> dataIn(64), dataOut(64), expected(64, 5); in TEST_P() local
427 std::vector<uint8_t> dataIn(128, 128), dataOut(128, 0), expected(128, 7+1); in TEST_P() local
504 std::vector<uint8_t> dataIn(128, 128), dataOut(128, 0), expected(128, 128 + 1); in TEST_P() local
/hardware/interfaces/wifi/supplicant/aidl/vts/functional/
Dsupplicant_test_utils.h40 bool keyMgmtSupported(std::shared_ptr<ISupplicantStaIface> iface, KeyMgmtMask expected) { in keyMgmtSupported()
/hardware/interfaces/confirmationui/support/test/
Dmsg_formatting_test.cpp113 HardwareAuthToken expected, actual; in TEST() local
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalTestUtils.h154 std::initializer_list<T> expected, in assertAllExistsAnyOrder()
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp54 void waitForResult(std::chrono::duration<R, P> timeout, Result expected) { in waitForResult()
/hardware/interfaces/health/storage/aidl/vts/functional/
DVtsHalHealthStorageTargetTest.cpp57 void WaitForResult(std::chrono::duration<R, P> timeout, Result expected) { in WaitForResult()

123