summaryrefslogtreecommitdiff
path: root/core/java/android/os/RemoteException.java
Commit message (Collapse)AuthorAgeFilesLines
* Throw DeadSystemRuntimeException when system_server dies.Martijn Coenen2021-10-011-2/+2
| | | | | | | | To help with clustering. Bug: 198380036 Test: N/A Change-Id: Idfef1c899e8376af617803e70c964afca2f2659c
* API for CDM wake-up opt-inEugene Susla2020-12-101-0/+5
| | | | | | Bug: 168052577 Test: presubmit Change-Id: I1cd1728099ddf374db4cf0e59f748ea3b655e1ba
* RemoteException: Add @throws documentationRoshan Pius2019-11-201-0/+4
| | | | | | Bug: 144792553 Test: Compiles Change-Id: I5a7464c2fe786b8398c5abdf43f62479de62b133
* RemoteException: Mark rethrow* APIs publicRoshan Pius2019-11-141-5/+11
| | | | | | Bug: 144435970 Test: Compiles Change-Id: I361f5d27529c938fff42fdbabb63f7b87527a270
* Add @UnsupportedAppUsage annotationsAndrei Onea2019-03-151-0/+2
| | | | | | | | | | | | | | | | For packages: android.os This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I4ece0a3f37f88fc2508cb965092aed7cabc61819
* Provide remote stack trace informationFyodor Kupolov2017-11-141-0/+6
| | | | | | | | | | | | | | | | The stack is truncated up to 5 lines at parcel time. When unparceling, a separate RemoteException will be created and set as a cause of the exception being thrown. Performance results(in nanoseconds): timeWriteExceptionWithStackTraceParceling 4168 timeWriteException 2201 timeReadException 15878 timeReadExceptionWithStackTraceParceling 23805 Test: manual + ParcelPerfTest Bug: 36561158 Change-Id: I18b64a6c39c24ab067115874ddb5bd71f556a601
* When system server goes down, crash apps more.Jeff Sharkey2016-02-271-0/+22
| | | | | | | | | | | | | | Similar to first patch, but now using new "rethrowFromSystemServer()" method which internally translates DeadObjectException into DeadSystemException. New logic over in Log.printlns() now suppresses the DeadSystemException stack traces, since they're misleading and just added pressure to the precious log buffer space. Add some extra RuntimeInit checks to suppress logging-about-logging when the system server is dead. Bug: 27364859 Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
* Initial support for split APKs, PackageInstaller.Jeff Sharkey2014-05-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Defines a new PackageInstaller class that will be used for installing and upgrading packages. An application desiring to install an application creates a session, stages one or more package files in that session, and then kicks off the install. Previously, PackageManager would always make its own copy of a package before inspecting it, to ensure the data could be trusted. This new session concept allows the installer to write package data directly to its final resting place on disk, reducing disk I/O and footprint requirements. Writes are directed through an intermediate pipe to ensure we can prevent mutations once an install has been initiated. Also uses fallocate() internally to support optimal ext4 block allocation using extents to reduce fragmentation. Sessions are also the way we support installing multiple "split" APKs in a single atomic operation. For a set of packages to form a valid application, they must have exactly the same package name, version code, and certificates. A session can also be used to add a small handful of splits to an application by inheriting existing packages when not performing a full install. Add PackageParser support for extracting split names and certificates. Bug: 14975160 Change-Id: I23d1bf4fbeb9f99a8c83be0c458900a0f0d1bccc
* Throw TransactionTooLargeException when Binder transaction fails.Jeff Brown2011-11-081-0/+4
| | | | | | | | | | | Bug: 5578022 Previously, Binder transactions failed silently, which caused problems because apps would carry on assuming that the operation had succeeded. Often, the apps would crash soon due to a violated invariant, but sometimes they managed to do some damage first... Change-Id: Ia9cc98b3b761a8160e7c4e87507860b5912c0451
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+27
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-27/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+27