/frameworks/base/core/java/android/provider/ |
H A D | UserDictionary.java | 30 * frequency information and locale information. 78 * The frequency column. A value between 1 and 255. Higher values imply higher frequency. 81 public static final String FREQUENCY = "frequency"; 115 * Sort by descending order of frequency. 119 /** Adds a word to the dictionary, with the given frequency and the specified 133 int frequency, int localeType) { 147 addWord(context, word, frequency, null, locale); 150 /** Adds a word to the dictionary, with the given frequency and the specified 162 int frequency, Strin 132 addWord(Context context, String word, int frequency, int localeType) argument 161 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | ApConfigUtil.java | 46 * Convert frequency to channel. 47 * @param frequency frequency to convert 48 * @return channel number associated with given frequency, -1 if no match 50 public static int convertFrequencyToChannel(int frequency) { argument 51 if (frequency >= 2412 && frequency <= 2472) { 52 return (frequency - 2412) / 5 + 1; 53 } else if (frequency == 2484) { 55 } else if (frequency > [all...] |
H A D | ScanDetailUtil.java | 37 scanResult.informationElements, scanResult.anqpLines, scanResult.frequency);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | KnownBandsChannelHelper.java | 93 private boolean isDfsChannel(int frequency) { argument 96 if (frequency == dfsChannel.frequency) { 104 private int getBandFromChannel(int frequency) { argument 105 if (2400 <= frequency && frequency < 2500) { 107 } else if (isDfsChannel(frequency)) { 109 } else if (5100 <= frequency && frequency < 6000) { 125 if (settingsChannels[i].frequency 153 addChannel(int frequency) argument [all...] |
H A D | ChannelHelper.java | 126 addChannel(scanSettings.channels[j].frequency); 139 addChannel(bucketSettings.channels[j].frequency); 152 if (!containsChannel(scanSettings.channels[j].frequency)) { 168 if (containsChannel(scanSettings.channels[j].frequency)) { 185 if (!containsChannel(scanSettings.channels[j].frequency)) { 186 missingChannels.add(scanSettings.channels[j].frequency); 203 if (containsChannel(scanSettings.channels[j].frequency)) { 204 containingChannels.add(scanSettings.channels[j].frequency); 266 sb.append(channels[c].frequency); 283 sb.append(channels[c].frequency); [all...] |
H A D | NoBandChannelHelper.java | 43 if (settings.channels[i].frequency == channel) { 77 public void addChannel(int frequency) { argument 78 mChannels.add(frequency); 157 channelSettings.frequency = mChannels.valueAt(i);
|
H A D | ScanScheduleUtil.java | 42 if (channel1.frequency != channel2.frequency) return false; 134 return channelHelper.settingsContainChannel(settings, result.frequency); 161 if (channelHelper.settingsContainChannel(settings, scanResult.frequency)) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IVibra.c | 55 static SLresult IVibra_SetFrequency(SLVibraItf self, SLmilliHertz frequency) argument 62 } else if (!(d->minFrequency <= frequency && frequency <= d->maxFrequency)) { 67 thiz->mFrequency = frequency; 85 SLmilliHertz frequency = thiz->mFrequency; local 87 *pFrequency = frequency;
|
H A D | IEqualizer.c | 289 static SLresult IEqualizer_GetBand(SLEqualizerItf self, SLmilliHertz frequency, SLuint16 *pBand) argument 298 // search for band whose center frequency has the closest ratio to 1.0 303 float floatFreq = (float) frequency; 307 if (!(band->mMin <= frequency && frequency <= band->mMax)) 311 float ratio = frequency <= band->mCenter ? 327 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_GET_BAND, frequency, &band);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | RttManagerTest.java | 67 && params1.frequency == params2.frequency; 78 params.frequency = 5240; 83 params2.frequency = 5220;
|
H A D | ScanTestUtil.java | 137 channelFreqs[i] = channels[i].frequency; 254 assertEquals(prefix + "results[" + j + "].frequency", 255 expectedResult.frequency, actualResult.frequency); 326 expectedChannels.add(channel.frequency); 330 actualChannels.add(channel.frequency); 386 channelSpecs[i].frequency = channels[i]; 446 foundChannelsSet.add(bucketSettings.channels[i].frequency);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 77 * The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating 80 public int frequency; field in class:ScanResult 112 * If the AP use 40, 80 or 160 MHz, this is the center frequency (in MHz) 113 * if the AP use 80 + 80 MHz, this is the center frequency of the first segment (in MHz) 119 * if the AP use 80 + 80 MHz, this is the center frequency of the second segment (in MHz) 274 return ScanResult.is24GHz(frequency); 289 return ScanResult.is5GHz(frequency); 354 byte[] osuProviders, String caps, int level, int frequency, long tsf) { 368 this.frequency = frequency; 353 ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, byte[] osuProviders, String caps, int level, int frequency, long tsf) argument 379 ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, long tsf, int distCm, int distSdCm) argument 397 ScanResult(String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, int level, int frequency, long tsf, int distCm, int distSdCm, int channelWidth, int centerFreq0, int centerFreq1, boolean is80211McRTTResponder) argument 422 ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, int level, int frequency, long tsf, int distCm, int distSdCm, int channelWidth, int centerFreq0, int centerFreq1, boolean is80211McRTTResponder) argument [all...] |
H A D | RttManager.java | 352 * communicating with the AP.Same as ScanResult.frequency 355 public int frequency; field in class:RttManager.RttParams 365 * If the AP use 40, 80 or 160 MHz, this is the center frequency 366 * if the AP use 80 + 80 MHz, this is the center frequency of the first segment 374 * if the AP use 80 + 80 MHz, this is the center frequency of the second segment 508 dest.writeInt(params.frequency); 539 params[i].frequency = in.readInt(); 1016 * The primary 20 MHz frequency (in MHz) of the channel where responder is enabled. 1017 * @see ScanResult#frequency 1019 public int frequency; field in class:RttManager.ResponderConfig [all...] |
H A D | WifiScanner.java | 99 * integer with frequency in MHz i.e. channel 1 is 2412 116 * channel frequency in MHz; for example channel 1 is specified as 2412 118 public int frequency; field in class:WifiScanner.ChannelSpec 134 public ChannelSpec(int frequency) { argument 135 this.frequency = frequency; 229 dest.writeInt(channels[i].frequency); 255 int frequency = in.readInt(); 256 ChannelSpec spec = new ChannelSpec(frequency); 831 /** channel frequency (i [all...] |
/frameworks/base/libs/common_time/ |
H A D | clock_recovery.h | 41 void reset(bool position, bool frequency); 96 void reset_l(bool position, bool frequency); 110 // of the frequency correction.
|
H A D | clock_recovery.cpp | 108 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument 110 reset_l(position, frequency); 307 void ClockRecoveryLoop::reset_l(bool position, bool frequency) { 315 if (frequency) {
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiRecordSources.java | 578 * @param frequency 583 public static AnalogueServiceSource ofAnalogue(int broadcastType, int frequency, argument 590 if (frequency < 0 || frequency > 0xFFFF) { 591 Log.w(TAG, "Invalid frequency value[0x0000-0xFFFF]:" + frequency); 593 "Invalid frequency value[0x0000-0xFFFF]:" + frequency); 603 return new AnalogueServiceSource(broadcastType, frequency, broadcastSystem); 622 /** Used to specify the frequency use 630 AnalogueServiceSource(int broadcastType, int frequency, int broadcastSystem) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanDetail.java | 46 String caps, int level, int frequency, long tsf, 51 caps, level, frequency, tsf); 65 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, argument 68 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf); 104 mScanResult.frequency = freq; 45 ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, long tsf, ScanResult.InformationElement[] informationElements, List<String> anqpLines) argument
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 152 void setHyphenationFrequency(HyphenationFrequency frequency) { argument 153 mHyphenationFrequency = frequency;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | ScanDetailUtilTest.java | 108 assertEquals("ScanResult frequency", input.frequency, 109 output.getScanResult().frequency);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 512 if (result.frequency >= LOWER_FREQ_5GHZ 513 && result.frequency <= HIGHER_FREQ_5GHZ) { 517 } else if (result.frequency >= LOWER_FREQ_24GHZ 518 && result.frequency <= HIGHER_FREQ_24GHZ) { 525 if (result.frequency >= LOWER_FREQ_5GHZ 526 && result.frequency <= HIGHER_FREQ_5GHZ) { 534 scans5GHz.append("=").append(result.frequency); 539 } else if (result.frequency >= LOWER_FREQ_24GHZ 540 && result.frequency <= HIGHER_FREQ_24GHZ) { 548 scans24GHz.append("=").append(result.frequency); [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Equalizer.java | 26 * An Equalizer is used to alter the frequency response of a particular music source or of the main 30 * precise control of the gain in each frequency band controlled by the equalizer. 61 * Band center frequency. Parameter ID for OnParameterChangeListener 65 * Band frequency range. Parameter ID for 70 * Band for a given frequency. Parameter ID for OnParameterChangeListener 169 * Gets the number of frequency bands supported by the Equalizer engine. 206 * @param band frequency band that will have the new gain. The numbering of the bands starts 228 * @param band frequency band whose gain is requested. The numbering of the bands starts 249 * Gets the center frequency of the given band. 250 * @param band frequency ban 298 getBand(int frequency) argument [all...] |
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BNNMTest.java | 88 private void addByteNoise(byte[] data, int count, float frequency, int maxDelta) { argument 91 if (rand.nextFloat() < frequency) { 120 // and we can't get good results if the frequency of small differences is 124 // results at a 3% specified frequency, the test should fail:
|
/frameworks/av/include/media/ |
H A D | ToneGenerator.h | 296 WaveGenerator(unsigned short samplingRate, unsigned short frequency,
|
/frameworks/av/media/libmedia/ |
H A D | ToneGenerator.cpp | 1394 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; local 1395 while (frequency) { 1396 // Instantiate a wave generator if ot already done for this frequency 1397 if (mWaveGens.indexOfKey(frequency) == NAME_NOT_FOUND) { 1400 frequency, 1402 mWaveGens.add(frequency, lpWaveGen); 1404 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; 1516 // frequency: Frequency of the sine wave to generate in Hz 1524 unsigned short frequency, float volume) { 1526 double F_div_Fs; // frequency / samplingRat 1523 WaveGenerator(unsigned short samplingRate, unsigned short frequency, float volume) argument [all...] |