Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 206) sorted by relevance

123456789

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java66 ScanFilter filter = mFilterBuilder.setDeviceName(LOCAL_NAME).build(); in testsetNameFilter()
70 filter = mFilterBuilder.setDeviceName("Pem").build(); in testsetNameFilter()
76 ScanFilter filter = mFilterBuilder.setDeviceAddress(DEVICE_MAC).build(); in testDeviceAddressFilter()
80 filter = mFilterBuilder.setDeviceAddress("11:22:33:44:55:66").build(); in testDeviceAddressFilter()
87 ParcelUuid.fromString(UUID1)).build(); in testsetServiceUuidFilter()
92 ParcelUuid.fromString(UUID3)).build(); in testsetServiceUuidFilter()
100 .build(); in testsetServiceUuidFilter()
110 ScanFilter filter = mFilterBuilder.setServiceData(serviceDataUuid, setServiceData).build(); in testsetServiceDataFilter()
115 filter = mFilterBuilder.setServiceData(serviceDataUuid, emptyData).build(); in testsetServiceDataFilter()
120 filter = mFilterBuilder.setServiceData(serviceDataUuid, prefixData).build(); in testsetServiceDataFilter()
[all …]
DAdvertiseSettingsTest.java31 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); in testDefaultSettings()
40 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); in testDescribeContents()
53 .build(); in testReadWriteParcel()
67 builder.setTimeout(0).build(); in testIllegalTimeout()
68 builder.setTimeout(180 * 1000).build(); in testIllegalTimeout()
71 builder.setTimeout(180 * 1000 + 1).build(); in testIllegalTimeout()
78 builder.setTimeout(-1).build(); in testIllegalTimeout()
DAdvertiseDataTest.java43 AdvertiseData data = mAdvertiseDataBuilder.build(); in testEmptyData()
59 AdvertiseData data = mAdvertiseDataBuilder.setIncludeDeviceName(true).build(); in testEmptyServiceUuid()
76 .addManufacturerData(manufacturerId, manufacturerData).build(); in testEmptyManufacturerData()
92 .addServiceData(uuid, serviceData).build(); in testEmptyServiceData()
109 .addServiceUuid(uuid).addServiceUuid(uuid2).build(); in testServiceUuid()
131 .addManufacturerData(manufacturerId, manufacturerData).build(); in testManufacturerData()
150 .addServiceData(uuid, serviceData).build(); in testServiceData()
162 AdvertiseData data = mAdvertiseDataBuilder.setIncludeTxPowerLevel(true).build(); in testIncludeTxPower()
172 AdvertiseData data = new AdvertiseData.Builder().build(); in testDescribeContents()
DScanSettingsTest.java31 ScanSettings settings = new ScanSettings.Builder().build(); in testDefaultSettings()
40 ScanSettings settings = new ScanSettings.Builder().build(); in testDescribeContents()
53 .build(); in testReadWriteParcel()
/cts/build/
Dconfig.mk41 BUILD_CTS_EXECUTABLE := cts/build/test_executable.mk
42 BUILD_CTS_PACKAGE := cts/build/test_package.mk
43 BUILD_CTS_GTEST_PACKAGE := cts/build/test_gtest_package.mk
44 BUILD_CTS_HOST_JAVA_LIBRARY := cts/build/test_host_java_library.mk
45 BUILD_CTS_TARGET_JAVA_LIBRARY := cts/build/test_target_java_library.mk
46 BUILD_CTS_UI_JAVA_LIBRARY := cts/build/test_uiautomator.mk
47 BUILD_CTS_DEQP_PACKAGE := cts/build/test_deqp_package.mk
48 BUILD_CTS_SUPPORT_PACKAGE := cts/build/support_package.mk
49 BUILD_CTS_MODULE_TEST_CONFIG := cts/build/module_test_config.mk
50 BUILD_CTS_DEVICE_INFO_PACKAGE := cts/build/device_info_package.mk
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java54 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() local
55 build.setX(X); in testRSColorMatrix0()
56 build.setY(Y); in testRSColorMatrix0()
57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
85 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() local
86 build.setX(X); in testRSColorMatrix1()
87 build.setY(Y); in testRSColorMatrix1()
88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1()
[all …]
DRSBlurTest.java43 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testRSBlurOneChannel() local
44 build.setX(X); in testRSBlurOneChannel()
45 build.setY(Y); in testRSBlurOneChannel()
46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
72 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels() local
73 build.setX(X); in testRSBlurFourChannels()
74 build.setY(Y); in testRSBlurFourChannels()
75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
[all …]
DRSConvolveTest.java54 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testConvolve3x3() local
55 build.setX(X); in testConvolve3x3()
56 build.setY(Y); in testConvolve3x3()
57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
111 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testConvolve5x5() local
112 build.setX(X); in testConvolve5x5()
113 build.setY(Y); in testConvolve5x5()
114 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
[all …]
DRSLUTTest.java43 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT() local
44 build.setX(X); in testRSLUT()
45 build.setY(Y); in testRSLUT()
46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
DRS3DLUTTest.java51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT() local
52 build.setX(X); in testRSLUT()
53 build.setY(Y); in testRSLUT()
54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
DRSBlendTest.java51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSBlend() local
52 build.setX(X); in testRSBlend()
53 build.setY(Y); in testRSBlend()
54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
113 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
DCtsBuildHelper.java17 package com.android.cts.tradefed.build;
19 import com.android.tradefed.build.IBuildInfo;
20 import com.android.tradefed.build.IFolderBuildInfo;
57 public CtsBuildHelper(IFolderBuildInfo build) throws FileNotFoundException { in CtsBuildHelper() argument
58 this(build.getRootDir()); in CtsBuildHelper()
69 public static CtsBuildHelper createBuildHelper(IBuildInfo build) { in createBuildHelper() argument
70 if (!(build instanceof IFolderBuildInfo)) { in createBuildHelper()
73 build.getClass().getName())); in createBuildHelper()
76 CtsBuildHelper ctsBuild = new CtsBuildHelper((IFolderBuildInfo)build); in createBuildHelper()
DCtsBuildProvider.java16 package com.android.cts.tradefed.build;
18 import com.android.tradefed.build.FolderBuildInfo;
19 import com.android.tradefed.build.IBuildInfo;
20 import com.android.tradefed.build.IBuildProvider;
21 import com.android.tradefed.build.IFolderBuildInfo;
/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java42 .setChannelMask(TEST_CONF_POS).setChannelIndexMask(TEST_CONF_IDX).build(); in testBuilderForCopy()
45 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testBuilderForCopy()
62 .setEncoding(TEST_ENCODING).build(); in testPartialFormatBuilderForCopyEncoding()
65 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyEncoding()
83 .setSampleRate(TEST_SR).build(); in testPartialFormatBuilderForCopyRate()
86 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyRate()
104 .setChannelMask(TEST_CONF_POS).build(); in testPartialFormatBuilderForCopyChanMask()
107 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyChanMask()
126 .setChannelIndexMask(TEST_CONF_IDX).build(); in testPartialFormatBuilderForCopyChanIdxMask()
129 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyChanIdxMask()
/cts/apps/CameraITS/
DAndroid.mk18 its-build-stamp := $(its-dir)/build_stamp
20 camera-its: $(its-build-stamp)
24 $(its-dir): $(its-build-stamp)
26 $(its-build-stamp): $(ACP)
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorSpecTest.java49 .build(); in testBuilder_Unencrypted_Success()
72 .build(); in testBuilder_Encrypted_Success()
102 .build(); in testBuilder_MissingAlias_Failure()
115 .build(); in testBuilder_MissingSubjectDN_Failure()
128 .build(); in testBuilder_MissingSerialNumber_Failure()
141 .build(); in testBuilder_MissingStartDate_Failure()
154 .build(); in testBuilder_MissingEndDate_Failure()
168 .build(); in testBuilder_EndBeforeStart_Failure()
DKeyGeneratorTest.java176 keyGenerator.init(getWorkingSpec().build(), (SecureRandom) null); in testInitWithAlgParamsAndNullSecureRandom()
206 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()
224 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()
227 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()
265 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()
268 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()
310 assertFalse(goodSpec.build().isDigestsSpecified()); in testHmacKeyOnlyOneDigestCanBeAuthorized()
311 keyGenerator.init(goodSpec.build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()
317 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()
324 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests().build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java36 .build()); in testParcelling()
46 u = u.buildUpon().build(); in parcelAndUnparcel()
53 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon()
63 Uri b = a.buildUpon().fragment("new").build(); in testBuildUpon()
71 .build(); in testBuildUpon()
72 b = a.buildUpon().fragment("new").build(); in testBuildUpon()
133 .build(); in testEqualsAndHashCode()
142 .build(); in testEqualsAndHashCode()
186 uri = uri.buildUpon().appendQueryParameter("a", "b").build(); in testQueryParameters()
189 uri = uri.buildUpon().appendQueryParameter("a", "b2").build(); in testQueryParameters()
[all …]
DUri_BuilderTest.java27 uri = builder.appendPath("p2").build(); in testBuilderOperations()
37 uri = builder.build(); in testBuilderOperations()
50 .build(); in testBuilderOperations()
60 .build(); in testBuilderOperations()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DPlanCreator.java18 import com.android.cts.tradefed.build.CtsBuildHelper;
93 public void createAndSerializeDerivedPlan(CtsBuildHelper build, Set<String> abis) in createAndSerializeDerivedPlan() argument
95 ITestPlan derivedPlan = createDerivedPlan(build, abis); in createAndSerializeDerivedPlan()
116 public ITestPlan createDerivedPlan(CtsBuildHelper build, Set<String> abis) in createDerivedPlan() argument
118 checkFields(build); in createDerivedPlan()
120 new TestPackageRepo(build.getTestCasesDir(), mIncludeKnownFailures); in createDerivedPlan()
144 private void checkFields(CtsBuildHelper build) throws ConfigurationException { in checkFields() argument
148 ITestResultRepo repo = new TestResultRepo(build.getResultsDir()); in checkFields()
166 mPlanFile = build.getTestPlanFile(mPlanName); in checkFields()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTimingConstraintsTest.java36 .build(); in testScheduleOnce()
48 .build(); in testSchedulePeriodic()
60 .build(); in testCancel()
79 .build(); in testJobParameters_expiredDeadline()
99 .build(); in testJobParameters_unexpiredDeadline()
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java81 .build(); in testNoPrintOptionsOrPrinterChange()
139 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testNoPrintOptionsOrPrinterChange()
145 .build(); in testNoPrintOptionsOrPrinterChange()
164 .build(); in testNoPrintOptionsOrPrinterChange()
202 .build(); in testNoPrintOptionsOrPrinterChangeCanceled()
253 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testNoPrintOptionsOrPrinterChangeCanceled()
259 .build(); in testNoPrintOptionsOrPrinterChangeCanceled()
295 .build(); in testPrintOptionsChangeAndNoPrinterChange()
380 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testPrintOptionsChangeAndNoPrinterChange()
386 .build(); in testPrintOptionsChangeAndNoPrinterChange()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DUiAutomatorJarTest.java18 import com.android.cts.tradefed.build.CtsBuildHelper;
19 import com.android.tradefed.build.IBuildInfo;
49 public void setBuild(IBuildInfo build) { in setBuild() argument
50 mCtsBuild = CtsBuildHelper.createBuildHelper(build); in setBuild()
/cts/tools/vm-tests-tf/src/util/build/
DDxBuildStep.java17 package util.build;
33 boolean build() { in build() method in DxBuildStep
35 if (super.build()) { in build()
DJillBuildStep.java17 package util.build;
32 boolean build() { in build() method in JillBuildStep
33 if (super.build()) { in build()

123456789