/frameworks/av/include/media/ |
H A D | SoundPool.h | 99 void set(const sp<Sample>& sample, int channelID, float leftVolume, 101 sp<Sample> sample() { return mSample; } function in class:android::SoundEvent 128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 201 void doLoad(sp<Sample>& sample);
|
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 79 static inline int16_t clamp16(int32_t sample) argument 81 if ((sample>>15) ^ (sample>>31)) 82 sample = 0x7FFF ^ (sample>>31); 83 return sample;
|
/frameworks/av/media/libcpustats/ |
H A D | ThreadCpuUsage.cpp | 80 // already enabled, so add a new sample relative to previous 81 return sample(ns); 83 // was disabled, but add sample for accumulated time while enabled 96 bool ThreadCpuUsage::sample(double &ns) function in class:android::ThreadCpuUsage 117 ALOGV("sample %.0f", ns); 121 ALOGW("Can't add sample because measurements have never been enabled");
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | AggregatorManager.java | 150 private ArrayList<StringString> getList(final Map<String, String> sample) { argument 152 for (Map.Entry<String, String> x : sample.entrySet()) {
|
/frameworks/opt/bitmap/sample/ |
H A D | Android.mk | 21 LOCAL_PACKAGE_NAME := bitmapcache-sample
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 433 nsecs_t sample = mResyncSamples[idx]; local 434 double samplePhase = double(sample % mPeriod) * scale; 473 nsecs_t sample = mPresentTimes[i]; local 474 if (sample > mPhase) { 475 nsecs_t sampleErr = (sample - mPhase) % period;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 31 const int length, SparseWeightVector<string> * sample) { 37 sample->SetElement(key, static_cast<double>(values[i])); 52 const int length, SparseWeightVector<string> *sample) { 54 SparseWeightVector<string>::Wmap w_ = sample->GetMap(); 455 SparseWeightVector<string> sample; local 456 CreateSparseWeightVector(env, key_array, values, values_len, &sample); 458 return classifier->ScoreSample(sample); 30 CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, const int length, SparseWeightVector<string> * sample) argument 51 DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, const int length, SparseWeightVector<string> *sample) argument
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 300 static inline int16_t clamp16(int32_t sample) argument 302 if ((sample>>15) ^ (sample>>31)) 303 sample = 0x7FFF ^ (sample>>31); 304 return sample; 632 // convert from I16 sample values to mB and write results
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.cpp | 273 LOG_ALWAYS_FATAL("Unsupported sample format %d quality %d channels", 277 LOG_ALWAYS_FATAL("Unsupported sample rate %d Hz", sampleRate); 489 int32_t sample = Interp(mX0L, in[0], phaseFraction); variable 490 out[outputIndex++] += vl * sample; 491 out[outputIndex++] += vr * sample; 514 int32_t sample = Interp(in[inputIndex-1], in[inputIndex], variable 516 out[outputIndex++] += vl * sample; 517 out[outputIndex++] += vr * sample;
|
H A D | FastMixer.cpp | 481 // sample arrays aren't accessed atomically with respect to the bounds, 574 // sample set, we get 99.8% combined, or close to three standard deviations. 584 wall.sample(wallNs); 586 loadNs.sample(sampleLoadNs); 591 kHz.sample(sampleCpukHz >> 4); 595 loadMHz.sample(adjMHz); 629 left.sample(tail[i]); 630 right.sample(tail[n - (i + 1)]);
|
H A D | Threads.cpp | 134 // and another HAL implementation corrupts memory, possibly in the sample rate converter. 214 void sample(const String8 &title); 234 void CpuStats::sample(const String8 &title function in class:android::CpuStats 244 // record sample for wall clock statistics 246 mWcStats.sample(wcNs); 259 // ignore sample for purposes of cycles 263 // if no change in CPU number or frequency, then record sample for cycle statistics 266 mHzStats.sample(cycles); 1394 // hardware sample rate 2212 - maxPeriod from frame count and sample rat [all...] |
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 613 // The slowest 1/outlierFraction sample results are ignored as potential 656 double sample = double(r.run(warmUpFrames, totalFrames)); local 662 if (sample < 0.0) { 667 samples.add(sample);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 320 int32_t sample = buffer[i]; local 321 if (sample < -32768) { 322 sample = -32768; 324 if (sample > 32767) { 325 sample = 32767; 327 samples[i] = sample;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 388 static inline int16_t clamp16(int32_t sample) argument 390 if ((sample>>15) ^ (sample>>31)) 391 sample = 0x7FFF ^ (sample>>31); 392 return sample;
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
H A D | MemoryUsageTest.java | 237 for (int sample : pssData) { 238 sum += sample;
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 17 package com.android.rs.sample;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationUsageStats.java | 451 public void addSample(long sample) { argument 456 final double delta = sample - avg;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 55 static inline int16_t clamp16(int32_t sample) argument 59 if ((sample>>15) ^ (sample>>31)) 60 sample = 0x7FFF ^ (sample>>31); 61 return sample;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 296 frameStats.sample(framelen); 361 printf("sample rate = %d\n", *((SLuint32*)u.pcmMetaData.data)); 367 printf("bits per sample = %d bits\n", *((SLuint32*)u.pcmMetaData.data)); 663 frameStats.sample(framelen);
|