/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeIdPayloadTest.java | 211 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeIpv4AddrIdPayload() 224 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeIpv6AddrIdPayload() 237 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeFqdnIdPayload() 250 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeRfc822AddrIdPayload() 262 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeKeyIdPayload() 275 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeDerAsn1DnIdPayload()
|
D | IkeSaPayloadTest.java | 279 ByteBuffer byteBuffer = ByteBuffer.allocate(mAttributeKeyLength128.getAttributeLength()); in testEncodeAttribute() 323 ByteBuffer byteBuffer = ByteBuffer.allocate(mEncrAesCbc128Transform.getTransformLength()); in testEncodeEncryptionTransform() 367 ByteBuffer byteBuffer = ByteBuffer.allocate(mPrfHmacSha1Transform.getTransformLength()); in testEncodePrfTransform() 418 ByteBuffer byteBuffer = ByteBuffer.allocate(mIntegHmacSha1Transform.getTransformLength()); in testEncodeIntegrityTransform() 453 ByteBuffer byteBuffer = ByteBuffer.allocate(mDhGroup1024Transform.getTransformLength()); in testEncodeDhGroupTransform() 521 ByteBuffer byteBuffer = ByteBuffer.allocate(mEsnTransform.getTransformLength()); in testEncodeEsnTransform() 675 ByteBuffer byteBuffer = ByteBuffer.allocate(proposal.getProposalLength()); 757 ByteBuffer byteBuffer = ByteBuffer.allocate(saPayload.getPayloadLength());
|
D | IkeDeletePayloadTest.java | 197 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeForIke() 209 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeWithSingleChildSa() 225 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeWithMultipleChildSas()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexAppParameters.java | 104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add() 109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add() 114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add() 119 byte[] bval = ByteBuffer.allocate(8).putLong(val).array(); in add()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add() 109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add() 114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add() 119 byte[] bval = ByteBuffer.allocate(8).putLong(val).array(); in add()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBody.java | 230 ByteBuffer authenticatedSectionBuffer = ByteBuffer.allocate(dataToAuthenticateLength); in generateOutboundChecksum() 302 ByteBuffer authenticatedSectionBuffer = ByteBuffer.allocate(dataToAuthenticateLength); in combinedModeEncrypt() 331 ByteBuffer.allocate(encryptedData.length + checksum.length); in combinedModeDecrypt() 360 ByteBuffer padBuffer = ByteBuffer.allocate(paddedDataLength); in getPaddedData() 386 ByteBuffer buffer = ByteBuffer.allocate(getLength()); in encode()
|
D | IkeMessage.java | 255 ByteBuffer byteBuffer = ByteBuffer.allocate(payloadLengthSum); in encodePayloads() 272 ByteBuffer.allocate(IkeHeader.IKE_HEADER_LENGTH + encodedIkeBody.length); in attachEncodedHeader() 538 ByteBuffer.allocate(IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength()); in encodeHeaderAndBody() 914 ByteBuffer buffer = ByteBuffer.allocate(len); in reassembleAllFrags()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrf.java | 108 keyBuffer = ByteBuffer.allocate(PSEUDORANDOM_FUNCTION_AES128_XCBC_KEY_LEN); in generateSKeySeed() 115 keyBuffer = ByteBuffer.allocate(nonceInit.length + nonceResp.length); in generateSKeySeed() 134 ByteBuffer.allocate(sharedDhKey.length + nonceInit.length + nonceResp.length); in generateRekeyedSKeySeed()
|
D | IkeCombinedModeCipher.java | 90 ByteBuffer nonceBuffer = ByteBuffer.allocate(mSaltLen + ivBytes.length); in doCipherAction() 101 ByteBuffer outputBuffer = ByteBuffer.allocate(outputLen); in doCipherAction()
|
D | AesXCbcImpl.java | 135 ByteBuffer paddedData = ByteBuffer.allocate(dataLen + padLen); in padData() 149 ByteBuffer outputBuffer = ByteBuffer.allocate(dataToEncrypt.length); in encryptAesBlock()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | ByteUtils.java | 46 ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES); in longToBytes() 57 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE); in bytesToLong() 88 return ByteBuffer.allocate(UUID_LENGTH) in uuidToBytes()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | RequestBuilder.java | 69 public void allocate() throws InterruptedException, ResourceAcquisitionFailedException { in allocate() method in RequestBuilder.UnregisteredStreamProvider 81 public void allocate() throws InterruptedException, in allocate() method 102 allocation.allocate(); in allocateCaptureRequest()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapAkaPrimeMethodStateMachine.java | 260 ByteBuffer prfKey = ByteBuffer.allocate(IK_PRIME_LENGTH + CK_PRIME_LENGTH); in generateAndPersistEapAkaKeys() 265 ByteBuffer dataToSign = ByteBuffer.allocate(dataToSignLen); in generateAndPersistEapAkaKeys() 319 ByteBuffer dataToSign = ByteBuffer.allocate(sLength); in deriveCkIkPrime() 327 ByteBuffer key = ByteBuffer.allocate(keyLen); in deriveCkIkPrime()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtIdReqTest.java | 82 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtPermanentIdReq() 113 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtAnyIdReq() 144 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtFullauthIdReq()
|
D | AtIdentityTest.java | 62 ByteBuffer result = ByteBuffer.allocate(AT_IDENTITY.length); in testEncode() 74 ByteBuffer buffer = ByteBuffer.allocate(atIdentity.lengthInBytes); in testGetAtIdentity()
|
D | AtBiddingTest.java | 86 ByteBuffer result = ByteBuffer.allocate(AT_BIDDING_SUPPORTS_AKA_PRIME.length); in testEncodeServerSupportsAkaPrime() 95 ByteBuffer result = ByteBuffer.allocate(AT_BIDDING_DOES_NOT_SUPPORT_AKA_PRIME.length); in testEncodeDoesNotSupportAkaPrime()
|
D | AtResTest.java | 96 ByteBuffer result = ByteBuffer.allocate(AT_RES.length); in testEncode() 105 ByteBuffer result = ByteBuffer.allocate(AT_RES.length); in testGetAtRes()
|
D | AtCounterTest.java | 81 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtCounter() 118 ByteBuffer result = ByteBuffer.allocate(EXPECTED_LENGTH); in testEncodeAtCounterTooSmall()
|
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/ |
D | KeyGenerationUtils.java | 43 ByteBuffer keyMatBuffer = ByteBuffer.allocate(keyMaterialLen); in prfPlus() 51 ByteBuffer.allocate(previousMac.length + dataToSign.length + padLen); in prfPlus()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 180 ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES); in longToBytes() 191 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE); in bytesToLong() 222 return ByteBuffer.allocate(UUID_LENGTH) in uuidToBytes()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | MosaicTypes.h | 78 MosaicFrame(int _width, int _height, bool allocate=true) 82 internal_allocation = allocate;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | AllocatingImageStream.java | 66 public void allocate() throws InterruptedException, ResourceAcquisitionFailedException { in allocate() method in AllocatingImageStream 79 allocate(); in bind()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/ |
D | IkeProtocolException.java | 164 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in integerToByteArray() 181 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in byteArrayToInteger()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 605 ByteBuffer appParamBuf = ByteBuffer.allocate(getParamMaxLength()); in encodeParams() 978 ByteBuffer ret = ByteBuffer.allocate(16); in getDatabaseIdentifier() 995 ByteBuffer ret = ByteBuffer.allocate(16); in getConvoListingVerCounter() 1012 ByteBuffer ret = ByteBuffer.allocate(16); in getFolderVerCounter() 1027 ByteBuffer ret = ByteBuffer.allocate(16); in getChatStateConvoIdByteArray()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapMessage.java | 174 ByteBuffer byteBuffer = ByteBuffer.allocate(eapLength); in encode() 219 ByteBuffer buffer = ByteBuffer.allocate(supportedEapTypes.size()); in getNakResponse()
|