/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 148 assertEquals(probability, binaryDictionary.getFrequency("word")); in testConstructingDictionaryOnMemory() 154 assertEquals(probability, binaryDictionary.getFrequency("word")); in testConstructingDictionaryOnMemory() 183 assertEquals(probability, binaryDictionary.getFrequency("aaa")); in testAddTooLongWord() 184 assertEquals(updatedProbability, binaryDictionary.getFrequency(validLongWord)); in testAddTooLongWord() 185 assertEquals(Dictionary.NOT_A_PROBABILITY, binaryDictionary.getFrequency(invalidLongWord)); in testAddTooLongWord() 186 assertEquals(updatedProbability, binaryDictionary.getFrequency("abc")); in testAddTooLongWord() 246 assertEquals(probability, binaryDictionary.getFrequency("aab")); in testAddUnigramWord() 247 assertEquals(probability, binaryDictionary.getFrequency("aac")); in testAddUnigramWord() 248 assertEquals(probability, binaryDictionary.getFrequency("aa")); in testAddUnigramWord() 249 assertEquals(probability, binaryDictionary.getFrequency("aaaa")); in testAddUnigramWord() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | TunerChannel.java | 317 public int getFrequency() { in getFrequency() method in TunerChannel 318 return mProto.getFrequency(); in getFrequency() 547 getFrequency(), in toString() 555 int ret = getFrequency() - channel.getFrequency(); in compareTo() 584 return Objects.hash(getDeliverySystemType(), getFrequency(), getProgramNumber(), getName(), in hashCode()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsPackageEntry.java | 74 return getFrequency(amountRunning, context); in getRunningFrequency() 79 return getFrequency(amountRunning, context); in getBackgroundFrequency() 166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() method in ProcStatsPackageEntry
|
D | ProcessStatsDetail.java | 216 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails() 275 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection() 375 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsPackageEntry.java | 74 return getFrequency(amountRunning, context); in getRunningFrequency() 79 return getFrequency(amountRunning, context); in getBackgroundFrequency() 166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() method in ProcStatsPackageEntry
|
D | ProcessStatsDetail.java | 216 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails() 275 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection() 375 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ReadOnlyBinaryDictionary.java | 95 public int getFrequency(final String word) { in getFrequency() method in ReadOnlyBinaryDictionary 98 return mBinaryDictionary.getFrequency(word); in getFrequency()
|
D | DictionaryCollection.java | 93 public int getFrequency(final String word) { in getFrequency() method in DictionaryCollection 96 final int tempFreq = mDictionaries.get(i).getFrequency(word); in getFrequency()
|
D | DictionaryFacilitatorImpl.java | 550 final int maxFreq = getFrequency(word); in addWordToUserHistory() 576 dictionaryGroup.getDict(Dictionary.TYPE_MAIN).getFrequency(lowerCasedWord) : in addWordToUserHistory() 680 private int getFrequency(final String word) { in getFrequency() method in DictionaryFacilitatorImpl 688 final int tempFreq = dictionary.getFrequency(word); in getFrequency()
|
D | Dictionary.java | 124 public int getFrequency(final String word) { in getFrequency() method in Dictionary
|
D | BinaryDictionary.java | 353 return getFrequency(word) != NOT_A_PROBABILITY; in isInDictionary() 357 public int getFrequency(final String word) { in getFrequency() method in BinaryDictionary
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/ |
D | WifiFrequencyPreferenceControllerTest.java | 75 when(mMockWifiInfo.getFrequency()).thenReturn(AccessPoint.LOWER_FREQ_24GHZ); in setUp() 81 when(mMockWifiInfo.getFrequency()).thenReturn(AccessPoint.LOWER_FREQ_5GHZ); in onWifiChanged_shouldHaveDetailTextSet()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TunerTsStreamer.java | 176 channel.getDeliverySystemType().getNumber(), channel.getFrequency(), in startStream() 196 channel.getFrequency(), in startStream()
|
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramSelectorExt.java | 123 if (isAmFrequency(IdentifierExt.asHdPrimary(primaryId).getFrequency())) { in identifierToProgramType() 481 public int getFrequency() { in getFrequency() method in ProgramSelectorExt.IdentifierExt.HdPrimary
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiFrequencyPreferenceController.java | 45 int frequency = getWifiInfoProvider().getWifiInfo().getFrequency(); in updateState()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallDetectionStats.java | 263 int freq = info.getFrequency(); in getWifiBand()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 406 if (info != null && info.getFrequency() != -1) { in initWifiConfigController() 407 final int frequency = info.getFrequency(); in initWifiConfigController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiConfigController.java | 391 if (info != null && info.getFrequency() != -1) { in initWifiConfigController() 392 final int frequency = info.getFrequency(); in initWifiConfigController()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 614 values.put(TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, channel.getFrequency()); in handleChannel()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 638 final int frequency = mWifiInfo.getFrequency(); in refreshFrequency()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 652 final int frequency = mWifiInfo.getFrequency(); in refreshFrequency()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 2097 when(mWifiInfo.getFrequency()).thenReturn(2450);
|