Home
last modified time | relevance | path

Searched refs:preapproval (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPreapprovalInstallTest.kt106 assertThat(result.preapproval).isTrue() in requestUserPreapproval_userAgree_statusSuccess()
144 val preapproval = intent.getBooleanExtra( in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() constant
149 Log.d(TAG, "status: $status, msg: $msg preapproval: $preapproval") in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
167 installResult.offer(SessionResult(status, preapproval, msg)) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
203 assertThat(result.preapproval).isTrue() in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
218 assertThat(result.preapproval).isTrue() in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
243 assertThat(result.preapproval).isTrue() in requestUserPreapproval_userCancel_statusFailureAborted()
299 val preapproval = intent.getBooleanExtra(PackageInstaller.EXTRA_PRE_APPROVAL, false) in requestUserPreapproval_doNothingAndCommitLater_installSuccessfully() constant
300 if (preapproval) { in requestUserPreapproval_doNothingAndCommitLater_installSuccessfully()
473 assertThat(result.preapproval).isTrue() in requestUserPreapproval_childSession_statusSuccess()
DPackageInstallerTestBase.kt122 data class SessionResult(val status: Int?, val preapproval: Boolean?, val message: String?) in <lambda>() constant in android.packageinstaller.install.cts.PackageInstallerTestBase.SessionResult
130 val preapproval = intent.getBooleanExtra(EXTRA_PRE_APPROVAL, false) in <lambda>() constant
141 installSessionResult.offer(SessionResult(status, preapproval, msg)) in <lambda>()
277 Assert.assertEquals(false, result.preapproval) in <lambda>()
298 Assert.assertEquals(true, result.preapproval) in <lambda>()
DSessionTest.kt98 assertEquals(false, result.preapproval) in confirmInstallation()
122 assertEquals(false, result.preapproval) in confirmMultiPackageInstallation()
200 assertEquals(false, result.preapproval) in cancelInstallation()
DInstallSourceInfoTest.kt135 assertThat(result.preapproval).isFalse() in installViaSession()