Lines Matching refs:getDeviceContext
296 const std::vector<int32_t> rawLightIds = getDeviceContext().getRawLightIds(); in dump()
300 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in dump()
309 getDeviceContext().getLightBrightness(rawId).value_or(-1)); in dump()
345 const std::vector<int32_t> rawBatteryIds = getDeviceContext().getRawBatteryIds(); in configureBattries()
348 std::optional<RawBatteryInfo> rawInfo = getDeviceContext().getRawBatteryInfo(rawId); in configureBattries()
353 std::make_unique<Battery>(getDeviceContext(), rawInfo->name, rawInfo->id); in configureBattries()
371 const std::vector<int32_t> rawLightIds = getDeviceContext().getRawLightIds(); in configureLights()
375 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in configureLights()
422 std::make_unique<PlayerIdLight>(getDeviceContext(), playerIdName, ++mNextId, in configureLights()
438 std::make_unique<RgbLight>(getDeviceContext(), ++mNextId, rawRgbIds, rawGlobalId); in configureLights()
458 std::make_unique<MultiColorLight>(getDeviceContext(), rawInfo.name, ++mNextId, in configureLights()
467 std::unique_ptr<Light> light = std::make_unique<MonoLight>(getDeviceContext(), rawInfo.name, in configureLights()
475 return getDeviceContext().getBatteryCapacity(batteryId); in getBatteryCapacity()
479 return getDeviceContext().getBatteryStatus(batteryId); in getBatteryStatus()
528 return getDeviceContext().getEventHubId(); in getEventHubId()