Searched refs:frequency (Results 1 - 25 of 84) sorted by relevance

1234

/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp25 HyphenationFrequency frequency, bool justified,
30 frequency != HyphenationFrequency::None);
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency,
24 breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, bool justified, const MeasuredText& measuredText, const LineWidth& lineWidth, const TabStops& tabStops) argument
H A DOptimalLineBreaker.h28 HyphenationFrequency frequency, bool justified);
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java30 * 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 DApConfigUtil.java46 * 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...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
H A DChannelSettings.java33 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 DNativeScanResult.java36 public int frequency; field in class:NativeScanResult
51 frequency = source.frequency;
70 out.writeInt(frequency);
93 result.frequency = in.readInt();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DKnownBandsChannelHelper.java93 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 DChannelHelper.java130 addChannel(scanSettings.channels[j].frequency);
143 addChannel(bucketSettings.channels[j].frequency);
156 if (!containsChannel(scanSettings.channels[j].frequency)) {
172 if (containsChannel(scanSettings.channels[j].frequency)) {
189 if (!containsChannel(scanSettings.channels[j].frequency)) {
190 missingChannels.add(scanSettings.channels[j].frequency);
207 if (containsChannel(scanSettings.channels[j].frequency)) {
208 containingChannels.add(scanSettings.channels[j].frequency);
270 sb.append(channels[c].frequency);
287 sb.append(channels[c].frequency);
[all...]
H A DScanScheduleUtil.java42 if (channel1.frequency != channel2.frequency) return false;
134 return channelHelper.settingsContainChannel(settings, result.frequency);
161 if (channelHelper.settingsContainChannel(settings, scanResult.frequency)) {
/frameworks/base/wifi/java/android/net/wifi/rtt/
H A DResponderConfig.java157 * The primary 20 MHz frequency (in MHz) of the channel of the Responder.
159 public final int frequency; field in class:ResponderConfig
163 * this is the center frequency (in MHz), if the Responder uses 80 + 80 MHz, this is the
164 * center frequency of the first segment (in MHz).
170 * this is the center frequency of the second segment (in MHz).
187 * @param frequency The primary 20 MHz frequency (in MHz) of the channel of the Responder.
189 * 40, 80 or 160 MHz, this is the center frequency (in MHz), if the
190 * Responder uses 80 + 80 MHz, this is the center frequency of the first
194 * uses 80 + 80 MHz, this is the center frequency o
200 ResponderConfig(@onNull MacAddress macAddress, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
239 ResponderConfig(@onNull PeerHandle peerHandle, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
277 ResponderConfig(@onNull MacAddress macAddress, @NonNull PeerHandle peerHandle, @ResponderType int responderType, boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, @PreambleType int preamble) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIVibra.cpp55 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;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DRttManagerTest.java67 && params1.frequency == params2.frequency;
78 params.frequency = 5240;
83 params2.frequency = 5220;
H A DScoringParamsTest.java71 private void checkThresholds(int frequency) { argument
72 assertTrue(-127 < mScoringParams.getExitRssi(frequency));
73 assertTrue(mScoringParams.getExitRssi(frequency)
74 <= mScoringParams.getEntryRssi(frequency));
75 assertTrue(mScoringParams.getEntryRssi(frequency)
76 <= mScoringParams.getSufficientRssi(frequency));
77 assertTrue(mScoringParams.getSufficientRssi(frequency)
78 <= mScoringParams.getGoodRssi(frequency));
79 assertTrue(mScoringParams.getGoodRssi(frequency) < 0);
H A DWakeupEvaluatorTest.java56 private ScanResult makeScanResult(String ssid, int frequency, int level) { argument
59 scanResult.frequency = frequency;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
H A DNativeScanResultTest.java63 scanResult.frequency = TEST_FREQUENCY;
80 assertEquals(scanResult.frequency, scanResultDeserialized.frequency);
H A DSingleScanSettingsTest.java52 channelSettings1.frequency = TEST_FREQUENCY_1;
54 channelSettings2.frequency = TEST_FREQUENCY_2;
/frameworks/rs/perf-test-scripts/
H A Dget-freq38 frequency=
62 # display current frequency
64 frequency=`getprop $CPU_DIR/$core/cpufreq/scaling_cur_freq`
66 echo " Current Frequency: $frequency (Hz)"
92 # collect and print current gpu frequency
98 echo "ERROR: unable to find current GPU frequency"
H A Dset-cpu-freq30 # use passed in percent frequency
76 # find target frequency based on frequency percentage
81 # find closest frequency
85 # set frequency
103 frequency=`getprop $DIR/$core/cpufreq/scaling_cur_freq`
104 if [ $frequency != ${selectedFreq[$core]} ]; then
105 echo "$core: $frequency != ${selectedFreq[$core]}"
/frameworks/av/media/libaaudio/examples/utils/
H A DSineGenerator.h28 void setup(double frequency, double frameRate) { argument
30 mPhaseIncrement = frequency * M_PI * 2 / frameRate;
/frameworks/base/libs/common_time/
H A Dclock_recovery.h42 void reset(bool position, bool frequency);
97 void reset_l(bool position, bool frequency);
111 // of the frequency correction.
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java167 * The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating
170 public int frequency; field in class:ScanResult
202 * If the AP use 40, 80 or 160 MHz, this is the center frequency (in MHz)
203 * if the AP use 80 + 80 MHz, this is the center frequency of the first segment (in MHz)
209 * if the AP use 80 + 80 MHz, this is the center frequency of the second segment (in MHz)
364 return ScanResult.is24GHz(frequency);
379 return ScanResult.is5GHz(frequency);
462 byte[] osuProviders, String caps, int level, int frequency, long tsf) {
476 this.frequency = frequency;
461 ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, byte[] osuProviders, String caps, int level, int frequency, long tsf) argument
491 ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, long tsf, int distCm, int distSdCm) argument
513 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
542 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...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiRecordSources.java578 * @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/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiUtils.java120 if (result.frequency >= AccessPoint.LOWER_FREQ_5GHZ
121 && result.frequency <= AccessPoint.HIGHER_FREQ_5GHZ) {
133 } else if (result.frequency >= AccessPoint.LOWER_FREQ_24GHZ
134 && result.frequency <= AccessPoint.HIGHER_FREQ_24GHZ) {
180 stringBuilder.append("=").append(result.frequency);
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DScanResultTest.java134 "level: -56, frequency: 2412, timestamp: 2480, distance: 0(cm), distanceSd: 0(cm), " +
155 "level: -56, frequency: 2412, timestamp: 2480, distance: 0(cm), distanceSd: 0(cm), " +
179 result.frequency = TEST_FREQUENCY;
189 assertEquals(expected.frequency, actual.frequency);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DVelocityBasedConnectedScore.java103 int frequency = wifiInfo.getFrequency();
104 if (frequency != mFrequency) {
108 mFrequency = frequency;

Completed in 1127 milliseconds

1234