Searched refs:hasLength (Results 1 – 16 of 16) sorted by relevance
36 bool hasLength() const override { return true; } in hasLength() function
69 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()
60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
88 assertThat(key.getAlias()).hasLength(BACKUP_KEY_ALIAS_LENGTH); in generate_generatesKeyWithExpectedLength()
33 virtual bool hasLength() const { return true; } in hasLength() function
82 virtual bool hasLength() const = 0;
69 assertThat(hash).hasLength(expectedLength); in computeHash_generates256BitHmac()
142 assertThat(nonce).hasLength(GCM_NONCE_LENGTH_BYTES); in encrypt_generates12ByteNonce()
67 assertThat(spans).hasLength(1); in testLinkAnnotation()166 assertThat(spans).hasLength(1); in testTextStyle()
131 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
242 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()
206 .hasLength(MESSAGE_DIGEST_SIZE_IN_BYTES); in testBackup_createsDigestOf32Bytes()
191 assertThat(signatures).hasLength(1); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()212 assertThat(signatures).hasLength(1); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
129 assertThat(CertUtils.decodeBase64("")).hasLength(0); in decodeBase64_succeedsIfEmptyInput()
276 if (!mStream->hasLength()) { in getSize()
498 assertThat(mRecentTasks.usersWithRecentsLoadedLocked()).hasLength(0); in testUsersTasks()