Home
last modified time | relevance | path

Searched refs:V1_3 (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp41 static_assert(static_cast<uint8_t>(V1_3::Effect::CLICK) ==
43 static_assert(static_cast<uint8_t>(V1_3::Effect::DOUBLE_CLICK) ==
45 static_assert(static_cast<uint8_t>(V1_3::Effect::TICK) == static_cast<uint8_t>(aidl::Effect::TICK));
46 static_assert(static_cast<uint8_t>(V1_3::Effect::THUD) == static_cast<uint8_t>(aidl::Effect::THUD));
47 static_assert(static_cast<uint8_t>(V1_3::Effect::POP) == static_cast<uint8_t>(aidl::Effect::POP));
48 static_assert(static_cast<uint8_t>(V1_3::Effect::HEAVY_CLICK) ==
50 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_1) ==
52 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_2) ==
54 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_15) ==
56 static_assert(static_cast<uint8_t>(V1_3::Effect::TEXTURE_TICK) ==
[all …]
DCommandSetExternalControl.cpp58 } else if (auto hal = getHal<V1_3::IVibrator>()) { in doMain()
59 auto status = hal->call(&V1_3::IVibrator::setExternalControl, mEnable); in doMain()
DCommandSupportsExternalControl.cpp45 auto ret = halCall(&V1_3::IVibrator::supportsExternalControl); in doMain()
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp84 return sendPowerHint(V1_3::PowerHint::INTERACTION, durationMs); in setBoost()
94 return sendPowerHint(V1_3::PowerHint::LAUNCH, data); in setMode()
96 return sendPowerHint(V1_3::PowerHint::LOW_POWER, data); in setMode()
98 return sendPowerHint(V1_3::PowerHint::SUSTAINED_PERFORMANCE, data); in setMode()
100 return sendPowerHint(V1_3::PowerHint::VR_MODE, data); in setMode()
110 HalResult<void> HidlHalWrapperV1_0::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
131 HalResult<void> HidlHalWrapperV1_1::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
139 HalResult<void> HidlHalWrapperV1_2::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
148 return sendPowerHint(V1_3::PowerHint::CAMERA_SHOT, durationMs); in setBoost()
150 return sendPowerHint(V1_3::PowerHint::CAMERA_LAUNCH, durationMs); in setBoost()
[all …]
DPowerHalLoader.cpp62 sp<V1_3::IPower> PowerHalLoader::gHalHidlV1_3 = nullptr;
121 sp<V1_3::IPower> PowerHalLoader::loadHidlV1_3() { in loadHidlV1_3()
124 static auto loadFn = []() { return V1_3::IPower::castFrom(loadHidlV1_0Locked()); }; in loadHidlV1_3()
125 return loadHal<V1_3::IPower>(gHalExists, gHalHidlV1_3, loadFn, "HIDL v1.3"); in loadHidlV1_3()
DPowerHalController.cpp42 if (sp<V1_3::IPower> halHidlV1_3 = PowerHalLoader::loadHidlV1_3()) { in connect()
/frameworks/native/services/vibratorservice/
DVibratorHalController.cpp40 namespace V1_3 = android::hardware::vibrator::V1_3;
69 sp<V1_3::IVibrator> halV1_3 = V1_3::IVibrator::castFrom(halV1_0); in connectHal()
DVibratorHalWrapper.cpp41 namespace V1_3 = android::hardware::vibrator::V1_3;
580 return performInternal(&V1_3::IVibrator::perform, getHal(), in performEffect()
584 return performInternal(&V1_3::IVibrator::perform_1_1, getHal(), in performEffect()
588 return performInternal(&V1_3::IVibrator::perform_1_2, getHal(), in performEffect()
591 if (isStaticCastValid<V1_3::Effect>(effect)) { in performEffect()
592 return performInternal(&V1_3::IVibrator::perform_1_3, getHal(), in performEffect()
593 static_cast<V1_3::Effect>(effect), strength, completionCallback); in performEffect()
604 sp<V1_3::IVibrator> hal = getHal(); in getCapabilitiesInternal()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_3Test.cpp35 namespace V1_3 = android::hardware::vibrator::V1_3;
47 class MockIVibratorV1_3 : public V1_3::IVibrator {
63 (V1_3::Effect effect, V1_0::EffectStrength strength, perform_cb cb), (override));
328 perform_1_3(Eq(V1_3::Effect::TEXTURE_TICK), Eq(V1_0::EffectStrength::LIGHT), _)) in TEST_F()
331 [](V1_3::Effect, V1_0::EffectStrength, MockIVibratorV1_3::perform_cb cb) { in TEST_F()
339 perform_1_3(Eq(V1_3::Effect::TEXTURE_TICK), Eq(V1_0::EffectStrength::MEDIUM), in TEST_F()
343 [](V1_3::Effect, V1_0::EffectStrength, MockIVibratorV1_3::perform_cb cb) { in TEST_F()
348 perform_1_3(Eq(V1_3::Effect::TEXTURE_TICK), Eq(V1_0::EffectStrength::STRONG), in TEST_F()
351 .WillOnce([](V1_3::Effect, V1_0::EffectStrength, MockIVibratorV1_3::perform_cb cb) { in TEST_F()
356 [](V1_3::Effect, V1_0::EffectStrength, MockIVibratorV1_3::perform_cb) { in TEST_F()
/frameworks/native/cmds/idlcli/
Dvibrator.h72 inline auto getService<android::hardware::vibrator::V1_3::IVibrator>(std::string name) {
73 return android::hardware::vibrator::V1_3::IVibrator::getService(name);
120 namespace V1_3 = ::android::hardware::vibrator::V1_3; variable
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp35 namespace V1_3 = android::hardware::vibrator::V1_3;
76 static_assert(static_cast<uint8_t>(V1_3::Effect::CLICK) ==
78 static_assert(static_cast<uint8_t>(V1_3::Effect::DOUBLE_CLICK) ==
80 static_assert(static_cast<uint8_t>(V1_3::Effect::TICK) == static_cast<uint8_t>(aidl::Effect::TICK));
81 static_assert(static_cast<uint8_t>(V1_3::Effect::THUD) == static_cast<uint8_t>(aidl::Effect::THUD));
82 static_assert(static_cast<uint8_t>(V1_3::Effect::POP) == static_cast<uint8_t>(aidl::Effect::POP));
83 static_assert(static_cast<uint8_t>(V1_3::Effect::HEAVY_CLICK) ==
85 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_1) ==
87 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_2) ==
89 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_15) ==
[all …]
/frameworks/native/include/powermanager/
DPowerHalLoader.h38 static sp<hardware::power::V1_3::IPower> loadHidlV1_3();
48 static sp<hardware::power::V1_3::IPower> gHalHidlV1_3 GUARDED_BY(gHalMutex);
DPowerHalWrapper.h106 virtual HalResult<void> sendPowerHint(hardware::power::V1_3::PowerHint hintId, uint32_t data);
122 HalResult<void> sendPowerHint(hardware::power::V1_3::PowerHint hintId, uint32_t data) override;
136 HalResult<void> sendPowerHint(hardware::power::V1_3::PowerHint hintId, uint32_t data) override;
143 explicit HidlHalWrapperV1_3(sp<hardware::power::V1_3::IPower> handleV1_3) in HidlHalWrapperV1_3()
148 HalResult<void> sendPowerHint(hardware::power::V1_3::PowerHint hintId, uint32_t data) override;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigProxy.java80 public android.hardware.radio.config.V1_3.IRadioConfig getHidl13() { in getHidl13()
81 return (android.hardware.radio.config.V1_3.IRadioConfig) mHidlRadioConfigProxy; in getHidl13()
DRadioConfigResponseHidl.java32 android.hardware.radio.config.V1_3.IRadioConfigResponse.Stub {
DRadioConfig.java299 android.hardware.radio.config.V1_3.IRadioConfig.getService(true)); in updateRadioConfigProxy()
/frameworks/native/services/powermanager/tests/
DPowerHalLoaderTest.cpp29 using IPowerV1_3 = android::hardware::power::V1_3::IPower;
DPowerHalWrapperHidlV1_3Test.cpp34 using PowerHintV1_3 = android::hardware::power::V1_3::PowerHint;
36 using IPowerV1_3 = android::hardware::power::V1_3::IPower;
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHidl.java97 if (android.hardware.usb.V1_3.IUsb.castFrom(mProxy) != null) { in getUsbHalVersion()
361 android.hardware.usb.V1_3.IUsb proxy in enableUsbData()
362 = android.hardware.usb.V1_3.IUsb.castFrom(mProxy); in enableUsbData()
/frameworks/av/drm/libmediadrm/
DDrmUtils.cpp209 MakeHidlFactories<::V1_3::IDrmFactory>(uuid, drmFactories, instances); in MakeDrmFactories()
231 MakeHidlFactories<::V1_3::ICryptoFactory>(uuid, cryptoFactories); in MakeCryptoFactories()
DDrmHalHidl.cpp1534 sp<drm::V1_3::IDrmFactory> factoryV1_3 = drm::V1_3::IDrmFactory::castFrom(factory); in getSupportedSchemes()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h559 class HidlHalWrapperV1_3 : public HidlHalWrapper<hardware::vibrator::V1_3::IVibrator> {
562 sp<hardware::vibrator::V1_3::IVibrator> handle) in HidlHalWrapperV1_3()
563 : HidlHalWrapper<hardware::vibrator::V1_3::IVibrator>(std::move(scheduler), in HidlHalWrapperV1_3()
/frameworks/base/core/proto/android/service/
Dusb.proto206 V1_3 = 13; enumerator
/frameworks/base/core/java/android/os/
DVibrationEffect.java29 import android.hardware.vibrator.V1_3.Effect;
/frameworks/base/boot/
Dpreloaded-classes3215 android.hardware.radio.V1_3.IRadio$Proxy
3216 android.hardware.radio.V1_3.IRadio
3217 android.hardware.radio.V1_3.IRadioIndication
3218 android.hardware.radio.V1_3.IRadioResponse
3319 android.hardware.radio.config.V1_3.IRadioConfig$Proxy
3320 android.hardware.radio.config.V1_3.IRadioConfig
3321 android.hardware.radio.config.V1_3.IRadioConfigResponse$Stub
3322 android.hardware.radio.config.V1_3.IRadioConfigResponse

12