Home
last modified time | relevance | path

Searched refs:isNotEmpty (Results 1 – 25 of 145) sorted by relevance

123456

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
H A DParseableCommand.kt138 } else if (helpSubCmds.isNotEmpty()) {
209 if (flags.isNotEmpty()) {
220 if (required.isNotEmpty()) {
224 if (optional.isNotEmpty()) {
230 if (reqSub.isNotEmpty()) {
234 if (optSub.isNotEmpty()) {
H A DCommandParser.kt176 if (unhandledParams.isNotEmpty()) {
181 if (unhandledSubCmds.isNotEmpty()) {
217 cmd.parser.subCommands.isNotEmpty()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DNotifCollectionInconsistencyTracker.kt57 if (justFound.isNotEmpty()) {
62 if (goneMissing.isNotEmpty()) {
93 if (newlyConsistent.isNotEmpty()) {
101 if (newlyInconsistent.isNotEmpty()) {
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DBackgroundStartPrivilegesTest.java78 assertThat(ALLOW_BAL.toString()).isNotEmpty(); in backgroundStartPrivilege_toString_returnsSomething()
79 assertThat(ALLOW_FGS.toString()).isNotEmpty(); in backgroundStartPrivilege_toString_returnsSomething()
80 assertThat(NONE.toString()).isNotEmpty(); in backgroundStartPrivilege_toString_returnsSomething()
81 assertThat(BSP_ALLOW_A.toString()).isNotEmpty(); in backgroundStartPrivilege_toString_returnsSomething()
/aosp14/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
H A DAndroidKeystoreAttestationVerificationAttributesTest.java224 assertThat(mPhysicalDeviceAttributes.getVerifiedBootHash()).isNotEmpty(); in parseCertificate_verifiedBootHash()
225 assertThat(mPhysicalDeviceAttributes2.getVerifiedBootHash()).isNotEmpty(); in parseCertificate_verifiedBootHash()
230 assertThat(mPhysicalDeviceAttributes.getVerifiedBootKey()).isNotEmpty(); in parseCertificate_verifiedBootKey()
231 assertThat(mPhysicalDeviceAttributes2.getVerifiedBootKey()).isNotEmpty(); in parseCertificate_verifiedBootKey()
251 assertThat(mPhysicalDeviceAttributes.getApplicationPackageNameVersion()).isNotEmpty(); in parseCertificate_applicationPackageNameVersion()
256 assertThat(mPhysicalDeviceAttributes.getApplicationCertificateDigests()).isNotEmpty(); in parseCertificate_applicationCertificateDigests()
/aosp14/frameworks/base/tests/BinaryTransparencyHostTest/test-app/src/android/transparency/test/app/
H A DBinaryTransparencyTest.java98 assertThat(preloadInfoList).isNotEmpty(); // because we just installed from the host side in testCollectAllUpdatedPreloadInfo()
111 assertThat(updatedPreload.digest).isNotEmpty(); in testCollectAllUpdatedPreloadInfo()
122 assertThat(appInfoList).isNotEmpty(); // because we just installed from the host side in testCollectAllSilentInstalledMbaInfo()
135 assertThat(appInfo.digest).isNotEmpty(); in testCollectAllSilentInstalledMbaInfo()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifLiveDataStoreImpl.kt64 hasActiveNotifsPrivate.setValueAndProvideDispatcher(unmodifiableCopy.isNotEmpty())
117 if (syncObservers.isNotEmpty()) {
122 if (asyncObservers.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/
H A DPeopleScreen.kt88 if (priorityTiles.isNotEmpty() || recentTiles.isNotEmpty()) {
136 val hasPriorityConversations = priorityTiles.isNotEmpty()
141 if (recentTiles.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DListenerSetTest.kt59 assertThat(runnableSet.isNotEmpty()).isFalse()
62 assertThat(runnableSet).isNotEmpty()
64 assertThat(runnableSet.isNotEmpty()).isTrue()
69 assertThat(runnableSet.isNotEmpty()).isFalse()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DSdCardEjectionTests.kt172 ?.takeIf { it.isNotEmpty() }
177 assertThat(it.diskId).isNotEmpty()
178 assertThat(it.fsUuid).isNotEmpty()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
H A DTestUnfoldProgressListener.kt108 assertThat(progressHistory).isNotEmpty()
113 assertThat(progressHistory).isNotEmpty()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
H A DNetworkNameModel.kt110 if (str.isNotEmpty()) {
116 return if (str.isNotEmpty()) NetworkNameModel.IntentDerived(str.toString()) else null
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
H A DCloseImeOnDismissPopupDialogTest.kt86 if (imeSnapshotLayers.isNotEmpty()) {
93 if (imeVisibleRegion.region.isNotEmpty) {
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
H A DGetModel.kt38 return state.providerDisplayInfo.sortedUserNameToCredentialEntryList.isNotEmpty() ||
39 state.providerDisplayInfo.authenticationEntryList.isNotEmpty() ||
45 if (providerDisplayInfo.authenticationEntryList.isNotEmpty()) {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleDataRepository.kt73 if (entities.isNotEmpty()) persistToDisk()
83 if (entities.isNotEmpty()) persistToDisk()
126 if (validEntities.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
H A DHomeControlsKeyguardQuickAffordanceConfig.kt80 component.getControlsController().getOrNull()?.getFavorites()?.isNotEmpty() == true
157 hasFavorites = favorites?.isNotEmpty() == true,
159 hasServiceInfos = serviceInfos.isNotEmpty(),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyItemController.kt121 val listen = callbacks.isNotEmpty()
137 if (callbacks.isNotEmpty() && !listening) {
193 if (mustKeep.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
H A DFakeSharedPreferences.kt147 if (clear || removals.isNotEmpty() || data.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/smartspace/
H A DDreamSmartspaceController.kt182 return smartspaceViews.isNotEmpty() || listeners.isNotEmpty() ||
183 unfilteredListeners.isNotEmpty()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
H A DSceneContainerConfig.kt36 check(sceneKeys.isNotEmpty()) { "A container must have at least one scene key." }
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipMediaController.kt327 if (mActionListeners.isNotEmpty()) {
338 if (mMetadataListeners.isNotEmpty()) {
348 if (mTokenListeners.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DActivityManagerKt.kt30 return tasks.isNotEmpty() && packageName == tasks[0].topActivity?.packageName
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/
H A DGenerators.kt440 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) {
496 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) {
525 val passContainer = containerInitExpr.isNotEmpty()
814 if (lines.isNotEmpty()) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
H A DFoldableTestUtils.kt29 foldedDeviceStates.isNotEmpty())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DCredentialInteractorImplTest.kt136 assertThat(statusList).isNotEmpty()
166 assertThat(result.urgentMessage).isNotEmpty()
188 assertThat(result.urgentMessage).isNotEmpty()

123456