Searched defs:sr (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/
H A DResourceTable_test.cpp151 Maybe<ResourceTable::SearchResult> sr = local
153 ASSERT_TRUE(sr);
155 sr.value().entry->FindAllValues(test::ParseConfigOrDie("land"));
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp183 int32_t sr; local
184 CHECK(meta->findInt32(kKeySampleRate, &sr));
195 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
201 channelCount, sr);
H A Dandroid_AudioSfDecoder.cpp276 int32_t sr; local
277 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr);
334 CHECK(meta->findInt32(kKeySampleRate, &sr));
353 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
766 int32_t sr; local
767 CHECK(meta->findInt32(kKeySampleRate, &sr));
772 SL_LOGV("format changed: old sr=%d, channels=%d; new sr=%d, channels=%d",
775 sr, channelCount);
777 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr;
[all...]
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp190 ResourceTable::SearchResult sr = result.value(); local
193 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic);
195 if (sr.package->id && sr.type->id && sr.entry->id) {
196 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value());
201 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig);
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp117 uint32_t sr = get_sample_rate(sf_index); local
119 if (sr == 0) {
125 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel);
131 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr;
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c151 float sr = 44100; local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0;
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768;
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;
/frameworks/av/media/extractors/aac/
H A DAACExtractor.cpp148 uint32_t sr = get_sample_rate(sf_index); local
149 if (sr == 0) {
175 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr;
/frameworks/base/core/java/android/companion/
H A DBluetoothLeDeviceFilter.java141 public String getDeviceDisplayName(ScanResult sr) { argument
143 return getDeviceDisplayNameInternal(sr.getDevice());
147 final byte[] bytes = sr.getScanRecord().getBytes();
157 getDeviceDisplayNameInternal(sr.getDevice())
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java127 final ServiceRecord sr; field in class:ServiceRecord.StartItem
142 sr = _sr;
152 uriPermissions = new UriPermissionOwner(sr.ams, this);
190 .append(Integer.toHexString(System.identityHashCode(sr)))
191 .append(' ').append(sr.shortName)
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h569 T sr = std::sin(roll); local
572 T sc = sr * cy;
573 T ss = sr * sy;
579 r[1][2] = cp * sr;

Completed in 304 milliseconds