Home
last modified time | relevance | path

Searched refs:createCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/vibratorservice/test/
DVibratorCallbackSchedulerTest.cpp55 std::function<void()> createCallback(int32_t id) { in createCallback() function in VibratorCallbackSchedulerTest
86 mScheduler->schedule(createCallback(1), 15ms); in TEST_F()
97 mScheduler->schedule(createCallback(1), 10ms); in TEST_F()
98 mScheduler->schedule(createCallback(2), 5ms); in TEST_F()
99 mScheduler->schedule(createCallback(3), 1ms); in TEST_F()
109 [=]() { mScheduler->schedule(createCallback(i), milliseconds(10 + 2 * i)); })); in TEST_F()
118 mScheduler->schedule(createCallback(1), 5ms); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorManagerService.cpp55 std::function<void()> createCallback(jlong vibrationId) { in createCallback() function in android::NativeVibratorManagerService
145 auto callback = service->createCallback(vibrationId); in nativeTriggerSynced()
Dcom_android_server_vibrator_VibratorController.cpp133 std::function<void()> createCallback(jlong vibrationId) { in createCallback() function in android::VibratorControllerWrapper
223 auto callback = wrapper->createCallback(vibrationId); in vibratorOn()
275 auto callback = wrapper->createCallback(vibrationId); in vibratorPerformEffect()
296 auto callback = wrapper->createCallback(vibrationId); in vibratorPerformComposedEffect()
331 auto callback = wrapper->createCallback(vibrationId); in vibratorPerformPwleEffect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt134 private fun createCallback( in <lambda>() method
171 listingCallback = createCallback(::showSeedingView) in <lambda>()
174 listingCallback = createCallback(::showInitialSetupView) in <lambda>()
181 listingCallback = createCallback(::showControlsView) in <lambda>()