Searched defs:results (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/tools/localize/
H A DPerforce_test.cpp16 vector<string> results; local
20 int err = Perforce::GetResourceFileNames("43019", "//device", apps, &results, true);
24 if (results.size() != 2) {
27 if (results[0] != "//device/apps/common/res/values/strings.xml") {
30 if (results[1] != "//device/apps/Contacts/res/values/strings.xml") {
34 for (size_t i=0; i<results.size(); i++) {
35 printf("[%zd] '%s'\n", i, results[i].c_str());
H A DPerforce.cpp100 const vector<string>& apps, vector<string>* results,
135 results->push_back(string(filename));
99 GetResourceFileNames(const string& version, const string& base, const vector<string>& apps, vector<string>* results, bool printOnFailure) argument
/frameworks/base/telephony/tests/telephonymockriltests/src/com/android/telephonymockriltests/
H A DTelephonyMockTestRunner.java59 public void finish(int resultCode, Bundle results) { argument
62 super.finish(resultCode, results);
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java69 * Called when recognition results are ready.
71 * @param results the recognition results. To retrieve the results in {@code
76 void onResults(Bundle results); argument
79 * Called when partial recognition results are available. The callback might be called at any
81 * results are ready. This method may be called zero, one or multiple times for each call to
83 * service implementation. To request partial results, use
86 * @param partialResults the returned results. To retrieve the results i
[all...]
H A DRecognitionService.java259 * The service should call this method when partial recognition results are available. This
261 * {@link #results(Bundle)} when partial results are ready. This method may be called zero,
265 * @param partialResults the returned results. To retrieve the results in
284 * The service should call this method when recognition results are ready.
286 * @param results the recognition results. To retrieve the results in {@code
290 public void results(Bundl argument
[all...]
H A DSpeechRecognizer.java56 * recognition results, where the first element is the most likely candidate.
403 * Internal wrapper of IRecognitionListener which will propagate the results to
477 public void onResults(final Bundle results) { argument
478 Message.obtain(mInternalHandler, MSG_RESULTS, results).sendToTarget();
481 public void onPartialResults(final Bundle results) { argument
482 Message.obtain(mInternalHandler, MSG_PARTIAL_RESULTS, results).sendToTarget();
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java24 * and convert the results into String that can be used by auto-completion
51 FilterResults results = new FilterResults();
53 results.count = cursor.getCount();
54 results.values = cursor;
56 results.count = 0;
57 results.values = null;
59 return results;
63 protected void publishResults(CharSequence constraint, FilterResults results) { argument
66 if (results.values != null && results
[all...]
H A DFilter.java140 * @return the results of the filtering operation
149 * <p>Invoked in the UI thread to publish the filtering results in the
151 * results computed in {@link #performFiltering}.</p>
154 * @param results the results of the filtering operation
161 FilterResults results);
165 * should override this method to convert their results. The default
177 * <p>Holds the results of a filtering operation. The results are the values
223 * with the results t
160 publishResults(CharSequence constraint, FilterResults results) argument
308 FilterResults results; field in class:Filter.RequestArguments
[all...]
H A DArrayAdapter.java44 * or to have some of data besides toString() results fill the views,
452 FilterResults results = new FilterResults();
465 results.values = list;
466 results.count = list.size();
499 results.values = newValues;
500 results.count = newValues.size();
503 return results;
507 protected void publishResults(CharSequence constraint, FilterResults results) { argument
509 mObjects = (List<T>) results.values;
510 if (results
[all...]
H A DSimpleAdapter.java327 FilterResults results = new FilterResults();
335 results.values = list;
336 results.count = list.size();
369 results.values = newValues;
370 results.count = newValues.size();
373 return results;
377 protected void publishResults(CharSequence constraint, FilterResults results) { argument
379 mData = (List<Map<String, ?>>) results.values;
380 if (results.count > 0) {
H A DSpellChecker.java281 public void onGetSuggestions(SuggestionsInfo[] results) { argument
284 for (int i = 0; i < results.length; i++) {
285 SuggestionsInfo suggestionsInfo = results[i];
/frameworks/base/telephony/tests/telephonytests/src/com/android/frameworks/telephonytests/
H A DTelephonyMockRilTestRunner.java82 public void finish(int resultCode, Bundle results) { argument
87 super.finish(resultCode, results);
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorFilter.java25 * delegate methods to run the queries and convert the results into String
52 FilterResults results = new FilterResults();
54 results.count = cursor.getCount();
55 results.values = cursor;
57 results.count = 0;
58 results.values = null;
60 return results;
64 protected void publishResults(CharSequence constraint, FilterResults results) { argument
67 if (results.values != null && results
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DVisibility.java86 * @param results an integer array containing the indices of the spheres
88 * @param resultsOffset an offset into the results array where the results
91 * results.
94 * results are written into the results array.
99 * results is null, resultsOffset < 0, resultsOffset > results.length -
104 int[] results, int resultsOffset, int resultsCapacity);
102 frustumCullSpheres(float[] mvp, int mvpOffset, float[] spheres, int spheresOffset, int spheresCount, int[] results, int resultsOffset, int resultsCapacity) argument
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java187 FilterResults results = new FilterResults();
198 results.values = list;
199 results.count = list.size();
225 results.values = newValues;
226 results.count = newValues.size();
229 return results;
233 protected void publishResults(CharSequence constraint, FilterResults results) { argument
235 mActivitiesList = (List<ListItem>) results.values;
236 if (results.count > 0) {
444 * Perform the query to determine which results t
[all...]
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java24 * outputs the results using writer of type {@link PerformanceResultsWriter}.
54 * Structure of results output is up to implementor of
81 * @param results memory and runtime metrics stored as key/value pairs,
86 public void writeEndSnapshot(Bundle results); argument
104 * @param results runtime metrics of code block between calls to
109 public void writeStopTiming(Bundle results); argument
143 * In a results Bundle, this key references a List of iteration Bundles.
151 * In a results Bundle, this key reports the cpu time of the code block
156 * In a results Bundle, this key reports the execution time of the code
564 * Returns a bundle with the current results fro
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java58 * {@link #getSuggestions(TextInfo[], int, boolean)} for obtaining results from the spell checker
375 public void onGetSuggestions(SuggestionsInfo[] results) { argument
379 MSG_ON_GET_SUGGESTION_MULTIPLE, results));
386 * Callback for getting results from text services
391 * @param results an array of results of getSuggestions
393 public void onGetSuggestions(SuggestionsInfo[] results); argument
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java130 Bundle results = new Bundle();
131 results.putString("device_id", mDeviceId);
132 results.putString("timestamp", ts);
133 results.putInt("size", FILE_SIZE);
134 AddStatsToResults(PROF_LABEL, prof_stats, results);
135 AddStatsToResults(PROC_LABEL, proc_stats, results);
136 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
184 Bundle results = new Bundle();
185 results.putString("device_id", mDeviceId);
186 results
306 AddStatsToResults(String label, NetworkStats stats, Bundle results) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java180 Bundle results = writer.timingResults;
181 assertEquals(4, results.size());
182 assertTrue(results.containsKey("testAddMeasurementLongZero"));
183 assertEquals(0, results.getLong("testAddMeasurementLongZero"));
184 assertTrue(results.containsKey("testAddMeasurementLongPos"));
185 assertEquals(348573, results.getLong("testAddMeasurementLongPos"));
186 assertTrue(results.containsKey("testAddMeasurementLongNeg"));
187 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg"));
201 Bundle results = writer.timingResults;
202 assertEquals(4, results
501 writeEndSnapshot(Bundle results) argument
509 writeStopTiming(Bundle results) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DManagerService.java34 * A service that handles managing the results of tests, informing of crashes, generating
48 Environment.getExternalStorageDirectory() + File.separator + "layout-test-results";
171 AbstractResult results =
174 Log.i(LOG_TAG, "onActualResultObtained: " + results.getRelativePath());
175 handleResults(results);
208 private void handleResults(AbstractResult results) { argument
209 String relativePath = results.getRelativePath();
210 results.setExpectedTextResult(getExpectedTextResult(relativePath));
211 results.setExpectedTextResultPath(getExpectedTextResultPath(relativePath));
212 results
[all...]
H A DSummarizer.java112 "table.visual_diff tr.results td {" +
117 "table.visual_diff tr.results td.line_count {" +
124 "table.visual_diff tr.results td.line {" +
276 private void persistListToTable(List<AbstractResult> results, String table) { argument
277 for (AbstractResult abstractResult : results) {
406 html.append("<h1>" + "Layout tests' results for: " +
507 /** Tag tests which crash, time out or where results don't match */
543 html.append("<span class=\"source\">Did not look for expected results</span>");
549 // support for image results.
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java379 * @param results A {@link KeyData} instance that will be filled with the results.
380 * @return True if the key was mapped. If the key was not mapped, results is not modified.
386 public boolean getKeyData(int keyCode, KeyData results) { argument
387 if (results.meta.length < KeyData.META_LENGTH) {
389 "results.meta.length must be >= " + KeyData.META_LENGTH);
397 results.displayLabel = displayLabel;
398 results.number = nativeGetNumber(mPtr, keyCode);
399 results.meta[0] = nativeGetCharacter(mPtr, keyCode, 0);
400 results
[all...]
/frameworks/base/services/java/com/android/server/
H A DIntentResolver.java349 protected void sortResults(List<R> results) { argument
350 Collections.sort(results, mResolvePrioritySorter);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccFileHandler.java103 ArrayList<byte[]> results; field in class:IccFileHandler.LoadLinearFixedContext
395 lc.results = new ArrayList<byte[]>(lc.countRecords);
464 lc.results.add(result.payload);
469 sendResult(response, lc.results, null);
/frameworks/base/test-runner/tests/src/android/test/
H A DInstrumentationTestRunnerTest.java109 // ensure a meaningful error message placed in results
112 assertTrue("Instrumentation results is missing RuntimeException",
239 public void finish(int resultCode, Bundle results) { argument
241 mResults = results;

Completed in 443 milliseconds

12