- Jan 21, 2016
-
-
Michael Wright authored
Change-Id: Ib75d3341db4e48b328b7b92497a303c01c53fc90
-
- Jan 13, 2016
-
-
Prashant Malani authored
This reverts commit ac72bbf4.
-
- Jan 12, 2016
-
-
Dongwon Kang authored
Bug: 26175834 Change-Id: I16320fa41dd852768a370af0a0740691d1ddacdf
-
- Jan 11, 2016
-
-
Ronghua Wu authored
Bug: 25684127 Change-Id: I4eccb66d679a3dd4ac47556a0d206df2ebf52338
- Jan 08, 2016
-
-
Dan Stoza authored
Makes the width/height constructor for the Rect class more flexible with the types of integers it will accept. Change-Id: Id88b4e6da2f84d6826e19d1cabd93fe86ad48c8d
-
Ronghua Wu authored
This reverts commit 1e7ebf33. Change-Id: I764c42818a3262b4316ddad2f72d527eb9a90e46
-
Dan Stoza authored
We no longer support the framebuffer device, so FramebufferNativeWindow is no longer relevant. Change-Id: I97c427bb7c0b209bbf33e61900466bde7df43e85
-
Dan Stoza authored
Removes the ability to set a custom GraphicBuffer allocator for a BufferQueue. Custom-allocated buffers may still be used through the attachBuffer call. Change-Id: I127bdfb496fc089a61c7e266c8bd2b906d41f32e
-
- Jan 05, 2016
-
-
Dan Stoza authored
This changes the way that BufferQueue selects slots in waitForFreeSlotThenRelock. This method is called from both dequeueBuffer and attachBuffer, but those two methods actually have different preferences: dequeueBuffer wants a slot with a buffer if possible (to avoid unnecessary allocations), but will settle for a slot without a buffer if no free buffers are available. attachBuffer wants a slot without a buffer if possible (to avoid clobbering an existing buffer), but will settle with clobbering a free buffer if no empty slots are available. These preferences are now respected, which has the side-effect of fixing a bug where it was not possible to attach a buffer if allocation is disabled (since the previous implementation assumed finding a slot without a buffer meant that the caller intended to allocate a buffer, which would accordingly be blocked since allocation is disabled). Bug: 26387372 Change-Id: Iefd550fd01925d8c51d6f062d5708d1f6d517edd
-
Dan Stoza authored
Adds the ability to specify the timeout when dequeueBuffer or attachBuffer block due to the lack of a free buffer/slot. By default, these will block indefinitely (which is signified by a timeout of -1). When a timeout (other than -1) is specified, non-blocking mode is disabled and the given timeout will be used instead. Bug: 25196773 Change-Id: I17fdbeebccb7c8d878703d758ac1209608258e61
-
- Dec 21, 2015
-
-
Robert Carr authored
While we are here fix a validation error causing NATIVE_WINDOW_SCALING_MODE_NO_SCALE_CROP to never be applied. Furthermore, we remove GLConsumer logic causing the scaling mode to be reinitialized when buffers change. Bug: 26010823 Change-Id: I1bf1e4fdc2eded67ff401783cf24f920e4684326
-
- Dec 18, 2015
-
-
Jeff Tinker authored
bug:23719082 Change-Id: I8f892657d8be888056165b98c7c810339e7a8b41
-
Jun Mukai authored
Used by Ie21e521f3e5c581f976dc0feb5d84bfa48b046cd. Bug: 5452473 Change-Id: I4189eb4d93f50c2865b7a325727be5ceebcc71f8
-
- Dec 16, 2015
-
-
Casey Dahlin authored
Test: AIDL integration tests pass Bug: 25969194 Change-Id: Ib7023c8e02af49e08c9921f1d097e5967c1d378e Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
- Dec 15, 2015
-
-
Casey Dahlin authored
Test: AIDL integration tests pass Bug: 25969194 Change-Id: Ib7023c8e02af49e08c9921f1d097e5967c1d378e Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Casey Dahlin authored
Change-Id: I5dfaca405f0f866e697d5ae546ead8a8eb6de7ca Test: make checkbuild succeeds Bug: 25868260 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
- Dec 14, 2015
-
-
Samuel Tan authored
Add support for PersistableBundle, a mapping from String values to various types, in C++. BUG: 25815410 Change-Id: If609b294a1709314bb4220afc4f2269b556babb8
-
- Dec 11, 2015
-
-
Ronghua Wu authored
Bug: 25684127 Change-Id: I1f6e97e60ae5868073a5768e956473c4b7348afa
-
- Dec 09, 2015
-
-
Christopher Wiley authored
Add another factory method that takes a message and service specific error code. Bug: 25800533 Test: system/tools/aidl integration tests pass Change-Id: I592cb7def0538576965d14c200ab58548b3bef32
-
Jeff Tinker authored
bug:25726218 Change-Id: Id45b4d509ab6b9db01c749af6533521992d89452
-
- Dec 05, 2015
-
-
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
-
- Dec 03, 2015
-
-
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
-
- Dec 02, 2015
-
-
Chong Zhang authored
bug: 25853091 Change-Id: I3848ee96dc845eb654b5177edc5a6b472024a852
-
Ben Fennema authored
This reverts commit d4db70a7. Change-Id: Ifb52d5595970a5178e12c2a90da4aac0e38f5942
-
- Dec 01, 2015
-
-
Jani Suonpera authored
This is special solution only for emerald branch. Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW. Change-Id: I3abc3ddc7c6adc4b32a40b9a43f2a94c5af7b2b0 Signed-off-by:
Ben Fennema <fennema@google.com>
-
- Nov 23, 2015
-
-
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
-
- Nov 19, 2015
-
-
Christopher Wiley authored
(cherry-pick of 09eb7497) 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: I5a57710a148ffbd18a4a2c6f0f4fb6d409e0bf8f
-
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
-
- Nov 18, 2015
-
-
Casey Dahlin authored
This reverts commit 9626d888. Change-Id: I6121f388d17c6f2d0cf6f31bc42f0804dd72aba2
-
Casey Dahlin authored
Change-Id: Ic61e69d9db438b4686032459c896aed2a482c9a5 Test: Unit tests pass Bug: 25242023 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Casey Dahlin authored
Test: unit tests pass Bug: 24470786 Signed-off-by:
Casey Dahlin <sadmac@google.com> (cherry picked from commit eb8e15f9) Change-Id: Ia5a282b80c8dea65db296a74edba4f4d4e1000de
-
Casey Dahlin authored
We use a template function to let us pass arbitrary interfaces, all of which can be cast to IBinder. Test: unit tests Bug: 23600713 Signed-off-by:
Casey Dahlin <sadmac@google.com> (cherry picked from commit f0c13772) Change-Id: I69e8b534343c299c25cfb591dbdf122860c9ccc5
-
Casey Dahlin authored
Also a readString16 with the expected semantics. Test: Unit tests pass Bug: 25012838 Signed-off-by:
Casey Dahlin <sadmac@google.com> (cherry picked from commit 451ff582) Change-Id: Iaecde0e94c4cd11126b7efbc2d9876ddae16b090
-
Casey Dahlin authored
We lift these to int, but handling the details of that here will be better than having AIDL generate casting code all the time. Test: unit tests pass Bug: 24981507 Signed-off-by:
Casey Dahlin <sadmac@google.com> (cherry picked from commit d6848f52) Change-Id: I471586463360c37e837b1b8f862da3b5e17f905d
-
Bailey Forrest authored
(cherry picked from commit 6913c464) Change-Id: I6e1c62425864e000eda56fe4ba697ac429438659
-
- Nov 17, 2015
-
-
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
-
- Nov 16, 2015
-
-
Badhri Jagan Sridharan authored
Bug: 25229483 Change-Id: I4b6dd13870c41907c708f32412261efdca826023 (cherry picked from commit 06f511b4)
-