Home
last modified time | relevance | path

Searched refs:hasLength (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.h36 bool hasLength() const override { return true; } in hasLength() function
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/
DKeyWrapUtilsTest.java69 assertThat(wrappedKey.nonce).hasLength(GCM_NONCE_LENGTH_BYTES); in wrap_addsNonceOfAppropriateLength()
78 assertThat(wrappedKey.key).hasLength(KEY_SIZE_BITS / BITS_PER_BYTE + GCM_TAG_LENGTH_BYTES); in wrap_addsTagOfAppropriateLength()
DTertiaryKeyGeneratorTest.java60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
DRecoverableKeyStoreSecondaryKeyManagerTest.java88 assertThat(key.getAlias()).hasLength(BACKUP_KEY_ALIAS_LENGTH); in generate_generatesKeyWithExpectedLength()
/frameworks/base/libs/hwui/jni/
DUtils.h33 virtual bool hasLength() const { return true; } in hasLength() function
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h82 virtual bool hasLength() const = 0;
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DChunkHasherTest.java69 assertThat(hash).hasLength(expectedLength); in computeHash_generates256BitHmac()
DChunkEncryptorTest.java142 assertThat(nonce).hasLength(GCM_NONCE_LENGTH_BYTES); in encrypt_generates12ByteNonce()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java67 assertThat(spans).hasLength(1); in testLinkAnnotation()
166 assertThat(spans).hasLength(1); in testTextStyle()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DDataChangedJournalTest.java131 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java242 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moRejected()
280 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moFailed()
335 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moAccepted()
377 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_mtRejected()
427 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_mtAccepted()
1390 assertThat(ratUsage.get()).hasLength(1); in singleCsCall_mtRejected()
1442 assertThat(ratUsage.get()).hasLength(1); in singleCsCall_mtAccepted()
1581 assertThat(ratUsage.get()).hasLength(1); in singleCall_srvccCanceled()
1843 assertThat(ratUsage.get()).hasLength(1); in singleWifiCall_preferred()
1888 assertThat(ratUsage.get()).hasLength(1); in singleWifiCall_airPlaneMode()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypterTest.java206 .hasLength(MESSAGE_DIGEST_SIZE_IN_BYTES); in testBackup_createsDigestOf32Bytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java191 assertThat(signatures).hasLength(1); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
212 assertThat(signatures).hasLength(1); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java129 assertThat(CertUtils.decodeBase64("")).hasLength(0); in decodeBase64_succeedsIfEmptyInput()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp276 if (!mStream->hasLength()) { in getSize()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java498 assertThat(mRecentTasks.usersWithRecentsLoadedLocked()).hasLength(0); in testUsersTasks()