Searched refs:results (Results 1 - 25 of 146) sorted by relevance

123456

/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...]
/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/core/java/android/app/
H A DIInstrumentationWatcher.aidl27 in Bundle results);
29 in Bundle results);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DScanScheduleUtilFilterTest.java39 * Unit tests for filtering of scan results in
128 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper,
130 assertScanDataFreqsEquals(null, results);
140 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper,
142 assertScanDataFreqsEquals(null, results);
152 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper,
154 assertScanDataFreqsEquals(new int[][]{ { } }, results);
164 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper,
166 assertScanDataFreqsEquals(new int[][]{ { } }, results);
176 ScanData[] results
310 assertScanDataFreqsEquals(int[][] expected, ScanData[] results) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DInformationElementUtilTest.java80 InformationElement[] results =
82 assertEquals("parsed results should be empty", 0, results.length);
92 InformationElement[] results =
94 assertEquals("parsed results should be empty", 0, results.length);
108 InformationElement[] results =
110 assertEquals("Parsed results should have 1 IE", 1, results.length);
111 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[
[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/core/java/android/speech/
H A DIRecognitionListener.aidl23 * 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 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...]
/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/java/com/android/internal/textservice/
H A DISpellCheckerSessionListener.aidl26 void onGetSuggestions(in SuggestionsInfo[] results);
/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
/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/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/opt/vcard/java/com/android/vcard/
H A DVCardEntryCommitter.java83 final ContentProviderResult[] results = mContentResolver.applyBatch(
89 return ((results == null || results.length == 0 || results[0] == null)
90 ? null : results[0].uri);
/frameworks/base/location/java/android/location/
H A DGeocoder.java75 * @param locale the desired Locale for the query results
105 * The results are a best guess and are not guaranteed to be meaningful or
132 List<Address> results = new ArrayList<Address>();
134 mParams, results);
138 return results;
155 * The results are a best guess and are not guaranteed to be meaningful or
160 * @param maxResults max number of results to return. Smaller numbers (1 to 5) are recommended
174 List<Address> results = new ArrayList<Address>();
176 0, 0, 0, 0, maxResults, mParams, results);
180 return results;
[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/services/core/java/com/android/server/am/
H A DInstrumentationReporter.java91 + rep.mName + " results=" + rep.mResults);
106 Bundle results) {
111 mResults = results;
116 Bundle results) {
119 + " code=" + resultCode + " result=" + results);
120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results));
124 Bundle results) {
127 + " code=" + resultCode + " result=" + results);
128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results));
105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, Bundle results) argument
115 reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode, Bundle results) argument
123 reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode, Bundle results) argument
/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/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java50 final ArrayList<Uri> results = new ArrayList<Uri>();
60 results.add(documentUri);
68 return results.toArray(new Uri[results.size()]);
/frameworks/base/core/java/android/os/health/
H A DSystemHealthManager.java116 final HealthStats[] results = new HealthStats[uids.length];
119 results[i] = parcelers[i].getHealthStats();
121 return results;
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java173 FilterResults results = new FilterResults();
180 results.values = null;
181 results.count = 0;
182 return results;
253 results.values = filtered;
254 results.count = filtered.size();
255 return results;
401 results) {
402 if (results.values == null || results
400 publishResults(CharSequence constraint, FilterResults results) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java83 String[] results = query("SELECT data FROM test");
84 MoreAsserts.assertEquals(STRINGS, results);
92 String[] results;
93 results = query("SELECT data FROM test ORDER BY data COLLATE LOCALIZED ASC");
98 MoreAsserts.assertEquals(results, new String[] {
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasTest.java102 Log.v(TAG, "results for iteration " + i + " is " + bmValue);
108 Bundle results = new Bundle();
109 results.putString(TEST_NAME, testName);
110 results.putInt(ITERATIONS, mIteration);
111 results.putFloat(BENCHMARK, avgResult);
112 getInstrumentation().sendStatus(INSTRUMENTATION_IN_PROGRESS, results);
/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

Completed in 2822 milliseconds

123456