/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_foreach.cpp | 49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() [all …]
|
D | rs_jni_type.cpp | 52 result &= (b.create() != nullptr); in testTypeBuilderHelper() 122 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 133 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 140 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 146 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 152 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 157 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 163 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 180 sp<const Type> t = Type::create(mRS, Element::F32(mRS), 3, 4, 0); in Java_android_cts_rscpp_RSTypeTest_testGet() 190 passed &= (b.create()->hasFaces()); in Java_android_cts_rscpp_RSTypeTest_testGet() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | PrecomputedTextTest.java | 171 PrecomputedText.create(NULL_CHAR_SEQUENCE, param); in testCreate_withNull() 177 PrecomputedText.create(STRING, null); in testCreate_withNull() 187 final PrecomputedText textWithLTR = PrecomputedText.create(STRING, param); in testCreateForDifferentDirection() 189 final PrecomputedText textWithRTL = PrecomputedText.create(textWithLTR, newParam); in testCreateForDifferentDirection() 198 final CharSequence s = PrecomputedText.create(STRING, param); in testCharSequenceInteface() 219 final Spanned s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spanned() 237 final Spannable s = PrecomputedText.create(STRING, param); in testSpannedInterface_Spannable() 258 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_setSpan_MetricsAffectingSpan() 265 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_removeSpan_MetricsAffectingSpan() 272 final Spanned s = PrecomputedText.create(STRING, param); in testSpannedInterface_String() [all …]
|
/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() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 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() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | TypeTest.java | 28 b.create(); in testBuilderSizes() 93 Type t = b.create(); in testGetCount() 102 Type t = b.setX(8).setY(1).create(); in testGetCount() 106 t = b.setX(8).setY(8).create(); in testGetCount() 110 t = b.setX(8).setY(4).create(); in testGetCount() 114 t = b.setX(4).setY(8).create(); in testGetCount() 117 t = b.setX(7).setY(1).create(); in testGetCount() 121 t = b.setX(7).setY(3).create(); in testGetCount() 129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement() 135 assertTrue(b.create().getX() == 3); in testGetX() [all …]
|
D | ScriptGroupTest.java | 45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel() 49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel() 63 group = b.create(); in testScriptGroupSingleKernel() 79 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel() 83 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 84 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 102 group = b.create(); in testScriptGroupDisconnectedKernel() 121 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection() 126 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection() 127 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection() [all …]
|
D | RsAllocationCopyTest.java | 40 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte() 41 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte() 87 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short() 88 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short() 134 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Int() 135 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Int() 181 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Float() 182 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Float() 229 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Long() 230 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Long() [all …]
|
D | AllocationTest.java | 48 Allocation.createTyped(mRS, typeBuilder.create()).destroy(); in createTypedHelper() 59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper() 62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper() 66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 74 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 80 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() 83 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper() 86 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(7).create(), in createTypedTextureHelper() 91 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() [all …]
|
D | AllocationCopyPaddedTest.java | 36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_1D() 65 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_2D() 95 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_3D() 126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_1D_Helper() 163 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_2D_Helper() 201 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_3D_Helper() 237 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_1D() 269 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_2D() 302 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_3D() 333 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Float3_1D() [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 99 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 122 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() 123 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() [all …]
|
D | RSBlurTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 49 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); in testRSBlurOneChannel() 57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 76 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 78 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels() 86 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
|
D | RSConvolveTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 60 … ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); in testConvolve3x3() 68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 105 RenderScript mRS = RenderScript.create(getContext()); in testConvolve5x5() 114 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 115 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 117 … ScriptIntrinsicConvolve5x5 convolve = ScriptIntrinsicConvolve5x5.create(mRS, Element.A_8(mRS)); in testConvolve5x5() 125 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
|
D | RS3DLUTTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 62 Allocation cube = Allocation.createTyped(mRS, buildCube.create()); in testRSLUT() 64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() 72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
|
D | RSLUTTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() 61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
|
/cts/tools/utils/ |
D | certificates.py | 52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", member in Certificate 81 a = Certificate.create("Root A") 82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1") 83 b = Certificate.create("Root B") 84 a_to_b = Certificate.create("Root A", b, a.key) 85 b_to_a = Certificate.create("Root B", a, b.key) 86 leaf1 = Certificate.create("Leaf", a) 87 intermediate_a = Certificate.create("intermediate", a) 88 intermediate_b = Certificate.create("intermediate", b, intermediate_a.key) 89 leaf2 = Certificate.create("Leaf 2", intermediate_a)
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 73 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() method in BlockingBroadcastReceiver 74 return create(context, new IntentFilter(expectedAction)); in create() 77 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() method in BlockingBroadcastReceiver 78 return create(context, intentFilter, /* checker= */ null); in create() 81 …public static BlockingBroadcastReceiver create(Context context, String expectedAction, Function<In… in create() method in BlockingBroadcastReceiver 82 return create(context, new IntentFilter(expectedAction), checker); in create() 85 …public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, Functio… in create() method in BlockingBroadcastReceiver 86 return create(context, Set.of(intentFilter), checker); in create() 89 … public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters) { in create() method in BlockingBroadcastReceiver 90 return create(context, intentFilters, /* checker= */ null); in create() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 47 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() 56 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBX_8888, 1, in testCreate() 59 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, 1, in testCreate() 62 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate() 65 buffer = HardwareBuffer.create(2, 1, HardwareBuffer.BLOB, 1, in testCreate() 75 buffer = HardwareBuffer.create(0, 4, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 80 buffer = HardwareBuffer.create(2, 0, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 85 buffer = HardwareBuffer.create(2, 4, 0, 1, in testCreateFailsWithInvalidArguments() 90 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, -1, in testCreateFailsWithInvalidArguments() 95 buffer = HardwareBuffer.create(2, 2, HardwareBuffer.BLOB, 1, in testCreateFailsWithInvalidArguments()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/ |
D | UsersTest.java | 120 UserReference user = mTestApis.users().createUser().create(); in all_containsCreatedUser() 131 UserReference user = mTestApis.users().createUser().create(); in all_userAddedSinceLastCallToUsers_containsNewUser() 133 UserReference user2 = mTestApis.users().createUser().create(); in all_userAddedSinceLastCallToUsers_containsNewUser() 145 UserReference user = mTestApis.users().createUser().create(); in all_userRemovedSinceLastCallToUsers_doesNotContainRemovedUser() 154 UserReference user = mTestApis.users().createUser().create(); in find_userExists_returnsUserReference() 182 .create()); in createUser_additionalSystemUser_throwsException() 187 UserReference user = mTestApis.users().createUser().create(); in createUser_userIsCreated() 200 .create(); in createUser_createdUserHasCorrectName() 213 .create(); in createUser_createdUserHasCorrectTypeName() 235 assertThrows(NeneException.class, userBuilder::create); in createUser_specifiesSystemUserType_throwsException() [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | QuickAccessWalletClientTest.java | 110 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testIsWalletServiceAvailable_returnsFalseIfNoServiceAvailable() 116 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testIsWalletFeatureAvailableWhenDeviceLocked_checksSecureSettings() 134 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testGetWalletCards_success() 150 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testGetWalletCards_failsIfNoServiceAvailable() 167 QuickAccessWalletClient client = QuickAccessWalletClient.create(mContext); in testGetWalletCards_failsIfServiceDoesNotRequirePermission() 186 QuickAccessWalletClient.create(mContext).getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_invalidCard_nullId_fails() 200 QuickAccessWalletClient.create(mContext).getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_invalidCard_nullImage_fails() 214 QuickAccessWalletClient.create(mContext).getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_invalidCard_nullContentDesc_fails() 227 QuickAccessWalletClient.create(mContext).getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_invalidCard_nullPendingIntent_fails() 242 QuickAccessWalletClient.create(mContext).getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_invalidResponse_tooManyCards_fails() [all …]
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfDocumentTest.java | 86 verifyException(() -> doc.startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()), in startPageClosedDoc() 95 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageTwiceDoc() 107 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in closeWithOpenPage() 130 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in writeWithOpenPage() 146 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in openTwoPages() 147 verifyException(() -> doc.startPage(new PdfDocument.PageInfo.Builder(100, 100, 1).create()), in openTwoPages() 160 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageFromWrongDoc() 164 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageFromWrongDoc() 178 .startPage(new PdfDocument.PageInfo.Builder(101, 100, 0).create()); in writeTwoPageDocWithSameIndex() 181 .startPage(new PdfDocument.PageInfo.Builder(201, 200, 0).create()); in writeTwoPageDocWithSameIndex() [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/wrapper/extensionwrapperimpl/ |
D | TestExtensionCompat.java | 34 public static TestExtensionCompat create(@Nullable ExtensionInterface extensionInterface) { in create() method in TestExtensionCompat 50 callback.onDeviceStateChanged(TestExtensionDeviceState.create(newDeviceState)); in setExtensionCallback() 58 TestExtensionWindowLayoutInfo.create(newLayout)); in setExtensionCallback() 65 return TestExtensionWindowLayoutInfo.create( in getWindowLayoutInfo() 81 return TestExtensionDeviceState.create(mExtensionInterface.getDeviceState()); in getDeviceState()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/wrapper/sidecarwrapperimpl/ |
D | TestSidecarCompat.java | 35 public static TestSidecarCompat create(@Nullable SidecarInterface sidecarInterface) { in create() method in TestSidecarCompat 51 callback.onDeviceStateChanged(TestSidecarDeviceState.create(newDeviceState)); in setExtensionCallback() 59 TestSidecarWindowLayoutInfo.create(newLayout)); in setExtensionCallback() 66 return TestSidecarWindowLayoutInfo.create( in getWindowLayoutInfo() 82 return TestSidecarDeviceState.create(mSidecarInterface.getDeviceState()); in getDeviceState()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SharedMemoryTest.java | 113 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testReadWrite() 134 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testReadOnly() 162 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testUseAfterClose() 182 SharedMemory sharedMemory = SharedMemory.create(null, 1); in testUseAfterUnmap() 200 SharedMemory sharedMemory = SharedMemory.create("hello", 1024); in testNdkInterop() 213 SharedMemory.create(null, -1); in testInvalidCreate() 218 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testInvalidMapProt() 225 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testInvalidSetProt() 232 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testSetProtAddProt() 243 SharedMemory sharedMemory = SharedMemory.create(null, 1); in testMapAfterClose() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPreProcessingTest.java | 60 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease() 86 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled() 121 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_1AecCreateAndRelease() 147 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_2AecSetEnabledGetEnabled() 182 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_1AgcCreateAndRelease() 208 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_2AgcSetEnabledGetEnabled()
|