Searched refs:sampleId (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | MediaActionSound.java | 178 int sampleId, int status) { 180 if (mSoundIdToPlay == sampleId) { 181 soundPool.play(sampleId, 1.0f, 1.0f, 0, 0, 1.0f);
|
D | SoundPool.java | 470 public void onLoadComplete(SoundPool soundPool, int sampleId, int status); in onLoadComplete() argument
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 274 public void addSample(String sampleId, Map<String, String> features) { in addSample() argument 281 counter.addSample(sampleId, featureValue); in addSample() 284 int sampleCount = (mClassCounts.containsKey(sampleId)) ? in addSample() 285 mClassCounts.get(sampleId) + 1 : 1; in addSample() 286 mClassCounts.put(sampleId, sampleCount); in addSample()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 82 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/ |
D | MPEG4Writer.cpp | 323 void addOneStscTableEntry(size_t chunkId, size_t sampleId); 324 void addOneStssTableEntry(size_t sampleId); 1493 size_t chunkId, size_t sampleId) { in addOneStscTableEntry() argument 1496 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry() 1500 void MPEG4Writer::Track::addOneStssTableEntry(size_t sampleId) { in addOneStssTableEntry() argument 1501 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 2444 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { in onLoadComplete() argument 2446 int i = mSamples.indexOf(sampleId); in onLoadComplete() 4179 int sampleId = mSoundPool.load(filePath, 0); in onLoadSoundEffects() local 4180 if (sampleId <= 0) { in onLoadSoundEffects() 4183 SOUND_EFFECT_FILES_MAP[effect][1] = sampleId; in onLoadSoundEffects() 4184 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId; in onLoadSoundEffects()
|