/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 1069 ScanResult sr = new ScanResult( 1088 sr.mWifiStandard = in.readInt(); 1089 sr.seen = in.readLong(); 1090 sr.untrusted = in.readInt() != 0; 1091 sr.numUsage = in.readInt(); 1092 sr.venueName = in.readString(); 1093 sr.operatorFriendlyName = in.readString(); 1094 sr.flags = in.readLong(); 1097 sr.informationElements = new InformationElement[n]; 1099 sr.informationElements[i] = new InformationElement(); [all …]
|
/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/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/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 1756 ServiceRecord sr = proc.getRunningServiceAt(i); in updateServiceForegroundLocked() local 1757 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked() 1759 fgServiceTypes |= sr.foregroundServiceType; in updateServiceForegroundLocked() 1768 ServiceRecord sr = proc.getRunningServiceAt(i); in updateWhitelistManagerLocked() local 1769 if (sr.whitelistManager) { in updateWhitelistManagerLocked() 1805 ServiceRecord sr = proc.getRunningServiceAt(i); in updateServiceClientActivitiesLocked() local 1806 ArrayMap<IBinder, ArrayList<ConnectionRecord>> connections = sr.getConnections(); in updateServiceClientActivitiesLocked() 3686 ServiceRecord sr = null; in attachApplicationLocked() local 3689 sr = mPendingServices.get(i); in attachApplicationLocked() 3690 if (proc != sr.isolatedProc && (proc.uid != sr.appInfo.uid in attachApplicationLocked() [all …]
|
D | AppErrors.java | 708 ServiceRecord sr = app.getRunningServiceAt(i); 710 if (now > sr.restartTime + ProcessList.MIN_CRASH_INTERVAL) { 711 sr.crashCount = 1; 713 sr.crashCount++; 717 if (sr.crashCount < mService.mConstants.BOUND_SERVICE_MAX_CRASH_RETRY 718 && (sr.isForeground || procIsBoundForeground)) {
|
D | ServiceRecord.java | 150 final ServiceRecord sr; field in ServiceRecord.StartItem 165 sr = _sr; in StartItem() 175 uriPermissions = new UriPermissionOwner(sr.ams.mUgmInternal, this); in getUriPermissionsLocked() 213 .append(Integer.toHexString(System.identityHashCode(sr))) in toString() 214 .append(' ').append(sr.shortInstanceName) in toString()
|
/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.package->id && sr.type->id && sr.entry->id) { in FindByName() 201 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); in FindByName() 202 symbol->is_dynamic = (sr.package->id.value() == 0); in FindByName() 207 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); in FindByName()
|
/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/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 424 double sr = r / 255.0; in RGBToXYZ() local 425 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 431 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ() 432 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ() 433 outXyz[2] = 100 * (sr * 0.0193 + sg * 0.1192 + sb * 0.9505); in RGBToXYZ()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 146 uint32_t sr = get_sample_rate(sf_index); in AACExtractor() local 147 if (sr == 0) { in AACExtractor() 175 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AACExtractor()
|
/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 | 805 boolean sr = (flag & NdefRecord.FLAG_SR) != 0; in parse() 825 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse() 943 boolean sr = mPayload.length < 256; in writeToByteBuffer() 947 (sr ? FLAG_SR : 0) | (il ? FLAG_IL : 0) | mTnf); in writeToByteBuffer() 951 if (sr) { in writeToByteBuffer() 971 boolean sr = mPayload.length < 256; in getByteLength() 974 if (!sr) length += 3; in getByteLength()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 144 public String getDeviceDisplayName(ScanResult sr) { in getDeviceDisplayName() argument 146 return getDeviceDisplayNameInternal(sr.getDevice()); in getDeviceDisplayName() 150 final byte[] bytes = sr.getScanRecord().getBytes(); in getDeviceDisplayName() 160 getDeviceDisplayNameInternal(sr.getDevice()) in getDeviceDisplayName()
|
/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 | 794 double sr = r / 255.0; in RGBToXYZ() local 795 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 801 outXyz[0] = 100 * (sr * 0.4124 + sg * 0.3576 + sb * 0.1805); in RGBToXYZ() 802 outXyz[1] = 100 * (sr * 0.2126 + sg * 0.7152 + sb * 0.0722); in RGBToXYZ() 803 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 | 154 Maybe<ResourceTable::SearchResult> sr = in TEST() local 156 ASSERT_TRUE(sr); in TEST() 158 sr.value().entry->FindAllValues(test::ParseConfigOrDie("land")); in TEST()
|
/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalHidl.cpp | 55 [&](auto sr, auto m, auto f) { in StreamHalHidl() argument 56 mStreamPowerLog.init(sr, in StreamHalHidl() 95 [&](uint32_t sr, auto m, auto f) { in getAudioProperties() argument 96 *sampleRate = sr; in getAudioProperties()
|
/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);
|