/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrfTest.java | 193 byte[] dataBytes = TestUtils.hexStringToByteArray(DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha1() 195 byte[] calculatedBytes = mIkeHmacSha1Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha1() 204 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_HMAC256_DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha256() 206 byte[] calculatedBytes = mIkeHmacSha256Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha256() 295 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING); in testSignBytesPrfAes128XCbc() 297 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbc() 308 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING1); in testSignBytesPrfAes128XCbcWith16ByteInput() 310 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWith16ByteInput() 320 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING2); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes() 322 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes() [all …]
|
D | IkeMacIntegrityTest.java | 185 byte[] dataBytes = TestUtils.hexStringToByteArray(AUTH_AES128XCBC_DATA_TO_SIGN_HEX_STRING); in testSignBytesAuthAes128XCbc() 187 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbc() 199 byte[] dataBytes = TestUtils.hexStringToByteArray(AUTH_AES128XCBC_DATA_TO_SIGN_HEX_STRING1); in testSignBytesAuthAes128XCbcWith16ByteInput() 201 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbcWith16ByteInput()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageApplicationActionButtonsPreferenceControllerTest.java | 192 stats.dataBytes = 50; in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() 216 stats.dataBytes = 50; in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() 238 stats.dataBytes = 10; in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() 260 stats.dataBytes = 50; in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() 289 stats.dataBytes = 50; in handleClearDataClick_hasValidManageSpaceActivity_shouldNotShowDialogToClear() 318 stats.dataBytes = 50; in handleClearDataClick_hasInvalidManageSpaceActivity_shouldShowDialogToClear() 350 stats.dataBytes = 50; in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled() 368 stats.dataBytes = 50; in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled() 386 stats.dataBytes = 50; in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled() 405 stats.dataBytes = 10; in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled()
|
D | StorageAsyncLoaderTest.java | 263 stats.dataBytes = dataSize + cacheSize; in createAppInfo()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/block/read/ |
D | BlockData.java | 37 public BlockData(ByteBuffer dataBytes) { in BlockData() argument 38 if (!dataBytes.isReadOnly()) { in BlockData() 41 if (dataBytes.order() != ByteOrder.BIG_ENDIAN) { in BlockData() 44 mDataBytes = Objects.requireNonNull(dataBytes); in BlockData()
|
D | Block.java | 36 public Block(int id, int type, ByteBuffer dataBytes) { in Block() argument 39 mBlockData = new BlockData(Objects.requireNonNull(dataBytes)); in Block()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryBackupHelper.java | 228 int restoreOptimizationMode(byte[] dataBytes) { in restoreOptimizationMode() argument 230 final String dataContent = new String(dataBytes, StandardCharsets.UTF_8); in restoreOptimizationMode() 373 final byte[] dataBytes = getBackupData(dataKey, data); in restoreBackupData() 374 if (dataBytes == null || dataBytes.length == 0) { in restoreBackupData() 377 final String dataContent = new String(dataBytes, StandardCharsets.UTF_8); in restoreBackupData() 384 final byte[] dataBytes = new byte[dataSize]; in getBackupData() 386 data.read(dataBytes, 0 /*offset*/, dataSize); in getBackupData() 391 return dataBytes; in getBackupData()
|
D | BatterySettingsStorage.java | 208 int restoreOptimizationMode(byte[] dataBytes) { in restoreOptimizationMode() argument 210 final String dataContent = new String(dataBytes, UTF_8); in restoreOptimizationMode()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/iso7816/ |
D | ResponseApdu.java | 136 byte[] dataBytes = new byte[]{}; in fromDataAndStatusWord() 138 dataBytes = Bytes.concat(dataBytes, tlvDatum.toBytes()); in fromDataAndStatusWord() 140 return fromDataAndStatusWord(dataBytes, sw); in fromDataAndStatusWord()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icon/ |
D | ComposeIcon.kt | 40 BitmapIcon(BitmapFactory.decodeByteArray(dataBytes, dataOffset, dataLength)) in <lambda>() 53 BitmapIcon(BitmapFactory.decodeByteArray(dataBytes, dataOffset, dataLength)) in toComposeIcon()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | ServiceProfileDataTest.java | 82 byte[] dataBytes = builder.build().toByteArray(); in testDeserializeData() 83 UwbConfigProto.UwbConfig uwbConfig = UwbConfigProto.UwbConfig.parseFrom(dataBytes); in testDeserializeData()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 453 byte[] dataBytes = new byte[hexString.length() / 2]; in hexStringToByteArray() 455 dataBytes[i / 2] = (byte) Integer.parseInt(hexString.substring(i, i + 2), 16); in hexStringToByteArray() 457 return dataBytes; in hexStringToByteArray()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbConfigStore.java | 731 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) { in deserializeData() argument 733 if (dataBytes == null) { in deserializeData() 741 uwbConfig = UwbConfigProto.UwbConfig.parseFrom(dataBytes); in deserializeData()
|
/packages/modules/adb/client/ |
D | incremental_server.cpp | 516 auto dataBytes = pendingBlocks_ - (pendingBlocksBuffer_.data() + sizeof(ChunkHeader)); in Flush() local 517 if (dataBytes == 0) { in Flush() 521 *(ChunkHeader*)pendingBlocksBuffer_.data() = toBigEndian<int32_t>(dataBytes); in Flush() 522 auto totalBytes = sizeof(ChunkHeader) + dataBytes; in Flush()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStore.java | 657 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() argument 660 if (dataBytes == null) { in deserializeData() 666 final ByteArrayInputStream inputStream = new ByteArrayInputStream(dataBytes); in deserializeData()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppStoragePreferenceTest.kt | 124 dataBytes = 20 in <lambda>()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 303 public abstract Builder setDataBytes(long dataBytes); in setDataBytes() argument
|