Home
last modified time | relevance | path

Searched refs:mCallbackStatus (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java62 protected int mCallbackStatus; field in BasePackageInstallTest
73 mCallbackStatus = intent.getIntExtra(PackageInstaller.EXTRA_STATUS,
75 if (mCallbackStatus == PackageInstaller.STATUS_SUCCESS) {
79 } else if (mCallbackStatus == PackageInstaller.STATUS_PENDING_USER_ACTION) {
134 mCallbackStatus = PACKAGE_INSTALLER_STATUS_UNDEFINED; in assertInstallPackage()
143 assertEquals(PackageInstaller.STATUS_SUCCESS, mCallbackStatus); in assertInstallPackage()
152 mCallbackStatus = PACKAGE_INSTALLER_STATUS_UNDEFINED; in tryUninstallPackage()
161 return mCallbackStatus == PackageInstaller.STATUS_SUCCESS; in tryUninstallPackage()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java58 protected int mCallbackStatus; field in BasePackageInstallTest
67 mCallbackStatus = intent.getIntExtra(PackageInstaller.EXTRA_STATUS,
69 if (mCallbackStatus == PackageInstaller.STATUS_SUCCESS) {
73 } else if (mCallbackStatus == PackageInstaller.STATUS_PENDING_USER_ACTION) {
182 mCallbackStatus = PACKAGE_INSTALLER_STATUS_UNDEFINED; in executeAndWaitForPckageInstallCallback()
191 return mCallbackStatus == PackageInstaller.STATUS_SUCCESS; in executeAndWaitForPckageInstallCallback()
DManualPackageInstallTest.java58 mCallbackStatus = PACKAGE_INSTALLER_STATUS_UNDEFINED; in testManualInstallBlocked()
68 assertEquals(PackageInstaller.STATUS_PENDING_USER_ACTION, mCallbackStatus); in testManualInstallBlocked()
91 assertEquals(PackageInstaller.STATUS_PENDING_USER_ACTION, mCallbackStatus); in installPackage()
97 mCallbackStatus = PACKAGE_INSTALLER_STATUS_UNDEFINED; in installPackage()