Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java579 ScanResult sr = new ScanResult(
598 sr.seen = in.readLong();
599 sr.untrusted = in.readInt() != 0;
600 sr.numConnection = in.readInt();
601 sr.numUsage = in.readInt();
602 sr.numIpConfigFailures = in.readInt();
603 sr.isAutoJoinCandidate = in.readInt();
604 sr.venueName = in.readString();
605 sr.operatorFriendlyName = in.readString();
606 sr.flags = in.readLong();
[all …]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dbwfilter.rs20 static float sr = 0.f;
26 sr = rw;
31 imageMin = fmin(sr,imageMin);
33 imageMax = fmax(sr,imageMax);
37 sr /= avg;
42 float r = in->r * sr;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dbwfilter.rs20 static float sr = 0.f;
26 sr = rw;
31 imageMin = fmin(sr,imageMin);
33 imageMax = fmax(sr,imageMax);
37 sr /= avg;
42 float r = in->r * sr;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dbwfilter.rs20 static float sr = 0.f;
26 sr = rw;
31 imageMin = fmin(sr,imageMin);
33 imageMax = fmax(sr,imageMax);
37 sr /= avg;
42 float r = in->r * sr;
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java744 ServiceRecord sr = proc.services.valueAt(i); in updateServiceForegroundLocked() local
745 if (sr.isForeground) { in updateServiceForegroundLocked()
756 ServiceRecord sr = proc.services.valueAt(i); in updateWhitelistManagerLocked() local
757 if (sr.whitelistManager) { in updateWhitelistManagerLocked()
793 ServiceRecord sr = proc.services.valueAt(i); in updateServiceClientActivitiesLocked() local
794 for (int conni=sr.connections.size()-1; conni>=0 && !anyClientActivities; conni--) { in updateServiceClientActivitiesLocked()
795 ArrayList<ConnectionRecord> clist = sr.connections.valueAt(conni); in updateServiceClientActivitiesLocked()
2330 ServiceRecord sr = null; in attachApplicationLocked() local
2333 sr = mPendingServices.get(i); in attachApplicationLocked()
2334 if (proc != sr.isolatedProc && (proc.uid != sr.appInfo.uid in attachApplicationLocked()
[all …]
DServiceRecord.java122 final ServiceRecord sr; field in ServiceRecord.StartItem
136 sr = _sr; in StartItem()
145 uriPermissions = new UriPermissionOwner(sr.ams, this); in getUriPermissionsLocked()
163 .append(Integer.toHexString(System.identityHashCode(sr))) in toString()
164 .append(' ').append(sr.shortName) in toString()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp114 ResourceTable::SearchResult sr = result.value(); in findByName() local
117 symbol->isPublic = (sr.entry->symbolStatus.state == SymbolState::kPublic); in findByName()
119 if (sr.package->id && sr.type->id && sr.entry->id) { in findByName()
120 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); in findByName()
125 ResourceConfigValue* configValue = sr.entry->findValue(kDefaultConfig); in findByName()
/frameworks/wilhelm/src/android/
DAacBqToPcmCbRenderer.cpp183 int32_t sr; in onPrepare() local
184 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
195 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in onPrepare()
201 channelCount, sr); in onPrepare()
Dandroid_AudioSfDecoder.cpp272 int32_t sr; in onPrepare() local
273 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare()
330 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
349 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in onPrepare()
762 int32_t sr; in hasNewDecodeParams() local
763 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
771 sr, channelCount); in hasNewDecodeParams()
773 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in hasNewDecodeParams()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp115 uint32_t sr = get_sample_rate(sf_index); in AacAdtsExtractor() local
117 if (sr == 0) { in AacAdtsExtractor()
123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); in AacAdtsExtractor()
129 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AacAdtsExtractor()
/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java380 double sr = r / 255.0; in RGBToXYZ() local
381 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ()
387 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()
388 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()
389 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java500 double sr = r / 255.0; in RGBToXYZ() local
501 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ()
507 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ()
508 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ()
509 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()
DStateMachine.java2026 StringWriter sr = new StringWriter(); in toString() local
2027 PrintWriter pr = new PrintWriter(sr); in toString()
2031 return sr.toString(); in toString()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp143 Maybe<ResourceTable::SearchResult> sr = table.findResource( in TEST() local
145 AAPT_ASSERT_TRUE(sr); in TEST()
146 std::vector<ResourceConfigValue*> values = sr.value().entry->findAllValues( in TEST()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java802 boolean sr = (flag & NdefRecord.FLAG_SR) != 0; in parse()
822 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse()
937 boolean sr = mPayload.length < 256; in writeToByteBuffer()
941 (sr ? FLAG_SR : 0) | (il ? FLAG_IL : 0) | mTnf); in writeToByteBuffer()
945 if (sr) { in writeToByteBuffer()
965 boolean sr = mPayload.length < 256; in getByteLength()
968 if (!sr) length += 3; in getByteLength()
/frameworks/av/media/libstagefright/
DAACExtractor.cpp162 uint32_t sr = get_sample_rate(sf_index); in AACExtractor() local
163 if (sr == 0) { in AACExtractor()
187 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AACExtractor()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c151 float sr = 44100; in main() local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; in main()
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; in main()
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; in main()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java77 final SecureRandom sr = new SecureRandom(); in generate() local
78 return generate(sr); in generate()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java173 for (ScanResult sr : scanResultLocal) { in testWifiScanning()
174 logv(String.format("scan result: " + sr.toString())); in testWifiScanning()
175 if (mSsid.equals(sr.SSID)) { in testWifiScanning()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java387 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() local
389 assertEquals(1, sr.length); in testArrays()
390 assertEquals("s0[0]", sr[0]); in testArrays()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java340 SignatureReader sr = new SignatureReader(signature); in considerSignature() local
343 sr.accept(new MySignatureVisitor()); in considerSignature()
DAsmAnalyzer.java477 SignatureReader sr = new SignatureReader(signature); in considerSignature() local
480 sr.accept(new MySignatureVisitor()); in considerSignature()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java570 ScanResult sr= netList.get(i); in connectToWifiWithConfiguration() local
571 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration()
/frameworks/base/core/java/android/app/
DInstrumentation.java362 SyncRunnable sr = new SyncRunnable(runner); in runOnMainSync() local
363 mThread.getHandler().post(sr); in runOnMainSync()
364 sr.waitForComplete(); in runOnMainSync()
/frameworks/base/docs/html/ndk/guides/
Dcpp-support.jd154 version. For more information, see <a href="#sr">Static runtimes</a>.</p>
269 <h3 id="sr">Static runtimes</h3>

12