Searched refs:lightInterface (Results 1 – 3 of 3) sorted by relevance
32 const struct LightInterface *lightInterface = NewLightInterfaceInstance(); in Init() local33 if (lightInterface == nullptr || lightInterface->GetLightInfo == nullptr) { in Init()45 const struct LightInterface *lightInterface = NewLightInterfaceInstance(); in GetLightInfo() local46 if (lightInterface == nullptr || lightInterface->GetLightInfo == nullptr) { in GetLightInfo()53 int32_t ret = lightInterface->GetLightInfo(&lightInfo, &count); in GetLightInfo()78 const struct LightInterface *lightInterface = NewLightInterfaceInstance(); in TurnOnLight() local79 if (lightInterface == nullptr || lightInterface->TurnOnLight == nullptr) { in TurnOnLight()95 int32_t ret = lightInterface->TurnOnLight(lightId, &lightEffect); in TurnOnLight()107 if (lightInterface == nullptr || lightInterface->TurnOnMultiLights == nullptr) { in TurnOnMultiLights()137 if (lightInterface == nullptr || lightInterface->TurnOffLight == nullptr) { in TurnOffLight()[all …]
68 sptr<LightInterfaceStub> lightInterface = new LightInterfaceStub(g_lightInterface); in DoSomethingInterestingWithMyAPI() local69 if (lightInterface == nullptr) { in DoSomethingInterestingWithMyAPI()73 lightInterface->OnRemoteRequest(code, data, reply, option); in DoSomethingInterestingWithMyAPI()
421 const struct LightInterface *lightInterface = NewLightInterfaceInstance(); variable422 ASSERT_NE(nullptr, lightInterface);