Searched refs:isNotEmpty (Results 1 – 25 of 41) sorted by relevance
12
65 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_forceUpdate()89 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_cached()106 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testPowerCalculation()
169 ?.takeIf { it.isNotEmpty() } in retrieveNewVolume()174 assertThat(it.diskId).isNotEmpty() in retrieveNewVolume()175 assertThat(it.fsUuid).isNotEmpty() in retrieveNewVolume()
440 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()) {
196 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()
195 assertThat(sessionId).isNotEmpty(); in testAdbStagdReadyTimeoutFlagWorks()210 assertThat(sessionId).isNotEmpty(); in testAdbStagedInstallWaitsTillReadyByDefault()245 assertThat(sessionId).isNotEmpty(); in testAdbRollbackAppWaitsForStagedReady()360 assertThat(sessionId).isNotEmpty(); in testApexActivationFailureIsCapturedInSession()
63 if (entities.isNotEmpty()) persistToDisk() in <lambda>()73 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
101 assertTrue(fileStream.toString().isNotEmpty()) in testFileIsCreated()115 assertTrue(fileStream.toString().isNotEmpty()) in testExistingFileIsOverwritten()
156 if (childSpec.children.isNotEmpty()) { in <lambda>()191 if (node.children.isNotEmpty()) { in <lambda>()
82 if (tree.children.isNotEmpty()) { in treeSpecToStrHelper()
228 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()
383 .isNotEmpty(); in systemAudioControlOnPowerOn_alwaysOn()416 .isNotEmpty(); in systemAudioControlOnPowerOn_useLastState_on()513 .isNotEmpty(); in handleRequestArcInitiate_startArcInitiationActionFromAvr()529 .isNotEmpty(); in handleRequestArcTerminate_arcIsOn_startTerminationActionFromAvr()
182 if (elements.isNotEmpty()) { in showDialog()248 if (actives.isNotEmpty()) { in filterAndSelect()
229 if (callbacks.isNotEmpty() && !listening) { in addCallback()289 if (mustKeep.isNotEmpty()) { in processNewList()
154 if (targets.isNotEmpty()) { in dumpTargets()264 if (pArgs.command == null && mutArgs.isNotEmpty() && COMMANDS.contains(mutArgs[0])) { in parseArgs()
63 .isNotEmpty() in <lambda>()
107 if (workRequests.isNotEmpty()) { in <lambda>()
77 .takeIf { it.isNotEmpty() } in <lambda>()
98 if (favorites.isNotEmpty()) { in getCachedFavoritesAndRemoveFor()
225 if (anims.isNotEmpty()) { in <lambda>()243 if (anims.isNotEmpty()) { in <lambda>()
61 assertThat(written).isNotEmpty(); in testWriteRead()
153 assertThat(contentObservers).isNotEmpty(); in notifyContentObserverFor()
150 return PeopleHubViewModel(personViewModels, model.people.isNotEmpty()) in createWithAssociatedClickView()
253 public boolean isNotEmpty() { in isNotEmpty() method in FactoryResetProtectionPolicy
137 assertThat(mApexManager.getActivePackages()).isNotEmpty(); in testGetActivePackages()155 assertThat(mApexManager.getFactoryPackages()).isNotEmpty(); in testGetFactoryPackages()173 assertThat(mApexManager.getInactivePackages()).isNotEmpty(); in testGetInactivePackages()
204 if (tagFields.isNotEmpty()) { in generateParseClassMethod()260 if (tagFields.isNotEmpty()) { in generateParseClassMethod()