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

123

/frameworks/base/core/java/android/bluetooth/le/
H A DScanCallback.java22 * Bluetooth LE scan callbacks. Scan results are reported using these callbacks.
66 * Callback when batch results are delivered.
68 * @param results List of scan results that are previously scanned.
70 public void onBatchScanResults(List<ScanResult> results) { argument
H A DBluetoothLeScanner.java78 * 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/base/core/java/android/hardware/camera2/
H A DTotalCaptureResult.java28 * <p>The total assembled results of a single image capture from the image sensor.</p>
57 * Takes ownership of the passed-in camera metadata and the partial results
59 * @param partials a list of partial results; {@code null} will be substituted for an empty list
62 public TotalCaptureResult(CameraMetadataNative results, CaptureRequest parent, argument
64 super(results, parent, extras);
81 public TotalCaptureResult(CameraMetadataNative results, int sequenceId) { argument
82 super(results, sequenceId);
89 * Get the read-only list of partial results that compose this total result.
98 * @return unmodifiable list of partial results
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentResolver.java40 protected void sortResults(List<CrossProfileIntentFilter> results) { argument
41 //We don't sort the results
/frameworks/support/v4/api20/android/support/v4/app/
H A DRemoteInputCompatApi20.java60 Intent intent, Bundle results) {
61 RemoteInput.addResultsToIntent(fromCompat(remoteInputs), intent, results);
59 addResultsToIntent(RemoteInputCompatBase.RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
/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.java278 * 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/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.java50 * or to have some of data besides toString() results fill the views,
485 FilterResults results = new FilterResults();
498 results.values = list;
499 results.count = list.size();
532 results.values = newValues;
533 results.count = newValues.size();
536 return results;
540 protected void publishResults(CharSequence constraint, FilterResults results) { argument
542 mObjects = (List<T>) results.values;
543 if (results
[all...]
H A DSimpleAdapter.java363 FilterResults results = new FilterResults();
371 results.values = list;
372 results.count = list.size();
405 results.values = newValues;
406 results.count = newValues.size();
409 return results;
413 protected void publishResults(CharSequence constraint, FilterResults results) { argument
415 mData = (List<Map<String, ?>>) results.values;
416 if (results.count > 0) {
H A DSpellChecker.java72 // We assume that the sentence level spell check will always provide better results than words.
339 //TODO: we need to change that rule for results from a sentence-level spell
382 public void onGetSuggestions(SuggestionsInfo[] results) { argument
384 for (int i = 0; i < results.length; ++i) {
386 onGetSuggestionsInternal(results[i], USE_SPAN_RANGE, USE_SPAN_RANGE);
396 public void onGetSentenceSuggestions(SentenceSuggestionsInfo[] results) { argument
399 for (int i = 0; i < results.length; ++i) {
400 final SentenceSuggestionsInfo ssi = results[i];
/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/support/v4/jellybean/android/support/v4/app/
H A DRemoteInputCompatJellybean.java26 public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results";
28 /** Extra added to a clip data intent object to hold the results bundle. */
95 Bundle results) {
98 Object result = results.get(remoteInput.getResultKey());
94 addResultsToIntent(RemoteInputCompatBase.RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DThreadUtilTest.java36 Map<String, LockedObject> results = new HashMap<>(); field in class:ThreadUtilTest
164 results.put(key, new LockedObject());
168 return results.get(key).waitFor();
172 if (results.containsKey(key)) {
173 results.get(key).set(args);
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp68 KeyedVector<AString, CodecSettings> *results) {
71 results->add(key, settings);
74 void verifyProfileResults(const KeyedVector<AString, CodecSettings> &results) { argument
75 EXPECT_LT(0u, results.size());
76 for (size_t i = 0; i < results.size(); ++i) {
77 AString key = results.keyAt(i);
78 CodecSettings settings = results.valueAt(i);
84 ALOGV("profileCodecs results %s %s", key.c_str(), valueS.c_str());
65 addMaxInstancesSetting( const AString &key, const AString &value, KeyedVector<AString, CodecSettings> *results) argument
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java76 public long update(UsageEvents results) { argument
78 while (results.hasNextEvent()) {
80 results.getNextEvent(event);
/frameworks/support/v4/java/android/support/v4/app/
H A DRemoteInput.java34 /** Extra added to a clip data intent object to hold the results bundle. */
181 * Get the remote input results bundle from an intent. The returned Bundle will
192 * Populate an intent object with the results gathered from remote input. This method
193 * should only be called by remote input collection services when sending results to a
195 * @param remoteInputs The remote inputs for which results are being provided
197 * field of the intent will be modified to contain the results.
198 * @param results A bundle holding the remote input results. This bundle should
203 Bundle results) {
204 IMPL.addResultsToIntent(remoteInputs, intent, results);
202 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
211 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
223 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
235 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
247 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument
[all...]
/frameworks/base/core/java/android/app/
H A DRemoteInput.java36 * 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/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/service/textservice/
H A DSpellCheckerService.java53 * <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/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java128 Bundle results = new Bundle();
129 results.putString("device_id", mDeviceId);
130 results.putString("timestamp", ts);
131 results.putInt("size", FILE_SIZE);
132 addStatsToResults(PROF_LABEL, prof_stats, results, mUid);
133 addStatsToResults(PROC_LABEL, proc_stats, results, mUid);
134 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
182 Bundle results = new Bundle();
183 results.putString("device_id", mDeviceId);
184 results
306 addStatsToResults(String label, NetworkStats stats, Bundle results, int uid) 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/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DWifiTrackerTest.java138 // Send all of the configs and scan results to the tracker.
144 assertEquals("Expected number of results", NUM_NETWORKS, accessPoints.size());
162 // Send all of the configs and scan results to the tracker.
168 // Only expect the first two to come back in the results.
169 assertEquals("Expected number of results", 2, accessPoints.size());
186 // Send all of the configs and scan results to the tracker.
192 // Only expect the first two to come back in the results.
193 assertEquals("Expected number of results", 2, accessPoints.size());
210 // Send all of the configs and scan results to the tracker.
217 assertEquals("Expected number of results", NUM_NETWORK
315 addResult(List<ScanResult> results, String ssid, int level) argument
[all...]

Completed in 642 milliseconds

123