/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestManyPlayers.cpp | 59 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/ |
D | LightState.java | 63 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/ |
D | PeripheralController.cpp | 216 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()
|
D | PeripheralController.h | 37 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;
|
D | PeripheralControllerInterface.h | 43 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) = 0;
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 174 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
|
D | InputManagerService.java | 1948 int playerId = mNative.getLightPlayerId(deviceId, lightId); in getLightState() local 1950 return new LightState(color, playerId); in getLightState()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputReaderFuzzer.cpp | 142 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/ |
D | InputMapper.h | 107 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) { return true; } in setLightPlayerId() argument
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 383 virtual bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) = 0;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 664 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() argument 665 return mController ? mController->setLightPlayerId(lightId, playerId) : false; in setLightPlayerId()
|
D | InputReader.cpp | 838 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/ |
D | InputReader.h | 109 bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) override;
|
D | InputDevice.h | 120 bool setLightPlayerId(int32_t lightId, int32_t playerId);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2375 jint playerId) { in nativeSetLightPlayerId() argument 2378 im->getInputManager()->getReader().setLightPlayerId(deviceId, lightId, playerId); in nativeSetLightPlayerId()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1327 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId() argument
|