/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
H A D | ChannelSettings.java | 33 public int frequency; field in class:ChannelSettings 49 return frequency == channel.frequency; 55 return Objects.hash(frequency); 70 out.writeInt(frequency); 82 result.frequency = in.readInt();
|
H A D | NativeScanResult.java | 35 public int frequency; field in class:NativeScanResult 49 frequency = source.frequency; 68 out.writeInt(frequency); 90 result.frequency = in.readInt();
|
/frameworks/wilhelm/src/itf/ |
H A D | IVibra.cpp | 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.cpp | 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/av/media/libaaudio/examples/utils/ |
H A D | SineGenerator.h | 28 void setup(double frequency, double frameRate) { argument 30 mPhaseIncrement = frequency * M_PI * 2 / frameRate;
|
/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 | InformationElementUtil.java | 202 //convert channel index to frequency in MHz, channel 36 is 5180MHz 818 * Use frequency, max supported rate, and the existence of VHT, HT & ERP fields in scan 821 public static int determineMode(int frequency, int maxRate, boolean foundVht, argument 829 } else if (frequency < 3000) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanDetail.java | 43 String caps, int level, int frequency, long tsf, 48 caps, level, frequency, tsf); 64 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, argument 67 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf); 42 ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, long tsf, ScanResult.InformationElement[] informationElements, List<String> anqpLines) argument
|
H A D | WifiNative.java | 158 // Association frequency in MHz. 872 public int frequency; field in class:WifiNative.ChannelSettings
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | NoBandChannelHelper.java | 43 if (settings.channels[i].frequency == channel) { 77 public void addChannel(int frequency) { argument 78 mChannels.add(frequency); 162 channelSettings.frequency = mChannels.valueAt(i);
|
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 | BackgroundScanScheduler.java | 156 private WifiNative.ChannelSettings createChannelSettings(int frequency) { argument 158 channelSettings.frequency = frequency;
|
/frameworks/rs/tests/java_api/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/media/libaudioclient/ |
H A D | ToneGenerator.cpp | 1418 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; local 1419 while (frequency) { 1420 // Instantiate a wave generator if ot already done for this frequency 1421 if (mWaveGens.indexOfKey(frequency) == NAME_NOT_FOUND) { 1424 frequency, 1426 mWaveGens.add(frequency, lpWaveGen); 1428 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; 1540 // frequency: Frequency of the sine wave to generate in Hz 1548 unsigned short frequency, float volume) { 1550 double F_div_Fs; // frequency / samplingRat 1547 WaveGenerator(uint32_t samplingRate, unsigned short frequency, float volume) argument [all...] |
/frameworks/base/libs/common_time/ |
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/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/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceCallback.java | 255 * @param frequency Frequency on which this group is created. 262 int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress, 261 onGroupStarted(String groupIfName, boolean isGo, ArrayList<Byte> ssid, int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress, boolean isPersistent) argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 165 * The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating 168 public int frequency; field in class:ScanResult 200 * If the AP use 40, 80 or 160 MHz, this is the center frequency (in MHz) 201 * if the AP use 80 + 80 MHz, this is the center frequency of the first segment (in MHz) 207 * if the AP use 80 + 80 MHz, this is the center frequency of the second segment (in MHz) 356 return ScanResult.is24GHz(frequency); 371 return ScanResult.is5GHz(frequency); 436 byte[] osuProviders, String caps, int level, int frequency, long tsf) { 450 this.frequency = frequency; 435 ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, byte[] osuProviders, String caps, int level, int frequency, long tsf) argument 461 ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, long tsf, int distCm, int distSdCm) argument 479 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 504 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 | WifiInfo.java | 411 * Returns the current frequency in {@link #FREQUENCY_UNITS}. 412 * @return the frequency. 420 public void setFrequency(int frequency) { argument 421 this.mFrequency = frequency;
|
H A D | RttManager.java | 357 * communicating with the AP.Same as ScanResult.frequency 360 public int frequency; field in class:RttManager.RttParams 370 * If the AP use 40, 80 or 160 MHz, this is the center frequency 371 * if the AP use 80 + 80 MHz, this is the center frequency of the first segment 379 * if the AP use 80 + 80 MHz, this is the center frequency of the second segment 490 sb.append(", frequency=" + frequency); 541 dest.writeInt(params.frequency); 572 params[i].frequency = in.readInt(); 1097 * The primary 20 MHz frequency (i 1100 public int frequency; field in class:RttManager.ResponderConfig [all...] |
H A D | WifiScanner.java | 101 * integer with frequency in MHz i.e. channel 1 is 2412 118 * channel frequency in MHz; for example channel 1 is specified as 2412 120 public int frequency; field in class:WifiScanner.ChannelSpec 136 public ChannelSpec(int frequency) { argument 137 this.frequency = frequency; 245 dest.writeInt(channels[i].frequency); 278 int frequency = in.readInt(); 279 ChannelSpec spec = new ChannelSpec(frequency); 925 /** channel frequency (i [all...] |
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 154 void setHyphenationFrequency(HyphenationFrequency frequency) { argument 155 mHyphenationFrequency = 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/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigManagerTest.java | 1720 // Currently connected network frequency 2427 is not in the TEST_FREQ_LIST 3818 * Creates a scan detail corresponding to the provided network and given BSSID, level &frequency 3822 WifiConfiguration configuration, String bssid, int level, int frequency) { 3838 ssid, bssid, caps, level, frequency, mClock.getUptimeSinceBootMillis(), 3821 createScanDetailForNetwork( WifiConfiguration configuration, String bssid, int level, int frequency) argument
|