Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java56 return emptyIfNull(result); in filter()
109 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() method in CollectionUtils
120 public static @NonNull <T> Set<T> emptyIfNull(@Nullable Set<T> cur) { in emptyIfNull() method in CollectionUtils
143 return emptyIfNull(result); in filter()
187 return emptyIfNull(cur); in remove()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilter.java58 mServiceUuids = CollectionUtils.emptyIfNull(serviceUuids); in BluetoothDeviceFilter()
59 mServiceUuidMasks = CollectionUtils.emptyIfNull(serviceUuidMasks); in BluetoothDeviceFilter()
DAssociationRequest.java52 this.mDeviceFilters = CollectionUtils.emptyIfNull(deviceFilters); in AssociationRequest()
DBluetoothLeDeviceFilter.java145 final StringBuilder sb = new StringBuilder(TextUtils.emptyIfNull(mRenamePrefix)); in getDeviceDisplayName()
160 return sb.append(TextUtils.emptyIfNull(mRenameSuffix)).toString(); in getDeviceDisplayName()
/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;
173 for (BluetoothDevice dev : emptyIfNull(mBluetoothAdapter.getBondedDevices())) { in startDiscovery()
/frameworks/base/core/java/android/text/
DTextUtils.java470 public static String emptyIfNull(@Nullable String str) { in emptyIfNull() method in TextUtils