/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | TypeTest.java | 24 void testBuilderSizes(Type.Builder b, int min, int max) { in testBuilderSizes() 34 Type.Builder b = new Type.Builder(mRS, e); in testTypeBuilderHelper() 85 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetCount() 127 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetElement() 133 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetX() 139 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetY() 147 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetYuv() 155 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetZ() 161 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testHasFaces() 169 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetMipmaps() [all …]
|
D | VoidPtr.java | 32 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupVoidPtr() 53 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidOutInt() 81 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidOutChar() 110 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidInInt() 141 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidInChar()
|
D | AllocationCopyPaddedTest.java | 34 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_1D() 62 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_2D() 91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_3D() 121 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in test_AllocationPadded_Short3_1D() 152 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in test_AllocationPadded_Short3_2D() 184 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in test_AllocationPadded_Short3_3D() 214 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in test_AllocationPadded_Int3_1D() 245 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in test_AllocationPadded_Int3_2D() 277 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32_3(mRS)); in test_AllocationPadded_Int3_3D() 307 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32_3(mRS)); in test_AllocationPadded_Float3_1D() [all …]
|
D | AllocationCopyToTest.java | 36 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_Allocationcopy1DRangeTo_Byte() 73 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in test_Allocationcopy1DRangeTo_Short() 110 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_Allocationcopy1DRangeTo_Int() 147 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy1DRangeTo_Float() 184 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I64(mRS)); in test_Allocationcopy1DRangeTo_Long() 223 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_Allocationcopy2DRangeTo_Byte() 257 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in test_Allocationcopy2DRangeTo_Short() 291 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_Allocationcopy2DRangeTo_Int() 325 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy2DRangeTo_Float() 359 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I64(mRS)); in test_Allocationcopy2DRangeTo_Long() [all …]
|
D | ScriptGroupTest.java | 27 import android.renderscript.Type.Builder; 45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel() 61 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroupSingleKernel() 74 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel() 93 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroupDisconnectedKernel() 108 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection() 133 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroupFieldConnection() 149 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedDAG() 178 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroupDisconnectedDAG() 201 Type connect = new Type.Builder(mRS, Element.I32(mRS)).setX(bDimX).create(); in testScriptGroupTorture() [all …]
|
D | rsAllocationCopyTest.java | 38 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_rsAllocationCopy1D_Byte() 85 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in test_rsAllocationCopy1D_Short() 132 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_rsAllocationCopy1D_Int() 179 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_rsAllocationCopy1D_Float() 227 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I64(mRS)); in test_rsAllocationCopy1D_Long() 276 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_rsAllocationCopy2D_Byte() 332 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in test_rsAllocationCopy2D_Short() 388 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_rsAllocationCopy2D_Int() 444 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_rsAllocationCopy2D_Float() 500 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I64(mRS)); in test_rsAllocationCopy2D_Long()
|
D | SampleTest.java | 70 Type.Builder b = new Type.Builder(mRS, format); in setUp() 80 Sampler.Builder sb = new Sampler.Builder(mRS); in setUp()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFormatTest.java | 40 final AudioFormat formatToCopy = new AudioFormat.Builder() in testBuilderForCopy() 45 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testBuilderForCopy() 61 final AudioFormat formatToCopy = new AudioFormat.Builder() in testPartialFormatBuilderForCopyEncoding() 65 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyEncoding() 82 final AudioFormat formatToCopy = new AudioFormat.Builder() in testPartialFormatBuilderForCopyRate() 86 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyRate() 103 final AudioFormat formatToCopy = new AudioFormat.Builder() in testPartialFormatBuilderForCopyChanMask() 107 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyChanMask() 125 final AudioFormat formatToCopy = new AudioFormat.Builder() in testPartialFormatBuilderForCopyChanIdxMask() 129 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); in testPartialFormatBuilderForCopyChanIdxMask()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | Test2DetailFragment.java | 50 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onOptionsItemSelected() 71 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView() 83 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView() 96 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView() 108 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView() 121 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView() 133 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateView()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorSpecTest.java | 43 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Unencrypted_Success() 65 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Encrypted_Success() 89 new KeyPairGeneratorSpec.Builder(null); in testBuilder_NullContext_Failure() 97 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_MissingAlias_Failure() 110 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_MissingSubjectDN_Failure() 123 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_MissingSerialNumber_Failure() 136 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_MissingStartDate_Failure() 149 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_MissingEndDate_Failure() 162 new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_EndBeforeStart_Failure()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | ScriptGraph.java | 86 public static Builder create() { in create() 87 return new Builder(); in create() 205 public static class Builder { class in ScriptGraph 227 public Builder configureInput(int width, int height, int format) { in configureInput() 244 public Builder configureInput(int width, int height, int format, int usage) { in configureInput() 262 public Builder configureInput(Size size, int format) { in configureInput() 282 public Builder configureInputWithSurface(Size size, int format) { in configureInputWithSurface() 300 public Builder configureInput(Size size, int format, int usage) { in configureInput() 367 public Builder buildScript() { in buildScript() 370 return Builder.this; in buildScript() [all …]
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | AdvertiseSettingsTest.java | 31 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); in testDefaultSettings() 40 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); in testDescribeContents() 48 AdvertiseSettings settings = new AdvertiseSettings.Builder() in testReadWriteParcel() 66 AdvertiseSettings.Builder builder = new AdvertiseSettings.Builder(); in testIllegalTimeout()
|
D | ScanSettingsTest.java | 31 ScanSettings settings = new ScanSettings.Builder().build(); in testDefaultSettings() 40 ScanSettings settings = new ScanSettings.Builder().build(); in testDescribeContents() 48 ScanSettings settings = new ScanSettings.Builder() in testReadWriteParcel()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 34 JobInfo oneTimeJob = new JobInfo.Builder(TIMING_JOB_ID, kJobServiceComponent) in testScheduleOnce() 46 new JobInfo.Builder(TIMING_JOB_ID, kJobServiceComponent) in testSchedulePeriodic() 57 JobInfo cancelJob = new JobInfo.Builder(CANCEL_JOB_ID, kJobServiceComponent) in testCancel() 77 new JobInfo.Builder(EXPIRED_JOB_ID, kJobServiceComponent) in testJobParameters_expiredDeadline() 96 new JobInfo.Builder(UNEXPIRED_JOB_ID, kJobServiceComponent) in testJobParameters_unexpiredDeadline()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTest.java | 24 import android.app.AlertDialog.Builder; 51 private Builder mBuilder; 134 new AlertDialog.Builder(mContext); in testConstructor() 141 mBuilder = new AlertDialog.Builder(mContext); in testSetIconWithParamInt() 153 mBuilder = new AlertDialog.Builder(mContext); in testSetIconWithParamDrawable() 164 mBuilder = new AlertDialog.Builder(mContext); in testSetPositiveButtonWithParamInt() 180 mBuilder = new AlertDialog.Builder(mContext); in testSetPositiveButtonWithParamCharSequence() 195 mBuilder = new AlertDialog.Builder(mContext); in testSetNegativeButtonWithParamCharSequence() 210 mBuilder = new AlertDialog.Builder(mContext); in testSetNegativeButtonWithParamInt() 225 mBuilder = new AlertDialog.Builder(mContext); in testSetNeutralButtonWithParamInt() [all …]
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentAdapterContractTest.java | 78 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) in testNoPrintOptionsOrPrinterChange() 139 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testNoPrintOptionsOrPrinterChange() 140 PrintAttributes firstNewAttributes = new PrintAttributes.Builder() in testNoPrintOptionsOrPrinterChange() 158 PrintAttributes secondNewAttributes = new PrintAttributes.Builder() in testNoPrintOptionsOrPrinterChange() 199 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) in testNoPrintOptionsOrPrinterChangeCanceled() 253 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testNoPrintOptionsOrPrinterChangeCanceled() 254 PrintAttributes firstNewAttributes = new PrintAttributes.Builder() in testNoPrintOptionsOrPrinterChangeCanceled() 292 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) in testPrintOptionsChangeAndNoPrinterChange() 380 PrintAttributes firstOldAttributes = new PrintAttributes.Builder().build(); in testPrintOptionsChangeAndNoPrinterChange() 381 PrintAttributes firstNewAttributes = new PrintAttributes.Builder() in testPrintOptionsChangeAndNoPrinterChange() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | Uri_BuilderTest.java | 20 import android.net.Uri.Builder; 26 Builder builder = uri.buildUpon(); in testBuilderOperations() 42 uri = new Uri.Builder() in testBuilderOperations() 57 uri = new Uri.Builder() in testBuilderOperations()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | BurstCaptureRawTest.java | 26 import android.hardware.camera2.CaptureRequest.Builder; 144 CaptureRequest.Builder previewRequestBuilder, in CaptureSetup() 145 CaptureRequest.Builder rawRequestBuilder, in CaptureSetup() 169 public CaptureRequest.Builder getPreviewRequestBuilder() in getPreviewRequestBuilder() 174 public CaptureRequest.Builder getRawRequestBuilder() { in getRawRequestBuilder() 192 private CaptureRequest.Builder mPreviewRequestBuilder; 193 private CaptureRequest.Builder mRawRequestBuilder; 208 public void execute(CaptureRequest.Builder rawBurstBuilder, in execute() 219 public void execute(CaptureRequest.Builder rawBurstBuilder, in execute() 269 public void execute(CaptureRequest.Builder rawBurstBuilder, in execute() [all …]
|
/cts/libs/vogar-expect/src/vogar/commands/ |
D | Command.java | 68 private Command(Builder builder) { in Command() 225 public static class Builder { class in Command 234 public Builder args(Object... objects) { in args() 241 public Builder setNativeOutput(boolean nativeOutput) { in setNativeOutput() 246 public Builder args(String... args) { in args() 250 public Builder args(Collection<String> args) { in args() 255 public Builder env(String key, String value) { in env() 266 public Builder workingDirectory(File workingDirectory) { in workingDirectory() 271 public Builder tee(PrintStream printStream) { in tee() 276 public Builder maxLength(int maxLength) { in maxLength()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_TestDataBuilder.java | 49 private ArrayList<Builder<?>> mCreatedRows = Lists.newArrayList(); 50 private HashSet<Builder<?>> mLoadedRows = Sets.newHashSet(); 60 public abstract class Builder<T extends Builder<?>> extends Assert { class in ContactsContract_TestDataBuilder 255 public class TestRawContact extends Builder<TestRawContact> { 280 public class TestContact extends Builder<TestContact> { 306 public class TestGroup extends Builder<TestGroup> { 314 public class TestData extends Builder<TestData> { 363 for (Builder<?> builder : new ArrayList<Builder<?>>(mCreatedRows)) { in cleanup() 367 for (Builder<?> builder : new HashSet<Builder<?>>(mLoadedRows)) { in cleanup()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 54 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 85 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 119 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix2() 151 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix3() 182 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix4()
|
D | RS3DLUTTest.java | 51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT() 58 Type.Builder buildCube = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcDialogs.java | 31 return new AlertDialog.Builder(context) in createNotEnabledDialog() 46 return new AlertDialog.Builder(context) 62 return new AlertDialog.Builder(context) 71 return new AlertDialog.Builder(context)
|