/hardware/interfaces/light/aidl/vts/functional/ |
D | VtsHalLightTargetTest.cpp | 40 using android::hardware::light::BrightnessMode; 41 using android::hardware::light::FlashMode; 42 using android::hardware::light::HwLight; 43 using android::hardware::light::HwLightState; 44 using android::hardware::light::ILights; 45 using android::hardware::light::LightType; 65 for (const HwLight& light : supportedLights) { in TearDown() local 70 EXPECT_TRUE(lights->setLightState(light.id, off).isOk()); in TearDown() 74 for (const HwLight& light : supportedLights) { in TearDown() local 75 if (light.type == LightType::BACKLIGHT) { in TearDown() [all …]
|
/hardware/interfaces/light/2.0/vts/functional/ |
D | VtsHalLightV2_0TargetTest.cpp | 29 using ::android::hardware::light::V2_0::Brightness; 30 using ::android::hardware::light::V2_0::Flash; 31 using ::android::hardware::light::V2_0::ILight; 32 using ::android::hardware::light::V2_0::LightState; 33 using ::android::hardware::light::V2_0::Status; 34 using ::android::hardware::light::V2_0::Type; 81 light = ILight::getService(GetParam()); in SetUp() 83 ASSERT_NE(light, nullptr); in SetUp() 84 LOG(INFO) << "Test is remote " << light->isRemote(); in SetUp() 86 ASSERT_OK(light->getSupportedTypes([this](const hidl_vec<Type> &types) { in SetUp() [all …]
|
/hardware/google/interfaces/light/1.0/default/ |
D | LightExt.h | 28 namespace light { 33 using ::android::hardware::light::V2_0::LightState; 34 using ::android::hardware::light::V2_0::Status; 35 using ::android::hardware::light::V2_0::Type; 36 using HwILight = ::android::hardware::light::V2_0::ILight; 41 struct LightExt : public ::hardware::google::light::V1_0::ILight { 42 LightExt(HwILight*&& light) : mLight(light) { in LightExt()
|
D | service.cpp | 25 namespace light { namespace 39 using hardware::google::light::V1_0::implementation::LightExt; 40 using hwLight = hardware::google::light::V1_0::ILight; 45 android::sp<hwLight> light = new LightExt{ in main() local 46 android::hardware::light::V2_0::implementation::HIDL_FETCH_ILight( in main() 48 auto ret = light->registerAsService(); in main()
|
D | impl.cpp | 24 namespace light { namespace 36 using hardware::google::light::V1_0::ILight; 37 using hardware::google::light::V1_0::implementation::LightExt; 41 android::hardware::light::V2_0::implementation::HIDL_FETCH_ILight( in HIDL_FETCH_ILight()
|
D | hardware.google.light@1.0-service.rc | 1 service vendor.light-1-0 /vendor/bin/hw/hardware.google.light@1.0-service 2 interface android.hardware.light@2.0::ILight default 3 interface hardware.google.light@1.0::ILight default
|
D | Light.h | 28 namespace light { 35 using ::android::hardware::light::V2_0::ILight; 36 using ::android::hardware::light::V2_0::LightState; 37 using ::android::hardware::light::V2_0::Status; 38 using ::android::hardware::light::V2_0::Type;
|
/hardware/google/interfaces/light/1.1/default/ |
D | LightExt.h | 28 namespace light { 33 using ::android::hardware::light::V2_0::LightState; 34 using ::android::hardware::light::V2_0::Status; 35 using ::android::hardware::light::V2_0::Type; 36 using HwILight = ::android::hardware::light::V2_0::ILight; 41 struct LightExt : public ::hardware::google::light::V1_1::ILight { 42 LightExt(HwILight*&& light) : mLight(light) { in LightExt()
|
D | service.cpp | 25 namespace light { namespace 39 using hardware::google::light::V1_1::implementation::LightExt; 40 using hwLight = hardware::google::light::V1_1::ILight; 45 android::sp<hwLight> light = new LightExt{ in main() local 46 android::hardware::light::V2_0::implementation::HIDL_FETCH_ILight( in main() 48 auto ret = light->registerAsService(); in main()
|
D | hardware.google.light@1.1-service.rc | 1 service vendor.light-1-1 /vendor/bin/hw/hardware.google.light@1.1-service 2 interface android.hardware.light@2.0::ILight default 3 interface hardware.google.light@1.0::ILight default 4 interface hardware.google.light@1.1::ILight default
|
D | Light.h | 28 namespace light { 35 using ::android::hardware::light::V2_0::ILight; 36 using ::android::hardware::light::V2_0::LightState; 37 using ::android::hardware::light::V2_0::Status; 38 using ::android::hardware::light::V2_0::Type;
|
/hardware/interfaces/tests/extension/light/2.0/default/ |
D | Light.h | 27 namespace light { 31 using ::android::hardware::tests::extension::light::V2_0::LightState; 32 using ::android::hardware::tests::extension::light::V2_0::ILight; 35 using OldLightState = ::android::hardware::light::V2_0::LightState; 36 using ::android::hardware::light::V2_0::Status; 37 using ::android::hardware::light::V2_0::Type;
|
/hardware/interfaces/tests/extension/light/2.0/ |
D | ILight.hal | 17 // Would normally be 'vendor.example.extension.light@2.0' however, this is 20 package android.hardware.tests.extension.light@2.0; 22 import android.hardware.light@2.0::ILight; 23 import android.hardware.light@2.0::Status; 24 import android.hardware.light@2.0::Type; 26 interface ILight extends android.hardware.light@2.0::ILight { 34 * @param type logical light to set 35 * @param state describes what the light should look like.
|
/hardware/interfaces/light/2.0/default/ |
D | Android.bp | 25 name: "android.hardware.light@2.0-impl", 37 "android.hardware.light@2.0", 55 "android.hardware.light@2.0", 60 name: "android.hardware.light@2.0-service", 62 init_rc: ["android.hardware.light@2.0-service.rc"], 67 name: "android.hardware.light@2.0-service-lazy", 68 overrides: ["android.hardware.light@2.0-service"], 70 init_rc: ["android.hardware.light@2.0-service-lazy.rc"],
|
D | Light.h | 28 namespace light { 32 using ::android::hardware::light::V2_0::ILight; 33 using ::android::hardware::light::V2_0::LightState; 34 using ::android::hardware::light::V2_0::Status; 35 using ::android::hardware::light::V2_0::Type;
|
/hardware/interfaces/light/2.0/ |
D | types.hal | 17 package android.hardware.light@2.0; 28 * Keep the light steady on or off. 33 * Flash the light at specified rate. 38 * Flash the light using hardware assist. 50 * Light brightness is managed by a light sensor. 68 * emitting light for a single frame. 81 * These light IDs correspond to logical lights, not physical. 82 * So for example, if your INDICATOR light is in line with your 83 * BUTTONS, it might make sense to also light the INDICATOR 84 * light to a reasonable color when the BUTTONS are lit. [all …]
|
/hardware/interfaces/light/aidl/default/ |
D | lights.rs | 23 use android_hardware_light::aidl::android::hardware::light::{ 68 if let Some(light) = self.lights.lock().unwrap().get_mut(&id) { in setLightState() 69 light.state = *state; in setLightState() 78 Ok(self.lights.lock().unwrap().values().map(|light| light.hw_light).collect()) in getLights()
|
/hardware/interfaces/light/aidl/aidl_api/android.hardware.light/current/android/hardware/light/ |
D | ILights.aidl | 34 package android.hardware.light; 37 void setLightState(in int id, in android.hardware.light.HwLightState state); in setLightState() 38 android.hardware.light.HwLight[] getLights(); in getLights()
|
D | HwLightState.aidl | 34 package android.hardware.light; 38 android.hardware.light.FlashMode flashMode; 41 android.hardware.light.BrightnessMode brightnessMode;
|
/hardware/interfaces/light/aidl/aidl_api/android.hardware.light/2/android/hardware/light/ |
D | ILights.aidl | 34 package android.hardware.light; 37 void setLightState(in int id, in android.hardware.light.HwLightState state); in setLightState() 38 android.hardware.light.HwLight[] getLights(); in getLights()
|
D | HwLightState.aidl | 34 package android.hardware.light; 38 android.hardware.light.FlashMode flashMode; 41 android.hardware.light.BrightnessMode brightnessMode;
|
/hardware/interfaces/light/aidl/aidl_api/android.hardware.light/1/android/hardware/light/ |
D | ILights.aidl | 18 package android.hardware.light; 21 void setLightState(in int id, in android.hardware.light.HwLightState state); in setLightState() 22 android.hardware.light.HwLight[] getLights(); in getLights()
|
D | HwLightState.aidl | 18 package android.hardware.light; 22 android.hardware.light.FlashMode flashMode; 25 android.hardware.light.BrightnessMode brightnessMode;
|
/hardware/interfaces/light/aidl/android/hardware/light/ |
D | ILights.aidl | 17 package android.hardware.light; 19 import android.hardware.light.HwLightState; 20 import android.hardware.light.HwLight;
|
/hardware/google/interfaces/light/1.0/ |
D | ILight.hal | 17 package hardware.google.light@1.0; 19 import android.hardware.light@2.0::ILight; 20 import android.hardware.light@2.0::Status; 22 interface ILight extends android.hardware.light@2.0::ILight { 25 * Set High Brightness Mode state to light.
|