Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
H A DIntegrityCheckResultTest.java39 IntegrityCheckResult allowResult = IntegrityCheckResult.allow(); in createAllowResult() local
41 assertThat(allowResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.ALLOW); in createAllowResult()
42 assertThat(allowResult.getMatchedRules()).isEmpty(); in createAllowResult()
43 assertThat(allowResult.getLoggingResponse()) in createAllowResult()
56 IntegrityCheckResult allowResult = in createAllowResultWithRule() local
59 assertThat(allowResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.ALLOW); in createAllowResultWithRule()
60 assertThat(allowResult.getMatchedRules()).containsExactly(forceAllowRule); in createAllowResultWithRule()
61 assertThat(allowResult.getLoggingResponse()) in createAllowResultWithRule()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedProcessUtils.java139 ParseResult<Set<String>> allowResult = parseAllowPermission( in parseProcess() local
141 result = allowResult; in parseProcess()
142 if (allowResult.isSuccess()) { in parseProcess()
143 proc.setDeniedPermissions(allowResult.getResult()); in parseProcess()
188 ParseResult<Set<String>> allowResult = parseAllowPermission(deniedPerms, res, in parseProcesses() local
190 result = allowResult; in parseProcesses()
191 if (allowResult.isSuccess()) { in parseProcesses()
192 deniedPerms = allowResult.getResult(); in parseProcesses()