/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A 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()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
H A D | AndroidPackageParsingEquivalenceTest.kt | 104 if (!it.first?.activities.isNullOrEmpty() && !it.second?.activities.isNullOrEmpty()) { 119 if (!it.first?.receivers.isNullOrEmpty() && !it.second?.receivers.isNullOrEmpty()) { 134 if (!it.first?.providers.isNullOrEmpty() && !it.second?.providers.isNullOrEmpty()) { 149 if (!it.first?.services.isNullOrEmpty() && !it.second?.services.isNullOrEmpty()) {
|
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
H A 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()
|
H A 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()
|
H A D | BugReportInfoActivity.java | 259 if (!Strings.isNullOrEmpty(mBugReport.getFilePath())) { in copyFilesToUsb() 300 if (!Strings.isNullOrEmpty(mBugReport.getAudioFileName())) { in mergeFilesAndCopyToUsb()
|
/aosp12/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A 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
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
H A D | ManagePermissionsViewModel.kt | 104 value = !unusedPermissionGroups.value.isNullOrEmpty() || 105 !additionalPermissionGroups.value.isNullOrEmpty()
|
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/common/ |
H A D | EventDescriptions.java | 62 if (!Strings.isNullOrEmpty(networkCountryIso)) { in EventDescriptions()
|
H A D | Dialer.java | 49 if (!Strings.isNullOrEmpty(access)) { in dial()
|
/aosp12/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
H A D | FakeDns.kt | 84 if (!answer?.addresses.isNullOrEmpty()) {
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | FragmentTransition.java | 1076 if (isNullOrEmpty(targets)) { in addTargets() 1090 return !isNullOrEmpty(transition.getTargetIds()) || in hasSimpleTarget() 1091 !isNullOrEmpty(transition.getTargetNames()) || in hasSimpleTarget() 1092 !isNullOrEmpty(transition.getTargetTypes()); in hasSimpleTarget() 1098 private static boolean isNullOrEmpty(List list) { in isNullOrEmpty() method in FragmentTransition
|
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/ |
H A D | StatementParser.kt | 87 if (!delegate.isNullOrEmpty()) {
|
/aosp12/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | Generators.kt | 297 if (!Annotations.isNullOrEmpty()) +Annotations 298 val ParamAnnotations = if (!paramAnnotations.isNullOrEmpty()) "$paramAnnotations " else ""
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | TimerNotificationBuilder.kt | 80 stateText = if (timer.label.isNullOrEmpty()) { 233 stateText = if (label.isNullOrEmpty()) {
|
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/ |
H A D | ValueResourceParser.java | 162 if (!Strings.isNullOrEmpty(name)) { in startElement()
|
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 258 public static boolean isNullOrEmpty(String exifMake) { in isNullOrEmpty() method in Utils
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 258 public static boolean isNullOrEmpty(String exifMake) { in isNullOrEmpty() method in Utils
|
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
H A D | EventCalendarItem.java | 83 if (!Strings.isNullOrEmpty(mEvent.getLocation())) { in bind()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
H A D | CollapsedAlarmViewHolder.kt | 86 if (!alarm.label.isNullOrEmpty()) {
|
H A D | ExpandedAlarmViewHolder.kt | 194 editLabel.contentDescription = if (!alarm.label.isNullOrEmpty()) {
|
/aosp12/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
H A D | TrackRecordTest.kt | 436 if (spec.isNullOrEmpty()) return { true }
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | AlarmInstance.kt | 133 return if (mLabel.isNullOrEmpty()) context.getString(R.string.default_label) else mLabel!!
|
H A D | Alarm.kt | 133 return if (label.isNullOrEmpty()) context.getString(R.string.default_label) else label!!
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/ |
H A D | HibernationPolicy.kt | 385 .isNullOrEmpty()) {
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
H A D | SQLiteQueryBuilder.java | 770 return !Strings.isNullOrEmpty(selection);
|