/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 136 const int32_t streamID = mStreamManager.queueForPlay( in play() local 138 ALOGV("%s returned %d", __func__, streamID); in play() 139 return streamID; in play() 163 void SoundPool::pause(int32_t streamID) in pause() argument 165 ALOGV("%s(%d)", __func__, streamID); in pause() 167 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in pause() 168 stream->pause(streamID); in pause() 172 void SoundPool::resume(int32_t streamID) in resume() argument 174 ALOGV("%s(%d)", __func__, streamID); in resume() 176 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in resume() [all …]
|
D | SoundPool.h | 40 void pause(int32_t streamID); 42 void resume(int32_t streamID); 44 void stop(int32_t streamID); 45 void setVolume(int32_t streamID, float leftVolume, float rightVolume); 46 void setPriority(int32_t streamID, int32_t priority); 47 void setLoop(int32_t streamID, int32_t loop); 48 void setRate(int32_t streamID, float rate);
|
D | Stream.h | 83 bool requestStop(int32_t streamID); 86 void pause(int32_t streamID); 88 void resume(int32_t streamID); 98 void setVolume(int32_t streamID, float leftVolume, float rightVolume); 99 void setRate(int32_t streamID, float rate); 100 void setPriority(int32_t streamID, int priority); 101 void setLoop(int32_t streamID, int loop); 102 void setPlay(int32_t streamID, const std::shared_ptr<Sound> &sound, int32_t soundID, 126 void play_l(const std::shared_ptr<Sound>& sound, int streamID,
|
D | Stream.cpp | 73 void Stream::pause(int32_t streamID) in pause() argument 76 if (streamID == mStreamID) { in pause() 78 ALOGV("%s: track streamID: %d", __func__, streamID); in pause() 87 void Stream::resume(int32_t streamID) in resume() argument 90 if (streamID == mStreamID) { in resume() 92 ALOGV("%s: track streamID: %d", __func__, streamID); in resume() 102 void Stream::setRate(int32_t streamID, float rate) in setRate() argument 105 if (streamID == mStreamID) { in setRate() 123 void Stream::setVolume(int32_t streamID, float leftVolume, float rightVolume) in setVolume() argument 126 if (streamID == mStreamID) { in setVolume() [all …]
|
D | StreamManager.cpp | 63 Stream* StreamMap::findStream(int32_t streamID) const in findStream() 65 Stream *stream = lookupStreamFromId(streamID); in findStream() 66 return stream != nullptr && stream->getStreamID() == streamID ? stream : nullptr; in findStream() 77 Stream* StreamMap::lookupStreamFromId(int32_t streamID) const in lookupStreamFromId() 79 return streamID > 0 ? mPerfectHash->getValue(streamID).load() : nullptr; in lookupStreamFromId() 147 int32_t streamID = 0; in queueForPlay() local 225 streamID = getNextIdForStream(pairStream); in queueForPlay() 227 __func__, newStream, pairStream, streamID); in queueForPlay() 229 streamID, sound, soundID, leftVolume, rightVolume, priority, loop, rate); in queueForPlay() 241 streamID = 0; in queueForPlay() [all …]
|
D | StreamManager.h | 298 Stream* findStream(int32_t streamID) const; 337 Stream* lookupStreamFromId(int32_t streamID) const;
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 320 public native final void pause(int streamID); in pause() argument 332 public native final void resume(int streamID); in resume() argument 363 public native final void stop(int streamID); in stop() argument 377 public final void setVolume(int streamID, float leftVolume, float rightVolume) { in setVolume() argument 382 _setVolume(streamID, leftVolume, rightVolume); in setVolume() 428 public void setVolume(int streamID, float volume) { in setVolume() argument 429 setVolume(streamID, volume, volume); in setVolume() 442 public native final void setPriority(int streamID, int priority); in setPriority() argument 455 public native final void setLoop(int streamID, int loop); in setLoop() argument 469 public native final void setRate(int streamID, float rate); in setRate() argument [all …]
|
/frameworks/base/media/jni/soundpool/tests/ |
D | soundpool_stress.cpp | 159 const int32_t streamID = in testStreams() local 161 if (streamID != 0) { in testStreams() 165 " but callback events(%d) != 1\n", streamID, soundID, events); in testStreams() 168 soundPool->stop(streamID); in testStreams() 186 const int32_t streamID = in testStreams() local 188 if (streamID == 0) { in testStreams() 192 printf(" streamID=%d", streamID); in testStreams() 193 streamIDs.emplace_back(streamID); in testStreams() 206 for (int32_t streamID : streamIDs) { in testStreams() local 207 soundPool->stop(streamID); in testStreams()
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | ICameraDeviceUser.hal | 148 * @return streamID new stream ID generated. 151 generates (Status status, int32_t streamID);
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |