Home
last modified time | relevance | path

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

12

/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/
DBatteryStatsHelperPerfTest.java65 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_forceUpdate()
89 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_cached()
106 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testPowerCalculation()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSdCardEjectionTests.kt169 ?.takeIf { it.isNotEmpty() } in retrieveNewVolume()
174 assertThat(it.diskId).isNotEmpty() in retrieveNewVolume()
175 assertThat(it.fsUuid).isNotEmpty() in retrieveNewVolume()
/frameworks/base/tools/codegen/src/com/android/codegen/
DGenerators.kt440 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) { in generateParcelable()
496 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) { in generateParcelable()
525 val passContainer = containerInitExpr.isNotEmpty() in generateParcelable()
812 if (lines.isNotEmpty()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyStateInflater.kt196 if (pair.first.choices?.isNotEmpty() == true) in inflateSmartReplyState()
208 appGeneratedSmartActions.isNotEmpty() -> in inflateSmartReplyState()
216 if (entryReplies.isNotEmpty() && in inflateSmartReplyState()
226 if (entryActions.isNotEmpty() && in inflateSmartReplyState()
247 if (action.remoteInputs?.isNotEmpty() == true) index else null in inflateSmartReplyState()
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java195 assertThat(sessionId).isNotEmpty(); in testAdbStagdReadyTimeoutFlagWorks()
210 assertThat(sessionId).isNotEmpty(); in testAdbStagedInstallWaitsTillReadyByDefault()
245 assertThat(sessionId).isNotEmpty(); in testAdbRollbackAppWaitsForStagedReady()
360 assertThat(sessionId).isNotEmpty(); in testApexActivationFailureIsCapturedInSession()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt63 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
73 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt101 assertTrue(fileStream.toString().isNotEmpty()) in testFileIsCreated()
115 assertTrue(fileStream.toString().isNotEmpty()) in testExistingFileIsOverwritten()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDiffer.kt156 if (childSpec.children.isNotEmpty()) { in <lambda>()
191 if (node.children.isNotEmpty()) { in <lambda>()
DNodeController.kt82 if (tree.children.isNotEmpty()) { in treeSpecToStrHelper()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DSystemAudioAutoInitiationActionTest.java228 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
255 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
341 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testTimeout_systemAudioOn_allRetriesFail()
DHdmiCecLocalDeviceAudioSystemTest.java383 .isNotEmpty(); in systemAudioControlOnPowerOn_alwaysOn()
416 .isNotEmpty(); in systemAudioControlOnPowerOn_useLastState_on()
513 .isNotEmpty(); in handleRequestArcInitiate_startArcInitiationActionFromAvr()
529 .isNotEmpty(); in handleRequestArcTerminate_arcIsOn_startTerminationActionFromAvr()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt182 if (elements.isNotEmpty()) { in showDialog()
248 if (actives.isNotEmpty()) { in filterAndSelect()
DPrivacyItemController.kt229 if (callbacks.isNotEmpty() && !listening) { in addCallback()
289 if (mustKeep.isNotEmpty()) { in processNewList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DDumpHandler.kt154 if (targets.isNotEmpty()) { in dumpTargets()
264 if (pArgs.command == null && mutArgs.isNotEmpty() && COMMANDS.contains(mutArgs[0])) { in parseArgs()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt63 .isNotEmpty() in <lambda>()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerificationReceiverV2.kt107 if (workRequests.isNotEmpty()) { in <lambda>()
DDomainVerifier.kt77 .takeIf { it.isNotEmpty() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt98 if (favorites.isNotEmpty()) { in getCachedFavoritesAndRemoveFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationScheduler.kt225 if (anims.isNotEmpty()) { in <lambda>()
243 if (anims.isNotEmpty()) { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DPersistentSystemFontConfigTest.java61 assertThat(written).isNotEmpty(); in testWriteRead()
/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DGnssSatelliteBlocklistHelperTest.java153 assertThat(contentObservers).isNotEmpty(); in notifyContentObserverFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewController.kt150 return PeopleHubViewModel(personViewModels, model.people.isNotEmpty()) in createWithAssociatedClickView()
/frameworks/base/core/java/android/app/admin/
DFactoryResetProtectionPolicy.java253 public boolean isNotEmpty() { in isNotEmpty() method in FactoryResetProtectionPolicy
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java137 assertThat(mApexManager.getActivePackages()).isNotEmpty(); in testGetActivePackages()
155 assertThat(mApexManager.getFactoryPackages()).isNotEmpty(); in testGetFactoryPackages()
173 assertThat(mApexManager.getInactivePackages()).isNotEmpty(); in testGetInactivePackages()
/frameworks/base/tools/xmlpersistence/src/main/kotlin/
DGenerator.kt204 if (tagFields.isNotEmpty()) { in generateParseClassMethod()
260 if (tagFields.isNotEmpty()) { in generateParseClassMethod()

12