Home
last modified time | relevance | path

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

12345

/aosp12/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
H A DEventDescriptionsTest.java57 assertThat(numberAndAccesses).isNotEmpty(); in extractNumberAndPin_localNumber_resultIsLocal()
66 assertThat(numberAndAccesses).isNotEmpty(); in extractNumberAndPin_internationalNumber_resultIsLocal()
77 assertThat(numberAndAccesses).isNotEmpty(); in extractNumberAndPin_internationalNumberWithDifferentLocale_resultIsInternational()
87 assertThat(numberAndAccesses).isNotEmpty(); in extractNumberAndPin_internationalNumberAndPin()
98 assertThat(numberAndAccesses).isNotEmpty(); in extractNumberAndPin_internationalNumberAndCode()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionContextualCardControllerTest.java142 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isNotEmpty(); in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard()
153 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isNotEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader()
170 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isNotEmpty(); in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
181 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isNotEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader()
194 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isNotEmpty(); in getConditionalCards_hasThreeCardsAndExpanded_shouldGetThreeCardsWithFooter()
205 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isNotEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader()
/aosp12/packages/services/Telephony/tests/src/com/android/phone/ecc/
H A DEccDataTest.java54 assertThat(countryInfo.isoCode).isNotEmpty(); in testEccDataContent()
61 assertThat(eccInfo.phoneNumber).isNotEmpty(); in testEccDataContent()
64 assertThat(eccInfo.types).isNotEmpty(); in testEccDataContent()
/aosp12/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/
H A DBatteryStatsHelperPerfTest.java65 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_forceUpdate()
89 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testGetStats_cached()
106 assertThat(statsHelper.getUsageList()).isNotEmpty(); in testPowerCalculation()
/aosp12/packages/modules/Permission/PermissionController/tests/outofprocess/src/com/android/permissioncontroller/tests/outofprocess/
H A DDumpTest.kt56 assumeTrue(dump.autoRevoke.usersList.isNotEmpty())
66 assumeTrue(dump.autoRevoke.usersList.isNotEmpty())
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
H A DUnusedAppsFragment.kt199 category.isVisible = packages.isNotEmpty()
200 if (packages.isNotEmpty()) {
257 if (categorizedPackages[Months.SIX]!!.isNotEmpty() ||
258 categorizedPackages[Months.THREE]!!.isNotEmpty()) {
297 groupNames.isNotEmpty() -> groupNames[0]
/aosp12/system/apex/tests/src/com/android/tests/apex/
H A DApexRollbackTests.java119 assertThat(sessionIdToCheck).isNotEmpty(); in testAutomaticBootLoopRecovery()
164 assertThat(sessionIdToCheck).isNotEmpty(); in testSessionNotRevertedWithCheckpointingDisabled()
201 assertThat(sessionIdToCheck).isNotEmpty(); in testCheckpointingRevertsSession()
239 assertThat(sessionIdToCheck).isNotEmpty(); in testRebootingOnceDoesNotRevertSession()
432 assertThat(sessionIdToCheck).isNotEmpty(); in testReasonForRevertIsLoggedDuringBootloop()
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/search/
H A DSettingsSearchIndexablesProviderTest.java63 .isNotEmpty(); in testSiteMapPairsFetched()
66 .isNotEmpty(); in testSiteMapPairsFetched()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DSdCardEjectionTests.kt169 ?.takeIf { it.isNotEmpty() }
174 assertThat(it.diskId).isNotEmpty()
175 assertThat(it.fsUuid).isNotEmpty()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
H A DClearDefaultsPreferenceControllerTest.java107 assertThat(mPreference.getSummary().toString()).isNotEmpty(); in onCreate_hasPreferredActivities_hasSummary()
119 assertThat(mPreference.getSummary().toString()).isNotEmpty(); in onCreate_isDefaultBrowser_hasSummary()
132 assertThat(mPreference.getSummary().toString()).isNotEmpty(); in onCreate_hasUsbDefaults_hasSummary()
/aosp12/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()
812 if (lines.isNotEmpty()) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyStateInflater.kt196 if (pair.first.choices?.isNotEmpty() == true)
208 appGeneratedSmartActions.isNotEmpty() ->
216 if (entryReplies.isNotEmpty() &&
226 if (entryActions.isNotEmpty() &&
247 if (action.remoteInputs?.isNotEmpty() == true) index else null
/aosp12/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DHeaderPrivacyIconsController.kt51 setChipVisibility(privacyItems.isNotEmpty())
70 setChipVisibility(privacyChip.privacyList.isNotEmpty())
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DBasePrivacySettingsPreferenceTest.java48 assertThat(searchIndexableResources).isNotEmpty(); in verifyEnterpriseSearchIndexableResources()
94 assertThat(searchIndexableResources).isNotEmpty(); in verifyFinancedSearchIndexableResources()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
H A DSettingsSearchIndexablesProviderTest.java157 assertThat(mProvider.getInjectionIndexableRawData(mContext)).isNotEmpty(); in refreshSearchEnabledState_classNotFoundInCategoryMap_hasInjectionRawData()
167 assertThat(mProvider.getInjectionIndexableRawData(mContext)).isNotEmpty(); in refreshSearchEnabledState_noDashboardCategory_hasInjectionRawData()
175 assertThat(mProvider.getInjectionIndexableRawData(mContext)).isNotEmpty(); in refreshSearchEnabledState_pageSearchEnabled_hasInjectionRawData()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleDataRepository.kt63 if (entities.isNotEmpty()) persistToDisk()
73 if (entities.isNotEmpty()) persistToDisk()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
H A DUserBackupSettingsActivityTest.java130 mApplication, true)).isNotEmpty(); in getNonIndexableKeys_whenBackupServiceActive()
140 mApplication, true)).isNotEmpty(); in getNonIndexableKeys_whenBackupServiceNotActive()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
H A DPermGroup.kt32 val hasRuntimePermissions = permissionInfos.isNotEmpty()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
H A DLogEulogizerTest.kt101 assertTrue(fileStream.toString().isNotEmpty())
115 assertTrue(fileStream.toString().isNotEmpty())
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDiffer.kt157 if (childSpec.children.isNotEmpty()) {
192 if (node.children.isNotEmpty()) {
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DDebugUtils.kt57 if (simpleClassName.isNotEmpty() && simpleClassName[0].isDigit()) {
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
H A DBrightnessLevelPreferenceControllerTest.java117 System.getUriFor(System.SCREEN_BRIGHTNESS_FOR_VR))).isNotEmpty(); in onStart_shouldRegisterObserver()
119 System.getUriFor(System.SCREEN_AUTO_BRIGHTNESS_ADJ))).isNotEmpty(); in onStart_shouldRegisterObserver()
/aosp12/frameworks/base/services/tests/PackageManager/packageinstaller/src/com/android/packageinstaller/test/
H A DExportedComponentTest.kt43 assertThat(packageInstallers).isNotEmpty()

12345