Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleDataRepository.kt63 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
72 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
/frameworks/base/tools/codegen/src/com/android/codegen/
DGenerators.kt437 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) { in generateParcelable()
493 if (booleanFields.isNotEmpty() || nullableFields.isNotEmpty()) { in generateParcelable()
522 val passContainer = containerInitExpr.isNotEmpty() in generateParcelable()
809 if (lines.isNotEmpty()) {
DUtils.kt116 if (parse.problems.isNotEmpty()) { in parseJava()
DClassPrinter.kt27 if (fieldsWithMissingNullablity.isNotEmpty()) { 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/tests/FlickerTests/src/com/android/server/wm/flicker/
DResizeSplitScreenTest.java100 assertThat(entries.getEntries()).isNotEmpty(); in checkPosition_appsStartingBounds()
129 assertThat(entries.getEntries()).isNotEmpty(); in checkPosition_appsEndingBounds()
DFlickerTestBase.java109 + "of Jank").that(mResults).isNotEmpty(); in run()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java133 assertThat(mApexManager.getActivePackages()).isNotEmpty(); in testGetActivePackages()
151 assertThat(mApexManager.getFactoryPackages()).isNotEmpty(); in testGetFactoryPackages()
169 assertThat(mApexManager.getInactivePackages()).isNotEmpty(); in testGetInactivePackages()
/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/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt98 if (favorites.isNotEmpty()) { in getCachedFavoritesAndRemoveFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataFilter.kt139 mediaEntries.isNotEmpty() in <lambda>()
/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DGnssSatelliteBlacklistHelperTest.java133 assertThat(contentObservers).isNotEmpty(); in notifyContentObserverFor()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java389 .isNotEmpty(); in systemAudioControlOnPowerOn_alwaysOn()
422 .isNotEmpty(); in systemAudioControlOnPowerOn_useLastState_on()
491 .isNotEmpty(); in handleRequestArcInitiate_startArcInitiationActionFromAvr()
506 .isNotEmpty(); in handleRequestArcTerminate_arcIsOn_startTerminationActionFromAvr()
/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/am/
DActivityManagerTest.java81 assertThat(runningUserIds).isNotEmpty(); in testTaskIdsForRunningUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt167 if (activities.isNotEmpty()) { in <lambda>()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DSourceTransformer.kt103 if (argTypes.isNotEmpty()) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt230 return edits.isNotEmpty() || (appNotificationsEnabled != appNotificationsCurrentlyEnabled) in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java306 assertThat(wifiPickerTracker.getWifiEntries()).isNotEmpty(); in testGetWifiEntries_wifiNetworkEntries_oldEntriesTimedOut()
536 assertThat(wifiPickerTracker.getWifiEntries()).isNotEmpty(); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry()
DSavedNetworkTrackerTest.java335 assertThat(savedNetworkTracker.getSubscriptionWifiEntries()).isNotEmpty(); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java481 assertThat(softApConfig.getBssid().toString()).isNotEmpty(); in generateLohsConfig_forwardsCustomMac()
533 assertThat(config.getBssid().toString()).isNotEmpty(); in randomizeBssid_forwardsCustomMac()
DWifiServiceImplTest.java2386 assertThat(callback.mSoftApConfig.getSsid()).isNotEmpty(); in testCustomLohs_GeneratesSsidIfAbsent()