Searched defs:results (Results 26 - 47 of 47) sorted by relevance

12

/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java1319 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { argument
1323 if (!mRawMode && results != null) {
1324 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT);
1329 if (results != null) {
1330 for (String key : results.keySet()) {
1332 "INSTRUMENTATION_STATUS: " + key + "=" + results.get(key));
1342 Bundle results) {
1346 if (!mRawMode && results != null) {
1347 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT);
1352 if (results !
1341 instrumentationFinished(ComponentName name, int resultCode, Bundle results) argument
[all...]
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java542 * @param results A {@link KeyData} instance that will be filled with the results.
543 * @return True if the key was mapped. If the key was not mapped, results is not modified.
549 public boolean getKeyData(int keyCode, KeyData results) { argument
550 if (results.meta.length < KeyData.META_LENGTH) {
552 "results.meta.length must be >= " + KeyData.META_LENGTH);
560 results.displayLabel = displayLabel;
561 results.number = nativeGetNumber(mPtr, keyCode);
562 results.meta[0] = nativeGetCharacter(mPtr, keyCode, 0);
563 results
[all...]
H A DKeyEvent.java2510 * @param results A {@link KeyCharacterMap.KeyData} instance that will be
2511 * filled with the results.
2512 * @return True if the key was mapped. If the key was not mapped, results is not modified.
2518 public boolean getKeyData(KeyData results) { argument
2519 return getKeyCharacterMap().getKeyData(mKeyCode, results);
/frameworks/base/location/java/android/location/
H A DLocation.java285 double lat2, double lon2, float[] results) {
370 results[0] = distance;
371 if (results.length > 1) {
375 results[1] = initialBearing;
376 if (results.length > 2) {
380 results[2] = finalBearing;
391 * <p> The computed distance is stored in results[0]. If results has length
392 * 2 or greater, the initial bearing is stored in results[1]. If results ha
284 computeDistanceAndBearing(double lat1, double lon1, double lat2, double lon2, float[] results) argument
403 distanceBetween(double startLatitude, double startLongitude, double endLatitude, double endLongitude, float[] results) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java149 * 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>
566 String.format("\nTest results for %s=%s",
880 public void writeEndSnapshot(Bundle results) { argument
883 mResults.putAll(results);
890 public void writeStopTiming(Bundle results) { argument
891 // Copy results into mTestResult by flattening list of iterations,
895 results.getParcelableArrayList(PerformanceCollector.METRIC_KEY_ITERATIONS)) {
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java73 * 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/opt/telephony/src/java/com/android/internal/telephony/
H A DIccFileHandler.java105 ArrayList<byte[]> results; field in class:IccFileHandler.LoadLinearFixedContext
416 lc.results = new ArrayList<byte[]>(lc.countRecords);
485 lc.results.add(result.payload);
490 sendResult(response, lc.results, null);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp630 Vector<CodecCapabilities> results; local
634 &results), (status_t)OK);
636 for (size_t i = 0; i < results.size(); ++i) {
638 codecType, results[i].mComponentName.string());
640 if (results[i].mProfileLevels.size() == 0) {
645 for (size_t j = 0; j < results[i].mProfileLevels.size(); ++j) {
647 results[i].mProfileLevels[j];
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java670 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) argument
675 data.writeTypedList(results);
H A DIApplicationThread.java54 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument
H A DInstrumentation.java72 * instrumentation can also be launched, and results collected, by an automated system.
160 * @param results Any results to send back to the code that started the instrumentation.
162 public void sendStatus(int resultCode, Bundle results) { argument
165 mWatcher.instrumentationStatus(mComponent, resultCode, results);
179 * @param results Any results to send back to the code that started the
182 public void finish(int resultCode, Bundle results) { argument
187 results.putAll(mPerfMetrics);
189 mThread.finishInstrumentation(resultCode, results);
1272 addValue(String key, int value, Bundle results) argument
[all...]
H A DActivityManagerNative.java852 Bundle results = data.readBundle();
853 finishInstrumentation(app, resultCode, results);
2864 int resultCode, Bundle results) throws RemoteException {
2870 data.writeBundle(results);
2863 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
H A DIActivityManager.java164 int resultCode, Bundle results) throws RemoteException;
163 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
H A DActivityThread.java509 List<ResultInfo> results; field in class:ActivityThread.ResultData
511 return "ResultData{token=" + token + " results" + results + "}";
586 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) { argument
589 res.results = results;
3305 private void deliverResults(ActivityClientRecord r, List<ResultInfo> results) { argument
3306 final int N = results.size();
3308 ResultInfo ri = results.get(i);
3362 deliverResults(r, res.results);
4404 finishInstrumentation(int resultCode, Bundle results) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java97 ArrayList results; // pending ActivityResult objs we have received field in class:ActivityRecord
162 if (results != null) {
163 pw.print(prefix); pw.print("results="); pw.println(results);
530 if (results == null) {
531 results = new ArrayList();
533 results.add(r);
538 if (results != null) {
539 for (int i=results.size()-1; i>=0; i--) {
540 ActivityResult r = (ActivityResult)results
[all...]
H A DActivityManagerService.java807 * Remaining processes for which we are waiting results from the last
11541 // Add the new results to the existing results, tracking
12160 Bundle results = new Bundle();
12161 results.putString(Instrumentation.REPORT_KEY_IDENTIFIER, "ActivityManagerService");
12162 results.putString("Error", report);
12163 watcher.instrumentationStatus(cn, -1, results);
12170 void finishInstrumentationLocked(ProcessRecord app, int resultCode, Bundle results) { argument
12177 results);
12191 int resultCode, Bundle results) {
12190 finishInstrumentation(IApplicationThread target, int resultCode, Bundle results) argument
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp710 // If there is a results interface for this class
717 // Add the results dispatcher callback
774 // Unmarshall the results
802 // == the callback interface for results ================================
971 ResultDispatcherClass* results = new ResultDispatcherClass(); local
981 generate_regular_method((method_type*)item, proxy, base, results, index);
990 // only add this if there are methods with results / out parameters
991 if (results->needed) {
992 proxy->elements.push_back(results);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java66 * The preferred number of results to be retrieved. This number may be
142 /** Used to temporarily hold results in Cursor objects. */
166 * Used to pass results from {@link DefaultFilter#performFiltering(CharSequence)} to
202 final FilterResults results = new FilterResults();
208 // Return empty results.
209 return results;
240 // After having local results, check the size of results. If the results are
259 results
276 publishResults(final CharSequence constraint, FilterResults results) argument
386 publishResults(final CharSequence constraint, FilterResults results) argument
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp686 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 ALOGV("Ignore software codec %s", results[
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp308 const vector<uint32_t>& results);
334 * measurements on that format and report the results.
590 // Display overlap results
1533 const vector<uint32_t>& results)
1541 for (vector<uint32_t>::const_iterator it = results.begin();
1542 it != results.end(); ++it) {
1532 printOverlapLine(size_t indent, const string formatStr, const vector<uint32_t>& results) argument
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp4526 Vector<CodecCapabilities> *results) {
4528 results->clear();
4539 results->push();
4540 CodecCapabilities *caps = &results->editItemAt(results->size() - 1);
4546 results->removeAt(results->size() - 1);
4620 Vector<CodecCapabilities> *results) {
4621 return QueryCodecs(omx, mimeType, queryDecoders, false /*hwCodecOnly*/, results);
4523 QueryCodecs( const sp<IOMX> &omx, const char *mime, bool queryDecoders, bool hwCodecOnly, Vector<CodecCapabilities> *results) argument
4617 QueryCodecs( const sp<IOMX> &omx, const char *mimeType, bool queryDecoders, Vector<CodecCapabilities> *results) argument
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java2624 List<ResolveInfo> results = queryIntentActivities(intent, resolvedType, flags
2628 Log.v(TAG, "Query " + intent + ": " + results);
2686 // of this specific one, and remove them from the results.
2688 N = results.size();
2691 ResolveInfo sri = results.get(j);
2696 results.remove(j);
2713 results.add(specificsPos, ri);
2719 // Now we go through the remaining generic results and remove any
2721 N = results.size();
2723 final ResolveInfo rii = results
5100 sortResults(List<ResolveInfo> results) argument
5298 sortResults(List<ResolveInfo> results) argument
[all...]

Completed in 444 milliseconds

12