Searched refs:ifPresent (Results 1 – 3 of 3) sorted by relevance
218 installLocation.ifPresent(params::setInstallLocation); in checkSessionParams()219 size.ifPresent(params::setSize); in checkSessionParams()220 appPackageName.ifPresent(params::setAppPackageName); in checkSessionParams()221 appIcon.ifPresent(params::setAppIcon); in checkSessionParams()222 appLabel.ifPresent(params::setAppLabel); in checkSessionParams()223 originatingUri.ifPresent(params::setOriginatingUri); in checkSessionParams()224 originatingUid.ifPresent(params::setOriginatingUid); in checkSessionParams()225 referredUri.ifPresent(params::setReferrerUri); in checkSessionParams()226 installReason.ifPresent(params::setInstallReason); in checkSessionParams()246 installLocation.ifPresent(i -> assertThat(info.getInstallLocation()).isEqualTo(i)); in checkSessionParams()[all …]
121 apiConstructor.ifPresent(constructor -> constructor.setCovered(coveredbyApk)); in markConstructorCovered()139 apiMethod.ifPresent(method -> method.setCovered(coveredbyApk)); in markMethodCovered()
43 Optional.ofNullable(callee).ifPresent(action); in runIfNotNull()