Home
last modified time | relevance | path

Searched refs:singletonOrEmpty (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/role/
DLegacyRoleResolutionPolicy.java86 return CollectionUtils.singletonOrEmpty(packageName); in getRoleHolders()
93 return CollectionUtils.singletonOrEmpty(packageName); in getRoleHolders()
110 return CollectionUtils.singletonOrEmpty(packageName); in getRoleHolders()
125 return CollectionUtils.singletonOrEmpty(packageName); in getRoleHolders()
144 return CollectionUtils.singletonOrEmpty(packageName); in getRoleHolders()
150 return CollectionUtils.singletonOrEmpty(defaultEmergencyApp); in getRoleHolders()
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java474 public static @NonNull <T> List<T> singletonOrEmpty(@Nullable T item) { in singletonOrEmpty() method in CollectionUtils