Home
last modified time | relevance | path

Searched refs:isNullOrEmpty (Results 1 – 12 of 12) 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/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java127 if (Strings.isNullOrEmpty(fileName)) { in upload()
137 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in upload()
141 if (!Strings.isNullOrEmpty(bugReport.getBugReportFileName())) { in upload()
148 if (Strings.isNullOrEmpty(bugReport.getFilePath())) { in upload()
156 if (!Strings.isNullOrEmpty(bugReport.getFilePath())) { in zipBugReportFiles()
DBugStorageProvider.java421 if (!Strings.isNullOrEmpty(bugReport.getFilePath())) { in deleteFilesFor()
427 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in deleteFilesFor()
430 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/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/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/modules/NetworkStack/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt408 if (spec.isNullOrEmpty()) return { true } in makePredicate()
/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.kt134 return if (label.isNullOrEmpty()) context.getString(R.string.default_label) else label!! in getLabelOrDefault()