Home
last modified time | relevance | path

Searched refs:dataBytes (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrfTest.java165 byte[] dataBytes = TestUtils.hexStringToByteArray(DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha1()
167 byte[] calculatedBytes = mIkeHmacSha1Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha1()
176 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_HMAC256_DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha256()
178 byte[] calculatedBytes = mIkeHmacSha256Prf.signBytes(skpBytes, dataBytes); in testSignBytesHmacSha256()
267 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING); in testSignBytesPrfAes128XCbc()
269 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbc()
280 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING1); in testSignBytesPrfAes128XCbcWith16ByteInput()
282 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWith16ByteInput()
292 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_AES128XCBC_DATA_TO_SIGN_HEX_STRING2); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes()
294 byte[] calculatedBytes = mIkeAes128XCbcPrf.signBytes(skpBytes, dataBytes); in testSignBytesPrfAes128XCbcWithKeyShorterThan16Bytes()
[all …]
DIkeMacIntegrityTest.java147 byte[] dataBytes = TestUtils.hexStringToByteArray(AUTH_AES128XCBC_DATA_TO_SIGN_HEX_STRING); in testSignBytesAuthAes128XCbc()
149 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbc()
160 byte[] dataBytes = TestUtils.hexStringToByteArray(AUTH_AES128XCBC_DATA_TO_SIGN_HEX_STRING1); in testSignBytesAuthAes128XCbcWith16ByteInput()
162 byte[] calculatedBytes = mAes128XCbcIntgerityMac.signBytes(skpBytes, dataBytes); in testSignBytesAuthAes128XCbcWith16ByteInput()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragmentTest.java162 stats.dataBytes = 50; in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
185 stats.dataBytes = 50; in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
204 stats.dataBytes = 10; in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear()
224 stats.dataBytes = 50; in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
250 stats.dataBytes = 50; in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled()
265 stats.dataBytes = 50; in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled()
280 stats.dataBytes = 50; in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled()
296 stats.dataBytes = 10; in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled()
DStorageAsyncLoaderTest.java235 stats.dataBytes = dataSize + cacheSize; in addPackage()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java453 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/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java303 public abstract Builder setDataBytes(long dataBytes); in setDataBytes() argument