/packages/apps/Email/src/org/apache/commons/io/ |
D | DirectoryWalker.java | 329 protected final void walk(File startDirectory, Collection results) throws IOException { in walk() argument 334 handleStart(startDirectory, results); in walk() 335 walk(startDirectory, 0, results); in walk() 336 handleEnd(results); in walk() 338 handleCancelled(startDirectory, results, cancel); in walk() 350 private void walk(File directory, int depth, Collection results) throws IOException { in walk() argument 351 checkIfCancelled(directory, depth, results); in walk() 352 if (handleDirectory(directory, depth, results)) { in walk() 353 handleDirectoryStart(directory, depth, results); in walk() 356 checkIfCancelled(directory, depth, results); in walk() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOTests.java | 293 private void runReadAndWriteTests(final List<String> results, final int bufferType, in runReadAndWriteTests() argument 295 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType, in runReadAndWriteTests() 297 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType, in runReadAndWriteTests() 299 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferType, in runReadAndWriteTests() 304 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteBuffer() local 306 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION2); in testReadAndWriteWithByteBuffer() 307 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION3_WITHOUT_DYNAMIC_UPDATE); in testReadAndWriteWithByteBuffer() 308 runReadAndWriteTests(results, USE_BYTE_BUFFER, VERSION3_WITH_DYNAMIC_UPDATE); in testReadAndWriteWithByteBuffer() 310 for (final String result : results) { in testReadAndWriteWithByteBuffer() 316 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteArray() local [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
D | Address.java | 41 final void addMailboxesTo(ArrayList<Address> results) { in addMailboxesTo() argument 42 doAddMailboxesTo(results); in addMailboxesTo() 50 protected abstract void doAddMailboxesTo(ArrayList<Address> results); in doAddMailboxesTo() argument
|
D | Builder.java | 98 ArrayList<Address> results = new ArrayList<Address>(); in buildGroupBody() local 103 results.add(buildMailbox((ASTmailbox)n)); in buildGroupBody() 107 return new MailboxList(results, true); in buildGroupBody() 168 ArrayList<String> results = new ArrayList<String>(node.jjtGetNumChildren()); in buildRoute() local 173 results.add(buildString((ASTdomain)n, true)); in buildRoute() 177 return new DomainList(results, true); in buildRoute()
|
D | AddressList.java | 82 ArrayList<Address> results = new ArrayList<Address>(); in flatten() 85 addr.addMailboxesTo(results); in flatten() 90 return new MailboxList(results, false); in flatten()
|
D | Mailbox.java | 113 protected final void doAddMailboxesTo(ArrayList<Address> results) { in doAddMailboxesTo() argument 114 results.add(this); in doAddMailboxesTo()
|
D | Group.java | 71 protected void doAddMailboxesTo(ArrayList<Address> results) { in doAddMailboxesTo() argument 73 results.add(mailboxList.get(i)); in doAddMailboxesTo()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | MultiSourceCorpus.java | 78 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { in createResult() argument 79 return new Result(query, results, latency); in createResult() 148 ArrayList<SourceResult> results = consumer.getValues(); in getSuggestions() local 150 Result result = createResult(query, results, latency); in getSuggestions() 167 public Result(String userQuery, ArrayList<SourceResult> results, int latency) { in Result() argument 169 mResults = results; in Result()
|
D | WebCorpus.java | 164 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { in createResult() argument 165 return new WebResult(query, results, latency); in createResult() 170 public WebResult(String query, ArrayList<SourceResult> results, int latency) { in WebResult() argument 171 super(query, results, latency); in WebResult()
|
D | RankAwarePromoter.java | 168 private int roundRobin(LinkedList<CorpusResult> results, int maxPromoted, int stripeSize, in roundRobin() argument 171 if (maxPromoted > 0 && !results.isEmpty()) { in roundRobin() 172 for (Iterator<CorpusResult> iter = results.iterator(); in roundRobin()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | ResultPromoterTest.java | 84 ResultFilter results = new ResultFilter(); in createResultPromoter() local 86 new RankAwarePromoter(config(), results, null), results); in createResultPromoter() 97 ResultFilter results = new ResultFilter(); in promoteSuggestions() local 98 RankAwarePromoter promoter = new RankAwarePromoter(config(), results, null); in promoteSuggestions()
|
D | SingleCorpusPromoterTest.java | 59 ArrayList<CorpusResult> results = new ArrayList<CorpusResult>(); in makeSuggestions() local 61 results.add(corpus.getSuggestions(query, 10, false)); in makeSuggestions() 63 suggestions.addCorpusResults(results); in makeSuggestions()
|
D | RankAwarePromoterTest.java | 124 ArrayList<CorpusResult> results = new ArrayList<CorpusResult>(); in getSuggestions() local 126 results.add(corpus.getSuggestions(query, 10, false)); in getSuggestions() 128 return results; in getSuggestions()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | Stopwatches.java | 57 String results = context.getString(R.string.sw_share_main, time + "\n"); in buildShareResults() local 60 return results; in buildShareResults() 62 results += context.getString(R.string.sw_share_laps) + "\n"; in buildShareResults() 64 results += String.format("%d. %s\n", i, getTimeText(laps[lapsNum-i])); in buildShareResults() 66 return results; in buildShareResults()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | SuggestedMemberListAdapter.java | 171 FilterResults results = new FilterResults(); in performFiltering() local 173 return results; in performFiltering() 207 return results; in performFiltering() 235 return results; in performFiltering() 292 results.values = suggestionsList; in performFiltering() 293 return results; in performFiltering() 297 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument 299 List<SuggestedMember> suggestionsList = (List<SuggestedMember>) results.values; in publishResults()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | IntegrationTestUtils.java | 174 List<T> results = new ArrayList<T>(); 176 results.add(clazz.cast(parent)); 181 results.addAll(getAllViews(clazz, viewGroup.getChildAt(i))); 184 return results;
|
D | FakeAsyncTaskExecutor.java | 208 List<SubmittedTask> results = Lists.newArrayList(); in getSubmittedTasksByIdentifier() local 214 results.add(task); in getSubmittedTasksByIdentifier() 219 return results; in getSubmittedTasksByIdentifier()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 213 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch() local 237 results[i] = operation.apply(this, results, i); in applyBatch() 240 return results; in applyBatch()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 218 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch() local 224 results[i] = operation.apply(this, results, i); in applyBatch() 227 return results; in applyBatch()
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | SQLiteContentProvider.java | 205 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch() local 223 results[i] = operation.apply(this, results, i); in applyBatch() 226 return results; in applyBatch()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 366 int[] results = EventInfoFragment.findNanpPhoneNumbers(text); in findPhoneNumber() local 368 assertEquals(results.length % 2, 0); in findPhoneNumber() 370 if (results.length / 2 != matches.length) { in findPhoneNumber() 372 + " matches, found " + results.length / 2); in findPhoneNumber() 375 for (int i = 0; i < results.length / 2; i++) { in findPhoneNumber() 376 CharSequence seq = text.subSequence(results[i*2], results[i*2 + 1]); in findPhoneNumber()
|
/packages/apps/Browser/src/com/android/browser/search/ |
D | OpenSearchSearchEngine.java | 149 JSONArray results = new JSONArray(content); in getSuggestions() 150 JSONArray suggestions = results.getJSONArray(1); in getSuggestions() 152 if (results.length() > 2) { in getSuggestions() 153 descriptions = results.getJSONArray(2); in getSuggestions()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 107 ContentProviderResult[] results = setupPonies(); in testInsertQueryandDelete() local 111 assertNotNull(results); in testInsertQueryandDelete() 112 assertEquals(2, results.length); in testInsertQueryandDelete() 116 MockProvider.sURIMatcher.match(MockProvider.uri(results[0].uri))); in testInsertQueryandDelete()
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 107 ContentProviderResult[] results = setupPonies(); in testInsertQueryandDelete() local 111 assertNotNull(results); in testInsertQueryandDelete() 112 assertEquals(2, results.length); in testInsertQueryandDelete() 116 MockProvider.sURIMatcher.match(MockProvider.uri(results[0].uri))); in testInsertQueryandDelete()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 139 List<File> results = new ArrayList<File>(); 141 results.addAll(findAllFiles(file)); 143 return results;
|