Home
last modified time | relevance | path

Searched refs:legacyStatus (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/common/
DEventResultPersister.java97 void onResult(int status, int legacyStatus, @Nullable String message, int serviceId); in onResult() argument
158 int legacyStatus = readIntAttribute(parser, "legacyStatus"); in EventResultPersister() local
166 mResults.put(id, new EventResult(status, legacyStatus, statusMessage, in EventResultPersister()
200 int legacyStatus = intent.getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, 0); in onEventReceived() local
216 observerToCall.onResult(status, legacyStatus, statusMessage, serviceId); in onEventReceived()
218 mResults.put(id, new EventResult(status, legacyStatus, statusMessage, serviceId)); in onEventReceived()
265 Integer.toString(results.valueAt(i).legacyStatus)); in writeState()
325 observer.onResult(result.status, result.legacyStatus, result.message, in addObserver()
354 public final int legacyStatus; field in EventResultPersister.EventResult
358 private EventResult(int status, int legacyStatus, @Nullable String message, int serviceId) { in EventResult() argument
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallFailed.java88 int legacyStatus = intent.getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, in onCreate() local
98 && legacyStatus != PackageManager.INSTALL_FAILED_VERIFICATION_TIMEOUT in onCreate()
99 && legacyStatus != PackageManager.INSTALL_FAILED_VERIFICATION_FAILURE; in onCreate()
104 result.putExtra(Intent.EXTRA_INSTALL_RESULT, legacyStatus); in onCreate()
DInstallInstalling.java184 private void launchFailure(int statusCode, int legacyStatus, String statusMessage) { in launchFailure() argument
189 failureIntent.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, legacyStatus); in launchFailure()
269 private void launchFinishBasedOnResult(int statusCode, int legacyStatus, String statusMessage, in launchFinishBasedOnResult() argument
274 launchFailure(statusCode, legacyStatus, statusMessage); in launchFinishBasedOnResult()
DUninstallUninstalling.java150 public void onResult(int status, int legacyStatus, @Nullable String message, int serviceId) { in onResult() argument
153 mCallback.onUninstallComplete(mAppInfo.packageName, legacyStatus, message); in onResult()
158 result.putExtra(Intent.EXTRA_INSTALL_RESULT, legacyStatus); in onResult()
DUninstallFinish.java95 int legacyStatus = intent.getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, 0); in onReceive() local
97 switch (legacyStatus) { in onReceive()
176 + " with legacy code " + legacyStatus); in onReceive()
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderEventTest.java101 TimeZoneProviderStatus legacyStatus = null; in createSuggestion() local
103 creationElapsedMillis, suggestion, legacyStatus); in createSuggestion()
104 assertEquals(legacyStatus, legacyEvent.getTimeZoneProviderStatus()); in createSuggestion()
124 TimeZoneProviderStatus legacyStatus = null; in createUncertain() local
126 creationElapsedMillis, legacyStatus); in createUncertain()
127 assertEquals(legacyStatus, legacyEvent.getTimeZoneProviderStatus()); in createUncertain()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt438 legacyStatus: Int, in handleUninstallResult()
444 callback!!.onUninstallComplete(targetPackageName!!, legacyStatus, message) in handleUninstallResult()
453 intent.putExtra(Intent.EXTRA_INSTALL_RESULT, legacyStatus) in handleUninstallResult()
481 UninstallSuccess(activityResultCode = legacyStatus, message = statusMessage) in handleUninstallResult()
495 when (legacyStatus) { in handleUninstallResult()
570 " with legacy code $legacyStatus" in handleUninstallResult()
DInstallRepository.kt860 ) { statusCode: Int, legacyStatus: Int, message: String?, serviceId: Int -> in <lambda>() method
861 setStageBasedOnResult(statusCode, legacyStatus, message) in <lambda>()
889 legacyStatus: Int, in <lambda>()
894 "legacy status: $legacyStatus\n" + in <lambda>()
908 … _installResult.setValue(InstallFailed(appSnippet, statusCode, legacyStatus, message)) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java310 public void onResult(int status, int legacyStatus, @Nullable String message, int serviceId) { in onResult() argument
312 msg.arg1 = legacyStatus; in onResult()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java424 public void onResult(int status, int legacyStatus, @Nullable String message, int serviceId) { in onResult() argument
432 + ", returnCode " + legacyStatus); in onResult()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationService.java1119 int legacyStatus = legacyUserStates.valueAt(index); in addPackage() local
1120 if (legacyStatus in addPackage()