/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 | 213 bool PeripheralController::PlayerIdLight::setLightPlayerId(int32_t playerId) { in setLightPlayerId() argument 214 if (rawLightIds.find(playerId) == rawLightIds.end()) { in setLightPlayerId() 218 if (playerId == id) { in setLightPlayerId() 385 int32_t playerId = std::stoi(results[2]); in configureLights() local 388 playerIdLightIds.insert_or_assign(playerId, rawId); in configureLights() 392 playerIdLightIds.find(playerId) == playerIdLightIds.end()) { in configureLights() 393 playerIdLightIds.insert_or_assign(playerId, rawId); in configureLights() 427 for (const auto& [playerId, rawId] : playerIdLightIds) { in configureLights() 509 bool PeripheralController::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() argument 515 return light->setLightPlayerId(playerId); in setLightPlayerId()
|
D | PeripheralControllerInterface.h | 44 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) = 0;
|
D | PeripheralController.h | 38 bool setLightPlayerId(int32_t lightId, int32_t playerId) override; 74 virtual bool setLightPlayerId(int32_t playerId) { return false; } in setLightPlayerId()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 141 void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() argument 335 public native void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() argument
|
D | InputManagerService.java | 2628 int playerId = mNative.getLightPlayerId(deviceId, lightId); in getLightState() local 2630 return new LightState(color, playerId); in getLightState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 84 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) { return true; } in setLightPlayerId() argument
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 139 virtual bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) = 0;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 567 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() argument 568 return mController ? mController->setLightPlayerId(lightId, playerId) : false; in setLightPlayerId()
|
D | InputReader.cpp | 739 bool InputReader::setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId() argument 744 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 | 107 bool setLightPlayerId(int32_t lightId, int32_t playerId);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2061 jint playerId) { in nativeSetLightPlayerId() argument 2064 im->getInputManager()->getReader().setLightPlayerId(deviceId, lightId, playerId); in nativeSetLightPlayerId()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2194 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId() argument
|