Home
last modified time | relevance | path

Searched refs:TestType (Results 1 – 13 of 13) sorted by relevance

/aosp12/system/chre/apps/wifi_offload/test/
H A Drandomgenerator_test.cc22 template <typename TestType>
28 uint64_t rand_val = random_gen_.get<TestType>(); in GeneratedNumbersAreSmallerOrEqualTypeMaxValue()
29 uint64_t max_val = std::numeric_limits<TestType>::max(); in GeneratedNumbersAreSmallerOrEqualTypeMaxValue()
36 TestType rand_values[num_values]; in AllRandomGeneratorsGenerateTheSameSequence()
39 rand_values[i] = random_gen_.get<TestType>(); in AllRandomGeneratorsGenerateTheSameSequence()
50 TestType rand_values[num_values]; in AfterResetGeneratesTheSameSequence()
53 rand_values[i] = random_gen_.get<TestType>(); in AfterResetGeneratesTheSameSequence()
58 ASSERT_EQ(rand_values[i], random_gen_.get<TestType>()); in AfterResetGeneratesTheSameSequence()
67 sizeof(uint64_t) / sizeof(TestType); in GeneratesDifferentNumbersIn8Bytes()
69 (sizeof(TestType) * 8) % (sizeof(uint64_t) * 8); in GeneratesDifferentNumbersIn8Bytes()
[all …]
H A Doffloadtypes_test.cc21 template <typename TestType>
30 TestType lhs; in EqualOperatorReturnsTrueForEqualValues()
34 TestType rhs; in EqualOperatorReturnsTrueForEqualValues()
41 TestType lhs, rhs; in EqualOperatorReturnsFalseForDifferentValues()
49 TestType test_obj; in SerializationThenDeserializationCreatesEqualValue()
59 ASSERT_TRUE(verifier.VerifyBuffer<typename TestType::FbsType>(nullptr)); in SerializationThenDeserializationCreatesEqualValue()
62 flatbuffers::GetRoot<typename TestType::FbsType>(serialized_buff); in SerializationThenDeserializationCreatesEqualValue()
65 TestType deserialized_obj; in SerializationThenDeserializationCreatesEqualValue()
H A Dflatbuffersserialization_test.cc27 template <typename TestType>
/aosp12/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp56 struct TestType { struct
61 TestType() {} in TestType() argument
74 struct DerivedTestType : public TestType {
75 DerivedTestType() : TestType() {} in DerivedTestType()
162 PDX_REMOTE_METHOD(SendTestType, kOpSendTestType, TestType(const TestType&));
231 TestType SendTestType(const TestType& tt) { in SendTestType()
232 Status<TestType> status = in SendTestType()
235 return TestType(0, 0.0, "[Error]"); in SendTestType()
456 TestType OnSendTestType(Message&, const TestType& tt) { in OnSendTestType()
627 TestType tt{10, 0.0, "string"}; in TEST_F()
[all …]
/aosp12/frameworks/native/libs/vr/libpdx/
H A Dvariant_tests.cpp28 class TestType { class
34 TestType(const TestType&) = default;
35 TestType(TestType&&) = default;
37 TestType& operator=(const TestType&) = default;
38 TestType& operator=(TestType&&) = default;
373 TestType<int> i(1); in TEST()
380 TestType<int> i(1); in TEST()
387 TestType<bool> b(true); in TEST()
394 TestType<bool> b(true); in TEST()
418 TestType<IntRef> t(a); in TEST()
[all …]
H A Dserialization_tests.cpp46 struct TestType { struct
54 TestType() {} in TestType() argument
55 TestType(int a, float b, const std::string& c, Foo d) in TestType() argument
60 bool operator==(const TestType& other) const { in operator ==() argument
65 PDX_SERIALIZABLE_MEMBERS(TestType, a, b, c, d);
108 TestType tt(1, 2.0, "three", TestType::Foo::kBar); in TEST()
112 EXPECT_EQ(TestType::Foo::kBar, tt.d); in TEST()
1218 TestType t1{10, 0.0, "12345", TestType::Foo::kBaz}; in TEST()
2354 TestType t1; in TEST()
2357 EXPECT_EQ(TestType(10, 0.f, "12345", TestType::Foo::kBar), t1); in TEST()
/aosp12/art/test/721-osr/src/
H A DMain.java21 private enum TestType { enum in Main
26 private static TestType type = TestType.ONE;
/aosp12/system/iorap/src/common/
H A Dexpected.h340 struct TestType {
341 TestType() {}
342 ~TestType() {}
344 struct TestType2 : TestType {};
347 static_assert(!std::is_trivially_destructible_v<expected<TestType, /*error*/double> >);
348 static_assert(!std::is_trivially_destructible_v<expected<int, /*error*/TestType> >);
349 static_assert(!std::is_trivially_destructible_v<expected<TestType, /*error*/TestType2> >);
/aosp12/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp53 enum TestType {TEST_UNKNOWN, PING}; enum in __anon617094960110::Player
101 TestType mTest;
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DOutputTest.cpp1800 using TestType = OutputUpdateColorProfileTest; typedef
1832 struct ExecuteState : public CallOrderStateMachineHelper<TestType, ExecuteState> {
1978 : public CallOrderStateMachineHelper<TestType, IfTopLayerDataspaceState> {
2158 : public CallOrderStateMachineHelper<TestType, IfTopLayerDataspaceState> {
2442 : public CallOrderStateMachineHelper<TestType, IfDataspaceChosenState> {
2528 using TestType = OutputBeginFrameTest; typedef
2560 : public CallOrderStateMachineHelper<TestType,
2569 : public CallOrderStateMachineHelper<TestType,
2989 using TestType = OutputComposeSurfacesTest; typedef
3350 : public CallOrderStateMachineHelper<TestType, MixedCompositionState> {
[all …]
/aosp12/art/libartbase/base/
H A Dcommon_art_test.h269 template <typename TestType>
270 class CommonArtTestBase : public TestType, public CommonArtTestImpl {
/aosp12/art/runtime/
H A Dcommon_runtime_test.h225 template <typename TestType>
226 class CommonRuntimeTestBase : public TestType, public CommonRuntimeTestImpl {
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestPartitioning.cpp2142 auto TestType = [](V1_3::OperandType operandType) { in TEST_F() local
2204 TestType(static_cast<V1_3::OperandType>(type)); in TEST_F()
2208 TestType(static_cast<V1_3::OperandType>(type)); in TEST_F()