/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 83 Bundle results = new Bundle(); 84 results.putString("shortMsg", ex.getClass().getName()); 85 results.putString("longMsg", ex.getMessage()); 86 mWatcher.instrumentationFinished(null, 0, results); 186 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { argument 190 if (!mRawMode && results != null) { 191 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); 196 if (results != null) { 197 for (String key : results.keySet()) { 199 + results 209 instrumentationFinished(ComponentName name, int resultCode, Bundle results) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1029 Bundle results = data.readBundle(); 1030 finishInstrumentation(app, resultCode, results); 3664 int resultCode, Bundle results) throws RemoteException { 3670 data.writeBundle(results); 3663 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
|
H A D | ActivityThread.java | 534 List<ResultInfo> results; field in class:ActivityThread.ResultData 536 return "ResultData{token=" + token + " results" + results + "}"; 612 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) { argument 615 res.results = results; 3559 private void deliverResults(ActivityClientRecord r, List<ResultInfo> results) { argument 3560 final int N = results.size(); 3562 ResultInfo ri = results.get(i); 3617 deliverResults(r, res.results); 4566 finishInstrumentation(int resultCode, Bundle results) argument [all...] |
H A D | ApplicationThreadNative.java | 757 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) argument 762 data.writeTypedList(results);
|
H A D | IActivityManager.java | 191 int resultCode, Bundle results) throws RemoteException; 190 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
|
H A D | IApplicationThread.java | 60 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument
|
H A D | IInstrumentationWatcher.aidl | 27 in Bundle results); 29 in Bundle results);
|
H A D | Instrumentation.java | 75 * instrumentation can also be launched, and results collected, by an automated system. 165 * @param results Any results to send back to the code that started the instrumentation. 167 public void sendStatus(int resultCode, Bundle results) { argument 170 mWatcher.instrumentationStatus(mComponent, resultCode, results); 184 * @param results Any results to send back to the code that started the 187 public void finish(int resultCode, Bundle results) { argument 192 if (results == null) { 193 results 1356 addValue(String key, int value, Bundle results) argument [all...] |
H A D | LauncherActivity.java | 187 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) { 450 protected void onSortResultList(List<ResolveInfo> results) { argument [all...] |
H A D | RemoteInput.java | 36 * Users are prompted to input a response when they trigger the action. The results are sent along 49 * input results if collected. To access these results, use the {@link #getResultsFromIntent} 55 * Bundle results = RemoteInput.getResultsFromIntent(intent); 56 * if (results != null) { 57 * CharSequence quickReplyResult = results.getCharSequence(KEY_QUICK_REPLY_TEXT); 62 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 64 /** Extra added to a clip data intent object to hold the results bundle. */ 240 * Get the remote input results bundle from an intent. The returned Bundle will 262 * Populate an intent object with the results gathere 272 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeScanner.java | 75 * Start Bluetooth LE scan with default parameters and no filters. The scan results will be 80 * @param callback Callback used to deliver scan results. 91 * Start Bluetooth LE scan. The scan results will be delivered through {@code callback}. 97 * @param callback Callback used to deliver scan results. 157 * Flush pending batch scan results stored in Bluetooth controller. This will return Bluetooth 158 * LE scan results batched on bluetooth controller. Returns immediately, batch scan results data 280 Log.e(TAG, "Failed to get pending scan results", e); 338 public void onBatchScanResults(final List<ScanResult> results) { argument 343 mScanCallback.onBatchScanResults(results); [all...] |
H A D | ScanCallback.java | 22 * Bluetooth LE scan callbacks. Scan results are reported using these callbacks. 58 * Callback when batch results are delivered. 60 * @param results List of scan results that are previously scanned. 62 public void onBatchScanResults(List<ScanResult> results) { argument
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 288 ContentProviderResult[] results = ContentProvider.this.applyBatch(operations); 289 if (results != null) { 290 for (int i = 0; i < results.length ; i++) { 293 results[i] = new ContentProviderResult(results[i], userIds[i]); 297 return results; 1713 * @return the results of the applications 1720 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; 1722 results[i] = operations.get(i).apply(this, results, [all...] |
H A D | ContentProviderNative.java | 192 final ContentProviderResult[] results = applyBatch(callingPkg, operations); 194 reply.writeTypedArray(results, 0); 521 final ContentProviderResult[] results = 523 return results;
|
H A D | Intent.java | 975 * the launched content chooser only returns results representing data that 1183 * enter your search results Activity with the search UI activated. 1192 * enter your search results Activity with the search UI activated. 3901 * They can still propagate results through to later receivers, but they can not prevent 4224 * the activity. This results in a final Intent that is structured 5554 List<ResolveInfo> results = pm.queryIntentServices(this, flags); 5555 if (results == null) { 5559 for (int i=0; i<results.size(); i++) { 5560 ResolveInfo ri = results.get(i);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureResult.java | 30 * <p>The subset of the results of a single image capture from the image sensor.</p> 43 * are necessarily available. Some results are {@link CaptureResult partial} and will 44 * not have every key set. Only {@link TotalCaptureResult total} results are guaranteed to have 154 public CaptureResult(CameraMetadataNative results, CaptureRequest parent, argument 156 if (results == null) { 157 throw new IllegalArgumentException("results was null"); 168 mResults = CameraMetadataNative.move(results); 191 public CaptureResult(CameraMetadataNative results, int sequenceId) { argument 192 if (results == null) { 193 throw new IllegalArgumentException("results wa [all...] |
H A D | TotalCaptureResult.java | 27 * <p>The total assembled results of a single image capture from the image sensor.</p> 55 * Takes ownership of the passed-in camera metadata and the partial results 57 * @param partials a list of partial results; {@code null} will be substituted for an empty list 60 public TotalCaptureResult(CameraMetadataNative results, CaptureRequest parent, argument 62 super(results, parent, extras); 77 public TotalCaptureResult(CameraMetadataNative results, int sequenceId) { argument 78 super(results, sequenceId); 84 * Get the read-only list of partial results that compose this total result. 93 * @return unmodifiable list of partial results
|
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 24 * 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/service/textservice/ |
H A D | SpellCheckerService.java | 53 * <h3>Returning spell check results</h3> 56 * should return spell check results. 404 SentenceTextInfoParams originalTextInfoParams, SuggestionsInfo[] results) { 405 if (results == null || results.length == 0) { 409 Log.w(TAG, "Adapter: onGetSuggestions: got " + results.length); 428 for (int j = 0; j < results.length; ++j) { 429 final SuggestionsInfo cur = results[j]; 403 reconstructSuggestions( SentenceTextInfoParams originalTextInfoParams, SuggestionsInfo[] results) argument
|
/frameworks/base/core/java/android/speech/ |
H A D | IRecognitionListener.aidl | 23 * This gives you both the final recognition results, as well as various 67 * Called when recognition results are ready. 69 * @param results a Bundle containing the most likely results (N-best list). 71 void onResults(in Bundle results); 74 * Called when recognition partial results are ready. 76 * @param results a Bundle containing the current most likely result. 78 void onPartialResults(in Bundle results);
|
H A D | RecognitionListener.java | 69 * 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 D | RecognitionService.java | 272 * The service should call this method when partial recognition results are available. This 274 * {@link #results(Bundle)} when partial results are ready. This method may be called zero, 278 * @param partialResults the returned results. To retrieve the results in 297 * The service should call this method when recognition results are ready. 299 * @param results the recognition results. To retrieve the results in {@code 303 public void results(Bundl argument [all...] |
H A D | SpeechRecognizer.java | 62 * recognition results, where the first element is the most likely candidate. 417 * Internal wrapper of IRecognitionListener which will propagate the results to 491 public void onResults(final Bundle results) { argument 492 Message.obtain(mInternalHandler, MSG_RESULTS, results).sendToTarget(); 495 public void onPartialResults(final Bundle results) { argument 496 Message.obtain(mInternalHandler, MSG_PARTIAL_RESULTS, results).sendToTarget();
|
/frameworks/av/media/libstagefright/ |
H A D | OMXCodec.cpp | 4457 Vector<CodecCapabilities> *results) { 4459 results->clear(); 4470 results->push(); 4471 CodecCapabilities *caps = &results->editItemAt(results->size() - 1); 4477 results->removeAt(results->size() - 1); 4578 Vector<CodecCapabilities> *results) { 4579 return QueryCodecs(omx, mimeType, queryDecoders, false /*hwCodecOnly*/, results); 4454 QueryCodecs( const sp<IOMX> &omx, const char *mime, bool queryDecoders, bool hwCodecOnly, Vector<CodecCapabilities> *results) argument 4575 QueryCodecs( const sp<IOMX> &omx, const char *mimeType, bool queryDecoders, Vector<CodecCapabilities> *results) argument
|
/frameworks/av/include/media/stagefright/ |
H A D | OMXCodec.h | 395 Vector<CodecCapabilities> *results); 400 Vector<CodecCapabilities> *results);
|