Home
last modified time | relevance | path

Searched refs:light (Results 1 – 25 of 47) sorted by relevance

12

/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp27 using ::android::hardware::light::V2_0::Brightness;
28 using ::android::hardware::light::V2_0::Flash;
29 using ::android::hardware::light::V2_0::ILight;
30 using ::android::hardware::light::V2_0::LightState;
31 using ::android::hardware::light::V2_0::Status;
32 using ::android::hardware::light::V2_0::Type;
93 light = ::testing::VtsHalHidlTargetTestBase::getService<ILight>( in SetUp()
96 ASSERT_NE(light, nullptr); in SetUp()
97 LOG(INFO) << "Test is remote " << light->isRemote(); in SetUp()
99 ASSERT_OK(light->getSupportedTypes([this](const hidl_vec<Type> &types) { in SetUp()
[all …]
/hardware/google/interfaces/light/1.0/default/
DLightExt.h28 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()
Dservice.cpp25 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()
Dimpl.cpp24 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()
DLight.h28 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;
Dhardware.google.light@1.0-service.rc1 service vendor.light-1-0 /vendor/bin/hw/hardware.google.light@1.0-service
2 interface hardware.google.light@1.0::ILight default
DAndroid.bp32 "android.hardware.light@2.0",
33 "hardware.google.light@1.0",
38 name: "hardware.google.light@1.0-impl",
49 name: "hardware.google.light@1.0-service",
54 init_rc: ["hardware.google.light@1.0-service.rc"],
DLight.cpp27 namespace light { namespace
157 light_device_t* light = getLightDevice(name); in HIDL_FETCH_ILight() local
159 if (light != nullptr) lights[type] = light; in HIDL_FETCH_ILight()
/hardware/interfaces/light/utils/
Dmain.cpp30 using ::android::hardware::light::V2_0::Brightness; in main()
31 using ::android::hardware::light::V2_0::Flash; in main()
32 using ::android::hardware::light::V2_0::ILight; in main()
33 using ::android::hardware::light::V2_0::LightState; in main()
34 using ::android::hardware::light::V2_0::Status; in main()
35 using ::android::hardware::light::V2_0::Type; in main()
/hardware/interfaces/tests/extension/light/2.0/default/
DLight.h27 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;
DAndroid.bp18 name: "android.hardware.tests.extension.light@2.0-service",
20 init_rc: ["android.hardware.tests.extension.light@2.0-service.rc"],
32 "android.hardware.light@2.0",
33 "android.hardware.tests.extension.light@2.0",
Dandroid.hardware.tests.extension.light@2.0-service.rc1 service vendor.light-ext-2-0 /vendor/bin/hw/android.hardware.tests.extension.light@2.0-service
Dservice.cpp27 using android::hardware::light::V2_0::ILight;
28 using android::hardware::tests::extension::light::V2_0::implementation::Light;
/hardware/interfaces/light/2.0/default/
DAndroid.bp16 name: "android.hardware.light@2.0-impl",
29 "android.hardware.light@2.0",
48 "android.hardware.light@2.0",
53 name: "android.hardware.light@2.0-service",
55 init_rc: ["android.hardware.light@2.0-service.rc"],
60 name: "android.hardware.light@2.0-service-lazy",
61 overrides: ["android.hardware.light@2.0-service"],
63 init_rc: ["android.hardware.light@2.0-service-lazy.rc"],
DLight.h28 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;
Dandroid.hardware.light@2.0-service.rc1 service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
2 interface android.hardware.light@2.0::ILight default
Dandroid.hardware.light@2.0-service-lazy.rc1 service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service-lazy
2 interface android.hardware.light@2.0::ILight default
DLight.cpp27 namespace light { namespace
164 light_device_t* light = getLightDevice(name); in HIDL_FETCH_ILight() local
166 if (light != nullptr) { in HIDL_FETCH_ILight()
167 lights[type] = light; in HIDL_FETCH_ILight()
/hardware/interfaces/tests/extension/light/2.0/
DILight.hal17 // 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.
DAndroid.bp4 name: "android.hardware.tests.extension.light@2.0",
11 "android.hardware.light@2.0",
Dtypes.hal17 package android.hardware.tests.extension.light@2.0;
22 import android.hardware.light@2.0::Brightness;
23 import android.hardware.light@2.0::LightState;
35 enum Brightness : android.hardware.light@2.0::Brightness {
53 android.hardware.light@2.0::LightState state;
/hardware/interfaces/light/2.0/
Dtypes.hal17 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 …]
DILight.hal17 package android.hardware.light@2.0;
24 * @param type logical light to set
25 * @param state describes what the light should look like.
/hardware/google/interfaces/light/1.0/
DILight.hal17 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.
DAndroid.bp4 name: "hardware.google.light@1.0",
10 "android.hardware.light@2.0",

12