HomeSort by relevance Sort by last modified time
    Searched full:sampleid (Results 1 - 25 of 64) sorted by null

1 2 3

  /frameworks/base/media/jni/soundpool/
SoundPoolThread.cpp 101 void SoundPoolThread::loadSample(int sampleID) {
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
105 void SoundPoolThread::doLoadSample(int sampleID) {
106 sp <Sample> sample = mSoundPool->findSample(sampleID);
111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
SoundPool.h 55 Sample(int sampleID, int fd, int64_t offset, int64_t length);
57 int sampleID() { return mSampleID; }
169 bool unload(int sampleID);
170 int play(int sampleID, float leftVolume, float rightVolume, int priority,
185 void sampleLoaded(int sampleID);
186 sp<Sample> findSample(int sampleID);
198 sp<Sample> findSample_l(int sampleID);
201 SoundChannel* allocateChannel_l(int priority, int sampleID);
SoundPoolThread.h 45 void loadSample(int sampleID);
54 void doLoadSample(int sampleID);
SoundPool.cpp 188 sp<Sample> SoundPool::findSample(int sampleID)
191 return findSample_l(sampleID);
194 sp<Sample> SoundPool::findSample_l(int sampleID)
196 return mSamples.valueFor(sampleID);
223 int sampleID;
226 sampleID = ++mNextSampleID;
227 sp<Sample> sample = new Sample(sampleID, fd, offset, length);
228 mSamples.add(sampleID, sample);
236 mDecodeThread->loadSample(sampleID);
237 return sampleID;
    [all...]
android_media_SoundPool.cpp 61 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) {
65 return ap->unload(sampleID) ? JNI_TRUE : JNI_FALSE;
69 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID,
76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
  /cts/tests/tests/media/src/android/media/cts/
SoundPoolTest.java 145 int sampleID = loadSampleSync(getSoundA(), PRIORITY);
153 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate);
167 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate);
182 mSoundPool.unload(sampleID);
265 public void onLoadComplete(SoundPool pool, int sampleId, int status) {
269 loadIds[loaded[0]++] = sampleId;
342 private int loadSampleSync(int sampleId, int prio) throws InterruptedException {
343 int sample = mSoundPool.load(mContext, sampleId, prio);
350 * @param sampleId The sample ID.
353 private void waitUntilLoaded(int sampleId) throws InterruptedException
    [all...]
AudioPlaybackConfigurationTest.java 322 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) {
  /system/extras/simpleperf/
record.h 175 // SampleId is optional at the end of a record in binary format. Its content is
178 // and sample_type inside the SampleId structure.
179 struct SampleId {
190 SampleId();
209 // SampleId (optional part at the end of a record)
210 // We hold the common parts (RecordHeader and SampleId) in the base class
214 SampleId sample_id;
record.cpp 68 SampleId::SampleId() { memset(this, 0, sizeof(SampleId)); }
71 size_t SampleId::CreateContent(const perf_event_attr& attr, uint64_t event_id) {
75 // Other data are not necessary. TODO: Set missing SampleId data.
79 void SampleId::ReadFromBinaryFormat(const perf_event_attr& attr, const char* p,
105 LOG(DEBUG) << "Record SampleId part has " << end - p << " bytes left\n";
109 void SampleId::WriteToBinaryFormat(char*& p) const {
129 void SampleId::Dump(size_t indent) const {
152 size_t SampleId::Size() const
    [all...]
  /frameworks/base/media/tests/SoundPoolTest/src/com/android/
SoundPoolTest.java 82 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) {
84 if (DEBUG) Log.d(LOG_TAG, "Sample " + sampleId + " load status = " + status);
88 if (sampleId == mLastSample) {
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_strings.c 88 "SAMPLEID",
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/
name_mapper.cpp 133 GLCASE2(SampleId, SampleID)
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleTests.cpp 266 de::MovePtr<tcu::TextureLevel> getSingleSampledImage (deUint32 sampleId);
537 " int sampleId;\n"
541 " fragColor = subpassLoad(imageMS, pushConstants.sampleId);\n"
    [all...]
vktPipelineMultisampleInterpolationTests.cpp 501 << "Verifying that interpolateAtSample with the sample set to the current sampleID returns consistent values.\n"
503 << " => interpolateAtSample(screenCentroid, sampleID) = screenSample\n"
    [all...]
vktPipelineMultisampleShaderBuiltInTests.cpp 238 const deUint32 sampleID = dataPerSample[sampleNdx].getPixelUint(x, y, z).x();
240 if (sampleID != sampleNdx)
    [all...]
  /frameworks/base/media/java/android/media/
MediaActionSound.java 245 int sampleId, int status) {
247 if (sound.id != sampleId) {
SoundPool.java 484 * @param sampleId the sample ID of the sound loaded.
487 public void onLoadComplete(SoundPool soundPool, int sampleId, int status);
  /external/pdfium/third_party/lcms/src/
cmscgats.c 124 int SampleID; // Pos of ID
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcSampleVariablesTests.cpp 415 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
416 " o_color = texelFetch(u_texMS, coord, sampleId);\n"
720 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
721 " o_color = texelFetch(u_texMS, coord, sampleId);\n"
glcShaderMultisampleInterpolationTests.cpp 444 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
445 " o_color = texelFetch(u_texMS, coord, sampleId);\n"
  /external/deqp/external/openglcts/modules/gl/
gl4cES31CompatibilitySampleVariablesTests.cpp 413 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
414 " o_color = texelFetch(u_texMS, coord, sampleId);\n"
721 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
722 " o_color = texelFetch(u_texMS, coord, sampleId);\n"
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/Include/
BaseTypes.h 333 case EbvSampleId: return "SampleId";
  /external/deqp/external/openglcts/modules/gles31/
es31cSampleShadingTests.cpp 362 " int sampleId = int(gl_FragCoord.x) % u_samples;\n"
363 " o_color = texelFetch(u_tex, coord, sampleId);\n"
  /external/mesa3d/src/gallium/drivers/nouveau/codegen/
nv50_ir_print.cpp 221 "count", "covmask", "offset", "cent_offset", "sampleid"
  /frameworks/av/media/libstagefright/
MPEG4Writer.cpp 413 void addOneStscTableEntry(size_t chunkId, size_t sampleId);
414 void addOneStssTableEntry(size_t sampleId);
    [all...]

Completed in 1038 milliseconds

1 2 3