Home
last modified time | relevance | path

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

1234

/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
/hardware/interfaces/audio/aidl/vts/
DTestUtils.h49 int32_t expected, in assertResult()
61 const std::initializer_list<T>& expected, in assertResult()
81 const char* exp_expr, const char* act_expr, int32_t expected, in assertResultOrUnknownTransaction()
100 #define ASSERT_STATUS(expected, ret) \ argument
103 #define EXPECT_STATUS(expected, ret) \ argument
123 #define EXPECT_STATUS_OR_UNKNOWN_TRANSACTION(expected, ret) \ argument
DVtsHalLoudnessEnhancerTargetTest.cpp92 void setParameters(int gain, binder_exception_t expected) { in setParameters()
142 binder_exception_t expected = isGainValid(mParamGainMb); in TEST_P() local
221 binder_exception_t expected; in assertSequentialGains() local
231 binder_exception_t expected = isGainValid(gain); in assertSequentialGains() local
272 binder_exception_t expected = isGainValid(kMinGain); in TEST_P() local
287 binder_exception_t expected = isGainValid(kMaxGain); in TEST_P() local
/hardware/google/gfxstream/host/tests/
DGLSnapshotTesting.cpp47 testing::AssertionResult compareValue(T expected, in compareValue()
71 GLboolean expected) { in compareGlobalGlBoolean()
82 GLint expected) { in compareGlobalGlInt()
94 GLint expected) { in compareGlobalGlInt_i()
106 GLfloat expected) { in compareGlobalGlFloat()
116 testing::AssertionResult compareVector(const std::vector<T>& expected, in compareVector()
179 const std::vector<GLboolean>& expected, in compareGlobalGlBooleanv()
195 const std::vector<GLboolean>& expected, in compareGlobalGlBooleanv_i()
208 const std::vector<GLint>& expected, in compareGlobalGlIntv()
223 const std::vector<GLfloat>& expected, in compareGlobalGlFloatv()
DGLSnapshotFramebufferControl_unittest.cpp25 void stateCheck(std::vector<GLboolean> expected) override { in stateCheck()
40 void stateCheck(GLboolean expected) override { in stateCheck()
53 void stateCheck(GLuint expected) override { in stateCheck()
73 void stateCheck(std::vector<GLclampf> expected) override { in stateCheck()
88 void stateCheck(GLclampf expected) override { in stateCheck()
100 void stateCheck(GLint expected) override { in stateCheck()
DGLSnapshotVertexAttributes_unittest.cpp59 virtual void stateCheck(GlVertexAttrib expected) override { in stateCheck()
89 GLfloat expected) { in compareFloatParameter()
96 const std::vector<GLfloat>& expected) { in compareFloatParameter()
108 GLint expected) { in compareIntParameter()
115 const std::vector<GLint>& expected) { in compareIntParameter()
132 void stateCheck(GlVertexAttrib expected) override { in stateCheck()
199 virtual void stateCheck(GlVertexAttrib expected) override { in stateCheck()
232 void stateCheck(GlVertexAttrib expected) override { in stateCheck()
DGLSnapshotRasterization_unittest.cpp29 void stateCheck(GLfloat expected) override { in stateCheck()
54 void stateCheck(GLenum expected) override { in stateCheck()
71 void stateCheck(GLenum expected) override { in stateCheck()
88 void stateCheck(GLfloat* expected) override { in stateCheck()
DGLSnapshotPixels_unittest.cpp26 void stateCheck(GLuint expected) override { in stateCheck()
46 void stateCheck(GLuint expected) override { in stateCheck()
DGLSnapshotPixelOperations_unittest.cpp103 void stateCheck(std::vector<GLint> expected) override { in stateCheck()
130 void stateCheck(GlStencilFunc expected) override { in stateCheck()
192 void stateCheck(GlStencilOp expected) override { in stateCheck()
255 void stateCheck(GLenum expected) override { in stateCheck()
273 void stateCheck(GLenum expected) override { in stateCheck()
292 void stateCheck(GlBlendFunc expected) { in stateCheck()
324 void stateCheck(GlWriteMaskArray expected) { in stateCheck()
372 void stateCheck(GlBlendFuncArray expected) { in stateCheck()
/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
132 std::string expected = "mode=1440x3120@60:120"; in TEST_F() local
/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/gfxstream/common/detector/
DExpected.h40 constexpr expected(T&& v) in expected() function
44 constexpr expected(std::in_place_t, Args&&... args) in expected() function
47 constexpr expected(const unexpected<E>& u) in expected() function
51 constexpr expected(const unexpected<OtherE>& e) in expected() function
/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/google/gfxstream/guest/mesa/src/util/tests/
Dprocess_test.c42 expect_equal_str(const char *expected, const char *actual, const char *test) in expect_equal_str()
56 const char *expected = "process_test.exe"; in test_util_get_process_name() local
Droundeven_test.cpp37 float input, expected; in TEST() member
73 double input, expected; in TEST() member
/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/gfxstream/codegen/generic-apigen/
DParser_unittest.cpp24 const char* expected; in TEST() member
46 bool expected; in TEST() member
84 bool expected; in TEST() member
/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

1234