/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 5727 public abstract @NonNull PackageInstaller getPackageInstaller(); in getPackageInstaller() 5830 case INSTALL_SUCCEEDED: return PackageInstaller.STATUS_SUCCESS; in installStatusToPublicStatus() 5831 case INSTALL_FAILED_ALREADY_EXISTS: return PackageInstaller.STATUS_FAILURE_CONFLICT; in installStatusToPublicStatus() 5832 case INSTALL_FAILED_INVALID_APK: return PackageInstaller.STATUS_FAILURE_INVALID; in installStatusToPublicStatus() 5833 case INSTALL_FAILED_INVALID_URI: return PackageInstaller.STATUS_FAILURE_INVALID; in installStatusToPublicStatus() 5834 … case INSTALL_FAILED_INSUFFICIENT_STORAGE: return PackageInstaller.STATUS_FAILURE_STORAGE; in installStatusToPublicStatus() 5835 case INSTALL_FAILED_DUPLICATE_PACKAGE: return PackageInstaller.STATUS_FAILURE_CONFLICT; in installStatusToPublicStatus() 5836 case INSTALL_FAILED_NO_SHARED_USER: return PackageInstaller.STATUS_FAILURE_CONFLICT; in installStatusToPublicStatus() 5837 … case INSTALL_FAILED_UPDATE_INCOMPATIBLE: return PackageInstaller.STATUS_FAILURE_CONFLICT; in installStatusToPublicStatus() 5838 … case INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: return PackageInstaller.STATUS_FAILURE_CONFLICT; in installStatusToPublicStatus() [all …]
|
D | IPackageInstaller.aidl | 22 import android.content.pm.PackageInstaller; 31 …int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userI… in createSession() 40 PackageInstaller.SessionInfo getSessionInfo(int sessionId); in getSessionInfo()
|
D | PackageInstaller.aidl | 19 parcelable PackageInstaller.SessionParams; 20 parcelable PackageInstaller.SessionInfo;
|
D | PackageInstaller.java | 88 public class PackageInstaller { class 300 public PackageInstaller(IPackageInstaller installer, in PackageInstaller() method in PackageInstaller 1603 final Intent intent = new Intent(PackageInstaller.ACTION_SESSION_DETAILS); in createDetailsIntent() 1604 intent.putExtra(PackageInstaller.EXTRA_SESSION_ID, sessionId); in createDetailsIntent()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 29 import android.content.pm.PackageInstaller; 30 import android.content.pm.PackageInstaller.Session; 31 import android.content.pm.PackageInstaller.SessionParams; 85 PackageInstaller installer = packageManager.getPackageInstaller(); in installApk() 122 int status = PackageInstaller.STATUS_FAILURE; in installApk() 126 if (status != PackageInstaller.STATUS_SUCCESS) { in installApk() 137 PackageInstaller.EXTRA_PACKAGE_NAME); in installApk()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 41 import android.content.pm.PackageInstaller; 42 import android.content.pm.PackageInstaller.SessionInfo; 43 import android.content.pm.PackageInstaller.SessionParams; 756 intent.putExtra(PackageInstaller.EXTRA_CALLBACK, adapter.getBinder().asBinder()); in uninstall() 831 fillIn.putExtra(PackageInstaller.EXTRA_PACKAGE_NAME, mPackageName); in onUserActionRequired() 832 fillIn.putExtra(PackageInstaller.EXTRA_STATUS, in onUserActionRequired() 833 PackageInstaller.STATUS_PENDING_USER_ACTION); in onUserActionRequired() 851 fillIn.putExtra(PackageInstaller.EXTRA_PACKAGE_NAME, mPackageName); in onPackageDeleted() 852 fillIn.putExtra(PackageInstaller.EXTRA_STATUS, in onPackageDeleted() 854 fillIn.putExtra(PackageInstaller.EXTRA_STATUS_MESSAGE, in onPackageDeleted() [all …]
|
D | PackageManagerShellCommand.java | 42 import android.content.pm.PackageInstaller; 43 import android.content.pm.PackageInstaller.SessionParams; 300 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in uninstallSystemUpdates() 301 PackageInstaller.STATUS_FAILURE); in uninstallSystemUpdates() 302 if (status != PackageInstaller.STATUS_SUCCESS) { in uninstallSystemUpdates() 916 false /*logSuccess*/) != PackageInstaller.STATUS_SUCCESS) { in runInstall() 920 != PackageInstaller.STATUS_SUCCESS) { in runInstall() 1491 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in runUninstall() 1492 PackageInstaller.STATUS_FAILURE); in runUninstall() 1493 if (status == PackageInstaller.STATUS_SUCCESS) { in runUninstall() [all …]
|
D | PackageInstallerSession.java | 54 import android.content.pm.PackageInstaller; 55 import android.content.pm.PackageInstaller.SessionInfo; 56 import android.content.pm.PackageInstaller.SessionParams; 630 if (PackageInstaller.ENABLE_REVOCABLE_FD) { in doWriteInternal() 702 if (PackageInstaller.ENABLE_REVOCABLE_FD) { in doWriteInternal() 710 } else if (PackageInstaller.ENABLE_REVOCABLE_FD) { in doWriteInternal() 947 final Intent intent = new Intent(PackageInstaller.ACTION_CONFIRM_PERMISSIONS); in commitLocked() 949 intent.putExtra(PackageInstaller.EXTRA_SESSION_ID, sessionId); in commitLocked()
|
D | PackageManagerService.java | 167 import android.content.pm.PackageInstaller; 13784 IPackageInstallObserver2 observer, PackageInstaller.SessionParams sessionParams, 13826 final PackageInstaller.SessionInfo info = new PackageInstaller.SessionInfo(); 17853 intent.putExtra(PackageInstaller.EXTRA_CALLBACK, observer.asBinder()); 20471 public void sendSessionCommitBroadcast(PackageInstaller.SessionInfo sessionInfo, int userId) { 20478 Intent launcherIntent = new Intent(PackageInstaller.ACTION_SESSION_COMMITTED) 20479 .putExtra(PackageInstaller.EXTRA_SESSION, sessionInfo) 23008 case PackageInstaller.STATUS_SUCCESS: 23012 case PackageInstaller.STATUS_FAILURE_STORAGE:
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 35 import android.content.pm.PackageInstaller.SessionParams; 198 private PackageInstaller getPi() { in getPi() 202 private void writeSplitToInstallSession(PackageInstaller.Session session, String inPath, in writeSplitToInstallSession() 240 PackageInstaller.Session session = null; in invokeInstallPackage() 251 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in invokeInstallPackage() 252 PackageInstaller.STATUS_FAILURE); in invokeInstallPackage() 254 if (status != PackageInstaller.STATUS_SUCCESS) { in invokeInstallPackage() 258 if (status == PackageInstaller.STATUS_SUCCESS) { in invokeInstallPackage() 289 PackageInstaller.Session session = null; in invokeInstallPackageFail() 300 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in invokeInstallPackageFail() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 37 import android.content.pm.PackageInstaller; 910 public PackageInstaller getPackageInstaller() { in getPackageInstaller()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 19 import android.content.pm.PackageInstaller; 949 public PackageInstaller getPackageInstaller() { in getPackageInstaller()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 39 import android.content.pm.PackageInstaller; 1121 public PackageInstaller getPackageInstaller() { in getPackageInstaller()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 24 import android.content.pm.PackageInstaller.SessionParams;
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 47 import android.content.pm.PackageInstaller; 125 private PackageInstaller mInstaller; 2455 public PackageInstaller getPackageInstaller() { in getPackageInstaller() 2459 mInstaller = new PackageInstaller(mPM.getPackageInstaller(), in getPackageInstaller()
|
/frameworks/base/test-mock/api/ |
D | android-test-mock-current.txt | 240 method public android.content.pm.PackageInstaller getPackageInstaller();
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 1604 Landroid/content/pm/PackageInstaller$Session;->addProgress(F)V 1605 Landroid/content/pm/PackageInstaller$SessionInfo;-><init>()V 1606 Landroid/content/pm/PackageInstaller$SessionInfo;->active:Z 1607 Landroid/content/pm/PackageInstaller$SessionInfo;->appIcon:Landroid/graphics/Bitmap; 1608 Landroid/content/pm/PackageInstaller$SessionInfo;->appLabel:Ljava/lang/CharSequence; 1609 Landroid/content/pm/PackageInstaller$SessionInfo;->appPackageName:Ljava/lang/String; 1610 Landroid/content/pm/PackageInstaller$SessionInfo;->installerPackageName:Ljava/lang/String; 1611 Landroid/content/pm/PackageInstaller$SessionInfo;->mode:I 1612 Landroid/content/pm/PackageInstaller$SessionInfo;->progress:F 1613 Landroid/content/pm/PackageInstaller$SessionInfo;->resolvedBaseCodePath:Ljava/lang/String; [all …]
|
D | preloaded-classes | 828 android.content.pm.PackageInstaller 829 android.content.pm.PackageInstaller$Session 830 android.content.pm.PackageInstaller$SessionCallback 831 android.content.pm.PackageInstaller$SessionInfo 832 android.content.pm.PackageInstaller$SessionInfo$1 833 android.content.pm.PackageInstaller$SessionParams 834 android.content.pm.PackageInstaller$SessionParams$1
|
D | hiddenapi-public-dex.txt | 8108 Landroid/content/pm/PackageInstaller$Session; 8109 Landroid/content/pm/PackageInstaller$Session;->abandon()V 8110 Landroid/content/pm/PackageInstaller$Session;->close()V 8111 Landroid/content/pm/PackageInstaller$Session;->commit(Landroid/content/IntentSender;)V 8112 Landroid/content/pm/PackageInstaller$Session;->commitTransferred(Landroid/content/IntentSender;)V 8113 Landroid/content/pm/PackageInstaller$Session;->fsync(Ljava/io/OutputStream;)V 8114 Landroid/content/pm/PackageInstaller$Session;->getNames()[Ljava/lang/String; 8115 Landroid/content/pm/PackageInstaller$Session;->openRead(Ljava/lang/String;)Ljava/io/InputStream; 8116 Landroid/content/pm/PackageInstaller$Session;->openWrite(Ljava/lang/String;JJ)Ljava/io/OutputStream; 8117 Landroid/content/pm/PackageInstaller$Session;->removeSplit(Ljava/lang/String;)V [all …]
|
D | boot-image-profile.txt | 1770 HPLandroid/content/pm/PackageInstaller$Session;->close()V 1771 HPLandroid/content/pm/PackageInstaller$Session;->commit(Landroid/content/IntentSender;)V 1772 HPLandroid/content/pm/PackageInstaller$Session;->fsync(Ljava/io/OutputStream;)V 1773 HPLandroid/content/pm/PackageInstaller$Session;->getNames()[Ljava/lang/String; 1774 HPLandroid/content/pm/PackageInstaller$Session;->openWrite(Ljava/lang/String;JJ)Ljava/io/OutputStre… 1775 HPLandroid/content/pm/PackageInstaller$SessionCallbackDelegate;->handleMessage(Landroid/os/Message;… 1776 HPLandroid/content/pm/PackageInstaller$SessionCallbackDelegate;->onSessionActiveChanged(IZ)V 1777 HPLandroid/content/pm/PackageInstaller$SessionCallbackDelegate;->onSessionCreated(I)V 1778 HPLandroid/content/pm/PackageInstaller$SessionCallbackDelegate;->onSessionFinished(IZ)V 1779 HPLandroid/content/pm/PackageInstaller$SessionCallbackDelegate;->onSessionProgressChanged(IF)V [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 996 public class PackageInstaller { 1000 public static class PackageInstaller.Session implements java.io.Closeable { 1004 public static class PackageInstaller.SessionInfo implements android.os.Parcelable { 1014 public static class PackageInstaller.SessionParams implements android.os.Parcelable {
|
D | current.txt | 11021 public class PackageInstaller { 11023 …method public int createSession(android.content.pm.PackageInstaller.SessionParams) throws java.io.… 11024 method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getAllSessions(); 11025 method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getMySessions(); 11026 method public android.content.pm.PackageInstaller.SessionInfo getSessionInfo(int); 11027 …method public android.content.pm.PackageInstaller.Session openSession(int) throws java.io.IOExcept… 11028 method public void registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback); 11029 …method public void registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback, an… 11032 … method public void unregisterSessionCallback(android.content.pm.PackageInstaller.SessionCallback); 11055 public static class PackageInstaller.Session implements java.io.Closeable { [all …]
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8575 public class PackageInstaller { 8577 …method public int createSession(android.content.pm.PackageInstaller.SessionParams) throws java.io.… 8578 method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getAllSessions(); 8579 method public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getMySessions(); 8580 method public android.content.pm.PackageInstaller.SessionInfo getSessionInfo(int); 8581 …method public android.content.pm.PackageInstaller.Session openSession(int) throws java.io.IOExcept… 8582 method public void registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback); 8583 …method public void registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback, an… 8585 … method public void unregisterSessionCallback(android.content.pm.PackageInstaller.SessionCallback); 8606 public static class PackageInstaller.Session implements java.io.Closeable { [all …]
|