/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | CollectionUtils.java | 71 return emptyIfNull(result); in filter() 97 return emptyIfNull(result); in filter() 172 return emptyIfNull(result); in mapNotNull() 182 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() method in CollectionUtils 193 public static @NonNull <T> Set<T> emptyIfNull(@Nullable Set<T> cur) { in emptyIfNull() method in CollectionUtils 204 public static @NonNull <K, V> Map<K, V> emptyIfNull(@Nullable Map<K, V> cur) { in emptyIfNull() method in CollectionUtils 248 return emptyIfNull(result); in filter() 381 return emptyIfNull(cur); in remove() 392 return emptyIfNull(cur); in remove()
|
H A D | Parcelling.java | 151 return CollectionUtils.emptyIfNull(list); in unparcel()
|
H A D | ArrayUtils.java | 142 public static @NonNull <T> T[] emptyIfNull(@Nullable T[] items, Class<T> kind) { in emptyIfNull() method in ArrayUtils
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionInfo.java | 361 this.mMcc = TextUtils.emptyIfNull(mcc); in SubscriptionInfo() 362 this.mMnc = TextUtils.emptyIfNull(mnc); in SubscriptionInfo() 365 this.mCountryIso = TextUtils.emptyIfNull(countryIso); in SubscriptionInfo() 368 this.mCardString = TextUtils.emptyIfNull(cardString); in SubscriptionInfo() 376 this.mGroupOwner = TextUtils.emptyIfNull(groupOwner); in SubscriptionInfo() 1300 mIccId = TextUtils.emptyIfNull(iccId); in setIccId() 1377 mNumber = TextUtils.emptyIfNull(number); in setNumber() 1463 mCountryIso = TextUtils.emptyIfNull(countryIso); in setCountryIso() 1502 mCardString = TextUtils.emptyIfNull(cardString); in setCardString() 1607 mGroupOwner = TextUtils.emptyIfNull(groupOwner); in setGroupOwner()
|
/aosp14/frameworks/base/core/java/android/content/om/ |
H A D | FabricatedOverlay.java | 157 mTargetOverlayable = TextUtils.emptyIfNull(targetOverlayable); in setTargetOverlayable() 309 overlay.targetOverlayable = TextUtils.emptyIfNull(targetOverlayable); in generateFabricatedOverlayInternal() 346 mOverlay.targetOverlayable = TextUtils.emptyIfNull(targetOverlayable); in setTargetOverlayable()
|
/aosp14/frameworks/base/core/java/android/companion/ |
H A D | BluetoothDeviceFilter.java | 60 mServiceUuids = CollectionUtils.emptyIfNull(serviceUuids); in BluetoothDeviceFilter() 61 mServiceUuidMasks = CollectionUtils.emptyIfNull(serviceUuidMasks); in BluetoothDeviceFilter()
|
H A D | AssociationRequest.java | 21 import static com.android.internal.util.CollectionUtils.emptyIfNull; 462 return new AssociationRequest(mSingleDevice, emptyIfNull(mDeviceFilters), in build()
|
H A D | BluetoothLeDeviceFilter.java | 149 final StringBuilder sb = new StringBuilder(TextUtils.emptyIfNull(mRenamePrefix)); in getDeviceDisplayName() 164 return sb.append(TextUtils.emptyIfNull(mRenameSuffix)).toString(); in getDeviceDisplayName()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | BatterySaverPolicyConfig.java | 90 String key = TextUtils.emptyIfNull(in.readString()); in BatterySaverPolicyConfig() 91 String val = TextUtils.emptyIfNull(in.readString()); in BatterySaverPolicyConfig() 428 mDeviceSpecificSettings.put(key, TextUtils.emptyIfNull(value)); in addDeviceSpecificSetting()
|
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/util/ |
H A D | TelephonyUtils.java | 79 public static String emptyIfNull(@Nullable String str) { in emptyIfNull() method in TelephonyUtils 84 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() method in TelephonyUtils
|
/aosp14/frameworks/base/services/core/java/com/android/server/om/ |
H A D | IdmapDaemon.java | 135 return idmap2.createIdmap(targetPath, overlayPath, TextUtils.emptyIfNull(overlayName), in createIdmap() 165 return idmap2.verifyIdmap(targetPath, overlayPath, TextUtils.emptyIfNull(overlayName), in verifyIdmap()
|
H A D | OverlayManagerService.java | 298 String shellPkgName = TextUtils.emptyIfNull( in OverlayManagerService() 946 return CollectionUtils.emptyIfNull(result);
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | ToneGenerator.java | 902 return TextUtils.emptyIfNull(ActivityThread.currentOpPackageName()); in getCurrentOpPackageName()
|
H A D | PlayerBase.java | 542 return TextUtils.emptyIfNull(ActivityThread.currentOpPackageName()); in getCurrentOpPackageName()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | UserspaceRebootLogger.java | 144 String reason = TextUtils.emptyIfNull(SystemProperties.get(LAST_BOOT_REASON_PROPERTY, "")); in computeOutcome()
|
/aosp14/frameworks/base/core/java/android/provider/ |
H A D | SettingsStringUtil.java | 49 TextUtils.split(TextUtils.emptyIfNull(colonSeparatedItems), DELIMITER)) { in ColonDelimitedSet()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockIcon.java | 253 final String setting = TextUtils.emptyIfNull( in getThemedAnimationResId()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
H A D | BatterySaverPolicy.java | 437 setting = TextUtils.emptyIfNull(setting); in updateConstantsLocked() 438 deviceSpecificSetting = TextUtils.emptyIfNull(deviceSpecificSetting); in updateConstantsLocked() 807 configSuffix = TextUtils.emptyIfNull(configSuffix); in fromSettings()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | ApkAssets.java | 335 return TextUtils.emptyIfNull(nativeGetAssetPath(mNativePtr)); in getAssetPath()
|
/aosp14/frameworks/base/core/java/android/permission/ |
H A D | PermissionControllerManager.java | 577 callback.onGetAppPermissions(CollectionUtils.emptyIfNull(getAppPermissionsResult)); in getAppPermissions() 667 CollectionUtils.emptyIfNull(getPermissionUsagesResult)); in getPermissionUsages()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | BluetoothTile.java | 159 state.secondaryLabel = TextUtils.emptyIfNull( in handleUpdateState()
|
H A D | DndTile.java | 241 state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, in handleUpdateState()
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnectionPool.java | 1157 + ", journalMode=" + TextUtils.emptyIfNull(mConfiguration.resolveJournalMode()) in dump() 1158 + ", syncMode=" + TextUtils.emptyIfNull(mConfiguration.resolveSyncMode())); in dump()
|
/aosp14/frameworks/base/telephony/java/android/telephony/data/ |
H A D | DataProfile.java | 136 return TextUtils.emptyIfNull(mApnSetting.getApnName()); in getApn()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtype.java | 516 result = TextUtils.emptyIfNull(result); in getCanonicalizedLanguageTag()
|