Searched refs:firstOrNull (Results 1 – 13 of 13) sorted by relevance
333 public static @Nullable <T> T firstOrNull(@Nullable List<T> cur) { in firstOrNull() method in CollectionUtils340 public static @Nullable <T> T firstOrNull(@Nullable Collection<T> cur) { in firstOrNull() method in CollectionUtils
760 public static @Nullable <T> T firstOrNull(T[] items) { in firstOrNull() method in ArrayUtils
89 final String ret = CollectionUtils.firstOrNull(mRoleManager.getRoleHoldersAsUser( in getTargetPackage()
42 return answers.firstOrNull { it.match(hostname, type) } in match()
641 return CollectionUtils.firstOrNull( in getDefaultSmsPackage()704 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultBrowser()758 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultDialer()768 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultHome()
133 return CollectionUtils.firstOrNull(context.getSystemService(RoleManager.class) in getDefaultDialerApplication()
146 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testSpecWithInvalidDoesNotUseDefault()
440 ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()445 final String verifier = ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()452 ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()602 String browserPackage = ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()
1715 String systemPackageName = ArrayUtils.firstOrNull(mPackageManagerInt.getKnownPackageNames( in grantSignaturePermission()
380 final String setupWizardPackage = ArrayUtils.firstOrNull( in addAllComponents()418 final String setupWizardPackage = ArrayUtils.firstOrNull( in fixProtectedFilterPriorities()
1390 caller = ArrayUtils.firstOrNull(AppGlobals.getPackageManager() in ObserverEntry()
3947 return CollectionUtils.firstOrNull(allowedComponents);4280 ComponentName allowedAssistant = CollectionUtils.firstOrNull(8017 ComponentName currentComponent = CollectionUtils.firstOrNull(allowedComponents);8727 return CollectionUtils.firstOrNull(allowedComponents);
24136 HSPLcom/android/internal/util/CollectionUtils;->firstOrNull(Ljava/util/Collection;)Ljava/lang/Objec…24137 HSPLcom/android/internal/util/CollectionUtils;->firstOrNull(Ljava/util/List;)Ljava/lang/Object;