Lines Matching refs:os
32 static sp<os::IExternalVibratorService> getExternalVibratorService() { in getExternalVibratorService()
34 static sp<os::IExternalVibratorService> sExternalVibratorService; in getExternalVibratorService()
41 sExternalVibratorService = interface_cast<os::IExternalVibratorService>(binder); in getExternalVibratorService()
47 os::HapticScale onExternalVibrationStart(const sp<os::ExternalVibration>& externalVibration) { in onExternalVibrationStart()
50 return os::HapticScale::mute(); in onExternalVibrationStart()
52 const sp<os::IExternalVibratorService> evs = getExternalVibratorService(); in onExternalVibrationStart()
55 os::ExternalVibrationScale ret; in onExternalVibrationStart()
59 return os::ExternalVibration::externalVibrationScaleToHapticScale(ret); in onExternalVibrationStart()
66 return os::HapticScale::mute(); in onExternalVibrationStart()
69 void onExternalVibrationStop(const sp<os::ExternalVibration>& externalVibration) { in onExternalVibrationStop()
70 const sp<os::IExternalVibratorService> evs = getExternalVibratorService(); in onExternalVibrationStop()