Home
last modified time | relevance | path

Searched refs:playerId (Results 1 – 16 of 16) sorted by relevance

/frameworks/wilhelm/tests/mimeUri/
DslesTestManyPlayers.cpp59 void ExitOnErrorFunc( SLresult result, int playerId, int line) in ExitOnErrorFunc() argument
62 if (playerId == -1) { in ExitOnErrorFunc()
66 result, line, playerId); in ExitOnErrorFunc()
206 void CreatePlayer(int playerId) { in CreatePlayer() argument
208 playerNum[playerId] = playerId; in CreatePlayer()
211 res = (*engineItf)->CreateAudioPlayer(engineItf, &audioPlayer[playerId], in CreatePlayer()
215 fprintf(stdout, "CreateAudioPlayer for player %d failed\n", playerId); in CreatePlayer()
216 validplayer[playerId] = false; in CreatePlayer()
219 validplayer[playerId] = true; in CreatePlayer()
222 res = (*audioPlayer[playerId])->Realize(audioPlayer[playerId], SL_BOOLEAN_FALSE); in CreatePlayer()
[all …]
/frameworks/base/core/java/android/hardware/lights/
DLightState.java63 public LightState(@ColorInt int color, int playerId) { in LightState() argument
65 mPlayerId = playerId; in LightState()
105 public Builder setPlayerId(int playerId) { in setPlayerId() argument
107 mValue = playerId; in setPlayerId()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp216 bool PeripheralController::PlayerIdLight::setLightPlayerId(int32_t playerId) { in setLightPlayerId() argument
217 if (rawLightIds.find(playerId) == rawLightIds.end()) { in setLightPlayerId()
221 if (playerId == id) { in setLightPlayerId()
429 int32_t playerId = std::stoi(results[2]); in configureLights() local
432 playerIdLightIds.insert_or_assign(playerId, rawId); in configureLights()
436 playerIdLightIds.find(playerId) == playerIdLightIds.end()) { in configureLights()
437 playerIdLightIds.insert_or_assign(playerId, rawId); in configureLights()
475 for (const auto& [playerId, rawId] : playerIdLightIds) { in configureLights()
579 bool PeripheralController::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() argument
585 return light->setLightPlayerId(playerId); in setLightPlayerId()
DPeripheralController.h37 bool setLightPlayerId(int32_t lightId, int32_t playerId) override;
74 virtual bool setLightPlayerId(int32_t playerId) { return false; } in setLightPlayerId()
141 bool setLightPlayerId(int32_t playerId) override;
DPeripheralControllerInterface.h43 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) = 0;
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java174 void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() argument
446 public native void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() argument
DInputManagerService.java1948 int playerId = mNative.getLightPlayerId(deviceId, lightId); in getLightState() local
1950 return new LightState(color, playerId); in getLightState()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp142 bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId() argument
143 return reader->setLightPlayerId(deviceId, lightId, playerId); in setLightPlayerId()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h107 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) { return true; } in setLightPlayerId() argument
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h383 virtual bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp664 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() argument
665 return mController ? mController->setLightPlayerId(lightId, playerId) : false; in setLightPlayerId()
DInputReader.cpp838 bool InputReader::setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId() argument
843 return device->setLightPlayerId(lightId, playerId); in setLightPlayerId()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h109 bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) override;
DInputDevice.h120 bool setLightPlayerId(int32_t lightId, int32_t playerId);
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2375 jint playerId) { in nativeSetLightPlayerId() argument
2378 im->getInputManager()->getReader().setLightPlayerId(deviceId, lightId, playerId); in nativeSetLightPlayerId()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1327 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId() argument