Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java46 ArrayList<String> results = new ArrayList<String>(); in onStartListening() local
58 results.add("a"); in onStartListening()
59 results.add("b"); in onStartListening()
60 results.add("c"); in onStartListening()
62 results.add("1"); in onStartListening()
63 results.add("2"); in onStartListening()
64 results.add("3"); in onStartListening()
68 bundle.putStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION, results); in onStartListening()
71 listener.results(bundle); in onStartListening()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DBatchOperation.java64 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, in execute() local
66 if ((results != null) && (results.length > 0)){ in execute()
67 for (int i = 0; i < results.length; i++){ in execute()
68 resultUris.add(results[i].uri); in execute()
/development/gsi/gsi_util/gsi_util/dumpers/
Dxml_dumper.py43 results = self._tree.findall(xpath)
44 return ', '.join([e.text for e in results]) if results else None
/development/apps/Development/src/com/android/development/
DDevelopment.java36 protected void onSortResultList(List<ResolveInfo> results) { in onSortResultList() argument
37 super.onSortResultList(results); in onSortResultList()
42 results.add(0, topItem); in onSortResultList()
DInstrumentationList.java176 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) {
177 if (results != null) {
178 for (String key : results.keySet()) {
180 "INSTRUMENTATION_STATUS_RESULT: " + key + "=" + results.get(key));
186 int resultCode, Bundle results) {
187 if (results != null) {
188 for (String key : results.keySet()) {
190 "INSTRUMENTATION_RESULT: " + key + "=" + results.get(key));
DConnectivity.java719 private void onHttpRequestResults(final String results) { in onHttpRequestResults() argument
730 if (!TextUtils.isEmpty(results) || !mRequestRunning) { in onHttpRequestResults()
731 ((TextView) findViewById(R.id.http_response)).setText(results); in onHttpRequestResults()
/development/tools/privapp_permissions/
Dprivapp_permissions.py411 results = {}
426 results[pkg_name] = sorted(priv_perms)
428 print_xml(results, apps_redefine_base)
431 def print_xml(results, apps_redefine_base, fd=sys.stdout): argument
434 for package_name in sorted(results):
439 for p in results[package_name]:
536 def parse_config_xml(base_xml, results): argument
545 if package_name in results:
546 plist = results[package_name]
551 results[package_name] = plist
[all …]
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnrParser.java59 final ArrayList<Anr> results = new ArrayList<Anr>(); in parse() local
74 results.add(anr); in parse()
121 for (Anr item: results) { in parse()
131 return results; in parse()
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DScannerFragment.java205 public void onBatchScanResults(List<ScanResult> results) { in onBatchScanResults() argument
206 super.onBatchScanResults(results); in onBatchScanResults()
208 for (ScanResult result : results) { in onBatchScanResults()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DDeadlockDetector.java192 final HashMap<Integer,ProcessSnapshot> results = new HashMap<Integer,ProcessSnapshot>(); in detectDeadlocks() local
211 ProcessSnapshot cloneProcess = results.get(tr.process.pid); in detectDeadlocks()
215 results.put(tr.process.pid, cloneProcess); in detectDeadlocks()
227 return new TreeSet<ProcessSnapshot>(results.values()); in detectDeadlocks()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java177 Collection<String> results= new HashSet<String>(); in getNodes() local
181 results.add(node.getId()); in getNodes()
183 return results; in getNodes()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DReceiveResult.java88 mResults = (TextView)findViewById(R.id.results); in onCreate()
DFragmentReceiveResult.java86 mResults = (TextView)v.findViewById(R.id.results); in onCreateView()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java238 List<Voicemail> results = new ArrayList<Voicemail>(cursor.getCount()); in getAllVoicemails() local
247 results.add(getVoicemailFromCursor(cursor)); in getAllVoicemails()
249 return results; in getAllVoicemails()
/development/tools/repo_pull/
Drepo_pull.py391 results = [_do_pull_change_lists_for_project((changes, task_opts))
395 results = pool.map(_do_pull_change_lists_for_project,
399 failures = [result for result in results if result]
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java347 HashSet<String> results = new HashSet<>(); in getNodes() local
352 results.add(node.getId()); in getNodes()
355 return results; in getNodes()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py3239 results = []
3293 results.append((ap, sorted_lib_path_list(libs)))
3295 results.sort()
3296 return results
3612 results = SimpleVNDKResult()
3614 getattr(results, tag).update(getattr(vndk_result, field_name))
3615 return results
3621 results = vndk_lib
3625 results = self._extract_simple_vndk_result(vndk_lib)
3628 libs = getattr(results, tag)
[all …]
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt487 inefficient - j. not producing desired results; wasteful
655 odor - n. the sensation that results when olfactory receptors in the nose are stimulated by particu…
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12