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/
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/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java388 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamInt() local
404 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamInt()
406 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamInt()
411 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamCharSequence() local
417 mBuilder.setMultiChoiceItems(items, null, mOnMultiChoiceClickListener); in testSetMultiChoiceItemsWithParamCharSequence()
426 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamCharSequence()
428 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamCharSequence()
456 final CharSequence[] items = mContext.getResources().getTextArray( in testSetSingleChoiceItemsWithParamInt() local
471 assertEquals(items[0], mSelectedItem); in testSetSingleChoiceItemsWithParamInt()
472 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetSingleChoiceItemsWithParamInt()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java728 List<String> items = new ArrayList<>(); in testRequestLayout() local
729 items.add("hello"); in testRequestLayout()
730 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); in testRequestLayout()
753 List<String> items = new ArrayList<>(); in testNoSelectableItems() local
754 items.add("hello"); in testNoSelectableItems()
755 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); in testNoSelectableItems()
766 items.remove(0); in testNoSelectableItems()
802 final ArrayList<String> items = new ArrayList<String>(Arrays.asList(mCountryList)); in testTransientStateUnstableIds() local
804 android.R.layout.simple_list_item_1, items); in testTransientStateUnstableIds()
837 final ArrayList<String> items = new ArrayList<String>(Arrays.asList(mCountryList)); in testTransientStateStableIds() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java399 String[] items = line.split(" "); in loadSensorLog() local
401 if (items.length != 5) { in loadSensorLog()
406 quat[0] = Double.parseDouble(items[1]); in loadSensorLog()
407 quat[1] = Double.parseDouble(items[2]); in loadSensorLog()
408 quat[2] = Double.parseDouble(items[3]); in loadSensorLog()
409 quat[3] = Double.parseDouble(items[4]); in loadSensorLog()
415 t0 = Long.parseLong(items[0])/1e9; in loadSensorLog()
417 recs.add(new AttitudeRec(Long.parseLong(items[0])/1e9-t0, rpy)); in loadSensorLog()
513 String[] items = line.split(" "); in loadAttitudeRecs() local
515 if (items.length != 4) { in loadAttitudeRecs()
[all …]
/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.java830 ArrayList<E> items = new ArrayList<E>();
833 items.add(el);
836 return items;
/cts/tools/dasm/etc/
Djava_cup.jar ... find_state (java_cup.lalr_item_set) public java_cup.lalr_item_set items () public java_cup.lalr_transition transitions () public ...
Djava_cup-new.jar ... find_state (java_cup.lalr_item_set) public java_cup.lalr_item_set items () public java_cup.lalr_transition transitions () public ...
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/tests/tests/view/src/android/view/cts/
DViewTest.java3194 List<String> items = new ArrayList<>(); in testOnStartAndFinishTemporaryDetach() local
3195 items.add("1"); in testOnStartAndFinishTemporaryDetach()
3196 items.add("2"); in testOnStartAndFinishTemporaryDetach()
3197 items.add("3"); in testOnStartAndFinishTemporaryDetach()
3198 final Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); in testOnStartAndFinishTemporaryDetach()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex31541 private transient java.util.Map items
49839 private final java.lang.Object[] items