Home
last modified time | relevance | path

Searched refs:rawId (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp109 setRawLightBrightness(rawId, brightness); in setLightColor()
146 context.setLightIntensities(rawId, intensities); in setLightColor()
147 setRawLightBrightness(rawId, getAlpha(color)); in setLightColor()
152 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor()
196 auto ret = context.getLightIntensities(rawId); in getLightColor()
206 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor()
217 for (const auto& [id, rawId] : rawLightIds) { in setLightPlayerId()
219 setRawLightBrightness(rawId, MAX_BRIGHTNESS); in setLightPlayerId()
221 setRawLightBrightness(rawId, 0); in setLightPlayerId()
228 for (const auto& [id, rawId] : rawLightIds) { in getLightPlayerId()
[all …]
DPeripheralController.h83 int32_t rawId) in MonoLight()
84 : Light(context, name, id, InputDeviceLightType::MONO), rawId(rawId) {} in MonoLight()
85 int32_t rawId; member
116 int32_t rawId) in MultiColorLight()
117 : Light(context, name, id, InputDeviceLightType::MULTI_COLOR), rawId(rawId) {} in MultiColorLight()
118 int32_t rawId; member
/frameworks/base/core/java/android/os/incremental/
DIncrementalStorage.java392 final byte[] rawId = idToBytes(id); in getFileMetadata()
393 return mService.getMetadataById(mId, rawId); in getFileMetadata()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp286 [](uint64_t rawId) { return PhysicalDisplayId(rawId); }); in getPhysicalDisplayIds() argument
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp586 void addRawLightInfo(int32_t rawId, RawLightInfo&& info) { in addRawLightInfo() argument
587 mRawLightInfos.emplace(rawId, std::move(info)); in addRawLightInfo()
590 void fakeLightBrightness(int32_t rawId, int32_t brightness) { in fakeLightBrightness() argument
591 mLightBrightness.emplace(rawId, brightness); in fakeLightBrightness()
594 void fakeLightIntensities(int32_t rawId, in fakeLightIntensities() argument
596 mLightIntensities.emplace(rawId, std::move(intensities)); in fakeLightIntensities()
919 for (const auto& [rawId, info] : mRawLightInfos) { in getRawLightIds()
920 ids.push_back(rawId); in getRawLightIds()