/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | bwfilter.rscript | 20 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | bwfilter.rscript | 20 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/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | bwfilter.rscript | 20 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/ |
D | ProcessServiceRecord.java | 354 void addBoundClientUidsOfNewService(ServiceRecord sr) { in addBoundClientUidsOfNewService() argument 355 if (sr == null) { in addBoundClientUidsOfNewService() 358 ArrayMap<IBinder, ArrayList<ConnectionRecord>> conns = sr.getConnections(); in addBoundClientUidsOfNewService() 382 ServiceRecord sr = getRunningServiceAt(i); in incServiceCrashCountLocked() local 384 if (now > sr.restartTime + ActivityManagerConstants.MIN_CRASH_INTERVAL) { in incServiceCrashCountLocked() 385 sr.crashCount = 1; in incServiceCrashCountLocked() 387 sr.crashCount++; in incServiceCrashCountLocked() 391 if (sr.crashCount < mService.mConstants.BOUND_SERVICE_MAX_CRASH_RETRY in incServiceCrashCountLocked() 392 && (sr.isForeground || procIsBoundForeground)) { in incServiceCrashCountLocked()
|
D | ActiveServices.java | 558 final ServiceRecord sr = smap.mServicesByInstanceName.valueAt(i); in hasForegroundServiceNotificationLocked() local 559 if (sr.appInfo.packageName.equals(pkg) && sr.isForeground) { in hasForegroundServiceNotificationLocked() 560 if (Objects.equals(sr.foregroundNoti.getChannelId(), channelId)) { in hasForegroundServiceNotificationLocked() 578 final ServiceRecord sr = smap.mServicesByInstanceName.valueAt(i); in stopForegroundServicesForChannelLocked() local 579 if (sr.appInfo.packageName.equals(pkg) && sr.isForeground) { in stopForegroundServicesForChannelLocked() 580 if (Objects.equals(sr.foregroundNoti.getChannelId(), channelId)) { in stopForegroundServicesForChannelLocked() 586 stopServiceLocked(sr, false); in stopForegroundServicesForChannelLocked() 2001 private boolean withinFgsDeferRateLimit(ServiceRecord sr, final long now) { in withinFgsDeferRateLimit() argument 2004 if (now < sr.fgDisplayTime) { in withinFgsDeferRateLimit() 2006 Slog.d(TAG_SERVICE, "FGS transition for " + sr in withinFgsDeferRateLimit() [all …]
|
D | ServiceRecord.java | 200 final ServiceRecord sr; field in ServiceRecord.StartItem 215 sr = _sr; in StartItem() 225 uriPermissions = new UriPermissionOwner(sr.ams.mUgmInternal, this); in getUriPermissionsLocked() 263 .append(Integer.toHexString(System.identityHashCode(sr))) in toString() 264 .append(' ').append(sr.shortInstanceName) in toString()
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 117 uint32_t sr = get_sample_rate(sf_index); in AacAdtsExtractor() local 119 if (sr == 0) { in AacAdtsExtractor() 125 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); in AacAdtsExtractor() 131 mFrameDurationUs = (1024 * 1000000LL + (sr - 1)) / sr; in AacAdtsExtractor()
|
/frameworks/wilhelm/src/android/ |
D | AacBqToPcmCbRenderer.cpp | 183 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()
|
D | android_AudioSfDecoder.cpp | 280 int32_t sr; in onPrepare() local 281 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare() 338 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare() 357 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in onPrepare() 770 int32_t sr; in hasNewDecodeParams() local 771 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams() 779 sr, channelCount); in hasNewDecodeParams() 781 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in hasNewDecodeParams()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 195 ResourceTable::SearchResult sr = result.value(); in FindByName() local 198 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic); in FindByName() 200 if (sr.entry->id) { in FindByName() 201 symbol->id = sr.entry->id.value(); in FindByName() 203 (sr.entry->id.value().package_id() == 0) || sr.entry->visibility.staged_api; in FindByName() 208 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); in FindByName()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 455 double sr = r / 255.0; in RGBToXYZ() local 456 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 462 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ() 463 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ() 464 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()
|
/frameworks/wilhelm/tests/sandbox/ |
D | intbufq.c | 151 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/nfc/ |
D | NdefRecord.java | 807 boolean sr = (flag & NdefRecord.FLAG_SR) != 0; in parse() 827 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse() 945 boolean sr = mPayload.length < 256; in writeToByteBuffer() 949 (sr ? FLAG_SR : 0) | (il ? FLAG_IL : 0) | mTnf); in writeToByteBuffer() 953 if (sr) { in writeToByteBuffer() 973 boolean sr = mPayload.length < 256; in getByteLength() 976 if (!sr) length += 3; in getByteLength()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 148 uint32_t sr = get_sample_rate(sf_index); in AACExtractor() local 149 if (sr == 0) { in AACExtractor() 177 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AACExtractor()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 145 public String getDeviceDisplayName(ScanResult sr) { in getDeviceDisplayName() argument 147 return getDeviceDisplayNameInternal(sr.getDevice()); in getDeviceDisplayName() 151 final byte[] bytes = sr.getScanRecord().getBytes(); in getDeviceDisplayName() 161 getDeviceDisplayNameInternal(sr.getDevice()) in getDeviceDisplayName()
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 80 final SecureRandom sr = new SecureRandom(); in generate() local 81 return generate(sr); in generate()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 173 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/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 797 double sr = r / 255.0; in RGBToXYZ() local 798 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 804 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ() 805 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ() 806 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 386 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() local 388 assertEquals(1, sr.length); in testArrays() 389 assertEquals("s0[0]", sr[0]); in testArrays()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | BaseTestRunner.java | 298 StringReader sr= new StringReader(stack); in getFilteredTrace() local 301 BufferedReader br= new BufferedReader(sr, 1000); in getFilteredTrace()
|
/frameworks/native/libs/math/include/math/ |
D | TMatHelpers.h | 569 T sr = std::sin(roll); in eulerZYX() local 572 T sc = sr * cy; in eulerZYX() 573 T ss = sr * sy; in eulerZYX() 579 r[1][2] = cp * sr; in eulerZYX()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 165 Maybe<ResourceTable::SearchResult> sr = in TEST() local 167 ASSERT_TRUE(sr); in TEST() 169 sr.value().entry->FindAllValues(test::ParseConfigOrDie("land")); in TEST()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | DependencyFinder.java | 340 SignatureReader sr = new SignatureReader(signature); in considerSignature() local 343 sr.accept(new MySignatureVisitor()); in considerSignature()
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 115 const FieldSupportedValuesQueryResult& sr);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 572 ScanResult sr= netList.get(i); in connectToWifiWithConfiguration() local 573 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration()
|