Home
last modified time | relevance | path

Searched refs:add (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCaptureResultTest.java113 outputSurfaces.add(mReaderSurface); in testCameraCaptureResultAllKeys()
179 outputSurfaces.add(mReaderSurface); in testPartialResult()
451 waiverKeys.add(CaptureResult.JPEG_GPS_LOCATION); in getWaiverKeysForCamera()
452 waiverKeys.add(CaptureResult.JPEG_ORIENTATION); in getWaiverKeysForCamera()
453 waiverKeys.add(CaptureResult.JPEG_QUALITY); in getWaiverKeysForCamera()
454 waiverKeys.add(CaptureResult.JPEG_THUMBNAIL_QUALITY); in getWaiverKeysForCamera()
455 waiverKeys.add(CaptureResult.JPEG_THUMBNAIL_SIZE); in getWaiverKeysForCamera()
460 waiverKeys.add(CaptureResult.TONEMAP_CURVE); in getWaiverKeysForCamera()
461 waiverKeys.add(CaptureResult.TONEMAP_GAMMA); in getWaiverKeysForCamera()
462 waiverKeys.add(CaptureResult.TONEMAP_PRESET_CURVE); in getWaiverKeysForCamera()
[all …]
DStaticMetadataTest.java274 requestKeys.add(CaptureRequest.CONTROL_AE_ANTIBANDING_MODE); in validateCapability()
275 requestKeys.add(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION); in validateCapability()
276 requestKeys.add(CaptureRequest.CONTROL_AE_MODE); in validateCapability()
277 requestKeys.add(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in validateCapability()
278 requestKeys.add(CaptureRequest.CONTROL_AF_MODE); in validateCapability()
279 requestKeys.add(CaptureRequest.CONTROL_AF_TRIGGER); in validateCapability()
280 requestKeys.add(CaptureRequest.CONTROL_AWB_MODE); in validateCapability()
281 requestKeys.add(CaptureRequest.CONTROL_CAPTURE_INTENT); in validateCapability()
282 requestKeys.add(CaptureRequest.CONTROL_EFFECT_MODE); in validateCapability()
283 requestKeys.add(CaptureRequest.CONTROL_MODE); in validateCapability()
[all …]
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DDocletRunner.java38 args.add("javadoc"); in runJavaDoc()
39 args.add("-doclet"); in runJavaDoc()
40 args.add("com.android.cts.javascannerdoclet.CtsJavaScannerDoclet"); in runJavaDoc()
41 args.add("-docletpath"); in runJavaDoc()
42 args.add(mDocletPath.toString()); in runJavaDoc()
43 args.add("-sourcepath"); in runJavaDoc()
44 args.add(getSourcePath(mSourceDirs)); in runJavaDoc()
45 args.add("-classpath"); in runJavaDoc()
46 args.add(getClassPath()); in runJavaDoc()
74 sourcePath.add("./frameworks/base/core/java"); in getSourcePath()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DServReqTestSuite.java50 sTestSuite.add(new ServReqAllTestCase01(context)); in initialize()
51 sTestSuite.add(new ServReqAllTestCase02(context)); in initialize()
52 sTestSuite.add(new ServReqAllTestCase03(context)); in initialize()
53 sTestSuite.add(new ServReqDnsPtrTestCase(context)); in initialize()
54 sTestSuite.add(new ServReqDnsTxtTestCase(context)); in initialize()
55 sTestSuite.add(new ServReqUpnpAllTestCase(context)); in initialize()
56 sTestSuite.add(new ServReqUpnpRootDeviceTestCase(context)); in initialize()
57 sTestSuite.add(new ServReqRemoveRequestTestCase(context)); in initialize()
58 sTestSuite.add(new ServReqClearRequestTestCase(context)); in initialize()
59 sTestSuite.add(new ServReqMultiClientTestCase01(context)); in initialize()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceEmulatorTestActivity.java46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_emulator_tests)); in onCreate()
54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_emulator, in onCreate()
58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_emulator, in onCreate()
62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_emulator, in onCreate()
66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_emulator, in onCreate()
70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_emulator, in onCreate()
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_emulator, in onCreate()
78 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_emulator, in onCreate()
82 … adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_emulator, in onCreate()
86 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_non_payment_emulator, in onCreate()
[all …]
DHceReaderTestActivity.java42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); in onCreate()
44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, in onCreate()
48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, in onCreate()
52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, in onCreate()
56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, in onCreate()
60 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader, in onCreate()
64 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_reader, in onCreate()
68 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_reader, in onCreate()
72 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_reader, in onCreate()
76 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_non_payment_reader, in onCreate()
[all …]
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java56 allowedDensities.add(DisplayMetrics.DENSITY_LOW); in testScreenConfiguration()
57 allowedDensities.add(DisplayMetrics.DENSITY_MEDIUM); in testScreenConfiguration()
58 allowedDensities.add(DisplayMetrics.DENSITY_TV); in testScreenConfiguration()
59 allowedDensities.add(DisplayMetrics.DENSITY_HIGH); in testScreenConfiguration()
60 allowedDensities.add(DisplayMetrics.DENSITY_280); in testScreenConfiguration()
61 allowedDensities.add(DisplayMetrics.DENSITY_XHIGH); in testScreenConfiguration()
62 allowedDensities.add(DisplayMetrics.DENSITY_360); in testScreenConfiguration()
63 allowedDensities.add(DisplayMetrics.DENSITY_400); in testScreenConfiguration()
64 allowedDensities.add(DisplayMetrics.DENSITY_420); in testScreenConfiguration()
65 allowedDensities.add(DisplayMetrics.DENSITY_XXHIGH); in testScreenConfiguration()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_element.cpp236 eb->add(Element::A_8(mRS), "A_8", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
237 eb->add(Element::RGBA_4444(mRS), "RGBA_4444", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
238 eb->add(Element::RGBA_5551(mRS), "RGBA_5551", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
239 eb->add(Element::RGB_565(mRS), "RGB_565", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
240 eb->add(Element::RGB_888(mRS), "RGB_888", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
241 eb->add(Element::RGBA_8888(mRS), "RGBA_8888", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
242 eb->add(Element::F32(mRS), "F32", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
243 eb->add(Element::F32_2(mRS), "F32_2", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
244 eb->add(Element::F32_3(mRS), "F32_3", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
245 eb->add(Element::F32_4(mRS), "F32_4", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
[all …]
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java37 PERMISSION_GROUPS.add(Manifest.permission_group.CALENDAR);
38 PERMISSION_GROUPS.add(Manifest.permission_group.CAMERA);
39 PERMISSION_GROUPS.add(Manifest.permission_group.CONTACTS);
40 PERMISSION_GROUPS.add(Manifest.permission_group.LOCATION);
41 PERMISSION_GROUPS.add(Manifest.permission_group.MICROPHONE);
42 PERMISSION_GROUPS.add(Manifest.permission_group.PHONE);
43 PERMISSION_GROUPS.add(Manifest.permission_group.SENSORS);
44 PERMISSION_GROUPS.add(Manifest.permission_group.SMS);
45 PERMISSION_GROUPS.add(Manifest.permission_group.STORAGE);
/cts/libs/commonutil/src/com/android/cts/util/
DAbiUtils.java63 ABIS_32BIT.add("armeabi-v7a");
64 ABIS_32BIT.add("x86");
65 ABIS_32BIT.add("mips");
67 ABIS_64BIT.add("arm64-v8a");
68 ABIS_64BIT.add("x86_64");
69 ABIS_64BIT.add("mips64");
71 ARM_ABIS.add("armeabi-v7a");
72 ARM_ABIS.add("arm64-v8a");
74 INTEL_ABIS.add("x86");
75 INTEL_ABIS.add("x86_64");
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothTestActivity.java47 disabledTestArray.add(s); in onCreate()
50 disabledTestArray.add( in onCreate()
52 disabledTestArray.add( in onCreate()
54 disabledTestArray.add( in onCreate()
56 disabledTestArray.add( in onCreate()
59 disabledTestArray.add( in onCreate()
61 disabledTestArray.add( in onCreate()
63 disabledTestArray.add( in onCreate()
DBleClientStartActivity.java94 testList.add(R.string.ble_client_connect_name); in setupTestList()
95 testList.add(R.string.ble_discover_service_name); in setupTestList()
96 testList.add(R.string.ble_read_characteristic_name); in setupTestList()
97 testList.add(R.string.ble_write_characteristic_name); in setupTestList()
98 testList.add(R.string.ble_reliable_write_name); in setupTestList()
99 testList.add(R.string.ble_notify_characteristic_name); in setupTestList()
100 testList.add(R.string.ble_read_descriptor_name); in setupTestList()
101 testList.add(R.string.ble_write_descriptor_name); in setupTestList()
102 testList.add(R.string.ble_read_rssi_name); in setupTestList()
103 testList.add(R.string.ble_client_disconnect_name); in setupTestList()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DElementTest.java138 eb1.add(Element.I8(mRS), "Test"); in testEquals()
139 Element e1 = eb1.add(Element.U8(mRS), "UTest").create(); in testEquals()
144 eb2.add(Element.I8(mRS), "Test"); in testEquals()
145 Element e2 = eb2.add(Element.U8(mRS), "UTest").create(); in testEquals()
155 eb3.add(Element.I8(mRS), "Test"); in testEquals()
156 Element e3 = eb3.add(Element.U8(mRS), "NotUTest").create(); in testEquals()
163 eb1.add(Element.I8(mRS), "Another"); in testEquals()
169 eb4.add(Element.I8(mRS), "Test"); in testEquals()
170 Element e4 = eb4.add(Element.A_8(mRS), "UTest").create(); in testEquals()
278 eb.add(Element.A_8(mRS), "A_8", arraySize); in testElementBuilder()
[all …]
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java72 row.add(Root.COLUMN_ROOT_ID, "local"); in queryRoots()
73 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY); in queryRoots()
74 row.add(Root.COLUMN_TITLE, "CtsLocal"); in queryRoots()
75 row.add(Root.COLUMN_SUMMARY, "CtsLocalSummary"); in queryRoots()
76 row.add(Root.COLUMN_DOCUMENT_ID, "doc:local"); in queryRoots()
79 row.add(Root.COLUMN_ROOT_ID, "create"); in queryRoots()
80 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD); in queryRoots()
81 row.add(Root.COLUMN_TITLE, "CtsCreate"); in queryRoots()
82 row.add(Root.COLUMN_DOCUMENT_ID, "doc:create"); in queryRoots()
115 mLocalRoot.children.add(file1); in resetRoots()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecListTest.java121 s.add(el); in asSet()
129 s.add(el); in asSet()
340 supportedList.add(new CodecType(types[j], isEncoder, null /* sampleFormat */)); in getSupportedCodecTypes()
358 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_MPEG, false, 8000)); // mp3 in getRequiredCodecTypes()
359 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_MPEG, false, 48000)); // mp3 in getRequiredCodecTypes()
360 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_VORBIS, false, 8000)); in getRequiredCodecTypes()
361 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_VORBIS, false, 48000)); in getRequiredCodecTypes()
362 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_AAC, false, 8000)); in getRequiredCodecTypes()
363 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_AAC, false, 48000)); in getRequiredCodecTypes()
364 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_RAW, false, 8000)); in getRequiredCodecTypes()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DArrayAdapterTest.java67 list.add(STR1); in testConstructor()
68 list.add(STR2); in testConstructor()
90 mArrayAdapter.add(STR1); in testDataChangeEvent()
93 mArrayAdapter.add(STR2); in testDataChangeEvent()
111 mArrayAdapter.add(STR3); in testDataChangeEvent()
122 mArrayAdapter.add(STR3); in testDataChangeEvent()
134 mArrayAdapter.add(STR1); in testAccessView()
135 mArrayAdapter.add(STR2); in testAccessView()
136 mArrayAdapter.add(STR3); in testAccessView()
190 mArrayAdapter.add(STR1); in testSetDropDownViewResouce()
[all …]
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
DBoid.cpp41 separation.add(tmp); in flock()
46 alignment.add(b->mVelocity); in flock()
49 cohesion.add(b->mPosition); in flock()
59 mAcceleration.add(separation); in flock()
65 mAcceleration.add(alignment); in flock()
78 mAcceleration.add(desired); in flock()
82 mVelocity.add(mAcceleration); in flock()
84 mPosition.add(mVelocity); in flock()
/cts/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/
DJavaScanner.java63 args.add("javadoc"); in scan()
64 args.add("-doclet"); in scan()
65 args.add("com.android.compatibility.common.scanner.JavaScannerDoclet"); in scan()
66 args.add("-sourcepath"); in scan()
67 args.add(getSourcePath(mSourceDir)); in scan()
68 args.add("-classpath"); in scan()
69 args.add(getClassPath()); in scan()
70 args.add("-docletpath"); in scan()
71 args.add(mDocletDir.toString()); in scan()
97 sourcePath.add(sourceDir.toString()); in getSourcePath()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java54 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); in onCreate()
55 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, in onCreate()
58 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, in onCreate()
63 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, in onCreate()
67 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); in onCreate()
68 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, in onCreate()
71 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, in onCreate()
76 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); in onCreate()
77 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests, in onCreate()
80 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_emulator_tests, in onCreate()
/cts/tools/vm-tests-tf/src/util/build/
DJackBuildStep.java42 sourceFiles.add(sourceFile); in addSourceFile()
59 commandLine.add("--verbose"); in build()
60 commandLine.add("error"); in build()
61 commandLine.add("--classpath"); in build()
62 commandLine.add(classPath); in build()
63 commandLine.add("--output-jack"); in build()
64 commandLine.add(destPath); in build()
DJackDexBuildStep.java55 commandLine.add("--verbose"); in build()
56 commandLine.add("error"); in build()
57 commandLine.add("--output-dex-zip"); in build()
58 commandLine.add(outputFilePath); in build()
59 commandLine.add("--import"); in build()
60 commandLine.add(inputFile.fileName.getAbsolutePath()); in build()
/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java207 mVec.add(STR_CHARACTERS_TAG + new String(ch)); in characters()
208 mVec.add(STR_START_TAG + start); in characters()
209 mVec.add(STR_LENGTH_TAG + length); in characters()
213 mVec.add(STR_END_DOCUMENT); in endDocument()
217 mVec.add(STR_END_ELEMENT); in endElement()
218 mVec.add(uri); in endElement()
219 mVec.add(localName); in endElement()
220 mVec.add(name); in endElement()
224 mVec.add(STR_END_PREFIX_MAPPING_TAG + prefix); in endPrefixMapping()
228 mVec.add(STR_IGNORABLE_WHITESPACE_TAG + new String(ch)); in ignorableWhitespace()
[all …]
/cts/common/host-side/xml-plan-generator/tests/src/com/android/compatibility/common/xmlgenerator/
DXmlPlanGeneratorTest.java96 args.add("java"); in runGenerator()
97 args.add("-jar"); in runGenerator()
98 args.add(JAR); in runGenerator()
99 args.add("-p"); in runGenerator()
100 args.add(PACKAGE_NAME); in runGenerator()
101 args.add("-n"); in runGenerator()
102 args.add(NAME); in runGenerator()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/
DCameraFlashlightActivity.java192 mPendingCameraIds.add(id); in onCreate()
213 mStateButtonsMap.get(TestState.NOT_STARTED).add(mInstructionButton); in onCreate()
214 mStateButtonsMap.get(TestState.RESPONDED_ON_CORRECTLY).add(mInstructionButton); in onCreate()
215 mStateButtonsMap.get(TestState.RESPONDED_OFF_CORRECTLY).add(mInstructionButton); in onCreate()
216 mStateButtonsMap.get(TestState.ALL_PASSED).add(mInstructionButton); in onCreate()
217 mStateButtonsMap.get(TestState.FAILED).add(mInstructionButton); in onCreate()
218 mAllButtons.add(mInstructionButton); in onCreate()
222 mStateButtonsMap.get(TestState.TESTING_ON).add(mOnButton); in onCreate()
223 mStateButtonsMap.get(TestState.TESTING_OFF).add(mOnButton); in onCreate()
224 mAllButtons.add(mOnButton); in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java314 adapter.add(mProfileOwnerInstalled); in setupTests()
317 adapter.add(mWorkAppVisibleTest); in setupTests()
318 adapter.add(mWorkNotificationBadgedTest); in setupTests()
319 adapter.add(mWorkStatusBarIconTest); in setupTests()
320 adapter.add(mWorkStatusBarToastTest); in setupTests()
323 adapter.add(mProfileAccountVisibleTest); in setupTests()
324 adapter.add(mDeviceAdminVisibleTest); in setupTests()
325 adapter.add(mCredSettingsVisibleTest); in setupTests()
326 adapter.add(mAppSettingsVisibleTest); in setupTests()
327 adapter.add(mLocationSettingsVisibleTest); in setupTests()
[all …]

12345678910>>...23