/packages/services/Car/tools/cpu_perf/ |
D | config.py | 111 words = line.split(':') 112 if words[0] == "allcores": 113 allcores = parse_ints(words[1]) 115 elif words[0] == "core_max_freq_khz": 116 pair = words[1].split('=') 118 raise ValueError("wrong config: {}".format(words[1])) 123 elif words[0] == "default_governor": 124 default_governor = words[1] 125 elif words[0] == "case": 129 config.configs[words[1]] = current_settings [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 130 final List<String> words) { in addUnigrams() argument 132 final String word = words.get(i); in addUnigrams() 140 final List<String> words, in addBigrams() argument 145 dict.setBigram(words.get(w1), words.get(w2), new ProbabilityInfo(BIGRAM_FREQ)); in addBigrams() 181 private static void checkDictionary(final FusionDictionary dict, final List<String> words, in checkDictionary() argument 186 for (final String word : words) { in checkDictionary() 196 words.get(w1)); in checkDictionary() 197 assertNotNull(words.get(w1) + "," + words.get(w2), ptNode.getBigram(words.get(w2))); in checkDictionary() 211 private static long timeReadingAndCheckDict(final File file, final List<String> words, in timeReadingAndCheckDict() argument 228 checkDictionary(dict, words, bigrams); in timeReadingAndCheckDict() [all …]
|
D | BinaryDictIOUtils.java | 78 final int bodyOffset, final Map<Integer, String> words, in readUnigramsAndBigramsBinaryInner() argument 115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner() 149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary() argument 154 readUnigramsAndBigramsBinaryInner(dictDecoder, header.mBodyOffset, words, in readUnigramsAndBigramsBinary()
|
D | AbstractDictDecoder.java | 44 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument 51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); in readUnigramsAndBigramsBinary()
|
D | DictDecoder.java | 89 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 340 final ArrayList<String> words = new ArrayList<>(); in testRandomlyAddBigramWords() local 348 words.add(word); in testRandomlyAddBigramWords() 355 final String word0 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords() 356 final String word1 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords() 482 final ArrayList<String> words = new ArrayList<>(); in testAddBigramWordsAndFlashWithGC() local 490 words.add(word); in testAddBigramWordsAndFlashWithGC() 497 final String word0 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC() 498 final String word1 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC() 545 final ArrayList<String> words = new ArrayList<>(); in testRandomOperationsAndFlashWithGC() local 552 words.add(word); in testRandomOperationsAndFlashWithGC() [all …]
|
D | SuggestedWordsTests.java | 70 private static ArrayList<SuggestedWordInfo> createCorrectionWordInfos(final String... words) { in createCorrectionWordInfos() argument 72 for (final String word : words) { in createCorrectionWordInfos()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTestsHelper.java | 80 final List<String> words = generateWords(numberOfWords, random); in addAndWriteRandomWords() local 82 addWordsToDictionary(dict, words, currentTime); in addAndWriteRandomWords() 87 final String word = words.get(i); in addAndWriteRandomWords() 101 final List<String> words, final int timestamp) { in addWordsToDictionary() argument 104 for (final String word : words) { in addWordsToDictionary()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | MetricsLogger.java | 350 String[] words = Ascii.toLowerCase(deviceName.replaceAll("[^a-zA-Z0-9 ]", "")).split(" "); in getWordBreakdownList() local 352 if (words.length > MAX_WORDS_ALLOWED_IN_DEVICE_NAME) { in getWordBreakdownList() 358 for (int start = 0; start < words.length; start++) { in getWordBreakdownList() 361 for (int end = start; end < words.length; end++) { in getWordBreakdownList() 362 deviceNameCombination.append(words[end]); in getWordBreakdownList()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationOtpDetectionHelper.java | 160 private static Matcher createDictionaryRegex(String[] words) { in createDictionaryRegex() argument 162 for (int i = 0; i < words.length; i++) { in createDictionaryRegex() 163 regex.append(words[i]); in createDictionaryRegex() 164 if (i != words.length - 1) { in createDictionaryRegex()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/ |
D | TopicsEpochComputationPrecomputedClassifier.java | 261 String[] words = log.split(" "); in getTimestampFromLog() local 263 Date parsedDate = dateFormat.parse(words[0] + " " + words[1]); in getTimestampFromLog()
|
D | TopicsEpochComputationOnDeviceClassifier.java | 257 String[] words = log.split(" "); in getTimestampFromLog() local 259 Date parsedDate = dateFormat.parse(words[0] + " " + words[1]); in getTimestampFromLog()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 114 #define DUMP_SUGGESTION(words, frequencies, index, score) \ argument 115 do { dumpWordInfo(words, frequencies, index, score); } while (0) 169 #define DUMP_SUGGESTION(words, frequencies, index, score) argument
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | FusionDictionaryTest.java | 70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() argument 74 for (final String word : words) { in checkDictionary()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesHelperLegacy.java | 276 String[] words = address.split("_"); in parseDeviceAddress() local 278 if (words[0].toLowerCase(Locale.US).startsWith("bus")) { in parseDeviceAddress() 280 addressParsed = Integer.parseInt(words[0].substring(3)); in parseDeviceAddress()
|
/packages/apps/Messaging/tools/messagegen/ |
D | fillsms | 134 local words=$(random_value $MAX_WORDS_PER_MESSAGE) 136 for k in `seq 1 $words`;
|
/packages/apps/Launcher3/src_plugins/ |
D | README.md | 1 …ugin interfaces that launcher listens for and plugins implement. In other words, these are the hoo…
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/ |
D | Cargo.toml | 23 shell-words = "1.1.0"
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitatorImpl.java | 506 final String[] words = suggestion.split(Constants.WORD_SEPARATOR); in addToUserHistory() local 508 for (int i = 0; i < words.length; i++) { in addToUserHistory() 509 final String currentWord = words[i]; in addToUserHistory()
|
/packages/apps/Launcher3/tests/assets/ReorderWidgets/ |
D | full_reorder_case | 4 # * arguments: is set of words separated by spaces that can later be parsed
|
D | push_reorder_case | 4 # * arguments: is set of words separated by spaces that can later be parsed
|
D | move_out_reorder_case | 4 # * arguments: is set of words separated by spaces that can later be parsed
|
D | simple_reorder_case | 4 # * arguments: is set of words separated by spaces that can later be parsed
|
D | multiple_cell_layouts_simple_reorder | 4 # * arguments: is set of words separated by spaces that can later be parsed
|
D | multiple_cell_layouts_no_space_reorder | 4 # * arguments: is set of words separated by spaces that can later be parsed
|