/cts/tests/tests/ndef/src/android/ndef/cts/ |
D | NdefTest.java | 303 new NdefMessage(NdefRecord.createUri("http://www.google.com")).toByteArray())), in testValidParsing() 315 NdefRecord.createUri(Uri.parse("http://www.nfc.com"))).toByteArray()); in testCreateUri() 319 new NdefMessage(NdefRecord.createUri("tel:+35891234567")).toByteArray()); in testCreateUri() 323 new NdefMessage(NdefRecord.createUri("foo")).toByteArray()); in testCreateUri() 328 new NdefMessage(NdefRecord.createUri("\u00A2")).toByteArray()); in testCreateUri() 414 r.toByteArray()); in testCreateApplicationRecord() 460 new NdefRecord(NdefRecord.TNF_EMPTY, null, null, null)).toByteArray()); in testToByteArray() 465 NdefRecord.TNF_UNKNOWN, null, new byte[] {9}, null)).toByteArray()); in testToByteArray() 470 NdefRecord.TNF_EXTERNAL_TYPE, new byte[] {9}, null, null)).toByteArray()); in testToByteArray() 475 NdefRecord.TNF_UNKNOWN, null, null, new byte[] {9})).toByteArray()); in testToByteArray() [all …]
|
/cts/tests/tests/nfc/src/android/nfc/tech/cts/interactive/ |
D | NfcUtils.java | 54 return Arrays.equals(record.toByteArray(), otherRecord.toByteArray()); in areRecordsEqual()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
D | NfcUtils.java | 46 return Arrays.equals(record.toByteArray(), otherRecord.toByteArray()); in areRecordsEqual()
|
/cts/tests/tests/time/shell_utils/host/android/app/time/cts/shell/host/ |
D | HostShellCommandExecutor.java | 53 + parseBytesAsString(stdErrBytesReceiver.toByteArray()).trim()); in executeToBytesInternal() 55 return stdOutBytesReceiver.toByteArray(); in executeToBytesInternal()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarTelemetryManagerTest.java | 148 mCarTelemetryManager.addMetricsConfig(TEST_CONFIG_NAME, TEST_CONFIG.toByteArray(), in testAddRemoveMetricsConfig() 155 mCarTelemetryManager.addMetricsConfig(TEST_CONFIG_NAME, TEST_CONFIG.toByteArray(), in testAddRemoveMetricsConfig() 163 mCarTelemetryManager.addMetricsConfig(TEST_CONFIG_NAME, TEST_CONFIG.toByteArray(), in testAddRemoveMetricsConfig() 193 PARKING_BRAKE_CONFIG.toByteArray(), Runnable::run, callback); in testEndToEndScriptExecution_getFinishedReport() 235 PARKING_BRAKE_CONFIG.toByteArray(), Runnable::run, callback); in testEndToEndScriptExecution_getAllFinishedReports() 236 mCarTelemetryManager.addMetricsConfig(ERROR_CONFIG_NAME, ERROR_CONFIG.toByteArray(), in testEndToEndScriptExecution_getAllFinishedReports()
|
/cts/tests/sensor/src/android/hardware/cts/accessories/ |
D | HidCommand.kt | 62 writeCommands(parser.readRegisterCommand(registerCommand).toByteArray()) in registerDevice() 94 writeCommands(json.toString().toByteArray()) in setGetReportResponse() 132 writeCommands(json.toString().toByteArray()) in sendSetReportReply() 169 writeCommands(json.toString().toByteArray()) in sendHidReport()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | TransportDiscoveryDataTest.java | 122 public void toByteArray() { in toByteArray() method in TransportDiscoveryDataTest 130 TestUtils.assertArrayEquals(data.toByteArray(), dataFromParcel.toByteArray()); in toByteArray()
|
D | TransportBlockTest.java | 121 public void toByteArray() { in toByteArray() method in TransportBlockTest 129 TestUtils.assertArrayEquals(data.toByteArray(), dataFromParcel.toByteArray()); in toByteArray()
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | NativeWifiClientTest.java | 54 assertThat(client.getMacAddress().toByteArray()).isEqualTo(TEST_MAC); in testGetters() 67 assertThat(clientDeserialized.getMacAddress().toByteArray()).isEqualTo(TEST_MAC); in canSerializeAndDeserialize()
|
/cts/hostsidetests/art/host/src/android/art/cts/host/ |
D | ThreadLocalRandomTest.java | 99 + parseBytesAsString(stdErrBytesReceiver.toByteArray()).trim()); in execute() 101 return stdOutBytesReceiver.toByteArray(); in execute()
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | MockSpellCheckerClient.kt | 30 context.contentResolver, KEY_CONFIGURATION, configuration.toByteArray()) in updateConfiguration()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Integer.java | 105 buf.put(value.toByteArray()); in encodeBerValue() 132 ? PerAlignedUtils.encodeUnconstrainedLengthOfBytes(value.toByteArray()) in encodePerImpl() 133 : PerUnalignedUtils.encodeSemiConstrainedLengthOfBytes(value.toByteArray()); in encodePerImpl()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/ |
D | PackageUtil.java | 45 md.update(signingInfo.getSigningCertificateHistory()[0].toByteArray()); in getSelfPackageSha256Cert()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BroadcastRpc.java | 29 return testServiceRequest.toByteArray(); in requestToBytes()
|
/cts/tests/tests/car/src/android/car/cts/utils/ |
D | ProtoDumpUtils.java | 53 return stdout.toByteArray(); in executeProtoDumpShellCommand()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamBoolTest.java | 85 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 162 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 246 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamSInt32Test.java | 100 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 201 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 302 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamEnumTest.java | 105 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 213 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 331 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamInt32Test.java | 102 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 207 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 318 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamSFixed32Test.java | 100 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 201 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 303 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamUInt32Test.java | 100 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 201 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 302 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
D | ProtoOutputStreamFixed32Test.java | 100 final byte[] expected = MessageNano.toByteArray(all); in testWriteCompat() 201 final byte[] expected = MessageNano.toByteArray(all); in testRepeatedCompat() 302 final byte[] expected = MessageNano.toByteArray(all); in testPackedCompat()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | Event.java | 60 return bos.toByteArray(); in toBytes()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2023_40099.java | 45 String stdErrorOutput = new String(ByteStreams.toByteArray(process.getErrorStream())); in testPocCVE_2023_40099()
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | UaSecurityProtocolIdentifierTest.java | 102 assertArrayEquals(sp.toByteArray(), PROTO_DEFAULT); in testDefaultId() 118 assertArrayEquals(sp.toByteArray(), PROTO_3GPP_PLAIN[i]); in testValid3gppId() 140 assertArrayEquals(targetData, sp.toByteArray()); in testValid3gppIdWithTls()
|