Home
last modified time | relevance | path

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

/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.h36 bool hasLength() const override { return true; } in hasLength() function
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java198 assertThat(mUpdatableFontFilesDir.list()).hasLength(4); in construct()
211 assertThat(mUpdatableFontFilesDir.list()).hasLength(2); in construct()
248 assertThat(mUpdatableFontFilesDir.list()).hasLength(4); in construct_missingFsverity()
258 assertThat(mUpdatableFontFilesDir.list()).hasLength(0); in construct_missingFsverity()
278 assertThat(mUpdatableFontFilesDir.list()).hasLength(4); in construct_fontNameMismatch()
289 assertThat(mUpdatableFontFilesDir.list()).hasLength(0); in construct_fontNameMismatch()
324 assertThat(mUpdatableFontFilesDir.list()).hasLength(4); in construct_olderThanPreinstalledFont()
342 assertThat(mUpdatableFontFilesDir.list()).hasLength(1); in construct_olderThanPreinstalledFont()
961 assertThat(mUpdatableFontFilesDir.list()).hasLength(1); in deleteAllFiles()
965 assertThat(mUpdatableFontFilesDir.list()).hasLength(0); in deleteAllFiles()
/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/base/core/tests/coretests/src/com/android/internal/os/
DBatteryUsageStatsStoreTest.java90 assertThat(timestamps).hasLength(1); in testStoreSnapshot()
127 assertThat(timestamps).hasLength(numberOfSnapshots); in testGarbageCollectOldSnapshots()
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h84 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/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java460 assertThat(result).hasLength(0); in testGetStagedModuleNames()
464 assertThat(result).hasLength(1); in testGetStagedModuleNames()
469 assertThat(result).hasLength(0); in testGetStagedModuleNames()
521 assertThat(captor.getValue().stagedApexModuleNames).hasLength(0); in testStagedApexObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DDataChangedJournalTest.java135 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java269 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moRejected()
313 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moFailed()
357 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moStartFailed()
420 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_moAccepted()
469 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_mtRejected()
518 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_mtStartFailed()
576 assertThat(ratUsage.get()).hasLength(1); in singleImsCall_mtAccepted()
1763 assertThat(ratUsage.get()).hasLength(1); in singleCsCall_mtRejected()
1820 assertThat(ratUsage.get()).hasLength(1); in singleCsCall_mtAccepted()
1970 assertThat(ratUsage.get()).hasLength(1); in singleCall_srvccCanceled()
[all …]
/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.cpp279 if (!mStream->hasLength()) { in getSize()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java453 assertThat(spans).hasLength(3); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
481 assertThat(spans).hasLength(1); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
504 assertThat(spans).hasLength(3); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java266 assertThat(mApexManager.getStagedApexInfos(testParamsWithChildren())).hasLength(0); in testGetStagedApexInfos_returnsEmptyArrayOnError()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java702 assertThat(argumentCaptor.getValue().stagedApexModuleNames).hasLength(0); in registeredStagedApexObserverIsNotifiedOnSessionAbandon()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java539 assertThat(mRecentTasks.usersWithRecentsLoadedLocked()).hasLength(0); in testUsersTasks()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1679 assertThat(posted).hasLength(1); in testEnqueueNotificationWithTag_nullAction_fixed()
1680 assertThat(posted[0].getNotification().actions).hasLength(2); in testEnqueueNotificationWithTag_nullAction_fixed()
1700 assertThat(posted).hasLength(1); in testEnqueueNotificationWithTag_allNullActions_fixed()