- 05 Dec, 2015 2 commits
-
-
Bart Sears authored
This reverts commit 3eab1b40. Change-Id: Iedc99961c6014029722f814e621970c1732f9092
-
Christopher Wiley authored
This macro is defined in linux/binder.h which is *sometimes* included before binder/IBinder.h depending on codepath. Bug: 25868260 Test: Compiles Change-Id: Ied1e6658936668c16cbdacab3a3205107c907655
-
- 03 Dec, 2015 2 commits
-
-
Christopher Wiley authored
-
Christopher Wiley authored
Java code expects status_t != OK to be caught at the JNI level in android_util_Binder.cpp (see signalExceptionForError). We were incorrectly mapping this kind of failure to a special exception type and writing that exception type to parcels. Instead, refuse to write EX_TRANSACTION_FAILED to a parcel and return the status value instead. While here, remove non-trivial constructors to push authors toward the more explicit factory methods. Remove getException() and push authors toward using the simpler getter methods. Fix minor camelCase issues. Bug: 25615695 Test: system/tools/aidl integration tests still pass Change-Id: I7cad3ac8ae8300b5ac0b466606f4934d01e503c5
-
- 02 Dec, 2015 2 commits
-
-
Dan Stoza authored
Merge "bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3"
-
james.zhang authored
bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 [root cause ] framebuffer surface is in the same process of surface flinger [changes ] call IGraphicBufferProducer::allocateBuffers on producer inside the DisplayDevice constructor to force-allocate all three buffers. [side effects] none [self test ]<tshark, enter and exit mainmenu>: ok [reviewers ] zhongjun.chen [change_type ] AOB --> google_original [tag_product ] common Change-Id: Ideb75d3aa1ed23b2fa4d263a120ea3ca39d01361
-
- 30 Nov, 2015 2 commits
-
-
Martijn Coenen authored
-
Martijn Coenen authored
Change-Id: I8534a9c69f25ecdd82230a5d8b4b8d1c4d58439e
-
- 23 Nov, 2015 3 commits
-
-
Casey Dahlin authored
-
Casey Dahlin authored
We use ScopedFd from nativehelper to manage the lifetime. Test: Passes AIDL unit and integration tests. Full build completes and runs. Bug: 25242023 Signed-off-by:
Casey Dahlin <sadmac@google.com> Change-Id: I22c87ed1cb3bd4bf667b372ea4a2e9fcd4dd986a
-
Christopher Wiley authored
-
- 20 Nov, 2015 1 commit
-
-
Christopher Wiley authored
-
- 19 Nov, 2015 4 commits
-
-
Riley Andrews authored
-
Riley Andrews authored
This tracepoint gives systrace the means to display the reason for uninterruptible sleep.
-
Christopher Wiley authored
Bug: 23600712 Test: compiles, integration tests for Java/C++ compatibility pass Change-Id: I0919571919a3633350169ed5668bbb000da9691c
-
Christopher Wiley authored
This allows us to reuse them to read and write vectors of parcelables. Bug: 23600712 Test: Compiles, aidl integration tests pass Change-Id: Ibbfc2f158b6b3000b13f35f3c09a0cd3741e8128
-
- 18 Nov, 2015 5 commits
-
-
Casey Dahlin authored
-
Casey Dahlin authored
This reverts commit 9626d888. Change-Id: I6121f388d17c6f2d0cf6f31bc42f0804dd72aba2
-
Casey Dahlin authored
-
Casey Dahlin authored
Change-Id: Ic61e69d9db438b4686032459c896aed2a482c9a5 Test: Unit tests pass Bug: 25242023 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Christopher Wiley authored
-
- 17 Nov, 2015 2 commits
-
-
Christopher Wiley authored
This object implements equivalent functionality to the Java logic which serializes and re-throws exceptions from services. Bug: 25615695 Test: Integration test for generated AIDL code reveals this to work correctly. Change-Id: Ic80c9def0dd232582ea9c49717ec50894af6bfc2
-
Todd Kennedy authored
-
- 16 Nov, 2015 2 commits
-
-
Todd Kennedy authored
the test should be for _invalid_ bits; as it's written, it tests for valid bits Change-Id: Id5e42e865449a7877fe58aca9fb47675fa7452c9
-
Calin Juravle authored
-
- 13 Nov, 2015 4 commits
-
-
Casey Dahlin authored
-
Casey Dahlin authored
Change-Id: I86223bd54940ebe3e8f090b7786ddfa3ee57195e Test: AIDL integration tests still pass Bug: None Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Elliott Hughes authored
-
Elliott Hughes authored
Change-Id: Ibc26b51e92425b2de7870a7a2890fc3566909cda
-
- 12 Nov, 2015 1 commit
-
-
Christopher Wiley authored
-
- 11 Nov, 2015 1 commit
-
-
Christopher Wiley authored
Return a meaningful and consistent error code when libbinder encounters a null reference that it didn't expect. This allows us to detect these situations and cause a corresponding NullPointerException to be thrown on the remote callsite. While here, consolidate places we read vector<T> from a parcel into a single templated version. This dramatically reduces code duplication. Bug: 25617251 Test: Integration tests asserting that vectors serialize correctly passes. Integration test asserting that we throw NullPointerException on seeing a null reference also passes. Change-Id: Ia59c264884ec89539c1b99cd7bd28ac201b5b7ac
-
- 09 Nov, 2015 1 commit
-
-
Nick Kralevich authored
-
- 08 Nov, 2015 1 commit
-
-
Nick Kralevich authored
Allow dumpstate (aka adb bugreport), servicemanager, and surfaceflinger to access /proc entries associated with other UIDs. Bug: 23310674 Change-Id: I385dcf0db3376ba979409cbe6fe1a468d36237ef
-
- 05 Nov, 2015 1 commit
-
-
Casey Dahlin authored
-
- 04 Nov, 2015 2 commits
-
-
Calin Juravle authored
Bug: 24698874 Bug: 17173268 Change-Id: I140d70262f8f8fa7afd52c3cf63b4abaf401a479
-
Riley Andrews authored
-
- 03 Nov, 2015 2 commits
-
-
Casey Dahlin authored
Change-Id: Iaa8da704b2ae3c1ca5456177441a335991b40e8a Test: unit tests pass Bug: 24470786 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Riley Andrews authored
-
- 02 Nov, 2015 2 commits
-
-
Christopher Wiley authored
am: fe98e8d6 * commit 'fe98e8d6': Fix bug in byte vector serialization
-
Christopher Wiley authored
-