summaryrefslogtreecommitdiffstats
path: root/core/jni
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add a "dalvik.vm.gc.overwritefree" property. When set to "true", the ↵Barry Hayes2010-02-031-0/+9
|\ | | | | | | VM will be given the "-Xgc:overwritefree" flag, and the GC will clobber the memory of freed objects."
| * Add a "dalvik.vm.gc.overwritefree" property. When set to "true", theBarry Hayes2010-02-031-0/+9
| | | | | | | | | | VM will be given the "-Xgc:overwritefree" flag, and the GC will clobber the memory of freed objects.
* | Merge "Don't use the MemoryDealer in CursorWindow, it's not necessary."Mathias Agopian2010-02-012-11/+11
|\ \
| * | Don't use the MemoryDealer in CursorWindow, it's not necessary.Mathias Agopian2010-01-292-11/+11
| | | | | | | | | | | | instead use a MemoryHeapBase and MemoryBase directly.
* | | Remove excessive logging.Wu-cheng Li2010-01-301-1/+1
|/ / | | | | | | bug:2346606
* | Simplify the MemoryDealer implementationMathias Agopian2010-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | At some point the implementation became complicated because of SurfaceFlinger's special needs, since we are now relying on gralloc we can go back to much simpler MemoryDealer. Removed HeapInterface and AllocatorInterface, since those don't need to be paramterized anymore. Merged SimpleMemory and Allocation. Made SimplisticAllocator non virtual. Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED) Removed a lot of unneeded code.
* | Implement the GL11ExtensionPack APIs.Jack Palevich2010-01-281-89/+943
|/
* Merge "Add support for setting camera display orientation."Chih-Chung Chang2010-01-271-0/+15
|\
| * Add support for setting camera display orientation.Chih-Chung Chang2010-01-261-0/+15
| |
* | Add a Java API that converts yuv data to a jpeg.Wei-Ta Chen2010-01-274-1/+332
| | | | | | | | | | | | The compression is done in the native layer via calling libjpeg. Bug: 2285598
* | Merge "add API to change default config on image decoders."Mike Reed2010-01-261-1/+19
|\ \ | |/ |/|
| * add API to change default config on image decoders.Mike Reed2010-01-261-1/+19
| | | | | | | | May be called by the browser to get high-quality images when running in a 32bit window
* | Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-251-3/+3
|/ | | | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active. Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream type is playing. Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
* Fix leak of DBus match rule.Nick Pelly2010-01-221-1/+1
| | | | | | | We were registering a match for 'AudioSink', but unregistering 'audio.sink'. This does not immediately cause an error, but stress testing of BT off/on found that the leak causes a DBus Limits Error after ~300 iterations. It then becomes impossible to turn BT on again until a reboot.
* 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.