Home
last modified time | relevance | path

Searched refs:ByteArray (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/rs/toolkit/java/
DToolkit.kt78 sourceArray: ByteArray, in blend()
79 destArray: ByteArray, in blend()
177 inputArray: ByteArray, in blur()
183 ): ByteArray { in blur()
196 val outputArray = ByteArray(inputArray.size) in blur()
338 inputArray: ByteArray, in colorMatrix()
346 ): ByteArray { in colorMatrix()
368 val outputArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in colorMatrix()
461 inputArray: ByteArray, in convolve()
467 ): ByteArray { in convolve()
[all …]
/frameworks/rs/toolkit/test/
DIntrinsicLut.kt34 inputArray: ByteArray, in intrinsicLut()
37 newRed: ByteArray, in intrinsicLut()
38 newGreen: ByteArray, in intrinsicLut()
39 newBlue: ByteArray, in intrinsicLut()
40 newAlpha: ByteArray, in intrinsicLut()
42 ): ByteArray { in intrinsicLut()
54 val intrinsicOutArray = ByteArray(sizeX * sizeY * 4) in intrinsicLut()
84 newRed: ByteArray, in intrinsicLut()
85 newGreen: ByteArray, in intrinsicLut()
86 newBlue: ByteArray, in intrinsicLut()
[all …]
DIntrinsicLut3d.kt33 inputArray: ByteArray, in intrinsicLut3d()
36 cubeArray: ByteArray, in intrinsicLut3d()
39 ): ByteArray { in intrinsicLut3d()
52 val intrinsicOutArray = ByteArray(sizeX * sizeY * 4) in intrinsicLut3d()
86 cubeArray: ByteArray, in intrinsicLut3d()
89 ): ByteArray { in intrinsicLut3d()
95 val intrinsicOutArray = ByteArray(bitmap.byteCount) in intrinsicLut3d()
DIntrinsicBlur.kt33 inputArray: ByteArray, in intrinsicBlur()
39 ): ByteArray { in intrinsicBlur()
56 val intrinsicOutArray = ByteArray(sizeX * sizeY * vectorSize) in intrinsicBlur()
82 ): ByteArray { in intrinsicBlur()
88 val intrinsicOutArray = ByteArray(bitmap.byteCount) in intrinsicBlur()
DIntrinsicResize.kt32 inputArray: ByteArray, in intrinsicResize()
39 ): ByteArray { in intrinsicResize()
53 val intrinsicOutArray = ByteArray(outSizeX * outSizeY * paddedSize(vectorSize)) in intrinsicResize()
82 ): ByteArray { in intrinsicResize()
100 val intrinsicOutArray = ByteArray(outSizeX * outSizeY * vectorSize) in intrinsicResize()
DIntrinsicConvolve.kt34 inputArray: ByteArray, in intrinsicConvolve()
40 ): ByteArray { in intrinsicConvolve()
49 val intrinsicOutArray = ByteArray(sizeX * sizeY * paddedSize(vectorSize)) in intrinsicConvolve()
73 ): ByteArray { in intrinsicConvolve()
78 val intrinsicOutArray = ByteArray(bitmap.byteCount) in intrinsicConvolve()
DIntrinsicColorMatrix.kt35 inputArray: ByteArray, in intrinsicColorMatrix()
43 ): ByteArray { in intrinsicColorMatrix()
67 val intrinsicOutArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in intrinsicColorMatrix()
117 ): ByteArray { in intrinsicColorMatrix()
122 val intrinsicOutArray = ByteArray(bitmap.byteCount) in intrinsicColorMatrix()
DReferenceColorMatrix.kt25 fun referenceColorMatrix(inputArray: ByteArray, in <lambda>()
31 restriction: Range2d?): ByteArray { in <lambda>()
35 val outputArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in <lambda>()
DIntrinsicYuvToRgb.kt32 inputArray: ByteArray, in intrinsicYuvToRgb()
36 ): ByteArray { in intrinsicYuvToRgb()
57 val intrinsicOutArray = ByteArray(sizeX * sizeY * 4) in intrinsicYuvToRgb()
DReferenceYuvToRgb.kt26 fun referenceYuvToRgb(inputSignedArray: ByteArray, sizeX: Int, sizeY: Int, format: YuvFormat): Byte… in referenceYuvToRgb()
30 val outputArray = ByteArray(sizeX * sizeY * 4) in referenceYuvToRgb()
DReferenceLut.kt27 inputArray: ByteArray, in <lambda>()
32 ): ByteArray { in <lambda>()
DBufferUtils.kt92 fun ByteArray.toFloat4(): Float4 { in toFloat4() method
242 private val values: ByteArray,
298 fun randomByteArray(seed: Long, sizeX: Int, sizeY: Int, elementSize: Int): ByteArray { in indexOfVector()
300 return ByteArray(sizeX * sizeY * elementSize) { (r.nextInt(255) - 128).toByte() } in indexOfVector()
322 fun randomCube(seed: Long, cubeSize: Dimension): ByteArray { in randomCube()
324 return ByteArray(cubeSize.sizeX * cubeSize.sizeY * cubeSize.sizeZ * 4) { in randomCube()
333 fun identityCube(cubeSize: Dimension): ByteArray { in identityCube()
334 val data = ByteArray(cubeSize.sizeX * cubeSize.sizeY * cubeSize.sizeZ * 4) in identityCube()
352 fun randomYuvArray(seed: Long, sizeX: Int, sizeY: Int, format: YuvFormat): ByteArray { in randomYuvArray()
468 fun getBitmapBytes(bitmap: Bitmap): ByteArray { in getBitmapBytes()
[all …]
DReferenceConvolve.kt26 inputArray: ByteArray, in <lambda>()
32 ): ByteArray { in <lambda>()
DReferenceBlur.kt29 fun referenceBlur(inputArray: ByteArray, in <lambda>()
33 radius: Int = 5, restriction: Range2d?): ByteArray { in <lambda>()
48 …return ByteArray(outInFloat.values.size) { unitFloatClampedToUByte(outInFloat.values[it]).toByte()… in <lambda>()
DReferenceHistogram.kt34 inputArray: ByteArray, in <lambda>()
60 inputArray: ByteArray, in referenceHistogramDot()
DReferenceLut3d.kt27 inputArray: ByteArray, in <lambda>()
32 ): ByteArray { in <lambda>()
DReferenceBlend.kt30 sourceArray: ByteArray, in <lambda>()
31 destArray: ByteArray, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/proto/
DCommunalHubStateExt.kt23 fun CommunalHubState.toByteArray(): ByteArray { in toByteArray()
32 fun ByteArray.toCommunalHubState(): CommunalHubState { in toCommunalHubState() method
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DSystemAttestationVerificationTest.kt56 avm.verifyAttestation(profile, TYPE_PUBLIC_KEY, Bundle(), ByteArray(0), in <lambda>()
68 avm.verifyAttestation(profile, TYPE_CHALLENGE, Bundle(), ByteArray(0), in <lambda>()
141 avm.verifyAttestation(profile, TYPE_PUBLIC_KEY, Bundle(), ByteArray(0), in <lambda>()
154 avm.verifyAttestation(profile, TYPE_PUBLIC_KEY, Bundle(), ByteArray(0), in <lambda>()
179 val attestation: ByteArray in <lambda>()
189 private fun generateAndStoreKey(alias: String, challenge: ByteArray) { in <lambda>()
207 private fun generateCertificatesByteArray(alias: String): ByteArray { in <lambda>()
DPeerDeviceSystemAttestationVerificationTest.kt37 private lateinit var invalidAttestationByteArray: ByteArray in <lambda>()
116 avm.verifyAttestation(profile, TYPE_PUBLIC_KEY, requirements, ByteArray(0), in <lambda>()
141 private fun String.fromPEMFileToByteArray(): ByteArray { in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DBinaryXmlPullParserExtensions.kt151 inline fun BinaryXmlPullParser.getAttributeBytesHex(name: String): ByteArray? =
157 inline fun BinaryXmlPullParser.getAttributeBytesHexOrThrow(name: String): ByteArray =
162 inline fun BinaryXmlPullParser.getAttributeBytesBase64(name: String): ByteArray? =
168 inline fun BinaryXmlPullParser.getAttributeBytesBase64OrThrow(name: String): ByteArray =
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DEndToEndTest.kt106 outputs: Map<String, ByteArray>, in <lambda>()
124 private fun assertLoadText(outputs: Map<String, ByteArray>, path: String): String { in <lambda>()
133 ): Map<String, ByteArray> { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtils.kt66 fun writeBytesToDisk(data: ByteArray) { in <lambda>()
80 fun readBytesFromDisk(): ByteArray { in <lambda>()
/frameworks/base/core/java/android/text/
DAutoGrowArray.java51 public static class ByteArray { class in AutoGrowArray
59 public ByteArray() { in ByteArray() method in AutoGrowArray.ByteArray
66 public ByteArray(@IntRange(from = 0) int initialCapacity) { in ByteArray() method in AutoGrowArray.ByteArray
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DTestUtils.kt46 data: ByteArray, in newBackupDataInputStream()
56 val buf = it.arguments[0] as ByteArray in newBackupDataInputStream()

123