Searched refs:findFirst (Results 1 – 25 of 85) sorted by relevance
1234
52 .filter(s->s.uid == 42).findFirst().get(); in parcelability()61 .filter(s->s.uid == 99).findFirst().get(); in parcelability()
46 .filter(a -> a.hasAuthority(authority)).findFirst(); in resolve()53 adminPolicies.entrySet().stream().findFirst().get(); in resolve()
941 .stream().filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectSuccess()944 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectSuccess()968 .filter(o -> o.getName().equals(newDirTo.getName())).findFirst().get(); in testCopyObjectSuccessRecursive()971 .filter(o -> o.getName().equals(newDirFrom.getName())).findFirst().get(); in testCopyObjectSuccessRecursive()1013 .filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectFailed()1016 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectFailed()1036 .filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectFailedAdded()1039 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectFailedAdded()1066 .filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectFailedDeleted()1069 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectFailedDeleted()[all …]
122 .findFirst() in getKeyphraseSoundModel()135 .findFirst() in getKeyphraseSoundModel()
137 (instanceName) -> !instanceName.equals(instance)).findFirst(); in getSensorNameNotForInstance()146 Optional<String> optionalInstance = mSensorPropsMap.keySet().stream().findFirst(); in getSensorInstance()
136 (instanceName) -> !instanceName.equals(instance)).findFirst(); in getSensorNameNotForInstance()145 Optional<String> optionalInstance = mSensorPropsMap.keySet().stream().findFirst(); in getSensorInstance()
138 .findFirst() in noteProxyOpWithDeviceId()144 .findFirst() in noteProxyOpWithDeviceId()
120 .findFirst().orElse(null); in handleServiceConnected()135 == mChosenEntry.getHotspotNetworkEntryKey().getDeviceId()).findFirst().orElse( in handleHotspotNetworksUpdated()
322 .findFirst() in updateDataProfiles()338 .findFirst() in updateDataProfiles()351 .findFirst() in updateDataProfiles()451 defaultProfile = internetNetworks.stream().findFirst().get().getDataProfile(); in onInternetDataNetworkConnected()502 .findFirst() in getPreferredDataProfileFromDb()522 .findFirst() in getPreferredDataProfileFromConfig()571 .findFirst() in updatePreferredDataProfile()621 .findFirst() in updateInitialAttachDataProfileAtModem()
64 && info.mAnnotation.get().equals(key)).findFirst(); in linkify()
75 }).findFirst(); in getAction() method in ClipboardOverlayUtils
105 .findFirst(); in findCallingClassLoader()
75 .findFirst() in getElementsFromResource()107 .findFirst(); in removeOdChildEleWithName()
269 .findFirst().orElse(null); in getPreferredMainDevice()296 .findFirst() in getPreferredMainDevice()
134 .findFirst() in getDebugMessage()
131 .findFirst() in initLayoutIdToViewType()
194 .filter(us -> us.getUid() == APP_UID1).findFirst().orElse(null); in combinedProcessStates()294 .filter(us -> us.getUid() == uid).findFirst().orElse(null); in assertUidPowerEstimate()
442 .findFirst(); in extractMessage()624 .findFirst().get().getLocalIdentifier(); in getRtpHeaderExtensionIdentifier()
205 stream.filter(::isFrameInteresting).limit(5).findFirst() in isFrameInteresting()
199 var model = mModelList.stream().filter(x -> x.getUuid().equals(uuid)).findFirst(); in checkDuplicateModelUuid()
153 .findFirst() in findActive()163 .findFirst() in findFactory()223 assertThat(services.stream().map(ApexSystemServiceInfo::getName).findFirst().orElse(null)) in testGetApexSystemServices()
140 .findFirst(); in getAverageWorkTime()
134 .findFirst() in processViewAppearedEvent()
146 && (item.hasHints(hints) && !item.hasAnyHints(nonHints))).findFirst().orElse(null); in find()
109 .findFirst() in SoundTriggerManager()160 .findFirst() in getTestModuleProperties()