Home
last modified time | relevance | path

Searched refs:emptyIfNull (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java60 return emptyIfNull(result); in filter()
86 return emptyIfNull(result); in filter()
161 return emptyIfNull(result); in mapNotNull()
171 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() method in CollectionUtils
182 public static @NonNull <T> Set<T> emptyIfNull(@Nullable Set<T> cur) { in emptyIfNull() method in CollectionUtils
219 return emptyIfNull(result); in filter()
274 return emptyIfNull(cur); in remove()
285 return emptyIfNull(cur); in remove()
/frameworks/base/telephony/common/com/android/internal/telephony/util/
DTelephonyUtils.java60 public static String emptyIfNull(@Nullable String str) { in emptyIfNull() method in TelephonyUtils
65 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() method in TelephonyUtils
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java89 String key = TextUtils.emptyIfNull(in.readString()); in BatterySaverPolicyConfig()
90 String val = TextUtils.emptyIfNull(in.readString()); in BatterySaverPolicyConfig()
384 mDeviceSpecificSettings.put(key, TextUtils.emptyIfNull(value)); in addDeviceSpecificSetting()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilter.java59 mServiceUuids = CollectionUtils.emptyIfNull(serviceUuids); in BluetoothDeviceFilter()
60 mServiceUuidMasks = CollectionUtils.emptyIfNull(serviceUuidMasks); in BluetoothDeviceFilter()
DAssociationRequest.java53 this.mDeviceFilters = CollectionUtils.emptyIfNull(deviceFilters); in AssociationRequest()
DBluetoothLeDeviceFilter.java149 final StringBuilder sb = new StringBuilder(TextUtils.emptyIfNull(mRenamePrefix)); in getDeviceDisplayName()
164 return sb.append(TextUtils.emptyIfNull(mRenameSuffix)).toString(); in getDeviceDisplayName()
/frameworks/base/services/core/java/com/android/server/
DUserspaceRebootLogger.java144 String reason = TextUtils.emptyIfNull(SystemProperties.get(LAST_BOOT_REASON_PROPERTY, "")); in computeOutcome()
DStorageManagerService.java1652 for (AppOpsManager.PackageOps pkg : CollectionUtils.emptyIfNull(pkgs)) { in getLastAccessTime()
1653 for (AppOpsManager.OpEntry op : CollectionUtils.emptyIfNull(pkg.getOps())) { in getLastAccessTime()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java349 setting = TextUtils.emptyIfNull(setting); in updateConstantsLocked()
350 deviceSpecificSetting = TextUtils.emptyIfNull(deviceSpecificSetting); in updateConstantsLocked()
351 adaptiveSetting = TextUtils.emptyIfNull(adaptiveSetting); in updateConstantsLocked()
352 adaptiveDeviceSpecificSetting = TextUtils.emptyIfNull(adaptiveDeviceSpecificSetting); in updateConstantsLocked()
/frameworks/base/core/java/android/provider/
DSettingsStringUtil.java49 TextUtils.split(TextUtils.emptyIfNull(colonSeparatedItems), DELIMITER)) { in ColonDelimitedSet()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java23 import static com.android.internal.util.CollectionUtils.emptyIfNull;
179 for (BluetoothDevice dev : emptyIfNull(mBluetoothAdapter.getBondedDevices())) { in startDiscovery()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2541 carrierIdMatchingResult.mccmnc = TelephonyUtils.emptyIfNull(simInfo.mccMnc); in writeCarrierIdMatchingEvent()
2542 carrierIdMatchingResult.spn = TelephonyUtils.emptyIfNull(simInfo.spn); in writeCarrierIdMatchingEvent()
2543 carrierIdMatchingResult.pnn = TelephonyUtils.emptyIfNull(simInfo.plmn); in writeCarrierIdMatchingEvent()
2544 carrierIdMatchingResult.gid1 = TelephonyUtils.emptyIfNull(simInfo.gid1); in writeCarrierIdMatchingEvent()
2545 carrierIdMatchingResult.gid2 = TelephonyUtils.emptyIfNull(simInfo.gid2); in writeCarrierIdMatchingEvent()
2546 carrierIdMatchingResult.imsiPrefix = TelephonyUtils.emptyIfNull(simInfo.imsiPrefixPattern); in writeCarrierIdMatchingEvent()
2547 carrierIdMatchingResult.iccidPrefix = TelephonyUtils.emptyIfNull(simInfo.iccidPrefix); in writeCarrierIdMatchingEvent()
2548 carrierIdMatchingResult.preferApn = TelephonyUtils.emptyIfNull(simInfo.apn); in writeCarrierIdMatchingEvent()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java1123 + ", journalMode=" + TextUtils.emptyIfNull(mConfiguration.journalMode) in dump()
1124 + ", syncMode=" + TextUtils.emptyIfNull(mConfiguration.syncMode)); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java135 state.secondaryLabel = TextUtils.emptyIfNull( in handleUpdateState()
DDndTile.java236 state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java498 final String setting = TextUtils.emptyIfNull( in getThemedAnimationResId()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java689 + TextUtils.emptyIfNull(mHostname) + "}"; in DnsTlsCheck()
/frameworks/base/core/java/android/text/
DTextUtils.java551 public static String emptyIfNull(@Nullable String str) { in emptyIfNull() method in TextUtils
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1121 return CollectionUtils.emptyIfNull(mActions); in getActionList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java3952 return TelephonyUtils.emptyIfNull(getSubscriptionProperty(subId,
DGsmCdmaPhone.java4140 return TextUtils.emptyIfNull(operatorNumeric); in getOperatorNumeric()
/frameworks/base/config/
Dboot-image-profile.txt42614 HSPLandroid/text/TextUtils;->emptyIfNull(Ljava/lang/String;)Ljava/lang/String;
Dhiddenapi-greylist-max-o.txt70994 Landroid/text/TextUtils;->emptyIfNull(Ljava/lang/String;)Ljava/lang/String;