Home
last modified time | relevance | path

Searched refs:isNullOrEmpty (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCollectionUtilsTests.java97 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/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DSimpleUploaderAsyncTask.java129 if (Strings.isNullOrEmpty(fileName)) { in upload()
139 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in upload()
143 if (!Strings.isNullOrEmpty(bugReport.getBugReportFileName())) { in upload()
150 if (Strings.isNullOrEmpty(bugReport.getFilePath())) { in upload()
158 if (!Strings.isNullOrEmpty(bugReport.getFilePath())) { in zipBugReportFiles()
DBugStorageProvider.java465 if (!Strings.isNullOrEmpty(bugReport.getFilePath())) { in deleteFilesFor()
471 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in deleteFilesFor()
474 if (!Strings.isNullOrEmpty(bugReport.getBugReportFileName())) { in deleteFilesFor()
DBugReportInfoActivity.java259 if (!Strings.isNullOrEmpty(mBugReport.getFilePath())) { in copyFilesToUsb()
300 if (!Strings.isNullOrEmpty(mBugReport.getAudioFileName())) { in mergeFilesAndCopyToUsb()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCollectionUtils.java64 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/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DManagePermissionsViewModel.kt104 value = !unusedPermissionGroups.value.isNullOrEmpty() || in <lambda>()
105 !additionalPermissionGroups.value.isNullOrEmpty() in <lambda>()
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEventDescriptions.java62 if (!Strings.isNullOrEmpty(networkCountryIso)) { in EventDescriptions()
DDialer.java49 if (!Strings.isNullOrEmpty(access)) { in dial()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.kt80 stateText = if (timer.label.isNullOrEmpty()) { in build()
233 stateText = if (label.isNullOrEmpty()) { in buildHeadsUp()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java258 public static boolean isNullOrEmpty(String exifMake) { in isNullOrEmpty() method in Utils
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java83 if (!Strings.isNullOrEmpty(mEvent.getLocation())) { in bind()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt86 if (!alarm.label.isNullOrEmpty()) { in <lambda>()
DExpandedAlarmViewHolder.kt194 editLabel.contentDescription = if (!alarm.label.isNullOrEmpty()) { in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt133 return if (mLabel.isNullOrEmpty()) context.getString(R.string.default_label) else mLabel!! in getLabelOrDefault()
DAlarm.kt133 return if (label.isNullOrEmpty()) context.getString(R.string.default_label) else label!! in getLabelOrDefault()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt385 .isNullOrEmpty()) { in isPackageHibernationExemptBySystem()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java770 return !Strings.isNullOrEmpty(selection);
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java228 if (Strings.isNullOrEmpty(name)) { in getEncodedNameLength()