Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp113 setRawLightBrightness(rawId, brightness); in setLightColor()
150 context.setLightIntensities(rawId, intensities); in setLightColor()
151 setRawLightBrightness(rawId, getAlpha(color)); in setLightColor()
156 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor()
200 auto ret = context.getLightIntensities(rawId); in getLightColor()
209 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor()
220 for (const auto& [id, rawId] : rawLightIds) { in setLightPlayerId()
222 setRawLightBrightness(rawId, MAX_BRIGHTNESS); in setLightPlayerId()
224 setRawLightBrightness(rawId, 0); in setLightPlayerId()
231 for (const auto& [id, rawId] : rawLightIds) { in getLightPlayerId()
[all …]
DPeripheralController.h86 InputDeviceLightType type, int32_t rawId) in MonoLight()
87 : Light(context, name, id, type), rawId(rawId) { in MonoLight()
90 int32_t rawId; member
121 InputDeviceLightType type, int32_t rawId) in MultiColorLight()
122 : Light(context, name, id, type), rawId(rawId) { in MultiColorLight()
126 int32_t rawId; member
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/illustration/
DIllustrationTest.kt65 private val rawId = SemanticsPropertyKey<Int>("RawResId") constant in com.android.settingslib.spa.widget.illustration.IllustrationTest
66 private var SemanticsPropertyReceiver.rawId by rawId variable in com.android.settingslib.spa.widget.illustration.IllustrationTest
75 modifier = Modifier.semantics { rawId = resId } in empty_lottie_not_displayed()
80 SemanticsMatcher.expectValue(rawId, id) in empty_lottie_not_displayed()
/frameworks/native/services/inputflinger/tests/
DFakeEventHub.cpp180 void FakeEventHub::addRawLightInfo(int32_t rawId, RawLightInfo&& info) { in addRawLightInfo() argument
181 mRawLightInfos.emplace(rawId, std::move(info)); in addRawLightInfo()
184 void FakeEventHub::fakeLightBrightness(int32_t rawId, int32_t brightness) { in fakeLightBrightness() argument
185 mLightBrightness.emplace(rawId, brightness); in fakeLightBrightness()
188 void FakeEventHub::fakeLightIntensities(int32_t rawId, in fakeLightIntensities() argument
190 mLightIntensities.emplace(rawId, std::move(intensities)); in fakeLightIntensities()
589 for (const auto& [rawId, info] : mRawLightInfos) { in getRawLightIds()
590 ids.push_back(rawId); in getRawLightIds()
DFakeEventHub.h143 void addRawLightInfo(int32_t rawId, RawLightInfo&& info);
144 void fakeLightBrightness(int32_t rawId, int32_t brightness);
145 void fakeLightIntensities(int32_t rawId,
/frameworks/base/core/java/android/os/incremental/
DIncrementalStorage.java393 final byte[] rawId = idToBytes(id); in getFileMetadata()
394 return mService.getMetadataById(mId, rawId); in getFileMetadata()