/frameworks/base/native/graphics/jni/ |
D | aassetstreamadaptor.h | 36 bool hasLength() const override { return true; } in hasLength() function
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | UpdatableFontDirTest.java | 198 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/ |
D | KeyWrapUtilsTest.java | 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()
|
D | TertiaryKeyGeneratorTest.java | 60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
|
D | RecoverableKeyStoreSecondaryKeyManagerTest.java | 88 assertThat(key.getAlias()).hasLength(BACKUP_KEY_ALIAS_LENGTH); in generate_generatesKeyWithExpectedLength()
|
/frameworks/base/libs/hwui/jni/ |
D | Utils.h | 33 virtual bool hasLength() const { return true; } in hasLength() function
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryUsageStatsStoreTest.java | 90 assertThat(timestamps).hasLength(1); in testStoreSnapshot() 127 assertThat(timestamps).hasLength(numberOfSnapshots); in testGarbageCollectOldSnapshots()
|
/frameworks/av/media/libheif/include/ |
D | HeifDecoderAPI.h | 84 virtual bool hasLength() const = 0;
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | ChunkHasherTest.java | 69 assertThat(hash).hasLength(expectedLength); in computeHash_generates256BitHmac()
|
D | ChunkEncryptorTest.java | 142 assertThat(nonce).hasLength(GCM_NONCE_LENGTH_BYTES); in encrypt_generates12ByteNonce()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | RichTextViewTest.java | 67 assertThat(spans).hasLength(1); in testLinkAnnotation() 166 assertThat(spans).hasLength(1); in testTextStyle()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 460 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/ |
D | DataChangedJournalTest.java | 135 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStatsTest.java | 269 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/ |
D | BackupStreamEncrypterTest.java | 206 .hasLength(MESSAGE_DIGEST_SIZE_IN_BYTES); in testBackup_createsDigestOf32Bytes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 191 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/ |
D | CertUtilsTest.java | 129 assertThat(CertUtils.decodeBase64("")).hasLength(0); in decodeBase64_succeedsIfEmptyInput()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 279 if (!mStream->hasLength()) { in getSize()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 453 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/ |
D | ApexManagerTest.java | 266 assertThat(mApexManager.getStagedApexInfos(testParamsWithChildren())).hasLength(0); in testGetStagedApexInfos_returnsEmptyArrayOnError()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | StagingManagerTest.java | 702 assertThat(argumentCaptor.getValue().stagedApexModuleNames).hasLength(0); in registeredStagedApexObserverIsNotifiedOnSessionAbandon()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 539 assertThat(mRecentTasks.usersWithRecentsLoadedLocked()).hasLength(0); in testUsersTasks()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 1679 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()
|