| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
since we won't be going through the binder in single process mode.
|
|
|
|
|
|
|
| |
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
|
|
|
|
| |
Enable hardware overlay support for camera and video playback use cases
|
|\ |
|
| |
| |
| |
| | |
Bug 1927069.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b8a10fe45657f2dcc50cae8a06805f8438a6937e'
* commit 'b8a10fe45657f2dcc50cae8a06805f8438a6937e':
Allow setPreviewDisplay after startPreview.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'c6a482e778e7b5fc5790edf22e554c93f53b1112'
* commit 'c6a482e778e7b5fc5790edf22e554c93f53b1112':
Only remove client after the hardware is teared down, so a new client
|
| |
| |
| |
| |
| |
| | |
is rejected before old client is done.
Also check mUsers in all cases to make sure there are no existing client.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '82a32714f07d25259b91163d383ccdb74a166d2d'
* commit '82a32714f07d25259b91163d383ccdb74a166d2d':
Fix 1933269: startPreview failed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The reason we need this count is a new CameraService::connect() request may
come in while the previous Client's destructor has not been run or is still
running. If the last strong reference of the previous Client is gone but
destructor has not been run, we should not allow the new Client to be created
because we need to wait for the previous Client to tear down the hardware
first.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '8570e5fcf15f6b7c22c3023e8b4757c6a880a598'
* commit '8570e5fcf15f6b7c22c3023e8b4757c6a880a598':
Add more debug messages for CameraService.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Merge commit '7f148d65051e577cc4a002183ec55d625b51de85'
* commit '7f148d65051e577cc4a002183ec55d625b51de85':
Revert "dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash."
Enable more debug message to debug the Camera startPreview bug.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '084af5e1977e2278e68a69615f55d5fe3bb6c1a4'
* commit '084af5e1977e2278e68a69615f55d5fe3bb6c1a4':
Allow the owner to reconnect to Camera.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- make sure that all binder Bn classes define a ctor and dtor in their respective library.
This avoids duplication of the ctor/dtor in libraries where these objects are instantiated.
This is also cleaner, should we want these ctor/dtor to do something one day.
- same change as above for some Bp classes and various other non-binder classes
- moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere.
- improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere
- IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16
- implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called.
The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
manual_merge
Merge commit '7283fb18022674daee4dcdc3a218190791f8cd0e'
* commit '7283fb18022674daee4dcdc3a218190791f8cd0e':
AI 149133: Enable the camera permission check.
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
camera/libcameraservice/CameraService.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some debugging code was added to camera service. Later it was #ifdef'd
out, but this change also removed the camera permission check. This
change puts the permission check back in.
BUG=1869264
Automated import of CL 149133
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'db79edc5dc39e103356cad8781148a8794520bc5'
* commit 'db79edc5dc39e103356cad8781148a8794520bc5':
Fix permission hole in camera service. Some debugging code was added
|
| | |
| | |
| | |
| | |
| | |
| | | |
to CameraService::onTransact() method during development. Later on
the entire onTransact() method was #ifdef'd out, which inadvertently
omitted the permissions check code. This change restores the code.
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the second half of bug 1837832. Modifies the camera client
and camera service to use the new binder interface. Removes the
old binder interface. There will be one more part to this change
to surface the undefined callbacks to the Java layer so that
partners can implement new features without having to touch the
stack.
|
| |
| |
| |
| |
| |
| | |
modified: core/java/android/hardware/Camera.java
modified: camera/libcameraservice/CameraService.cpp
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
muted by new AlarmClock setting.
Current implementation of Camera service plays the camera shutter sound over the ALARM stream so that it cannot be muted by silent mode in order to comply to some country specific requirement. A recent change made it possible for the user to mute the ALARM stream thus making this stream not suitable any more for the camera shutter sound.
The fix consists in creating a new stream type only accessible by native code and that cannot be muted and use it to play camera sounds.
Original author: elaurent
Merged from: //branches/cupcake/...
Automated import of CL 143177
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|