Home
last modified time | relevance | path

Searched refs:items (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupAccessibilityTestActivity.java155 List<BackupItem> items = new ArrayList<BackupItem>(); in doInBackground() local
157 items.add(new CategoryBackupItem(R.string.bua_settings)); in doInBackground()
158 addSecureSettings(items, ACCESSIBILITY_SETTINGS); in doInBackground()
160 items.add(new CategoryBackupItem(R.string.bua_settings_color_correction)); in doInBackground()
161 addSecureSettings(items, COLOR_CORRECTION_SETTINGS); in doInBackground()
163 items.add(new CategoryBackupItem(R.string.bua_settings_captions)); in doInBackground()
164 addSecureSettings(items, CAPTIONS_SETTINGS); in doInBackground()
166 items.add(new CategoryBackupItem(R.string.bua_settings_tts)); in doInBackground()
167 addSecureSettings(items, TTS_SETTINGS); in doInBackground()
169 items.add(new CategoryBackupItem(R.string.bua_settings_accessibility_services)); in doInBackground()
[all …]
DBackupTestActivity.java116 List<BackupItem> items = new ArrayList<BackupItem>(); in doInBackground() local
118 items.add(new CategoryBackupItem(R.string.bu_preferences)); in doInBackground()
119 loadPreferenceGroup1(items); in doInBackground()
120 loadPreferenceGroup2(items); in doInBackground()
122 items.add(new CategoryBackupItem(R.string.bu_files)); in doInBackground()
123 loadFile(TEST_FILE_1, items); in doInBackground()
124 loadFile(TEST_FILE_2, items); in doInBackground()
126 return items; in doInBackground()
129 private void loadPreferenceGroup1(List<BackupItem> items) { in loadPreferenceGroup1() argument
133 items.add(new PreferenceBackupItem(TEST_PREFS_1, INT_PREF, "" + intValue)); in loadPreferenceGroup1()
[all …]
/cts/tools/dasm/src/java_cup/
Dlalr_state.java134 public lalr_item_set items() {return _items;} in items() method in lalr_state
172 itms = st.items(); in dump_state()
318 for (i = st.items().all(); i.hasMoreElements(); ) in build_machine()
338 for (i = st.items().all(); i.hasMoreElements();) in build_machine()
391 existing = new_st.items().find(new_itm); in build_machine()
422 for (Enumeration itm = items().all(); itm.hasMoreElements(); ) in propagate_lookaheads()
466 for (Enumeration i = items().all(); i.hasMoreElements(); ) in build_table_entries()
558 for (Enumeration itms = items().all(); itms.hasMoreElements(); ) in report_conflicts()
572 for (Enumeration comps = items().all(); comps.hasMoreElements(); ) in report_conflicts()
674 for (Enumeration itms = items().all(); itms.hasMoreElements(); ) in report_shift_reduce()
[all …]
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java411 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamInt() local
427 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamInt()
431 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamInt()
435 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamCharSequence() local
441 mBuilder.setMultiChoiceItems(items, null, mOnMultiChoiceClickListener); in testSetMultiChoiceItemsWithParamCharSequence()
450 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamCharSequence()
454 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamCharSequence()
458 final CharSequence[] items = mContext.getResources().getTextArray( in testSetSingleChoiceItemsWithParamInt() local
473 assertEquals(items[0], mSelectedItem); in testSetSingleChoiceItemsWithParamInt()
474 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetSingleChoiceItemsWithParamInt()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java589 List<String> items = new ArrayList<>(); in testRequestLayoutCallsMeasure() local
590 items.add("hello"); in testRequestLayoutCallsMeasure()
591 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); in testRequestLayoutCallsMeasure()
614 List<String> items = new ArrayList<>(); in testNoSelectableItems() local
615 items.add("hello"); in testNoSelectableItems()
616 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); in testNoSelectableItems()
627 items.remove(0); in testNoSelectableItems()
852 List<String> items = new ArrayList<>(); in testRequestLayoutWithTemporaryDetach() local
853 items.add("0"); in testRequestLayoutWithTemporaryDetach()
854 items.add("1"); in testRequestLayoutWithTemporaryDetach()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java406 String[] items = line.split(" "); in loadSensorLog() local
408 if (items.length != 5) { in loadSensorLog()
413 quat[0] = Double.parseDouble(items[1]); in loadSensorLog()
414 quat[1] = Double.parseDouble(items[2]); in loadSensorLog()
415 quat[2] = Double.parseDouble(items[3]); in loadSensorLog()
416 quat[3] = Double.parseDouble(items[4]); in loadSensorLog()
422 t0 = Long.parseLong(items[0])/1e9; in loadSensorLog()
424 recs.add(new AttitudeRec(Long.parseLong(items[0])/1e9-t0, rpy)); in loadSensorLog()
520 String[] items = line.split(" "); in loadAttitudeRecs() local
522 if (items.length != 4) { in loadAttitudeRecs()
[all …]
/cts/tools/cts-media/
Dget_achievable_rates.py46 …return 'dict(' + ', '.join(k + '=' + nice(v) for k, v in sorted(v.items(), key=lambda i: nicekey(i…
130 for comp_, cdata in sorted(data.items()):
139 for size, sdata in sorted(cdata.items()):
259 for dev, ddata in xmlInfo.items():
341 jsonData = json.load(jsonFile, encoding='utf-8', object_pairs_hook=lambda items: items)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestActivity.java258 final CharSequence[] items = new CharSequence[peerList.size()]; in showSelectTargetDialog() local
261 items[i++] = dev.deviceName; in showSelectTargetDialog()
267 .setItems(items, new android.content.DialogInterface.OnClickListener() { in showSelectTargetDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java211 List<TestListItem> items, in RefreshResult() argument
215 mItems = items; in RefreshResult()
232 RefreshResult getRefreshResults(List<TestListItem> items) { in getRefreshResults() argument
257 return new RefreshResult(items, results, details, reportLogs); in getRefreshResults()
/cts/tools/utils/
Dmonsoon.py336 items = sorted(mon.GetStatus().items())
337 print "\n".join(["%s: %s" % item for item in items])
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py835 items = sorted(mon.GetStatus().items())
836 print "\n".join(["%s: %s" % item for item in items])
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java964 ArrayList<String> items = new ArrayList<String>(); in testSetLocale() local
966 items.add(cursor.getString(0)); in testSetLocale()
968 String[] results = items.toArray(new String[items.size()]); in testSetLocale()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java836 ArrayList<E> items = new ArrayList<E>();
839 items.add(el);
842 return items;
/cts/tools/dasm/etc/
Djava_cup.jar.old ... find_state (java_cup.lalr_item_set) public java_cup.lalr_item_set items () public java_cup.lalr_transition transitions () public ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex31541 private transient java.util.Map items
49839 private final java.lang.Object[] items
Dclasses.out.dex130121 public java.util.List items