/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | ByteArrayHelpers.java | 40 public static byte[] toByteArray(byte[] array) { method in class:ByteArrayHelpers 50 public static byte[] toByteArray(short[] array) { method in class:ByteArrayHelpers 51 return toByteArray(array, Short.SIZE); 60 public static byte[] toByteArray(char[] array) { method in class:ByteArrayHelpers 61 return toByteArray(array, Character.SIZE); 69 public static byte[] toByteArray(int[] array) { method in class:ByteArrayHelpers 70 return toByteArray(array, Integer.SIZE); 78 public static byte[] toByteArray(long[] array) { method in class:ByteArrayHelpers 79 return toByteArray(array, Long.SIZE); 87 public static byte[] toByteArray(floa method in class:ByteArrayHelpers 96 public static byte[] toByteArray(double[] array) { method in class:ByteArrayHelpers 111 public static <T> byte[] toByteArray(T array) { method in class:ByteArrayHelpers 159 public static byte[] toByteArray(Number... numbers) { method in class:ByteArrayHelpers 213 private static <T> byte[] toByteArray(T array, int sizeOfTBits) { method in class:ByteArrayHelpers [all...] |
H A D | CameraMetadataTest.java | 653 toByteArray(1.0f, 2.1f, 3.2f, 4.5f)); 661 }, toByteArray( 673 toByteArray(123f, 456f)); 682 toByteArray( 696 toByteArray(10, 11, 1280 - 10, 1024 - 11)); 703 }, toByteArray( 716 toByteArray(1, 2, 1 + 100, 2 + 200, 5)); 725 toByteArray( 739 toByteArray(1000, 255, 30, 200)); 751 toByteArray( [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DeviceOwnerTest.java | 43 mInputStreamForTest = new ByteArrayInputStream(mOutputStreamForTest.toByteArray()); 58 mInputStreamForTest = new ByteArrayInputStream(mOutputStreamForTest.toByteArray()); 76 mInputStreamForTest = new ByteArrayInputStream(mOutputStreamForTest.toByteArray());
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HexDump.java | 96 return toHexString(toByteArray(b)); 121 return toHexString(toByteArray(i)); 124 public static byte[] toByteArray(byte b) method in class:HexDump 131 public static byte[] toByteArray(int i) method in class:HexDump
|
H A D | BitwiseOutputStream.java | 63 public byte[] toByteArray() { method in class:BitwiseOutputStream
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 226 HexDump.toByteArray((byte) (value | WSP_SHORT_INTEGER_MASK))); 259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 374 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 392 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); [all...] |
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTimerRecordSources.java | 200 /* package */ int toByteArray(byte[] data, int index) { method in class:HdmiTimerRecordSources.TimeUnit 346 int toByteArray(byte[] data, int index) { method in class:HdmiTimerRecordSources.TimerInfo 354 index += mStartTime.toByteArray(data, index); 355 index += mDuration.toByteArray(data, index); 394 int toByteArray(byte[] data, int index) { method in class:HdmiTimerRecordSources.TimerRecordSource 397 index += mTimerInfo.toByteArray(data, index); 399 mRecordSource.toByteArray(false, data, index); 428 mRecordSource.toByteArray(false, data, index + 1);
|
H A D | HdmiRecordSources.java | 76 /* package */ final int toByteArray(boolean includeType, byte[] data, int index) { method in class:HdmiRecordSources.RecordSource 166 int toByteArray(byte[] data, int index); method in interface:HdmiRecordSources.DigitalServiceIdentification 198 public int toByteArray(byte[] data, int index) { method in class:HdmiRecordSources.AribData 227 public int toByteArray(byte[] data, int index) { method in class:HdmiRecordSources.AtscData 261 public int toByteArray(byte[] data, int index) { method in class:HdmiRecordSources.DvbData 290 private int toByteArray(byte[] data, int index) { method in class:HdmiRecordSources.ChannelIdentifier 331 public int toByteArray(byte[] data, int index) { method in class:HdmiRecordSources.DigitalChannelData 332 mChannelIdentifier.toByteArray(data, index); 530 mIdentification.toByteArray(data, index + 1);
|
H A D | HdmiTvClient.java | 224 source.toByteArray(true, data, 0); 264 source.toByteArray(true, data, 0); 315 source.toByteArray(data, 0); 345 source.toByteArray(data, 0);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStreamTest.java | 63 assertTrue(Arrays.equals(data, os.toByteArray())); 76 assertTrue(Arrays.equals(data, os.toByteArray()));
|
H A D | DiskBasedCacheTest.java | 45 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 63 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 80 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 95 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 116 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
|
H A D | ImageRequestTest.java | 97 return bytes.toByteArray();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | BitwiseStreamsTest.java | 40 byte[] outBuf = outStream.toByteArray(); 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 108 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 127 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 152 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
|
H A D | XmlUtilsTest.java | 36 InputStream mapInput = new ByteArrayInputStream(baos.toByteArray());
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapFactoryTest.java | 37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null);
|
/frameworks/base/keystore/java/android/security/ |
H A D | AndroidKeyPairGenerator.java | 173 return new byte[][] { rsaSpec.getPublicExponent().toByteArray() }; 179 return new byte[][] { dsaSpec.getG().toByteArray(), 180 dsaSpec.getP().toByteArray(), dsaSpec.getQ().toByteArray() };
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiSsid.java | 164 byte[] ssidBytes = octets.toByteArray(); 193 return isArrayAllZeroes(octets.toByteArray()); 198 return octets.toByteArray(); 219 dest.writeByteArray(octets.toByteArray());
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | QuotedPrintable.java | 66 return buffer.toByteArray();
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 69 public byte[] toByteArray() { method in class:UnsafeByteSequence
|
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleViewDebug.java | 241 byte[] data = b.toByteArray(); 262 byte[] data = b.toByteArray(); 278 byte[] data = b.toByteArray(); 291 byte[] data = b.toByteArray(); 434 byte[] data = b.toByteArray();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | InputStreamSource.java | 75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray());
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 129 byte[] temp = mArray.toByteArray();
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 35 return out.toByteArray();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | AudioTrackDecoder.java | 109 mAudioSampleRate, mAudioChannelCount, mAudioByteStream.toByteArray());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 83 collection.read(new ByteArrayInputStream(bos.toByteArray())); 109 collection.read(new ByteArrayInputStream(bos.toByteArray())); 135 collection.read(new ByteArrayInputStream(bos.toByteArray()));
|