summaryrefslogtreecommitdiffstats
path: root/core/jni
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of d26707da to masterJean-Baptiste Queru2010-01-121-1/+1
|\ | | | | | | Change-Id: I1a379194f70c4b14191333ca2d8e6dd9d8b0f9dd
| * am c93c70c4: Merge "framework: storage: Ensure that filesystems are ↵San Mehat2010-01-121-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | unmounted before shutdown/reboot" into eclair Merge commit 'c93c70c4b849d31ff1b5e5cf2fb9462fd60e5da0' into eclair-plus-aosp * commit 'c93c70c4b849d31ff1b5e5cf2fb9462fd60e5da0': framework: storage: Ensure that filesystems are unmounted before shutdown/reboot
| | * framework: storage: Ensure that filesystems are unmounted before shutdown/rebootSan Mehat2010-01-121-1/+1
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | less log spewJoe Onorato2010-01-082-4/+3
| | |
* | | Remove old EventLog tests from here, they will be replaced by aDan Egnor2010-01-071-3/+6
| | | | | | | | | | | | | | | | | | (better) EventLog test in CTS. Fix some minor errors in the handling of too-large event log values.
* | | Stop spamming the log.Joe Onorato2010-01-061-1/+0
| | |
* | | Simplify EventLog interface -- remove supported for nestedDan Egnor2010-01-061-218/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sequences (which nobody used) and streamline the API, adding documentation in preparation for inclusion in the SDK. Gut and deprecate EventLogTags, which unfortunately was put into the public SDK (an oversight). Include the functionality in EventLog proper, in a simpler and easier to use manner. This change doesn't actually un-@hide anything, but it does change it to @pending.
* | | Don't round size to page size. Ashmem will do this internally as needed.Marco Nelissen2010-01-041-5/+3
| | |
* | | Remove some logging from camera operations. Bug 2346606.Dave Sparks2010-01-041-1/+1
| | |
* | | A library for encoding and decoding ETC1 textures.Jack Palevich2009-12-312-0/+310
| | | | | | | | | | | | | | | The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
* | | am c4978805: merge from open-source masterJean-Baptiste Queru2009-12-211-12/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Merge commit 'c4978805dc8837570701629a9b8098e80804ad34' * commit 'c4978805dc8837570701629a9b8098e80804ad34': ImageButton example doesn't work. Default state should be at the last. Time.parse3339 range checking and proper 'sec-frac' skip
| * | merge from open-source masterJean-Baptiste Queru2009-12-211-12/+34
| |\ \ | | |/ | |/|
| | * Time.parse3339 range checking and proper 'sec-frac' skipKenny Root2009-11-161-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parse3339 JNI code doesn't properly do bounds checking on the input String. These changes do some bounds checking to prevent a buffer underflow condition. parse3339 should allow the fractional seconds to be optional and an arbitrary length as specified in RFC 3339. This will scan through arbitrary precision until it finds the timezone indicators. Change-Id: Ie9d01d0b24163d893c58c747d37873c83b74e6c7
| | * eclair snapshotJean-Baptiste Queru2009-11-1354-3253/+3788
| | |
| | * donut snapshotJean-Baptiste Queru2009-08-313-5/+42
| | |
| | * donut snapshotJean-Baptiste Queru2009-07-317-57/+118
| | |
| | * donut snapshotJean-Baptiste Queru2009-07-2910-61/+91
| | |
| | * donut snapshotJean-Baptiste Queru2009-07-2129-468/+1501
| | |
| | * donut snapshotJean-Baptiste Queru2009-05-2023-312/+9852
| | |
| | * AI 143740: Don't clear supported profiles in settings app if getRemoteClass ↵Nick Pelly2009-03-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | returns error. Also clean up the error codes returned by the framework, so that the settings app can properly detect an error. BUG=1748881 Automated import of CL 143740
| | * Automated import from //branches/cupcake/...@142873,142873Mathias Agopian2009-03-251-3/+3
| | |
| | * Automated import from //branches/cupcake/...@142481,142481Jack Palevich2009-03-241-112/+193
| | |
| | * Automated import from //branches/cupcake/...@142370,142370Jean-Michel Trivi2009-03-241-0/+1
| | |
| | * Automated import from //branches/cupcake/...@141857,141857Jack Palevich2009-03-241-0/+43
| | |
| | * auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-191-2/+1
| | |
* | | am 0249c83e: am 31a69fdb: throw if we have a null typeface native instance ↵Mike Reed2009-12-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that Merge commit '0249c83ed014cc6a36caac30e55db62c29c204e2' * commit '0249c83ed014cc6a36caac30e55db62c29c204e2': throw if we have a null typeface native instance (so we don't crash in native code)
| * | | throw if we have a null typeface native instance (so we don't crash in ↵Mike Reed2009-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | native code) we may still have to native-destroy a Typeface with a null ref, so check for that
* | | | am 57043a67: am 43ad522d: Merge change Ic0e32f12 into eclair-mr2Jaikumar Ganesh2009-12-161-3/+35
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '57043a675f8826099e619c5d325fc7670be83e0b' * commit '57043a675f8826099e619c5d325fc7670be83e0b': Add a callback for the ConnectSink Call.
| * | | Add a callback for the ConnectSink Call.Jaikumar Ganesh2009-12-161-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | This takes care of the conditions where the bluez audio drivers are not up and we try to make the call to connect the sink. This would get rid of the hack in Settings app.
| * | | Implement Matrix Palette extension.Jack Palevich2009-12-093-50/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for formerly-unimplemented methods: glCurrentPaletteMatrixOES glLoadPaletteFromModelViewMatrixOES glMatrixIndexPointerOES glWeightPointerOES The bulk of the changes are related to implementing the two PointerOES methods, which are implemented pretty much the same way as the existing Pointer methods were implemented. This change also changes the way glPointSizePointerOES is implemented, making it act like all the other Pointer methods. (Previously it was not handling non-direct-buffer arguments correctly.) Fixes bug 2308625 "Support matrix palette skinning in JSR239 and related APIs" Also updated GLLogWraper to fix two bugs in GLLogWrapper that were discovered while testing matrix palette skinning support: a) Handle trying to print the contents of null-but-enabled buffers. (It's not legal to draw with null-but-enabled buffers, and in fact some OpenGL drivers will crash if you try to render in this state, but there's no reason the GLLogWrapper should crash while trying to debug this situation. b) Don't read off the end of a vertex buffer with non-zero position when printing the entire contents of the vertex buffer. Now we only print from the current position to the end of the buffer.
| * | | Add a Java API for OpenGL ES 2.0.Jack Palevich2009-12-093-0/+5027
| | | | | | | | | | | | | | | | | | | | | | | | Currently this API is hidden. Add a test program.
* | | | am 68a3b8b6: am 24eca800: Merge change I887f355f into eclair-mr2Dianne Hackborn2009-12-102-27/+19
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3' * commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3': Propagate background scheduling class across processes.
| * | | Propagate background scheduling class across processes.Dianne Hackborn2009-12-072-27/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a very simply implementation: upon receiving an IPC, if the handling thread is at a background priority (the driver will have taken care of propagating this from the calling thread), then stick it in to the background scheduling group. Plus an API to turn this off for the process, which is used by the system process. This also pulls some of the code for managing scheduling classes out of the Process JNI wrappers and in to some convenience methods in thread.h.
* | | | Merge change Ibe6eac82Android (Google) Code Review2009-12-083-50/+171
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Implement Matrix Palette extension.
| * | | | Implement Matrix Palette extension.Jack Palevich2009-12-083-50/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for formerly-unimplemented methods: glCurrentPaletteMatrixOES glLoadPaletteFromModelViewMatrixOES glMatrixIndexPointerOES glWeightPointerOES The bulk of the changes are related to implementing the two PointerOES methods, which are implemented pretty much the same way as the existing Pointer methods were implemented. This change also changes the way glPointSizePointerOES is implemented, making it act like all the other Pointer methods. (Previously it was not handling non-direct-buffer arguments correctly.) Fixes bug 2308625 "Support matrix palette skinning in JSR239 and related APIs" Also updated GLLogWraper to fix two bugs in GLLogWrapper that were discovered while testing matrix palette skinning support: a) Handle trying to print the contents of null-but-enabled buffers. (It's not legal to draw with null-but-enabled buffers, and in fact some OpenGL drivers will crash if you try to render in this state, but there's no reason the GLLogWrapper should crash while trying to debug this situation. b) Don't read off the end of a vertex buffer with non-zero position when printing the entire contents of the vertex buffer. Now we only print from the current position to the end of the buffer.
* | | | | am e30bae7f: am b8341cf7: am 6d42d806: Merge change I9cc489a2 into eclairEric Laurent2009-12-071-4/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5' * commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5': Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
| * | | | am 6d42d806: Merge change I9cc489a2 into eclairEric Laurent2009-12-071-4/+4
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Merge commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7' into eclair-mr2 * commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7': Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
| | * | | Fix issue 2304669: VoiceIME: starting and canceling voice IME yields ↵Eric Laurent2009-12-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | persistent "error 8" state on future attempts and breaks voice search. Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e so that an invalid IO handle (0) is returned in case of failure. Applied the same correction to openOutput(). Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes the record start to fail. Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function. Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account and not change mRecordingState to RECORDSTATE_RECORDING if start fails.
* | | | | am a26b0a40: am ed6dd2e6: am d3bc1994: Merge change I397b6a93 into eclairChristopher Tate2009-12-071-0/+1
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | Merge commit 'a26b0a401b6aadb45fa58d1d05b3112fbfda3fba' * commit 'a26b0a401b6aadb45fa58d1d05b3112fbfda3fba': Don't accidentally signal multiple exceptions in setThreadPriority()
| * | | am d3bc1994: Merge change I397b6a93 into eclairChristopher Tate2009-12-041-0/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'd3bc1994b0c2c5e9c60fa748de47eebbe1984fda' into eclair-mr2 * commit 'd3bc1994b0c2c5e9c60fa748de47eebbe1984fda': Don't accidentally signal multiple exceptions in setThreadPriority()
| | * | Don't accidentally signal multiple exceptions in setThreadPriority()Christopher Tate2009-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After signalling an exception due to set_sched_policy() failing (probably because the thread in question had exited before this function was called), we proceeded to call setpriority() anyway, and raised *another* exception when it also failed. We don't do this any more; we just bail after signalling the first exception. Change-Id: I397b6a93c73d3f0870176e26759f2bec33e56205
* | | | am ca84ac88: am d345c6ac: am 0a42b811: base: process: Abort setting the ↵San Mehat2009-12-041-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | process group if one of the threads fails to switch Merge commit 'ca84ac88c7f6940677f9b796b21779e53965bf06' * commit 'ca84ac88c7f6940677f9b796b21779e53965bf06': base: process: Abort setting the process group if one of the threads fails to switch
| * | | am 0a42b811: base: process: Abort setting the process group if one of the ↵San Mehat2009-12-031-0/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | threads fails to switch Merge commit '0a42b811aea490a9a605b75f0320101f6eafd283' into eclair-mr2 * commit '0a42b811aea490a9a605b75f0320101f6eafd283': base: process: Abort setting the process group if one of the threads fails to switch
| | * | base: process: Abort setting the process group if one of the threads fails ↵San Mehat2009-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | to switch Signed-off-by: San Mehat <san@google.com>
* | | | resolved conflicts for merge of dfaf2e03 to masterMike Lockwood2009-11-253-65/+0
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I440d2042dd404a421789063e42102699fa33b7c0
| * | | Remove HardwareService and move vibrator support to VibratorService.Mike Lockwood2009-11-253-65/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it. Move backlight and notification light support to new LightsService class. The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete. Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 09e27c4a: am 8631e554: am ad431ad8: Merge change Ia3acc2ee into eclairJaikumar Ganesh2009-11-221-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '09e27c4a9cc5bbddc2e18d66d396ee2cf4d753a3' * commit '09e27c4a9cc5bbddc2e18d66d396ee2cf4d753a3': Fix pairings lost on reboot.
| * | | am ad431ad8: Merge change Ia3acc2ee into eclairJaikumar Ganesh2009-11-221-0/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'ad431ad8631d8b19b04193ff1f89a955a7643c60' into eclair-mr2 * commit 'ad431ad8631d8b19b04193ff1f89a955a7643c60': Fix pairings lost on reboot.
| | * | Merge change Ia3acc2ee into eclairAndroid (Google) Code Review2009-11-221-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix pairings lost on reboot.
| | | * | Fix pairings lost on reboot.Jaikumar Ganesh2009-11-201-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:2277376 Dr No:Eastham