Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
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()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProcessUtils.java146 ParseResult<Set<String>> allowResult = parseAllowPermission( in parseProcess() local
148 result = allowResult; in parseProcess()
149 if (allowResult.isSuccess()) { in parseProcess()
150 proc.setDeniedPermissions(allowResult.getResult()); in parseProcess()
195 ParseResult<Set<String>> allowResult = parseAllowPermission(deniedPerms, res, in parseProcesses() local
197 result = allowResult; in parseProcesses()
198 if (allowResult.isSuccess()) { in parseProcesses()
199 deniedPerms = allowResult.getResult(); in parseProcesses()