Home
last modified time | relevance | path

Searched refs:sampleId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java216 int sampleId = mSoundPool.load(filePath, 0); in onLoadSoundEffects() local
217 if (sampleId > 0) { in onLoadSoundEffects()
218 res.mSampleId = sampleId; in onLoadSoundEffects()
445 private Resource findResourceBySampleId(int sampleId) { in findResourceBySampleId() argument
447 if (res.mSampleId == sampleId) { in findResourceBySampleId()
522 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete() argument
526 if (res.mSampleId == sampleId && !res.mLoaded) { in onLoadComplete()
538 Resource res = findResourceBySampleId(sampleId); in onLoadComplete()
543 filePath = "with unknown sample ID " + sampleId; in onLoadComplete()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DPassthroughTrackTranscoderTests.cpp146 SampleID sampleId{buffer.get(), sampleSize}; in TEST_F() local
147 sampleChecksums.push_back(sampleId); in TEST_F()
178 SampleID sampleId{sample->buffer, static_cast<ssize_t>(sample->info.size)}; in TEST_F() local
179 EXPECT_TRUE(sampleId == sampleChecksums[sampleCount]); in TEST_F()
DMediaSampleWriterTests.cpp272 uint32_t sampleId = ++sampleCount; in newSampleWithPts() local
273 return newSample(ptsUs, 0, sampleId, sampleId, reinterpret_cast<const uint8_t*>(sampleId)); in newSampleWithPts()
/frameworks/base/media/java/android/media/
DMediaActionSound.java269 int sampleId, int status) {
271 if (sound.id != sampleId) {
DSoundPool.java491 public void onLoadComplete(SoundPool soundPool, int sampleId, int status); in onLoadComplete() argument
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java82 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete() argument
84 if (DEBUG) Log.d(LOG_TAG, "Sample " + sampleId + " load status = " + status); in onLoadComplete()
88 if (sampleId == mLastSample) { in onLoadComplete()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp455 void addOneStscTableEntry(size_t chunkId, size_t sampleId);
456 void addOneStssTableEntry(size_t sampleId);
2364 size_t chunkId, size_t sampleId) { in addOneStscTableEntry() argument
2366 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry()
2370 void MPEG4Writer::Track::addOneStssTableEntry(size_t sampleId) { in addOneStssTableEntry() argument
2371 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()