Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/vibratorservice/test/
H A DVibratorHalWrapperHidlV1_0Test.cpp118 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
289 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
311 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
322 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::CLICK, 10ms, 0.0f)); in TEST_F()
324 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::SPIN, 100ms, 0.5f)); in TEST_F()
326 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::THUD, 1000ms, 1.0f)); in TEST_F()
329 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
340 multiplePrimitives.push_back(vibrator::TestFactory::createActivePwle(0, 1, 0, 1, 10ms)); in TEST_F()
341 multiplePrimitives.push_back(vibrator::TestFactory::createBrakingPwle(Braking::NONE, 100ms)); in TEST_F()
344 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
H A Dtest_utils.h49 class TestFactory {
84 TestFactory() = delete;
85 ~TestFactory() = delete;
H A DVibratorHalWrapperAidlTest.cpp163 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
199 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
505 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
546 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
569 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::CLICK, 10ms, 0.0f)); in TEST_F()
571 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::SPIN, 100ms, 0.5f)); in TEST_F()
602 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
625 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::SPIN, 10ms, 0.5f)); in TEST_F()
656 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
676 multiplePrimitives.push_back(vibrator::TestFactory::createActivePwle(0, 1, 0, 1, 10ms)); in TEST_F()
[all …]
H A DVibratorHalWrapperHidlV1_2Test.cpp95 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
120 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
164 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
186 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
H A DVibratorHalWrapperHidlV1_1Test.cpp92 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
137 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
159 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
H A DVibratorHalWrapperHidlV1_3Test.cpp266 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
291 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
316 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
362 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
H A DVibratorManagerHalWrapperAidlTest.cpp317 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
338 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
H A DVibratorHalControllerTest.cpp232 auto callback = vibrator::TestFactory::createCountingCallback(callbackCounter.get()); in TEST_F()
/aosp12/build/soong/cc/
H A Dtesting.go557 ctx.RegisterModuleType("cc_test", TestFactory)
672 ctx.RegisterModuleType("cc_test", TestFactory)
H A Dtest.go121 android.RegisterModuleType("cc_test", TestFactory)
131 func TestFactory() android.Module { func
/aosp12/art/build/
H A Dart.go471 module := cc.TestFactory()
/aosp12/build/soong/java/
H A Djava.go50 ctx.RegisterModuleType("java_test", TestFactory)
926 func TestFactory() android.Module { func
/aosp12/system/tools/hidl/build/
H A Dhidl_interface.go835 mctx.CreateModule(cc.TestFactory, &ccProperties{