Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/java/android/provider/
DUserDictionary.java130 int frequency, int localeType) { in addWord() argument
144 addWord(context, word, frequency, null, locale); in addWord()
159 int frequency, String shortcut, Locale locale) { in addWord() argument
166 if (frequency < FREQUENCY_MIN) frequency = FREQUENCY_MIN; in addWord()
167 if (frequency > FREQUENCY_MAX) frequency = FREQUENCY_MAX; in addWord()
173 values.put(FREQUENCY, frequency); in addWord()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java60 public int frequency; field in ScanResult
276 return ScanResult.is24GHz(frequency); in is24GHz()
291 return ScanResult.is5GHz(frequency); in is5GHz()
330 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
337 this.frequency = frequency; in ScanResult()
348 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
355 this.frequency = frequency; in ScanResult()
366 public ScanResult(String Ssid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
373 this.frequency = frequency; in ScanResult()
389 int frequency, long tsf, int distCm, int distSdCm, int channelWidth, in ScanResult() argument
[all …]
DWifiScanner.java116 public int frequency; field in WifiScanner.ChannelSpec
132 public ChannelSpec(int frequency) { in ChannelSpec() argument
133 this.frequency = frequency; in ChannelSpec()
189 dest.writeInt(channels[i].frequency); in writeToParcel()
212 int frequency = in.readInt();
214 ChannelSpec spec = new ChannelSpec(frequency);
DWifiInfo.java394 public void setFrequency(int frequency) { in setFrequency() argument
395 this.mFrequency = frequency; in setFrequency()
DRttManager.java328 public int frequency; field in RttManager.RttParams
474 dest.writeInt(params.frequency); in writeToParcel()
511 params[i].frequency = in.readInt();
/frameworks/wilhelm/src/itf/
DIVibra.c55 static SLresult IVibra_SetFrequency(SLVibraItf self, SLmilliHertz frequency) in IVibra_SetFrequency() argument
62 } else if (!(d->minFrequency <= frequency && frequency <= d->maxFrequency)) { in IVibra_SetFrequency()
67 thiz->mFrequency = frequency; in IVibra_SetFrequency()
85 SLmilliHertz frequency = thiz->mFrequency; in IVibra_GetFrequency() local
87 *pFrequency = frequency; in IVibra_GetFrequency()
DIEqualizer.c289 static SLresult IEqualizer_GetBand(SLEqualizerItf self, SLmilliHertz frequency, SLuint16 *pBand) in IEqualizer_GetBand() argument
303 float floatFreq = (float) frequency; in IEqualizer_GetBand()
307 if (!(band->mMin <= frequency && frequency <= band->mMax)) in IEqualizer_GetBand()
311 float ratio = frequency <= band->mCenter ? in IEqualizer_GetBand()
327 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_GET_BAND, frequency, &band); in IEqualizer_GetBand()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiRecordSources.java583 public static AnalogueServiceSource ofAnalogue(int broadcastType, int frequency, in ofAnalogue() argument
590 if (frequency < 0 || frequency > 0xFFFF) { in ofAnalogue()
591 Log.w(TAG, "Invalid frequency value[0x0000-0xFFFF]:" + frequency); in ofAnalogue()
593 "Invalid frequency value[0x0000-0xFFFF]:" + frequency); in ofAnalogue()
603 return new AnalogueServiceSource(broadcastType, frequency, broadcastSystem); in ofAnalogue()
630 private AnalogueServiceSource(int broadcastType, int frequency, int broadcastSystem) { in AnalogueServiceSource() argument
633 mFrequency = frequency; in AnalogueServiceSource()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanningServiceImpl.java104 list.add(channelSpec.frequency); in getAvailableChannels()
689 if (channelSpec.frequency == scanResult.frequency) { in reportScanResults()
709 if (channelSpec.frequency == scanResult.frequency) { in reportScanResults()
754 if (channelSpec.frequency == result.frequency) { in reportFullScanResult()
985 if (mChannelToBucketMap.containsKey(desiredChannelSpec.frequency)) { in getBestBucket()
986 int bucket = mChannelToBucketMap.get(desiredChannelSpec.frequency); in getBestBucket()
1006 mChannelToBucketMap.put(desiredChannelSpec.frequency, mostFrequentBucketIndex); in getBestBucket()
1012 mChannelToBucketMap.put(desiredChannelSpec.frequency, bestBucketIndex); in getBestBucket()
1060 if (DBG) localLog("desired channel " + desiredChannelSpec.frequency); in addScanRequestToBucket()
1064 if (desiredChannelSpec.frequency == bucket.channels[i].frequency) { in addScanRequestToBucket()
[all …]
DScanDetail.java27 String caps, int level, int frequency, long tsf) { in ScanDetail() argument
29 mScanResult = new ScanResult(wifiSsid, BSSID, caps, level, frequency, tsf ); in ScanDetail()
40 public ScanDetail(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanDetail() argument
43 mScanResult = new ScanResult(wifiSsid, BSSID, caps, level, frequency, tsf ); in ScanDetail()
67 mScanResult.frequency = freq; in updateResults()
DWifiAutoJoinController.java1069 + " freq=" + b.frequency in attemptRoam()
1072 + " freq=" + a.frequency); in attemptRoam()
1119 + "/" + Integer.toString(bRssiBoost5) + " freq=" + b.frequency in attemptRoam()
1122 + "/" + Integer.toString(aRssiBoost5) + " freq=" + a.frequency); in attemptRoam()
1136 " Found " + a.BSSID + " rssi=" + a.level + " freq=" + a.frequency); in attemptRoam()
1758 + " freq=" + result.frequency in attemptAutoJoin()
1878 + " freq=" + roamCandidate.frequency); in attemptAutoJoin()
1905 + roamCandidate.BSSID + " freq=" + roamCandidate.frequency in attemptAutoJoin()
DWifiNative.java1358 int frequency; field in WifiNative.ChannelSettings
1535 result.centerFreq0 = result.frequency + 20; in populateScanResult()
1537 result.centerFreq0 = result.frequency - 20; in populateScanResult()
1550 " PrimaryFreq: " + result.frequency +" mCenterfreq0: " + result.centerFreq0 + in populateScanResult()
2300 + " " + results[i].level + " " + results[i].frequency); in onPnoNetworkFound()
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd31 <p>The optimal frequency of regular updates will vary based on device state, network connectivity, …
33 …discusses how to build battery-efficient apps that modify their refresh frequency based on the sta…
35 <p>This lesson will examine how your refresh frequency can be varied to best mitigate the effect of…
51 <p>Where polling is required, it's good practice to set the default data refresh frequency of your …
67 …he impact of these scheduled alarms by opportunistically reducing their frequency based on how rec…
69frequency of your updates (and / or the degree of prefetching you perform) if the app hasn't been …
91 … important, an exponential back-off algorithm can be used to reduce the frequency of retries in or…
Dconnectivity_patterns.jd34 …reempt scheduled updates, and potentially even temporarily increase the frequency of regular updat…
42 …adio active for longer periods during each transfer session to reduce the frequency of updates.</p>
/frameworks/base/libs/common_time/
Dclock_recovery.h41 void reset(bool position, bool frequency);
96 void reset_l(bool position, bool frequency);
Dclock_recovery.cpp108 void ClockRecoveryLoop::reset(bool position, bool frequency) { in reset() argument
110 reset_l(position, frequency); in reset()
307 void ClockRecoveryLoop::reset_l(bool position, bool frequency) { in reset_l() argument
315 if (frequency) { in reset_l()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java516 if (result.frequency >= LOWER_FREQ_5GHZ in getVisibilityStatus()
517 && result.frequency <= HIGHER_FREQ_5GHZ) { in getVisibilityStatus()
521 } else if (result.frequency >= LOWER_FREQ_24GHZ in getVisibilityStatus()
522 && result.frequency <= HIGHER_FREQ_24GHZ) { in getVisibilityStatus()
531 if (result.frequency >= LOWER_FREQ_5GHZ in getVisibilityStatus()
532 && result.frequency <= HIGHER_FREQ_5GHZ) { in getVisibilityStatus()
540 scans5GHz.append("=").append(result.frequency); in getVisibilityStatus()
551 } else if (result.frequency >= LOWER_FREQ_24GHZ in getVisibilityStatus()
552 && result.frequency <= HIGHER_FREQ_24GHZ) { in getVisibilityStatus()
560 scans24GHz.append("=").append(result.frequency); in getVisibilityStatus()
/frameworks/minikin/include/minikin/
DLineBreaker.h153 void setHyphenationFrequency(HyphenationFrequency frequency) { in setHyphenationFrequency() argument
154 mHyphenationFrequency = frequency; in setHyphenationFrequency()
/frameworks/av/media/libmedia/
DToneGenerator.cpp1373 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; in prepareWave() local
1374 while (frequency) { in prepareWave()
1376 if (mWaveGens.indexOfKey(frequency) == NAME_NOT_FOUND) { in prepareWave()
1379 frequency, in prepareWave()
1381 mWaveGens.add(frequency, lpWaveGen); in prepareWave()
1383 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; in prepareWave()
1503 unsigned short frequency, float volume) { in WaveGenerator() argument
1507 F_div_Fs = frequency / (double)samplingRate; in WaveGenerator()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dlag_wind.tab22 | Sampling frequency = 12800 Hz |
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBNNMTest.java88 private void addByteNoise(byte[] data, int count, float frequency, int maxDelta) { in addByteNoise() argument
91 if (rand.nextFloat() < frequency) { in addByteNoise()
/frameworks/base/media/java/android/media/audiofx/
DEqualizer.java298 public short getBand(int frequency) in getBand() argument
304 param[1] = frequency; in getBand()
/frameworks/av/include/media/
DToneGenerator.h293 WaveGenerator(unsigned short samplingRate, unsigned short frequency,
/frameworks/base/docs/html/tv/adt-1/
Dregulatory.jd27 uses and can radiate radio frequency energy and, if not installed and used in accordance with the
54 frequency exposure limits. The Wireless Device should be used in such a manner such that the
/frameworks/base/docs/html/tools/help/
Dsystrace.jd301 <td>Trace CPU frequency changes. Only changes to the CPU frequency are logged, so the initial
302 frequency of the CPU when tracing starts is not shown.</td>
314 <td>Trace CPU load. This value is a percentage determined by the interactive CPU frequency

123