Home
last modified time | relevance | path

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

12

/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DScanChannel.java23 public final int frequency; field in ScanChannel
34 int frequency, String modulation, Integer radioFrequencyNumber) { in forTuner() argument
36 Channel.TunerType.TYPE_TUNER, frequency, modulation, null, radioFrequencyNumber); in forTuner()
39 public static ScanChannel forFile(int frequency, String filename) { in forFile() argument
40 return new ScanChannel(Channel.TunerType.TYPE_FILE, frequency, "file:", filename, null); in forFile()
45 int frequency, in ScanChannel() argument
50 this.frequency = frequency; in ScanChannel()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiFrequencyPreferenceController.java45 int frequency = getWifiInfoProvider().getWifiInfo().getFrequency(); in updateState() local
47 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in updateState()
48 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in updateState()
50 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in updateState()
51 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in updateState()
54 LOG.e("Unexpected frequency " + frequency); in updateState()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java93 int frequency, @ModulationType String modulation, String channelNumber) { in tune() argument
105 if (mFrequency == frequency && Objects.equals(mModulation, modulation)) { in tune()
119 if (nativeTune(getDeviceId(), frequency, modulation, timeout_ms)) { in tune()
126 mFrequency = frequency; in tune()
135 long deviceId, int frequency, @ModulationType String modulation, int timeout_ms); in nativeTune() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java297 public void addUnigramEntry(final String word, final int frequency, in addUnigramEntry() argument
302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); in addUnigramEntry()
307 protected void addUnigramLocked(final String word, final int frequency, in addUnigramLocked() argument
309 if (!mBinaryDictionary.addUnigramEntry(word, frequency, in addUnigramLocked()
341 final int frequency, final int timestamp) { in addNgramEntry() argument
350 addNgramEntryLocked(ngramContext, word, frequency, timestamp); in addNgramEntry()
356 final int frequency, final int timestamp) { in addNgramEntryLocked() argument
357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) { in addNgramEntryLocked()
DUserBinaryDictionary.java203 final int frequency = cursor.getInt(indexFrequency); in addWordsLocked() local
204 final int adjustedFrequency = scaleFrequencyFromDefaultToLatinIme(frequency); in addWordsLocked()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DDictionaryBackupAgent.java167 int frequency = cursor.getInt(COLUMN_FREQUENCY); in getDictionary() local
173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId in getDictionary()
226 final String frequency = st.nextToken(); in restoreDictionary() local
235 int frequencyInt = Integer.parseInt(frequency); in restoreDictionary()
247 || TextUtils.isEmpty(frequency) || TextUtils.isEmpty(word)) { in restoreDictionary()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java100 mProto.frequency = INVALID_FREQUENCY; in initProto()
268 return mProto.frequency; in getFrequency()
349 public synchronized void setFrequency(int frequency) { in setFrequency() argument
350 mProto.frequency = frequency; in setFrequency()
478 mProto.frequency, in toString()
/packages/apps/TV/jni/
DDvbManager.cpp117 const int frequency, const char *modulationStr, int timeout_ms) { in tune() argument
124 if (frequency < 0) { in tune()
153 frequencyProperty.u.data = static_cast<__u32>(frequency); in tune()
182 feParams.frequency = frequency; in tune()
Dtunertvinput_jni.cpp55 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune() argument
65 int res = dvbManager->tune(env, thiz, frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined21 # starting with a `shortcut' entry and having at least a `f' frequency
26 # `bigram' entry containing the following word whose frequency should
27 # override the unigram frequency when following the word this bigram is
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DPendingAttribute.java28 public PendingAttribute(final int frequency, final int address) { in PendingAttribute() argument
29 mFrequency = frequency; in PendingAttribute()
DVer2DictEncoder.java227 private void writeFrequency(final int frequency) { in writeFrequency() argument
228 if (frequency >= 0) { in writeFrequency()
229 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, frequency, in writeFrequency()
DBinaryDictEncoderUtils.java578 final int frequency; in makeBigramFlags() local
583 frequency = unigramFrequency; in makeBigramFlags()
585 frequency = bigramFrequency; in makeBigramFlags()
587 bigramFlags += getBigramFrequencyDiff(unigramFrequency, frequency) in makeBigramFlags()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java361 int frequency = scanChannel.frequency; in scanChannels() local
363 Log.i(TAG, "Tuning to " + frequency + " " + modulation); in scanChannels()
406 tunerChannel.setFrequency(scanChannel.frequency); in addChannelsWithoutVct()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java652 final int frequency = mWifiInfo.getFrequency(); in refreshFrequency() local
654 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in refreshFrequency()
655 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in refreshFrequency()
657 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in refreshFrequency()
658 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in refreshFrequency()
661 Log.e(TAG, "Unexpected frequency " + frequency); in refreshFrequency()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java624 final int frequency = mWifiInfo.getFrequency(); in refreshFrequency() local
626 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in refreshFrequency()
627 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in refreshFrequency()
629 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in refreshFrequency()
630 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in refreshFrequency()
633 Log.e(TAG, "Unexpected frequency " + frequency); in refreshFrequency()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsDetail.java216 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails() local
218 findPreference(KEY_FREQUENCY).setSummary(frequency); in createDetails()
275 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection() local
278 getString(R.string.memory_use_running_format, memoryString, frequency)); in fillProcessesSection()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java216 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails() local
218 findPreference(KEY_FREQUENCY).setSummary(frequency); in createDetails()
275 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection() local
278 getString(R.string.memory_use_running_format, memoryString, frequency)); in fillProcessesSection()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java275 public void startDetecting(int frequency, String modulation, int programNumber) { in startDetecting() argument
277 mFrequency = frequency; in startDetecting()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java202 if (mTunerHal.tune(channel.frequency, channel.modulation, null)) { in startStream()
204 channel.frequency, channel.modulation, EventDetector.ALL_PROGRAM_NUMBERS); in startStream()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java138 int frequency = msg.arg1; in setUp()
151 mChannel.setFrequency(frequency); in setUp()
DFakeTunerHal.java54 long deviceId, int frequency, @ModulationType String modulation, int timeoutMs) { in nativeTune() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java393 final int frequency = info.getFrequency(); in initWifiConfigController() local
396 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in initWifiConfigController()
397 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in initWifiConfigController()
399 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in initWifiConfigController()
400 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in initWifiConfigController()
403 Log.e(TAG, "Unexpected frequency " + frequency); in initWifiConfigController()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java392 final int frequency = info.getFrequency(); in initWifiConfigController() local
395 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in initWifiConfigController()
396 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in initWifiConfigController()
398 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in initWifiConfigController()
399 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in initWifiConfigController()
402 Log.e(TAG, "Unexpected frequency " + frequency); in initWifiConfigController()
/packages/apps/TV/tuner/src/com/mediatek/tunerservice/
DIMtkTuner.aidl20 boolean tune(int frequency, String modulation, int timeOutMs); in tune() argument

12