Home
last modified time | relevance | path

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

/cts/tests/tests/identity/src/android/security/identity/cts/
DUtil.java122 static boolean cborAreAllDataItemsNonCompound(List<DataItem> items) { in cborAreAllDataItemsNonCompound() argument
123 for (DataItem item : items) { in cborAreAllDataItemsNonCompound()
187 List<DataItem> items = ((co.nstant.in.cbor.model.Array) dataItem).getDataItems(); in cborPrettyPrintDataItem() local
188 if (items.size() == 0) { in cborPrettyPrintDataItem()
190 } else if (cborAreAllDataItemsNonCompound(items)) { in cborPrettyPrintDataItem()
194 for (DataItem item : items) { in cborPrettyPrintDataItem()
196 if (++count < items.size()) { in cborPrettyPrintDataItem()
204 for (DataItem item : items) { in cborPrettyPrintDataItem()
207 if (++count < items.size()) { in cborPrettyPrintDataItem()
493 List<DataItem> items = ((co.nstant.in.cbor.model.Array) dataItem).getDataItems(); in coseSign1CheckSignature() local
[all …]
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java453 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamInt() local
469 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamInt()
473 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamInt()
478 final CharSequence[] items = mContext.getResources().getTextArray( in testSetMultiChoiceItemsWithParamCharSequence() local
484 mBuilder.setMultiChoiceItems(items, null, mOnMultiChoiceClickListener); in testSetMultiChoiceItemsWithParamCharSequence()
493 assertEquals(items[0], mSelectedItem); in testSetMultiChoiceItemsWithParamCharSequence()
497 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetMultiChoiceItemsWithParamCharSequence()
503 final CharSequence[] items = mContext.getResources().getTextArray( in testSetSingleChoiceItemsWithParamInt() local
518 assertEquals(items[0], mSelectedItem); in testSetSingleChoiceItemsWithParamInt()
519 assertEquals(items[0], mListView.getItemAtPosition(0)); in testSetSingleChoiceItemsWithParamInt()
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java346 DEREncodableVector items = new DEREncodableVector(); in wrapKey() local
347 items.add(new DERInteger(WRAPPED_FORMAT_VERSION)); in wrapKey()
348 items.add(new DEROctetString(encryptedEphemeralKeys)); in wrapKey()
349 items.add(new DEROctetString(iv)); in wrapKey()
350 items.add(wrappedKeyDescription); in wrapKey()
351 items.add(new DEROctetString(encryptedSecureKey)); in wrapKey()
352 items.add(new DEROctetString(tag)); in wrapKey()
353 return new DERSequence(items).getEncoded(ASN1Encoding.DER); in wrapKey()
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java639 List<String> items = new ArrayList<>(); in testRequestLayoutCallsMeasure() local
640 items.add("hello"); in testRequestLayoutCallsMeasure()
641 MockAdapter<String> adapter = new MockAdapter<>(mActivity, 0, items); in testRequestLayoutCallsMeasure()
665 List<String> items = new ArrayList<>(); in testNoSelectableItems() local
666 items.add("hello"); in testNoSelectableItems()
667 MockAdapter<String> adapter = new MockAdapter<>(mActivity, 0, items); in testNoSelectableItems()
678 items.remove(0); in testNoSelectableItems()
904 List<String> items = new ArrayList<>(); in testRequestLayoutWithTemporaryDetach() local
905 items.add("0"); in testRequestLayoutWithTemporaryDetach()
906 items.add("1"); in testRequestLayoutWithTemporaryDetach()
[all …]
DAbsListViewTest.java914 final ArrayList<String> items = new ArrayList<>(Arrays.asList(COUNTRY_LIST)); in testCheckItemCount() local
916 android.R.layout.simple_list_item_1, items); in testCheckItemCount()
930 final ArrayList<String> items = new ArrayList<>(Arrays.asList(COUNTRY_LIST)); in testCheckedItemsUnderNoneChoiceMode() local
932 android.R.layout.simple_list_item_1, items); in testCheckedItemsUnderNoneChoiceMode()
956 final ArrayList<String> items = new ArrayList<>(Arrays.asList(COUNTRY_LIST)); in testCheckedItemsUnderSingleChoiceMode() local
958 android.R.layout.simple_list_item_1, items); in testCheckedItemsUnderSingleChoiceMode()
982 final ArrayList<String> items = new ArrayList<>(Arrays.asList(COUNTRY_LIST)); in testCheckedItemsUnderMultipleChoiceMode() local
984 android.R.layout.simple_list_item_1, items); in testCheckedItemsUnderMultipleChoiceMode()
1006 final ArrayList<String> items = new ArrayList<>(Arrays.asList(COUNTRY_LIST)); in configureMultiChoiceModalState() local
1008 android.R.layout.simple_list_item_1, items); in configureMultiChoiceModalState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java407 String[] items = line.split(" "); in loadSensorLog() local
409 if (items.length != 5) { in loadSensorLog()
414 quat[0] = Double.parseDouble(items[1]); in loadSensorLog()
415 quat[1] = Double.parseDouble(items[2]); in loadSensorLog()
416 quat[2] = Double.parseDouble(items[3]); in loadSensorLog()
417 quat[3] = Double.parseDouble(items[4]); in loadSensorLog()
423 t0 = Long.parseLong(items[0])/1e9; in loadSensorLog()
425 recs.add(new AttitudeRec(Long.parseLong(items[0])/1e9-t0, rpy)); in loadSensorLog()
521 String[] items = line.split(" "); in loadAttitudeRecs() local
523 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.java286 final CharSequence[] items = new CharSequence[peerList.size()]; in showSelectTargetDialog() local
289 items[i++] = dev.deviceName; in showSelectTargetDialog()
295 .setItems(items, new android.content.DialogInterface.OnClickListener() { in showSelectTargetDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java241 List<TestListItem> items, in RefreshResult() argument
246 mItems = items; in RefreshResult()
265 RefreshResult getRefreshResults(List<TestListItem> items) { in getRefreshResults() argument
294 return new RefreshResult(items, results, details, reportLogs, histories); in getRefreshResults()
/cts/tools/utils/
Dmonsoon.py355 items = sorted(mon.GetStatus().items())
356 print "\n".join(["%s: %s" % item for item in items])
/cts/apps/CameraITS/tests/scene1/
Dtest_ae_af.py40 for k, v in sorted(SINGLE_A.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/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java779 private static <T> Set<T> setOf(T... items) { in setOf() argument
780 Set<T> set = new HashSet<>(items.length); in setOf()
782 for (T item : items) { in setOf()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java974 ArrayList<String> items = new ArrayList<String>(); in testSetLocale() local
976 items.add(cursor.getString(0)); in testSetLocale()
978 String[] results = items.toArray(new String[items.size()]); in testSetLocale()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java747 private <T extends PackageItemInfo> T findPackageItemOrFail(T[] items, String name) { in findPackageItemOrFail() argument
748 for (T item : items) { in findPackageItemOrFail()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java869 ArrayList<E> items = new ArrayList<E>();
872 items.add(el);
875 return items;