/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CollectionUtilsTests.java | 97 assertTrue(CollectionUtils.isNullOrEmpty((List<String>) null)); in testIsNullOrEmpty() 98 assertTrue(CollectionUtils.isNullOrEmpty((Map<String, String>) null)); in testIsNullOrEmpty() 99 assertTrue(CollectionUtils.isNullOrEmpty(new ArrayList<String>())); in testIsNullOrEmpty() 100 assertTrue(CollectionUtils.isNullOrEmpty(new HashMap<String, String>())); in testIsNullOrEmpty() 101 assertFalse(CollectionUtils.isNullOrEmpty(Collections.singletonList("Not empty"))); in testIsNullOrEmpty() 102 assertFalse(CollectionUtils.isNullOrEmpty(Collections.singletonMap("Not", "empty"))); in testIsNullOrEmpty()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetySourceIntentHandler.kt | 120 if (broadcastId.isNullOrEmpty()) { in processRefreshSafetySources() 125 if (sourceIds.isNullOrEmpty()) { in processRefreshSafetySources() 160 if (sourceId.isNullOrEmpty()) { in createRefreshEvent() 167 if (sourceIssueId.isNullOrEmpty()) { in createRefreshEvent() 174 if (sourceIssueActionId.isNullOrEmpty()) { in createRefreshEvent() 208 if (sourceId.isNullOrEmpty()) { in createResolveActionSuccessEvent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/ |
D | WallpaperModelFactory.kt | 145 effectsBottomSheetTitle.takeUnless { it.isNullOrEmpty() } ?: return null in getWallpaperModel() 147 effectsBottomSheetSubtitle.takeUnless { it.isNullOrEmpty() } ?: return null in getWallpaperModel() 149 clearActionsUri.takeUnless { it?.scheme.isNullOrEmpty() } ?: return null in getWallpaperModel() 150 val effectsUri = effectsUri.takeUnless { it?.scheme.isNullOrEmpty() } ?: return null in getWallpaperModel()
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | ConfigurationUpdater.java | 69 return Strings.isNullOrEmpty(ipConfigurationText) ? null : in getIpConfiguration() 81 if (Strings.isNullOrEmpty(networkCapabilitiesText)) { in getCapabilities() 94 if (!Strings.isNullOrEmpty(packageNames)) { in getCapabilities()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsDialogFragment.java | 216 if (!Strings.isNullOrEmpty(mSubTitle1)) { in build() 221 if (!Strings.isNullOrEmpty(mSubTitle2)) { in build() 226 if (!Strings.isNullOrEmpty(mLeftButtonText)) { in build() 237 if (!Strings.isNullOrEmpty(mRightButtonText)) { in build()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CollectionUtils.java | 64 public static boolean isNullOrEmpty(@Nullable final Collection c) { in isNullOrEmpty() method in CollectionUtils 74 public static boolean isNullOrEmpty(@Nullable final Map map) { in isNullOrEmpty() method in CollectionUtils
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AuctionServerCustomAudienceFilterer.java | 44 .allMatch(Strings::isNullOrEmpty)) { in isValidCustomAudienceForServerSideAuction() 60 .allMatch(ad -> Strings.isNullOrEmpty(ad.getAdRenderId()))) { in isValidCustomAudienceForServerSideAuction()
|
/packages/apps/Settings/src/com/android/settings/system/ |
D | ClientInitiatedActionRepository.kt | 46 if (action.isNullOrEmpty()) return in onSystemUpdate() 52 if (!extra.isNullOrEmpty()) putExtra(extra, extraValue) in onSystemUpdate()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | PermissionRationaleTest.kt | 143 Assume.assumeFalse(getPermissionControllerResString(HELP_CENTER_URL_ID).isNullOrEmpty()) in <lambda>() 157 Assume.assumeTrue(getPermissionControllerResString(HELP_CENTER_URL_ID).isNullOrEmpty()) in <lambda>() 365 assertFalse(observedIntentDataString.isNullOrEmpty()) in <lambda>() 368 assertFalse(observedIntentScheme.isNullOrEmpty()) in <lambda>()
|
D | AppDataSharingUpdatesTest.kt | 281 Assume.assumeFalse(getPermissionControllerResString(HELP_CENTER_URL_ID).isNullOrEmpty()) in <lambda>() 300 Assume.assumeTrue(getPermissionControllerResString(HELP_CENTER_URL_ID).isNullOrEmpty()) in <lambda>() 708 assertFalse(observedIntentDataString.isNullOrEmpty()) in <lambda>() 711 assertFalse(observedIntentScheme.isNullOrEmpty()) in <lambda>() 717 return !getPermissionControllerResString(HELP_CENTER_URL_ID).isNullOrEmpty() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterSubpageFragment.kt | 119 subpageIssues.isNullOrEmpty() && subpageIllustration.illustrationDrawable != null in updateSafetyCenterIssues() 121 if (subpageIssues.isNullOrEmpty() && subpageDismissedIssues.isNullOrEmpty()) { in updateSafetyCenterIssues()
|
D | PrivacySubpageFragment.kt | 104 if (subpageIssues.isNullOrEmpty() && subpageDismissedIssues.isNullOrEmpty()) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | ManagePermissionsViewModel.kt | 109 !unusedPermissionGroups.value.isNullOrEmpty() || in <lambda>() 110 !additionalPermissionGroups.value.isNullOrEmpty() in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | PreviewActionFloatingSheet.kt | 132 if (!text.isNullOrEmpty()) { in <lambda>() 138 if (!text.isNullOrEmpty()) { in <lambda>() 144 if (!text.isNullOrEmpty()) { in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcastHelper.kt | 182 if (installer.isNullOrEmpty() || appPackage.isNullOrEmpty()) return@forEach in <lambda>() 201 if (installer.isNullOrEmpty()) return@forEach in <lambda>() 223 if (installer.isNullOrEmpty()) return@forEach in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorer.kt | 53 if (!homeWallpaperId.isNullOrEmpty()) { in <lambda>() 62 if (!lockWallpaperId.isNullOrEmpty()) { in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/sdn/ |
D | SdnProvider.kt | 177 if (lookupKey.isNullOrEmpty()) { in <lambda>() 236 if (phoneNumber.isNullOrEmpty()) { in <lambda>() 259 if (callingPackage.isNullOrEmpty()) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearPermissionAppsHelper.kt | 70 if (!allowedList.isNullOrEmpty()) { in <lambda>() 99 if (!list.isNullOrEmpty()) { in <lambda>() 204 if (chipsByCategory[categoryName].isNullOrEmpty()) { in <lambda>()
|
D | WearPermissionAppsScreen.kt | 81 val firstItemIndex = categoryOrder.indexOfFirst { !chipsByCategory[it].isNullOrEmpty() } in WearPermissionAppsContent() 84 if (chips.isNullOrEmpty()) { in WearPermissionAppsContent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | PreviewActionsViewModel.kt | 91 if (wallpaperModel.commonWallpaperData.exploreActionUrl.isNullOrEmpty()) { in <lambda>() 520 return (!attributions.isNullOrEmpty() && attributions.any { !it.isNullOrEmpty() }) || in <lambda>() 521 !commonWallpaperData.exploreActionUrl.isNullOrEmpty() in <lambda>() 549 if (settingsActivity.isNullOrEmpty()) { in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.kt | 230 if (attributions.isNullOrEmpty()) { in <lambda>() 290 if (!attributions.isNullOrEmpty()) { in <lambda>() 334 if (!attributions.isNullOrEmpty()) { in <lambda>() 448 if (attributions.isNullOrEmpty()) { in <lambda>() 507 if (!attributions.isNullOrEmpty()) { in <lambda>() 551 if (!attributions.isNullOrEmpty()) { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/hardwareinfo/ |
D | ManufacturedYearPreferenceController.kt | 29 if (!year.isNullOrEmpty()) AVAILABLE else UNSUPPORTED_ON_DEVICE
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | SimpleUploaderAsyncTask.java | 147 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in upload() 151 if (!Strings.isNullOrEmpty(bugReport.getBugReportFileName())) { in upload()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/ |
D | EnhancedConfirmationDialogActivity.kt | 78 require(!packageName.isNullOrEmpty()) { "EXTRA_PACKAGE_NAME cannot be null or empty" } in <lambda>() 79 require(!settingIdentifier.isNullOrEmpty()) { "EXTRA_SUBJECT cannot be null or empty" } in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultPrivateAutofillPreferenceController.kt | 50 return if (!flattenComponent.isNullOrEmpty()) { in <lambda>()
|