/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 1135 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { argument 1139 if (!mRawMode && results != null) { 1140 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); 1145 if (results != null) { 1146 for (String key : results.keySet()) { 1148 "INSTRUMENTATION_STATUS: " + key + "=" + results.get(key)); 1158 Bundle results) { 1162 if (!mRawMode && results != null) { 1163 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); 1168 if (results ! 1157 instrumentationFinished(ComponentName name, int resultCode, Bundle results) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 273 double lat2, double lon2, float[] results) { 358 results[0] = distance; 359 if (results.length > 1) { 363 results[1] = initialBearing; 364 if (results.length > 2) { 368 results[2] = finalBearing; 379 * <p> The computed distance is stored in results[0]. If results has length 380 * 2 or greater, the initial bearing is stored in results[1]. If results ha 272 computeDistanceAndBearing(double lat1, double lon1, double lat2, double lon2, float[] results) argument 391 distanceBetween(double startLatitude, double startLongitude, double endLatitude, double endLongitude, float[] results) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 149 * Note: this requires an emma instrumented build. By default, the code coverage results file 153 * <b> To specify EMMA code coverage results file path:</b> 556 String.format("\nTest results for %s=%s", 870 public void writeEndSnapshot(Bundle results) { argument 873 mResults.putAll(results); 880 public void writeStopTiming(Bundle results) { argument 881 // Copy results into mTestResult by flattening list of iterations, 885 results.getParcelableArrayList(PerformanceCollector.METRIC_KEY_ITERATIONS)) {
|
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 73 * The preferred number of results to be retrieved. This number may be 173 FilterResults results = new FilterResults(); 186 results.count = cursor.getCount(); 188 results.values = new Cursor[] { directoryCursor, cursor }; 189 return results; 193 protected void publishResults(CharSequence constraint, FilterResults results) { argument 194 if (results.values != null) { 195 Cursor[] cursors = (Cursor[]) results.values; 198 results.count = getCount(); 230 FilterResults results 246 publishResults(CharSequence constraint, FilterResults results) argument [all...] |
/frameworks/base/cmds/stagefright/ |
H A D | stagefright.cpp | 846 Vector<CodecCapabilities> results; local 850 &results), (status_t)OK); 852 for (size_t i = 0; i < results.size(); ++i) { 854 results[i].mComponentName.string()); 856 if (results[i].mProfileLevels.size() == 0) { 861 for (size_t j = 0; j < results[i].mProfileLevels.size(); ++j) { 863 results[i].mProfileLevels[j];
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 622 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) argument 627 data.writeTypedList(results);
|
H A D | IApplicationThread.java | 54 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument
|
H A D | Instrumentation.java | 70 * instrumentation can also be launched, and results collected, by an automated system. 158 * @param results Any results to send back to the code that started the instrumentation. 160 public void sendStatus(int resultCode, Bundle results) { argument 163 mWatcher.instrumentationStatus(mComponent, resultCode, results); 177 * @param results Any results to send back to the code that started the 180 public void finish(int resultCode, Bundle results) { argument 185 results.putAll(mPerfMetrics); 187 mThread.finishInstrumentation(resultCode, results); 1241 addValue(String key, int value, Bundle results) argument [all...] |
H A D | ActivityManagerNative.java | 748 Bundle results = data.readBundle(); 749 finishInstrumentation(app, resultCode, results); 2467 int resultCode, Bundle results) throws RemoteException { 2473 data.writeBundle(results); 2466 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
|
H A D | ActivityThread.java | 455 List<ResultInfo> results; field in class:ActivityThread.ResultData 457 return "ResultData{token=" + token + " results" + results + "}"; 533 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) { argument 536 res.results = results; 2966 private void deliverResults(ActivityClientRecord r, List<ResultInfo> results) { argument 2967 final int N = results.size(); 2969 ResultInfo ri = results.get(i); 3023 deliverResults(r, res.results); 3964 finishInstrumentation(int resultCode, Bundle results) argument [all...] |
H A D | IActivityManager.java | 191 int resultCode, Bundle results) throws RemoteException; 190 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityRecord.java | 92 ArrayList results; // pending ActivityResult objs we have received field in class:ActivityRecord 153 if (results != null) { 154 pw.print(prefix); pw.print("results="); pw.println(results); 477 if (results == null) { 478 results = new ArrayList(); 480 results.add(r); 485 if (results != null) { 486 for (int i=results.size()-1; i>=0; i--) { 487 ActivityResult r = (ActivityResult)results [all...] |
H A D | ActivityManagerService.java | 784 * Remaining processes for which we are waiting results from the last 13316 Bundle results = new Bundle(); 13317 results.putString(Instrumentation.REPORT_KEY_IDENTIFIER, "ActivityManagerService"); 13318 results.putString("Error", report); 13319 watcher.instrumentationStatus(cn, -1, results); 13326 void finishInstrumentationLocked(ProcessRecord app, int resultCode, Bundle results) { argument 13333 results); 13347 int resultCode, Bundle results) { 13349 if (results != null && results 13346 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 69 * The preferred number of results to be retrieved. This number may be 163 /** Used to temporarily hold results in Cursor objects. */ 187 * Used to pass results from {@link DefaultFilter#performFiltering(CharSequence)} to 223 final FilterResults results = new FilterResults(); 228 // Return empty results. 229 return results; 259 // After having local results, check the size of results. If the results are 278 results 295 publishResults(final CharSequence constraint, FilterResults results) argument 395 publishResults(final CharSequence constraint, FilterResults results) argument [all...] |
/frameworks/base/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 309 const vector<uint32_t>& results); 335 * measurements on that format and report the results. 591 // Display overlap results 1534 const vector<uint32_t>& results) 1542 for (vector<uint32_t>::const_iterator it = results.begin(); 1543 it != results.end(); ++it) { 1533 printOverlapLine(size_t indent, const string formatStr, const vector<uint32_t>& results) argument
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 686 Vector<CodecCapabilities> results; local 689 &results), (status_t)OK); 691 if (results.size()) { 693 results.size(), "VideoComponentCapabilities"); 696 pDecoder->componentNumber = results.size(); 699 for (size_t i = 0; i < results.size(); ++i) { 701 results[i].mComponentName.string()); 703 if (results[i].mProfileLevels.size() == 0) { 712 if (IsSoftwareCodec(results[i].mComponentName.string())) { 713 LOGV("Ignore software codec %s", results[ [all...] |
/frameworks/base/media/libstagefright/ |
H A D | OMXCodec.cpp | 4635 Vector<CodecCapabilities> *results) { 4637 results->clear(); 4651 results->push(); 4652 CodecCapabilities *caps = &results->editItemAt(results->size() - 1); 4667 results->push(); 4668 CodecCapabilities *caps = &results->editItemAt(results->size() - 1); 4715 Vector<CodecCapabilities> *results) { 4716 return QueryCodecs(omx, mimeType, queryDecoders, false /*hwCodecOnly*/, results); 4632 QueryCodecs( const sp<IOMX> &omx, const char *mime, bool queryDecoders, bool hwCodecOnly, Vector<CodecCapabilities> *results) argument 4712 QueryCodecs( const sp<IOMX> &omx, const char *mimeType, bool queryDecoders, Vector<CodecCapabilities> *results) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 2452 * @param results A {@link KeyCharacterMap.KeyData} instance that will be 2453 * filled with the results. 2454 * @return True if the key was mapped. If the key was not mapped, results is not modified. 2460 public boolean getKeyData(KeyData results) { argument 2461 return getKeyCharacterMap().getKeyData(mKeyCode, results);
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 2286 List<ResolveInfo> results = queryIntentActivities(intent, resolvedType, flags 2290 Log.v(TAG, "Query " + intent + ": " + results); 2348 // of this specific one, and remove them from the results. 2350 N = results.size(); 2353 ResolveInfo sri = results.get(j); 2358 results.remove(j); 2375 results.add(specificsPos, ri); 2381 // Now we go through the remaining generic results and remove any 2383 N = results.size(); 2385 final ResolveInfo rii = results 4483 sortResults(List<ResolveInfo> results) argument 4659 sortResults(List<ResolveInfo> results) argument [all...] |