Home
last modified time | relevance | path

Searched refs:EMPTY_BYTE_ARRAY (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyAdminPackageTaskTest.java69 private static final byte[] EMPTY_BYTE_ARRAY = new byte[] {}; field in VerifyAdminPackageTaskTest
111 runWithDownloadInfo(TEST_PACKAGE_CHECKSUM_HASH, EMPTY_BYTE_ARRAY); in testDownloadLocationNull()
125 runWithDownloadInfo(TEST_PACKAGE_CHECKSUM_HASH, EMPTY_BYTE_ARRAY); in testMissingDeviceAdminComponent()
139 runWithDownloadInfo(TEST_PACKAGE_CHECKSUM_HASH, EMPTY_BYTE_ARRAY); in testPackageChecksumSha256_success()
153 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_success()
167 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_failure()
180 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_noSignature()
193 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_digestFailure()
DVerifyRoleHolderPackageTaskTest.java66 private static final byte[] EMPTY_BYTE_ARRAY = new byte[] {}; field in VerifyRoleHolderPackageTaskTest
105 runWithDownloadInfo(TEST_PACKAGE_CHECKSUM_HASH, EMPTY_BYTE_ARRAY); in testDownloadLocationNull()
119 runWithDownloadInfo(TEST_PACKAGE_CHECKSUM_HASH, EMPTY_BYTE_ARRAY); in testPackageChecksumSha256_success()
133 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_success()
147 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_failure()
160 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_noSignature()
173 runWithDownloadInfo(EMPTY_BYTE_ARRAY, TEST_SIGNATURE_HASH); in testSignatureHash_digestFailure()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/block/write/
DEmptyBlockWriter.java28 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in EmptyBlockWriter
31 ByteBuffer.wrap(EMPTY_BYTE_ARRAY).asReadOnlyBuffer();
47 return EMPTY_BYTE_ARRAY; in close()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DEncryptedTopic.java37 private static final byte[] EMPTY_BYTE_ARRAY = new byte[] {}; field in EncryptedTopic
57 return create(EMPTY_BYTE_ARRAY, EMPTY_STRING, EMPTY_BYTE_ARRAY); in getDefaultInstance()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHealthMonitor.java19 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
86 appMetadata = EMPTY_BYTE_ARRAY; in sendHeartbeat()
128 sendHeartbeatInternal(System.nanoTime(), inTrustedPresentationState, EMPTY_BYTE_ARRAY);
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DPreviewApiTest.java51 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in PreviewApiTest
156 /* encryptedTopic */ EMPTY_BYTE_ARRAY, in testForTopicsAPITestCoverage()
158 /* encapsulatedKey */ EMPTY_BYTE_ARRAY); in testForTopicsAPITestCoverage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DTlsSessionTest.java70 static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in TlsSessionTest
154 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testCloseConnection_success_withoutData()
166 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testCloseConnection_failure_sslException()
179 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testCloseConnection_failure_bufferOverflow()
DTlsSessionHandshakeTest.java82 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testStartHandshake_fail()
182 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testprocessHandshakeData_wrapClosed()
228 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testprocessHandshakeData_notHandshaking()
DTlsSessionTunnelTest.java114 assertArrayEquals(EMPTY_BYTE_ARRAY, result.data); in testEncryptMessage_closed()
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DHeaderBlockWriter.java35 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in HeaderBlockWriter
75 return EMPTY_BYTE_ARRAY; in close()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DCarPropertyHelper.java20 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
140 return (T) EMPTY_BYTE_ARRAY; in getDefaultValue()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/table/packed/write/
DPackedTableWriter.java36 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in PackedTableWriter
121 sharedData = EMPTY_BYTE_ARRAY; in writeHeader()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DHeaderBlockWriter.java37 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in HeaderBlockWriter
121 return EMPTY_BYTE_ARRAY; in close()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriberManager.java19 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
52 private static final byte[] DEFAULT_PUBLISHER_INFO = EMPTY_BYTE_ARRAY;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEncryptionManager.java59 private static final byte[] EMPTY_BYTE_ARRAY = new byte[] {}; field in EncryptionManager
164 /* contextInfo */ EMPTY_BYTE_ARRAY); in encryptTopicWithKey()
/packages/services/Car/car-lib/src/com/android/car/internal/common/
DCommonConstants.java84 public static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in CommonConstants
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelper.java53 static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in PersonBuilderHelper
120 mBuilder.setFingerprint(EMPTY_BYTE_ARRAY); in buildPerson()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DRangingResult.java58 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in RangingResult
527 mLci = (builder.mLci == null) ? EMPTY_BYTE_ARRAY : builder.mLci; in RangingResult()
528 mLcr = (builder.mLcr == null) ? EMPTY_BYTE_ARRAY : builder.mLcr; in RangingResult()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsStateTest.java81 static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; field in EapTtlsStateTest
167 false /* isFragmented */, true /* isStart */, 0 /* length */, EMPTY_BYTE_ARRAY); in getEapTtlsStartTypeData()
DEapTtlsHandshakeStateTest.java254 mockTypeDataDecoding(getEapTtlsTypeData(EMPTY_BYTE_ARRAY)); in testHandshake_outboundFragmentation_finalFragment()
DEapTtlsTunnelStateTest.java102 new EapData(EAP_TYPE_MSCHAP_V2, EMPTY_BYTE_ARRAY))); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DClusterHomeServiceUnitTest.java24 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
376 EMPTY_BYTE_ARRAY); in sendHeartbeat_SimpleCase()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapTtlsTest.java74 private static final byte[] EMPTY_BYTE_ARRAY = new byte[PACKET_BUFFER_SIZE_TLS_MESSAGE]; field in EapTtlsTest
579 setupWrap(EMPTY_BYTE_ARRAY, CLIENT_HELLO_BYTES, RESULT_NEED_UNWRAP_OK); in processAndVerifyStartRequest()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValueBuilder.java19 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
473 mVehiclePropValue.value.byteValues = EMPTY_BYTE_ARRAY; in AidlHalPropValue()
1242 values.byteValues = EMPTY_BYTE_ARRAY; in emptyRawPropValues()
DVmsHalService.java18 import static com.android.car.internal.common.CommonConstants.EMPTY_BYTE_ARRAY;
90 private static final byte[] DEFAULT_PUBLISHER_INFO = EMPTY_BYTE_ARRAY;

12