summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* am ae087369: am 63070856: Merge "Don\'t propagate StrictMode over one-way ↵Brad Fitzpatrick2010-08-311-1/+5
|\ | | | | | | | | | | | | | | | | Binder calls." into gingerbread Merge commit 'ae087369c56a270c33c1c1af5be7d3c5d7f94e80' * commit 'ae087369c56a270c33c1c1af5be7d3c5d7f94e80': Don't propagate StrictMode over one-way Binder calls.
| * Don't propagate StrictMode over one-way Binder calls.Brad Fitzpatrick2010-08-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was causing stack stitching problems where a one-way call with violations followed by a two-way call without violations was getting the previous one-way call's violation stack stitched on to the second caller's stack. The solution is a little more indirect than I would've liked (preserving the binder's onTransact flags until enforceInterface) but was seemingly necessary to work without changing the AIDL compiler. It should also be sufficiently cheap, since no new calls to thread-local IPCThreadState lookups were required. The additional work is just same-thread getter/setters on the existing IPCThreadState. Change-Id: I4b6db1d445c56e868e6d0d7be3ba6849f4ef23ae
* | Added VideoSourceDownSamplerNipun Kwatra2010-08-311-0/+97
| | | | | | | | | | | | | | | | | | VideoSourceDownSampler takes in a real video source. The MediaSource interface is then implemented by shortcircuiting calls to this real source, except for the read() function. For read we first call read of the real source, then downsample the frame to the desired size and return that. Change-Id: I6e1b377e043e136a70a7b03792eb9165bbe26398
* | Added setAuxiliaryOutputFile to MediaRecorder and JNINipun Kwatra2010-08-313-0/+4
| | | | | | | | | | | | | | added setAuxiliaryOutputFile to allow setting of an auxiliary output file. Also added the JNI support. Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
* | am 36f0cb26: am 8d60866e: Input device calibration and capabilities.Jeff Brown2010-08-303-23/+146
|\ \ | |/ | | | | | | | | | | Merge commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030' * commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030': Input device calibration and capabilities.
| * Input device calibration and capabilities.Jeff Brown2010-08-303-23/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | Finished the input device capability API. Added a mechanism for calibrating touch devices to obtain more accurate information about the touch contact area. Improved pointer location to show new coordinates and capabilities. Optimized pointer location display and formatting to avoid allocating large numbers of temporary objects. The GC churn was causing the application to stutter very badly when more than a couple of fingers were down). Added more diagnostics. Change-Id: Ie25380278ed6f16c5b04cd9df848015850383498
* | am 6e46e6f7: am 7ec7b997: Remove camera metering mode API.Wu-cheng Li2010-08-301-17/+0
|\ \ | |/ | | | | | | | | | | Merge commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5' * commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5': Remove camera metering mode API.
| * Remove camera metering mode API.Wu-cheng Li2010-08-301-17/+0
| | | | | | | | | | | | Metering mode is not supported yet. Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
* | am 6df6d606: am df992ac9: Merge "ALoopers can now be named (useful to ↵Andreas Huber2010-08-301-0/+6
|\ \ | |/ | | | | | | | | | | | | | | distinguish threads)." into gingerbread Merge commit '6df6d60681be9d524ce7fc07f2511008de424d27' * commit '6df6d60681be9d524ce7fc07f2511008de424d27': ALoopers can now be named (useful to distinguish threads).
| * Merge "ALoopers can now be named (useful to distinguish threads)." into ↵Andreas Huber2010-08-301-0/+6
| |\ | | | | | | | | | gingerbread
| | * ALoopers can now be named (useful to distinguish threads).Andreas Huber2010-08-271-0/+6
| | | | | | | | | | | | Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e
* | | Merge "client_id->clientId, bugfix for signaling of read abort on stop."Nipun Kwatra2010-08-271-9/+9
|\ \ \
| * | | client_id->clientId, bugfix for signaling of read abort on stop.Nipun Kwatra2010-08-271-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changed client_id->clientId, mClient_id->mClientId - there was a bug in the condition for calling signalReadComplete_lock() in stop. We should call it only when !mLastReadCompleted and also if the current client has not already completed its read (this second check was missing before). Change-Id: I9a57cf6b5c6f3260883a6c74d0c7b22f675c422e
* | | | am a5fe77d0: am df8356ff: Merge "Workaround for a QCOM issue where the ↵James Dong2010-08-271-0/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | output buffer size advertised by the AVC encoder is occasionally too small." into gingerbread Merge commit 'a5fe77d004091bd9521d087c2572f587191afbfc' * commit 'a5fe77d004091bd9521d087c2572f587191afbfc': Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder
| * | | Workaround for a QCOM issue where the output buffer size advertised by the ↵James Dong2010-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AVC encoder is occasionally too small. bug - 2882917 Change-Id: Id59d8529084c5689a26f272e0cd3b1e955fd8a30
* | | | am 7d3ff384: am b86365ad: Merge "Suppress the video recording start signal - ↵James Dong2010-08-271-1/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 2950297" into gingerbread Merge commit '7d3ff3849c830f0136c692b6074f1ba5da288fe7' * commit '7d3ff3849c830f0136c692b6074f1ba5da288fe7': Suppress the video recording start signal
| * | | Merge "Suppress the video recording start signal - bug 2950297" into gingerbreadJames Dong2010-08-271-1/+17
| |\ \ \ | | |_|/ | |/| |
| | * | Suppress the video recording start signalJames Dong2010-08-261-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | - bug 2950297 Change-Id: I0044d07178691feb904cf81e87c1b6d4b714dc1a
* | | | am d322d163: am ae66946b: Merge "fix a race in SF buffer management" into ↵Mathias Agopian2010-08-271-1/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'd322d16323176ddd5fef3383798176f64d0078c8' * commit 'd322d16323176ddd5fef3383798176f64d0078c8': fix a race in SF buffer management
| * | | fix a race in SF buffer managementMathias Agopian2010-08-261-1/+5
| |/ / | | | | | | | | | | | | | | | also remove some unused code. Change-Id: Iae2c3309b7a08055f3e13a5b866c5c084993e352
* | | Merge "Added MediaSourceSplitter to split single source to multiple ones."Nipun Kwatra2010-08-271-0/+193
|\ \ \ | | |/ | |/|
| * | Added MediaSourceSplitter to split single source to multiple ones.Nipun Kwatra2010-08-271-0/+193
| | | | | | | | | | | | | | | | | | | | | | | | MediaSourceSplitter provides a way to split a single mediaSource into multiple sources. It takes in the real mediaSource and multiple clients can then be created which serve from the same real mediaSource. Change-Id: I7254ead24b4c26c784b033e6bc7ff5a0d083a0c3
* | | am 8ca5df27: am c14f9ca6: Merge "Added preset reverb." into gingerbreadEric Laurent2010-08-251-1/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '8ca5df27df8a2b6435486f9b5a163bf222f8fed1' * commit '8ca5df27df8a2b6435486f9b5a163bf222f8fed1': Added preset reverb.
| * | Merge "Added preset reverb." into gingerbreadEric Laurent2010-08-251-1/+2
| |\ \
| | * | Added preset reverb.Eric Laurent2010-08-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified lvm reverb wrapper code to expose a preset reverb interface. Also removed debug log from bundle and reverb wrapper. Change-Id: If9b95d91e25a6ff834decdfdda34b17df9b46967
* | | | am 96dc4559: am b8814dce: Merge "Allow sniffers to return a packet of opaque ↵Andreas Huber2010-08-251-2/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now." into gingerbread Merge commit '96dc45597e53742a2c8453f9ce03f7d501a75668' * commit '96dc45597e53742a2c8453f9ce03f7d501a75668': Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now.
| * | | Allow sniffers to return a packet of opaque data that the corresponding ↵Andreas Huber2010-08-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now. Change-Id: Icb77ae3ee95a69c7da25b4d3b8696c0a2d33028a related-to-bug: 2948754
* | | | am bc4389ed: am 8395b462: Merge "fix [2931513] Add support for setting the ↵Mathias Agopian2010-08-243-8/+42
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | orientation of an ANativeWindow" into gingerbread Merge commit 'bc4389edfbb5777aec1a9af7863b2ca3ade2fa64' * commit 'bc4389edfbb5777aec1a9af7863b2ca3ade2fa64': fix [2931513] Add support for setting the orientation of an ANativeWindow
| * | | fix [2931513] Add support for setting the orientation of an ANativeWindowMathias Agopian2010-08-243-8/+42
| |/ / | | | | | | | | | | | | | | | Also implement support for cropping. Change-Id: Iba5888dd242bf2feaac9e9ce26e404c1f404c280
* | | am 28a92120: am 3f51fa78: Runtime dump support for MediaWriterJames Dong2010-08-242-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '28a92120a702289533a9c9d004bd60f83b2fd98b' * commit '28a92120a702289533a9c9d004bd60f83b2fd98b': Runtime dump support for MediaWriter
| * | Runtime dump support for MediaWriterJames Dong2010-08-232-0/+5
| | | | | | | | | | | | Change-Id: I10b2c474de612ee4cef4b7c9eae2ee1dd8c2e895
* | | am a102871c: am b80e610b: Merge "Visualizer: replace the FFT implementation ↵Chia-chi Yeh2010-08-241-1/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | with a faster one." into gingerbread Merge commit 'a102871c7cbb74ebddc53231a871145de61351b0' * commit 'a102871c7cbb74ebddc53231a871145de61351b0': Visualizer: replace the FFT implementation with a faster one.
| * | Merge "Visualizer: replace the FFT implementation with a faster one." into ↵Chia-chi Yeh2010-08-221-1/+0
| |\ \ | | | | | | | | | | | | gingerbread
| | * | Visualizer: replace the FFT implementation with a faster one.Chia-chi Yeh2010-08-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation uses fixed points instead of floating points. It is slightly inaccurate compared to the old one but still perfect for visualization purpose. It runs 40% faster on passion, 5 times faster on sholes, and of course 14 times faster on sapphire. Change-Id: I1e868417bcffda091becf106a7b941d02813faec
* | | | resolved conflicts for merge of 485de781 to masterKenny Root2010-08-244-0/+220
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I483cb81596f09b024b1aea7fc55960183f38b24f
| * | | Reorganize MountService IPCKenny Root2010-08-204-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove auto-generated AIDL files and replace them with manually edited .java and .cpp/.h files so that binder calls can be made from either Java or C++. Update the makefiles to not attempt to generate the AIDL files and also remove the old auto-generated .java files. Put all the storage-related C++ things in libstorage so that we don't pollute other libraries. Change-Id: I82d1631295452709f12ff1270f36c3100e652806
* | | | am 346b6126: am 97a56269: Merge "Add camera fps range API." into gingerbreadWu-cheng Li2010-08-241-0/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e' * commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e': Add camera fps range API.
| * | | Merge "Add camera fps range API." into gingerbreadWu-cheng Li2010-08-201-0/+15
| |\ \ \
| | * | | Add camera fps range API.Wu-cheng Li2010-08-201-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original preview frame rate API assumes the frame rate is fixed. It does not not work with auto frame rate camera. Change-Id: I38f7122ac8ec844ffd63558dc0763ffa17b0926a
* | | | | Change the framework to use the new camera preview path.Jamie Gennis2010-08-237-20/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes the camera HAL interface take an ANativeWindow interface from which all the camera preview buffers will be allocated. The framework code running in application processes now passes a Surface object rather than an ISurface to the camera server via Binder when setting the preview surface. The camera server then forwards that Surface object (which implements the ANativeWindow interface) to the camera HAL, which uses it to communicate with SurfaceFlinger to allocate the camera preview buffers. Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
* | | | | Merge "Squashed commit of the following:"Andreas Huber2010-08-234-3/+9
|\ \ \ \ \
| * | | | | Squashed commit of the following:Andreas Huber2010-08-234-3/+9
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 35cc68814a9537c31fde146e171e7b0bbdfe211e Author: Andreas Huber <andih@google.com> Date: Mon Aug 16 08:48:42 2010 -0700 Only enable support for yuv to yuv conversion on passion, where it's available, use the slower yuv->rgb565 path everywhere else. commit d8ac5a8814103e60d11d2acf61997fc31a1dc58d Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 13:56:44 2010 -0700 The software renderer takes over all rendering, converting from yuv to yuv if possible and rgb565 otherwise. commit 684972074b74318bdcb826ed9b5b0864d2d2e273 Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 09:34:35 2010 -0700 A first shot at supporting the new rendering APIs. Change-Id: Iea9b32856da46950501f1a700f616b5feac710fd
* | | | | am caaf7fe3: am 271c1bfd: Merge "Handle the camera open failure better." ↵Wu-cheng Li2010-08-231-0/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit 'caaf7fe3a407c764f643585d050c16f5fb56503c' * commit 'caaf7fe3a407c764f643585d050c16f5fb56503c': Handle the camera open failure better.
| * | | | Merge "Handle the camera open failure better." into gingerbreadWu-cheng Li2010-08-191-0/+1
| |\ \ \ \
| | * | | | Handle the camera open failure better.Wu-cheng Li2010-08-191-0/+1
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Check if camera hardware is NULL to avoid mediaserver crash. Change-Id: Ibde0251f30bdb6b36a5d5380222d7be25ec9449c
* | | | | am c8d2fa70: am cbd038fe: Merge "Make MediaWriter stop and pause return ↵James Dong2010-08-213-7/+8
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | errors if necessary" into gingerbread Merge commit 'c8d2fa704abebdbf0bd8aac185216dc068950217' * commit 'c8d2fa704abebdbf0bd8aac185216dc068950217': Make MediaWriter stop and pause return errors if necessary
| * | | | Merge "Make MediaWriter stop and pause return errors if necessary" into ↵James Dong2010-08-193-7/+8
| |\ \ \ \ | | |/ / / | |/| | | | | | | | gingerbread
| | * | | Make MediaWriter stop and pause return errors if necessaryJames Dong2010-08-193-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Make the API consistent with SF framework, which the MediaSource provides a return status for stop o Also, helps to convey errors that occurred right when a premature stop() is called, leading to a potentially mal-formed output file. Change-Id: I52a932345f38570fdf8ea04d67d73dd94ccd30ef
| * | | | Merge "Adding getSupportedPreviewSizes to CameraParameters.DO NOT MERGE" ↵Wu-cheng Li2010-08-191-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into gingerbread
| | * | | | Adding getSupportedPreviewSizes to CameraParameters.DO NOT MERGENipun Kwatra2010-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved functionality to parse string of sizes from getSupportedPictureSizes to parseSizesList. Added getSupportedPreviewSizes which returns a list of supported preview sizes. Change-Id: I41d4f62f9f1641e9e9258aa2ebaeda13ba846c02