Home
last modified time | relevance | path

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

/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/apps/Development/src/com/android/development/
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));
DDevelopment.java36 protected void onSortResultList(List<ResolveInfo> results) { in onSortResultList() argument
37 super.onSortResultList(results); in onSortResultList()
42 results.add(0, topItem); in onSortResultList()
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/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/tools/privapp_permissions/
Dprivapp_permissions.py490 results = {}
505 results[pkg_name] = sorted(priv_perms)
507 print_xml(results, apps_redefine_base)
509 print_xml(results, apps_redefine_base, file)
511 def print_xml(results, apps_redefine_base, fd=sys.stdout): argument
514 for package_name in sorted(results):
519 for p in results[package_name]:
616 def parse_config_xml(base_xml, results): argument
625 if package_name in results:
626 plist = results[package_name]
[all …]
/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/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/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/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/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/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.py348 results = [_do_pull_change_lists_for_project((changes, task_opts))
352 results = pool.map(_do_pull_change_lists_for_project,
356 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/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/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/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/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv884 …il.com,Fix CTS Checksum unit tests. Also fixed bug when listing multiple results with only some ch…
1104 …e_QjS7QEy4Q5u1nNat6Thadw@fakeemail.com,Add confirm dialog before clearing CtsVerifier test results.
2197 …1892,platform/cts,fake_XS0O1HOETRCiH40ZBPoyOQ@fakeemail.com,Deliver image results without blocking.
2547 …7697e366a,platform/cts,fake_8-bwV5CpRwKotHvHAOnqow@fakeemail.com,Add BLE results counter to batter…
2686 …_8BA0f49LT7OCxOS1e8oz-g@fakeemail.com,Merge: Add summary xml file to CTS results output Resolves m…
4185 …rm/cts,fake_HsnXKwO9RZOUlhGBMn393w@fakeemail.com,Add runtimes when parsing results in ResultHandler
4363 …2,platform/cts,fake_HsnXKwO9RZOUlhGBMn393w@fakeemail.com,Only reset test results generated from re…
4406 …3,platform/cts,fake_8BA0f49LT7OCxOS1e8oz-g@fakeemail.com,Add summary xml file to CTS results output
4572 …,platform/cts,fake_T0EB_1A9Rp6aK97GwPCORw@fakeemail.com,Add an intent to results to test class loa…
4960 …ODyrWJQQ29rUizEM8-6A@fakeemail.com,"[util] When --verify fails, return reconstructed shape results"
[all …]