summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "audio routing management for radio"Eric Laurent2015-03-193-42/+101
|\ \ \ \
| * | | | audio routing management for radioEric Laurent2015-03-193-42/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added radio tuner device connection/disconnection indication to audio policy manager. Added documentation and removed unused Module class member. Change-Id: I92438c1ff212c4d76f008149554fa89e367fee42
* | | | | Merge "Camera: plumbing rotation field through"Yin-Chia Yeh2015-03-1923-43/+50
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Camera: plumbing rotation field throughYin-Chia Yeh2015-03-1823-43/+50
| | | | | | | | | | | | | | | | | | | | Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
* | | | | Merge "Initial implementation of fast capture dump"Glenn Kasten2015-03-194-1/+30
|\ \ \ \ \
| * | | | | Initial implementation of fast capture dumpGlenn Kasten2015-03-064-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I898d903e539f760ef7caa80f41ca21c223f67264
* | | | | | Merge "camera2: Add camera client eviction enforcement."Ruben Brunk2015-03-1912-941/+2420
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | camera2: Add camera client eviction enforcement.Ruben Brunk2015-03-1812-941/+2420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This updates the CameraService to implement client eviction behavior based on process priority. Bug: 19186859 Change-Id: I646939b1cdf1a2237c4e5044164d55a2542cf36e
* | | | | | Merge "audioflinger: refresh fast track underrun state upon start"Andy Hung2015-03-171-2/+6
|\ \ \ \ \ \
| * | | | | | audioflinger: refresh fast track underrun state upon startHaynes Mathew George2015-03-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | False underrun is detected when starting recycled fast tracks, which leads to continuous fatal assertion failures and even AP reboot. Track's last mObservedUnderruns isn't updated one at previous stop() call. Hence, when we start the same track again, we should synchronize it to the latest state instead of relying on stale one. authored-by: Weiyin Jiang<wjiang@codeaurora.org> CRs-Fixed: 803389 Bug: 19635137 Signed-off-by: Andy Hung <hunga@google.com> Change-Id: Ia003a49c6896dba965798c062c98b8c367ef8369
* | | | | | | Merge "Update comments"Glenn Kasten2015-03-162-1/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Update commentsGlenn Kasten2015-03-132-1/+2
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Change-Id: I37d3c4ce22b74fe8581a886fe5a7f9fef8266dad
* | | | | | Merge "radio service initial implementation"Eric Laurent2015-03-164-0/+1314
|\ \ \ \ \ \
| * | | | | | radio service initial implementationEric Laurent2015-03-104-0/+1314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First implementation of broadcast radio service. This native service runs in mediaserver process and controls broadcast radio hardware modules. There is one ihardware module per broadcast radio class. The service allows serveral clients to control tuners on hardware modules and manages resource conflicts. Change-Id: I21469a084c7ccd65042b8ac5f724d060044c45ab
* | | | | | | Merge "Remove mId from DeviceDescriptor."Rakesh Iyer2015-03-161-1/+0
|\ \ \ \ \ \ \
| * | | | | | | Remove mId from DeviceDescriptor.Rakesh Iyer2015-03-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DeviceDescriptor inherits from AudioPort which has the correct handle mId. The mId in DeviceDescriptor shadows this so calls like DeviceVector::getDeviceFromId() findDeviceById fail because they are looking at the wrong mId. The failure itself manifested as createAudioPatch failing. Change-Id: I8dd012d0678facaac84844b92226cc4b788abece
* | | | | | | | Merge "libcameraservice: Stop using IGBC::BufferItem"Dan Stoza2015-03-169-16/+15
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | libcameraservice: Stop using IGBC::BufferItemDan Stoza2015-03-129-16/+15
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switches all uses of IGraphicBufferConsumer::BufferItem (and BufferQueue::BufferItem) to the BufferItem in libgui. Depends on frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9. Change-Id: I187b3a7d05196b6289596afac8fb9a9d4aebff76
* | | | | | | Merge "Fix warning while building mediaserver"Glenn Kasten2015-03-131-0/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix warning while building mediaserverGlenn Kasten2015-03-091-0/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:31:0, from frameworks/av/services/audiopolicy/service/AudioPolicyService.h:38, from frameworks/av/media/mediaserver/main_mediaserver.cpp:36: frameworks/av/services/audiopolicy/managerdefault/ConfigParsingUtils.h:29:0: warning: "ARRAY_SIZE" redefined #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) ^ In file included from frameworks/av/media/libmediaplayerservice/MediaPlayerService.h:31:0, from frameworks/av/media/mediaserver/main_mediaserver.cpp:35: frameworks/av/include/media/stagefright/foundation/ABase.h:21:0: note: this is the location of the previous definition #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) ^ Change-Id: I4b80f783c592a78aa88b3dad297278353740466e
* | | | | | Merge "Camera: Wire up dataSpace, clean up ICameraDeviceUser"Eino-Ville Talvala2015-03-0923-53/+93
|\ \ \ \ \ \
| * | | | | | Camera: Wire up dataSpace, clean up ICameraDeviceUserEino-Ville Talvala2015-03-0623-53/+93
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove unused arguments from ICameraDeviceUser::createStream - Add dataSpace as a stream parameter, plumb it through everything Change-Id: I608cafe694785d1c512276e71b2016f8ac3b0ccb
* | | | | | Merge "Allow TRANSFER_OBTAIN to be used for fast tracks"Glenn Kasten2015-03-091-2/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Allow TRANSFER_OBTAIN to be used for fast tracksGlenn Kasten2015-03-091-2/+3
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I8fa20c26f076567b38210af4a680fe1cb2eacee4
* | | | | Dump generic information first for each threadGlenn Kasten2015-03-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also mBufferSize was already being displayed as part of dumpBase Change-Id: I17f3062fcc076c594b5fd6b8fca286b27067e07c
* | | | | Display more fields in thread dumpBaseGlenn Kasten2015-03-061-0/+4
|/ / / / | | | | | | | | | | | | Change-Id: Ice15e999dda2f6cf9d23685ade4a87f74180322d
* | | | Rename mName to mThreadName and kNameLength to kThreadNameLengthGlenn Kasten2015-03-062-14/+15
| | | | | | | | | | | | | | | | Change-Id: I0adfcdcab7923a07a840ec0e04528cb8bfc41f10
* | | | WhitespaceGlenn Kasten2015-03-062-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | switch indent Change-Id: I652c798dd37a80634d247c4d881fb1cce92c4bd6
* | | | Rename tee sink file name and add prefix to macrosGlenn Kasten2015-03-061-12/+12
| | | | | | | | | | | | | | | | Change-Id: If316b9e32963d9baef8f4382fcc73dc6c4ff684d
* | | | Rename formal parameter to match type nameGlenn Kasten2015-03-061-8/+8
| | | | | | | | | | | | | | | | Change-Id: I0761005b751f5c4a4b28729b1820961ff3077afd
* | | | Add devicesToString, inputFlagsToString, and sourceToStringGlenn Kasten2015-03-062-1/+106
| | | | | | | | | | | | | | | | Change-Id: I0c09d76c204ffc5579f62d2ed1faef07922a5962
* | | | Merge "Fix typo in string table"Glenn Kasten2015-03-061-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Fix typo in string tableGlenn Kasten2015-03-051-1/+1
| | | | | | | | | | | | | | | | Change-Id: Iaf3d3c77129c62cf3dcad21fc754f390eb43b28e
* | | | Merge "Improve resampler speed for floating point and arm64"Andy Hung2015-03-046-6/+626
|\ \ \ \
| * | | | Improve resampler speed for floating point and arm64Andy Hung2015-03-036-6/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add floating point intrinsics for arm32 and arm64 devices. Add integer intrinsics for arm64 devices. Bug: 17366024 Change-Id: Id4240f549033deb262815c7145d69820e5fd7b92
* | | | | Merge "audiopolicy: Do not route VoIP call to HDMI"Eric Laurent2015-03-041-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | audiopolicy: Do not route VoIP call to HDMIEric Laurent2015-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getDeviceForStrategy is returning AUDIO_DEVICE_OUT_AUX_DIGITAL even when setForceUse is called with FORCE_NONE(earpiece) during VOIP call. Actual Intention is to route audio for phone strategy to AUX device even after setForceUse is called with FORCE_NONE when not in voice call. It is supposed to exclude VOIP call too. Bug: 19522164. Change-Id: I88d515c351f066305f9eed240b1fe5f60ef34f85
* | | | | Merge "Remove PCM16 assumption from FastCapture"Glenn Kasten2015-03-042-9/+6
|\ \ \ \ \
| * | | | | Remove PCM16 assumption from FastCaptureGlenn Kasten2015-03-032-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19586911 Change-Id: I74d4ddc09a9eb9c651f874482639d39a56f8ca1f
* | | | | | Merge "Pull up comment to superclass"Glenn Kasten2015-03-042-7/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Pull up comment to superclassGlenn Kasten2015-03-032-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2e3632ee80744f2f8d932ac1a8597ff805883851
* | | | | | Merge "Remove redundant this->"Glenn Kasten2015-03-042-12/+12
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Remove redundant this->Glenn Kasten2015-03-032-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
* | | | | | Merge "Add "m" prefix to fields"Glenn Kasten2015-03-048-396/+403
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add "m" prefix to fieldsGlenn Kasten2015-03-038-396/+403
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifdb8fa886d1ff53cd7c8aff3c2f8286e6e18dec2
* | | | | | Merge "camera: implement flashlight for HAL v1 devices"Chien-Yu Chen2015-03-039-23/+322
|\ \ \ \ \ \
| * | | | | | camera: implement flashlight for HAL v1 devicesChien-Yu Chen2015-03-039-23/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement flashlight for HAL v1 devices and remove CameraHardwareInterface's dependency on CameraService to avoid circular dependency. Bug: 2682206 Change-Id: Id5bbccef085b607a6189763fd7fbe2e3f26868c8
* | | | | | | Merge "camera: fix flashlight implementation for HAL v2"Chien-Yu Chen2015-03-034-201/+423
|\ \ \ \ \ \ \ | |/ / / / / / | | / / / / / | |/ / / / / |/| | | | |
| * | | | | camera: fix flashlight implementation for HAL v2Chien-Yu Chen2015-03-034-201/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update torch availability when the camera device availability changes. For device HAL v2 and v3 implementation, notify torch unavailable for all camera devices with a flash unit when a camera device is opened. Notify torch available for all camera devices with flash unit when all camera devices are closed. Don't invoke torch status callback in camera service. Invoke torch status callback in HAL or FlashControlBase implementations to avoid race condition. Clean up previous CL. Bug: 2682206 Change-Id: I24f5478f467b2c680565fe98f112eef33e2547a1
* | | | | | Pull out commandToString() from FastMixerDumpState.cppGlenn Kasten2015-03-037-29/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp Change-Id: I872efb211e8a0335c42906367859d3674340e374