/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/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | SimpleUploaderAsyncTask.java | 129 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()
|
D | BugStorageProvider.java | 465 if (!Strings.isNullOrEmpty(bugReport.getFilePath())) { in deleteFilesFor() 471 if (!Strings.isNullOrEmpty(bugReport.getAudioFileName())) { in deleteFilesFor() 474 if (!Strings.isNullOrEmpty(bugReport.getBugReportFileName())) { in deleteFilesFor()
|
D | BugReportInfoActivity.java | 259 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/ |
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/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | ManagePermissionsViewModel.kt | 104 value = !unusedPermissionGroups.value.isNullOrEmpty() || in <lambda>() 105 !additionalPermissionGroups.value.isNullOrEmpty() in <lambda>()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/ |
D | EventDescriptions.java | 62 if (!Strings.isNullOrEmpty(networkCountryIso)) { in EventDescriptions()
|
D | Dialer.java | 49 if (!Strings.isNullOrEmpty(access)) { in dial()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerNotificationBuilder.kt | 80 stateText = if (timer.label.isNullOrEmpty()) { in build() 233 stateText = if (label.isNullOrEmpty()) { in buildHeadsUp()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Utils.java | 258 public static boolean isNullOrEmpty(String exifMake) { in isNullOrEmpty() method in Utils
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
D | EventCalendarItem.java | 83 if (!Strings.isNullOrEmpty(mEvent.getLocation())) { in bind()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | CollapsedAlarmViewHolder.kt | 86 if (!alarm.label.isNullOrEmpty()) { in <lambda>()
|
D | ExpandedAlarmViewHolder.kt | 194 editLabel.contentDescription = if (!alarm.label.isNullOrEmpty()) { in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.kt | 133 return if (mLabel.isNullOrEmpty()) context.getString(R.string.default_label) else mLabel!! in getLabelOrDefault()
|
D | Alarm.kt | 133 return if (label.isNullOrEmpty()) context.getString(R.string.default_label) else label!! in getLabelOrDefault()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/ |
D | HibernationPolicy.kt | 385 .isNullOrEmpty()) { in isPackageHibernationExemptBySystem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilder.java | 770 return !Strings.isNullOrEmpty(selection);
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 228 if (Strings.isNullOrEmpty(name)) { in getEncodedNameLength()
|