/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | RationalTest.java | 351 Rational results = serializeRoundTrip(badZero); 352 fail("Deserializing " + results + " should not have succeeded"); 359 Rational results = serializeRoundTrip(badPosInfinity); 360 fail("Deserializing " + results + " should not have succeeded"); 368 Rational results = serializeRoundTrip(badNegInfinity); 369 fail("Deserializing " + results + " should not have succeeded"); 376 Rational results = serializeRoundTrip(badReduced); 377 fail("Deserializing " + results + " should not have succeeded"); 384 Rational results = serializeRoundTrip(badReducedNeg); 385 fail("Deserializing " + results [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 356 * Given a constraint and results, tries to find the constraint in those results, one at a time. 360 * @param constraint A string that we will attempt to find within the results. 361 * @param results Strings that may contain the constraint. The order given is the order used to 364 * @return An array of CharSequences, the length determined by the length of results. Each 367 protected CharSequence[] getStyledResults(@Nullable String constraint, String... results) { argument 369 return results; 372 CharSequence[] styledResults = new CharSequence[results.length]; 374 for (int i = 0; i < results.length; i++) { 375 String result = results[ [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingTest.java | 101 Log.v(TAG, "results for iteration " + i + " is " + bmValue); 107 Bundle results = new Bundle(); 108 results.putString(TEST_NAME, testName); 109 results.putInt(ITERATIONS, mIteration); 110 results.putFloat(BENCHMARK, avgResult); 111 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingTest.java | 116 Log.v(TAG, "results for iteration " + i + " is " + bmValue); 122 Bundle results = new Bundle(); 123 results.putString(TEST_NAME, testName); 124 results.putInt(ITERATIONS, mIteration); 125 results.putFloat(BENCHMARK, avgResult); 126 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 647 if (DEBUG) Log.v(TAG, "Got results" + matches); 660 ArrayList<String> results = bundle.getStringArrayList( 662 if (DEBUG) Log.v(TAG, "onPartialResults " + bundle + " results " + 663 (results == null ? results : results.size())); 664 if (results == null || results.size() == 0) { 670 final String stableText = results.get(0); 675 final String pendingText = results [all...] |
/frameworks/base/core/java/android/app/ |
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/services/core/java/com/android/server/ |
H A D | AssetAtlasService.java | 359 List<WorkerResult> results = Collections.synchronizedList(new ArrayList<WorkerResult>()); 364 new ComputeWorker(MIN_SIZE, MAX_SIZE, STEP, bitmaps, pixelCount, results, null).run(); 374 bitmaps, pixelCount, results, signal); 387 // We have to abort here, otherwise the async updates on "results" would crash the 395 Collections.sort(results, new Comparator<WorkerResult>() { 407 results.size(), delay)); 410 WorkerResult result = results.get(0); 621 * algorithms and save the results in a supplied list. 641 * @param results The list of results i 644 ComputeWorker(int start, int end, int step, List<Bitmap> bitmaps, int pixelCount, List<WorkerResult> results, CountDownLatch signal) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 389 * Format of results: 401 * RANGE=ALL gets all scan results 402 * RANGE=ID- gets results from ID 1333 public int max_scan_cache_size; // in number of scan results?? 1337 public int max_scan_reporting_threshold; // in number of scan results?? 1559 if (DBG) Log.i(TAG, "Got a full scan results event, ssid = " + result.SSID + ", " + 1705 synchronized public static void onHotlistApFound(int id, ScanResult[] results) { argument 1709 sHotlistEventHandler.onHotlistApFound(results); 1718 synchronized public static void onHotlistApLost(int id, ScanResult[] results) { argument 1722 sHotlistEventHandler.onHotlistApLost(results); 1778 onSignificantWifiChange(int id, ScanResult[] results) argument 1830 onRttResults(int id, RttManager.RttResult[] results) argument 2258 onPnoNetworkFound(ScanResult results[]) argument 2287 onPnoNetworkFound(int id, ScanResult[] results) argument [all...] |
/frameworks/base/core/java/android/speech/ |
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();
|
H A D | RecognitionService.java | 278 * The service should call this method when partial recognition results are available. This 280 * {@link #results(Bundle)} when partial results are ready. This method may be called zero, 284 * @param partialResults the returned results. To retrieve the results in 303 * The service should call this method when recognition results are ready. 305 * @param results the recognition results. To retrieve the results in {@code 309 public void results(Bundl argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | SelectPrinterActivity.java | 459 FilterResults results = new FilterResults(); 469 results.values = filteredPrinters; 470 results.count = filteredPrinters.size(); 471 return results; 477 protected void publishResults(CharSequence constraint, FilterResults results) { 483 if (results == null) { 486 List<PrinterInfo> printers = (List<PrinterInfo>) results.values;
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 595 // ALOGD("getting scan results on interface[%d] = %p", iface, handle); 618 /* sort all scan results by timestamp */ 619 qsort(scan_data[i].results, scan_data[i].num_results, 629 wifi_scan_result *results = scan_data[i].results; local 632 JNIObject<jobject> scanResult = createScanResult(helper, &results[j]); 735 unsigned num_results, wifi_scan_result *results) { 749 JNIObject<jobject> scanResult = createScanResult(helper, &results[i]); 757 ALOGD("Found AP %32s", results[i].ssid); 765 unsigned num_results, wifi_scan_result *results) { 734 onHotlistApFound(wifi_request_id id, unsigned num_results, wifi_scan_result *results) argument 764 onHotlistApLost(wifi_request_id id, unsigned num_results, wifi_scan_result *results) argument 863 onSignificantWifiChange(wifi_request_id id, unsigned num_results, wifi_significant_change_result **results) argument 1091 onRttResults(wifi_request_id id, unsigned num_results, wifi_rtt_result* results[]) argument 1802 onPnoNetworkFound(wifi_request_id id, unsigned num_results, wifi_scan_result *results) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 315 ContentProviderResult[] results = ContentProvider.this.applyBatch(operations); 316 if (results != null) { 317 for (int i = 0; i < results.length ; i++) { 320 results[i] = new ContentProviderResult(results[i], userIds[i]); 324 return results; 1765 * @return the results of the applications 1773 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; 1775 results[i] = operations.get(i).apply(this, results, [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureResult.java | 32 * <p>The subset of the results of a single image capture from the image sensor.</p> 45 * are necessarily available. Some results are {@link CaptureResult partial} and will 46 * not have every key set. Only {@link TotalCaptureResult total} results are guaranteed to have 171 public CaptureResult(CameraMetadataNative results, CaptureRequest parent, argument 173 if (results == null) { 174 throw new IllegalArgumentException("results was null"); 185 mResults = CameraMetadataNative.move(results); 208 public CaptureResult(CameraMetadataNative results, int sequenceId) { argument 209 if (results == null) { 210 throw new IllegalArgumentException("results wa [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBenchRS.java | 166 BufferedWriter results = new BufferedWriter(new FileWriter(resultFile)); 168 results.write(mTestNames[i] + ", " + mLocalTestResults[i] + ",\n"); 170 results.close(); 171 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccFileHandler.java | 109 ArrayList<byte[]> results; field in class:IccFileHandler.LoadLinearFixedContext 494 lc.results = new ArrayList<byte[]>(lc.mCountRecords); 552 lc.results.add(result.payload); 557 sendResult(response, lc.results, null);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 1041 DhcpResults results = new DhcpResults(); 1043 results.ipAddress = new LinkAddress(ipAddress, prefixLength); 1047 results.gateway = mGateway; 1048 results.dnsServers.addAll(mDnsServers); 1049 results.domains = mDomainName; 1050 results.serverAddress = mServerIdentifier; 1051 results.vendorInfo = mVendorInfo; 1052 results.leaseDuration = (mLeaseTime != null) ? mLeaseTime : INFINITE_LEASE; 1053 return results;
|
/frameworks/base/test-runner/tests/src/android/test/ |
H A D | InstrumentationTestRunnerTest.java | 109 // 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;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 637 Vector<CodecCapabilities> results; local 641 &results), (status_t)OK); 643 for (size_t i = 0; i < results.size(); ++i) { 645 codecType, results[i].mComponentName.string()); 647 if (results[i].mProfileLevels.size() == 0) { 652 for (size_t j = 0; j < results[i].mProfileLevels.size(); ++j) { 654 results[i].mProfileLevels[j];
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
H A D | DhcpPacketTest.java | 215 DhcpResults results = offerPacket.toDhcpResults(); 219 assertEquals(expectedAddress, results.ipAddress); 221 assertNull(results);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 419 Slog.d(TAG, "No results for this range. All stats start after."); 430 Slog.d(TAG, "No results for this range. All stats start after."); 437 final ArrayList<T> results = new ArrayList<>(); 448 combiner.combine(stats, false, results); 452 // We continue so that we return results that are not 456 return results; 473 // We have some results here, check if they are better than our current match.
|
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 150 * Note: this requires an emma instrumented build. By default, the code coverage results file 154 * <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/av/include/media/stagefright/ |
H A D | OMXCodec.h | 393 Vector<CodecCapabilities> *results); 398 Vector<CodecCapabilities> *results);
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeScanner.java | 78 * Start Bluetooth LE scan with default parameters and no filters. The scan results will be 85 * in order to get results. 87 * @param callback Callback used to deliver scan results. 99 * Start Bluetooth LE scan. The scan results will be delivered through {@code callback}. 105 * in order to get results. 109 * @param callback Callback used to deliver scan results. 181 * Flush pending batch scan results stored in Bluetooth controller. This will return Bluetooth 182 * LE scan results batched on bluetooth controller. Returns immediately, batch scan results data 304 Log.e(TAG, "Failed to get pending scan results", 362 onBatchScanResults(final List<ScanResult> results) argument [all...] |
/frameworks/rs/api/ |
H A D | rs_object_info.spec | 306 allocation. The results are undefined if the pointer is not from a valid Allocation.
|