Home
last modified time | relevance | path

Searched refs:firstOrNull (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt55 val control = controls.firstOrNull { it.control.controlId == id }?.control in <lambda>()
69 val toChange = elements.firstOrNull { in <lambda>()
DControlsListingControllerImpl.kt175 return getCurrentServices().firstOrNull { it.componentName == name } in getAppLabel()
/frameworks/base/tools/codegen/src/com/android/codegen/
DImportsProvider.kt66 if (outerClass.firstOrNull()?.isUpperCase() == true) { in <lambda>()
DUtils.kt120 cause = parse.problems.mapNotNull { it.cause.orElse(null) }.firstOrNull()) in parseJava()
DFieldInfo.kt108 val FieldInnerType = fieldTypeGenegicArgs.firstOrNull() in <lambda>()
/frameworks/base/services/core/java/com/android/server/appbinding/finders/
DCarrierMessagingClientServiceFinder.java89 final String ret = CollectionUtils.firstOrNull(mRoleManager.getRoleHoldersAsUser( in getTargetPackage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleDataRepository.kt165 ?.firstOrNull { shortcutInfo -> entity.shortcutId == shortcutInfo.id } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java178 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testSpecWithInvalidDoesNotUseDefault()
202 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testDefault()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java667 return CollectionUtils.firstOrNull( in getDefaultSmsPackage()
731 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultBrowser()
786 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultDialer()
797 return CollectionUtils.firstOrNull(getOrCreateUserState(userId).getRoleHolders( in getDefaultHome()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java133 return CollectionUtils.firstOrNull(context.getSystemService(RoleManager.class) in getDefaultDialerApplication()
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java460 public static @Nullable <T> T firstOrNull(@Nullable List<T> cur) { in firstOrNull() method in CollectionUtils
467 public static @Nullable <T> T firstOrNull(@Nullable Collection<T> cur) { in firstOrNull() method in CollectionUtils
DArrayUtils.java845 public static @Nullable <T> T firstOrNull(T[] items) { in firstOrNull() method in ArrayUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt447 return structures.firstOrNull { in <lambda>()
530 items.firstOrNull { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt325 ?.firstOrNull()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java532 ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()
537 final String verifier = ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()
544 ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()
685 String browserPackage = ArrayUtils.firstOrNull(getKnownPackages( in grantDefaultSystemHandlerPermissions()
DPermissionManagerService.java3481 String systemPackageName = ArrayUtils.firstOrNull(mPackageManagerInt.getKnownPackageNames( in grantSignaturePermission()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java479 final String setupWizardPackage = ArrayUtils.firstOrNull( in addAllComponents()
520 final String setupWizardPackage = ArrayUtils.firstOrNull( in fixProtectedFilterPriorities()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1482 caller = ArrayUtils.firstOrNull(AppGlobals.getPackageManager() in ObserverEntry()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java4733 return CollectionUtils.firstOrNull(allowedComponents);
5066 ComponentName allowedAssistant = CollectionUtils.firstOrNull(
9097 ComponentName currentComponent = CollectionUtils.firstOrNull(allowedComponents);
9834 return CollectionUtils.firstOrNull(allowedComponents);
/frameworks/base/config/
Dboot-image-profile.txt29767 HSPLcom/android/internal/util/ArrayUtils;->firstOrNull([Ljava/lang/Object;)Ljava/lang/Object;
29811 HSPLcom/android/internal/util/CollectionUtils;->firstOrNull(Ljava/util/Collection;)Ljava/lang/Objec…
29812 HSPLcom/android/internal/util/CollectionUtils;->firstOrNull(Ljava/util/List;)Ljava/lang/Object;