summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | BluetoothMidiDevice: change write type to support JamStikPhil Burk2015-10-121-1/+9
| | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily use a Request instead of a Command so that the JamStik will be properly enabled. Bug: 24207964 Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7)
| * | | | | | | | BLE-MIDI: change binding for BluetoothMidiServicePhil Burk2015-10-134-10/+44
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a remote call addBluetoothDevice() using AIDL. This was needed because onBind() is only called once. Bug: 23219556 Bug: 23760886 Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 7cd06c0b9e087a555d2c5dd4cab5b7eac8497526)
| * | | | | | | media: ignore null InputStreamRonghua Wu2015-10-131-4/+8
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22854896 Change-Id: I20b9e28bbba6dec73538ee6937d337c2e2b971f4
| * | | | | | Merge "MidiBluetoothService: add new device to HashMap" into mnc-dr-devEric Laurent2015-10-131-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | MidiBluetoothService: add new device to HashMapPhil Burk2015-10-121-0/+1
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HashMap is being used but devices never added to the map. Bug: 23429459 Change-Id: I1da5305a56f5bd48e1c5d9345e721ea8dd2eed4e Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit e5f722e55c5708c2b48b8c9688c135e451225032)
| * | | | | Merge "MidiManager: fix double BTLE callback" into mnc-dr-devPhil Burk2015-10-121-1/+0
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | |
| | * | | | MidiManager: fix double BTLE callbackPhil Burk2015-10-121-1/+0
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop openBluetoothDevice() from calling its callback twice. Bug: 23218338 Change-Id: I2e738b22a124c0336c46bef05680a82ee1f59e79 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 0ca998d79fe95ded26ec4ff0a1e0a8dc4802684b)
| * | | | MidiService: update listener with current status when registeredPhil Burk2015-10-121-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will give an app an opportunity to learn whether an input port is busy before the user tries to connect and then fails. Bug: 22825043 Change-Id: Ifede60f166dfe66ea15453044fce06f4a8452b18 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit b2355940e3e697deeecd1b6511cd5094f9dc553a)
* | | | video: Add QHD & 2K profile for recorderXavier Varricatt2015-11-301-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | Add QHD & 2K profile for recorder Change-Id: I3269ccbedb70b12eb0f7bea8fb038533dbcdf894
* | | | frameworks/base: Add checks for 4KUHD and VGA timelapseManikanta Kanamarlapudi2015-11-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 4KUHD and VGA timelapse checks to allow recording in timelapse mode for these resolutions. Change-Id: I47f75d44ad87359c63eeb020d2e56da452305afb
* | | | Udpate instrumentation codeWilliam Clark2015-11-302-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Added changes to support new features in QSSP Change-Id: I92c0a4eb3cb5363fbf08185f25644a3202c38788
* | | | MediaHTTPConnection: support Cookie updateLi Sun2015-11-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The server side would keep the Cookie in the response header. The client should update it in the http connection session. - disable the functionality as it's server specific. enable it by "adb shell setprop persist.media.cookie.cust true" Change-Id: Ibde2dbb228856200ea1ecbfa391f8480b5595ae9
* | | | BluetoothMidiDevice: change write type to support JamStikPhil Burk2015-11-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily use a Request instead of a Command so that the JamStik will be properly enabled. Bug: 24207964 Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7)
* | | | BLE-MIDI: change binding for BluetoothMidiServicePhil Burk2015-11-104-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a remote call addBluetoothDevice() using AIDL. This was needed because onBind() is only called once. Bug: 23219556 Bug: 23760886 Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 7cd06c0b9e087a555d2c5dd4cab5b7eac8497526)
* | | | MidiBluetoothService: add new device to HashMapPhil Burk2015-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HashMap is being used but devices never added to the map. Bug: 23429459 Change-Id: I1da5305a56f5bd48e1c5d9345e721ea8dd2eed4e Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit e5f722e55c5708c2b48b8c9688c135e451225032)
* | | | MidiManager: fix double BTLE callbackPhil Burk2015-11-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop openBluetoothDevice() from calling its callback twice. Bug: 23218338 Change-Id: I2e738b22a124c0336c46bef05680a82ee1f59e79 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 0ca998d79fe95ded26ec4ff0a1e0a8dc4802684b)
* | | | MidiService: update listener with current status when registeredPhil Burk2015-11-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will give an app an opportunity to learn whether an input port is busy before the user tries to connect and then fails. Bug: 22825043 Change-Id: Ifede60f166dfe66ea15453044fce06f4a8452b18 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit b2355940e3e697deeecd1b6511cd5094f9dc553a)
* | | | MediaRecorder: Add pause interfaceSteve Kondik2015-11-075-11/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add pause in java level - add pause in jni level CRs-Fixed: 587051 Add 2 APIs (suspend/resume) in MediaPlayer - API:suspend() will just pause the player and release all the decoders to replace release() which will release the whole player - API:resume() will just init the decoders again, then start() will be called to start to play the streaming Change-Id: Ia0c38bd827f21261b2bd87c04778e86362003344
* | | | Stop thread before deleting object referenceOscar Rydhé2015-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If setPeriodicCapture is called Visualizer will start a thread and do periodic callbacks. When native_finalize is called the reference to the class is deleted. If a callback happens after this the reference is no longer valid and when used from the callback method the vm crashes. With this patch the thread will be terminated before deleting the reference. Please note that this change depends on the commit in platform/frameworks/av with the same Change-Id. Change-Id: I30f331437ddad05f8d52c244cdbecb1859a0abd2
* | | | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * | | MediaActionSound: Fix video stop soundChien-Yu Chen2015-10-071-1/+1
| | |/ | |/| | | | | | | | | | Bug: 24745252 Change-Id: I803679d52750e09c7fc7b881523becf9259b558b
| * | AudioTrack: error reporting for getTimestamp()Eric Laurent2015-08-272-0/+51
| |/ | | | | | | | | | | | | | | | | | | | | Add a new getTimestamp() method that returns an error code. Bug: 21886109. Bug: 22202349. Bug: 17548098. Change-Id: Ib072dd3442de79bab9aca77c3c33b0790b492154 (cherry picked from commit 4e1ccd370fc268f3207c5baee08ac8c943c3fdf9)
* | Screenshots info is not updated when device is plugged in MTP modeMaunik Shah2015-11-012-0/+18
| | | | | | | | | | | | | | | | | | | | When device is connected as MTP mode and user opens folder /sdcard/Pictures/Screenshots/ in windows system and captures new screenshot, image information is always shown as 0 KB Issue: https://code.google.com/p/android/issues/detail?id=56204 Change-Id: I46f3d72d275e164e40e305a3b5aafe685e6905f2
* | base: Add theme support to Ringtone and Profile pickers activitiesJorge Ruesga2015-11-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patchset 3: Add support for theme RingtonePreference view. The dialog is automatically adjusted to the caller activity base theme. Patchset 4: Don't break the android api For Ringtones: http://review.cyanogenmod.org/#/c/61393/ For Profiles: Usage: Intent intent = new Intent(ProfileManager.ACTION_PROFILE_PICKER); intent.putExtra(ProfileManager.EXTRA_PROFILE_DIALOG_THEME, R.style.CustomDialogTheme); <<< Add your custom dialog theme here startActivityForResult(intent, 0); Style Usage: Define an style that inherits from an android base theme <style name="CustomDialogThemeDark" parent="@*android:style/Theme.Holo.Dialog.Alert"> or <style name="CustomDialogThemeLight" parent="@*android:style/Theme.Holo.Light.Dialog.Alert"> or define your own dialog style Change-Id: Icadbcf2c617c51177466989acdab9435066a47a0 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Add broadcast and query API for AudioSource.HOTWORD.Matt Garnes2015-10-282-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | - When the AudioSource.HOTWORD input becomes active or is released, send a Broadcast with the package name and the new state of the audio input to any applications that hold CAPTURE_AUDIO_OUTPUT. - Store the package name of the application that controls the hOTWORD input or set it to null if the input is not in use. - Add a new method to AudioService to retrieve the package name of the application that currently controls the HOTWORD input. Change-Id: I2f11888f3711d23b6287a4de7b81d361734a8f3b
* | Add basic support for VorbisComment DATE tagsDaniel MartĂ­2015-10-281-0/+14
| | | | | | | | | | | | | | | | | | | | Since Android doesn't support DATE tag itself, just use it to extract the year from the ISO date (if the YEAR tag isn't present) and fill media database with it. Require: http://review.cyanogenmod.org/#/c/104193/ Change-Id: I30f86bb05cc8ab158ca538f899a124a4bf8eb9f0
* | Fix in effectCallback to avoid sending callbacks to dead objectsLucas Gomez Jimenez2015-10-271-0/+9
| | | | | | | | | | | | | | This issue can be easily reproduced by killing an application that is playing audio using one or more audio effects. Change-Id: I5f90c65c58d9f2df0737eeed2fbbb0c43aaa0f81
* | MediaScanner: Detect foldersStephen Bird2015-10-271-1/+1
| | | | | | | | | | | | | | | | If folders are ignored, MTP will show folders as files Change-Id: I960b92ed2f17c7da635d369e3c37560e167485a1 (cherry picked from commit 63b5c3dc0d75d17e4d35b3397faa5409a53b8e99) (cherry picked from commit 0e543c26b691925a67dbe60210aee1561850cee9)
* | EncoderCapabilities: Adding HFR entry in EncoderCapabilities and JNIVikas Reddy Pachika2015-10-232-4/+18
| | | | | | | | | | | | | | | | --Adding HFR entries like max HFR mode, max HFR width & max HFR height in the EncoderCapabilities.java and android_media_MediaProfiles.cpp Change-Id: I544a17e32ddd7ddccb0c48cf07b3199d2c485e09 CRs-Fixed: 589983
* | SEEMP: Add more framework instrumentationWilliam Clark2015-10-062-0/+5
| | | | | | | | | | | | | | | | | | Instrument framework files to log events of interest. Conflicts: core/java/android/accounts/AccountManager.java Change-Id: Ia45651e6352586f910039b51cac2356f65f80010
* | frameworks/base : Handling usecases for ext mediaplayerManikanta Sivapala2015-10-061-8/+21
| | | | | | | | | | | | | | | | Handling usecases while creating ext mediaplayer like extmediaplayer listner creation fails but QCMediaplayer creation succeeds or vice versa. Change-Id: Ic5242161bf30bd2688bd6aba6d6115ab0768e963
* | framworks: fix for handling 0x24 ctrl set for CEA renderingManikanta Sivapala2015-10-061-2/+4
| | | | | | | | | | | | Handling excpetion for 0x24 ctrl command Change-Id: I8d22f34923842d01cb3bf483b3e31f39ea0dcb48
* | audio: enable recording in new formatsSidipotu Ashok2015-10-061-12/+0
| | | | | | | | | | | | | | - Remove the redudant if statement blocking the audio record of newer formats. Change-Id: I484489cb26f96c58b3c928217de7b6aca4bd6813
* | MSIM: Add support for DSDA.Sandeep Kunta2015-10-061-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Interface changes to inform local call hold and setActiveSubscription to telephony service from telecomm service. 2. Interface in Telecomm manager to query active subscription and switch to other subscription. 3. Add support in PhoneAccount to maintain LCH & active subscription information. 4. Interface changes to inform sub switch between inCallUI and Telecomm service. Change-Id: I942122eab45a19ea30abc92c90228d9115c1df78
* | video: Add support for MediaRecorder pause interfaceSurajit Podder2015-10-063-2/+14
| | | | | | | | | | | | | | | | * Add pause() API to java MediaRecorder * Add change in jni to instantiate extended native MediaRecorder which supports pause/resume Change-Id: I168e187dc33ce32cd3a846123a3e55fa8ac600a0
* | MediaRecorder: video: add H265 encoderLubin Yin2015-10-062-1/+5
| | | | | | | | | | | | Add support to set HEVC video encoder (H265). Change-Id: Ic514799beeae42aa9a71476e25cfebb3b5867758
* | audio: add support for extended audio encodingMingming Yin2015-10-064-2/+118
| | | | | | | | | | | | | | - add support for EVRC, QCELP ,LPCM, and multichannel encoding. Change-Id: I9542ec9dec1872237940846952d28bef3ce24285
* | frameworks/base: Changes related to DASHManikanta Sivapala2015-10-061-4/+151
| | | | | | | | | | | | | | Creating Extended MediaPlayerListener and Native MediaPlayer for DASH. Change-Id: Ief49777e94b818851052715d6dbd9e51982da85a
* | video: Hook to open http proxy connectionManikanta Sivapala2015-10-061-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added hook to open http proxy connection. Application can set proxy details in http headers with following key:val pair use-proxy : IP:Port MediaHTTP parsers header and set proxy details over underlying http stack. Hook helps to set proxy details from native mediaserver and pass information to MediaHTTP module Change-Id: Id83f35d493541fa601318c78861c31a7d331d8c8
* | AVRCP 1.5 implementationAyan Ghosh2015-10-0613-3/+798
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AVRCP 1.5 Implementation Change-Id: I9a21348ec7e0c21735448ea29b781167f01e1580 Bluetooth: Add Total track number. Add support to add total number of tracks in Meta-data Change-Id: I5b1287f791615adcd4f920fe5c7cae0c7c7b04ea CRs-Fixed: 627869 Bluetooth: Modify Avrcp 1.5 implementation to adapt to latest AOSP changes Modify Avrcp 1.5 implementation to adapt to latest AOSP changes. CRs-Fixed: 719567 Change-Id: I0958fb12f573054f1da16df0ac46f3bec7374222 Move media player list management to Audioservice Move media player list management to Audioservice so that list is retained even after BT restart. Change-Id: Ia2455e6def1900b4af2225c50e1b5325a7ce1a98 Update RemoteController on Session update Update RemoteController on Session update in order to update AVRCP player list to honor peer initiated browsing command. This change fixes AVRCP browing failure due stale entry of player session upated to AVRCP player list after device reboot. Change-Id: I529a13e2c8a70e4b53319798c952b41f369b8bec Introduce new interface class for Avrcp Browsing feature Separate out Avrcp Browsing Apis from SDK interface class to ensure compatibility with all available apps implementing the mentioned SDK interface class. Change-Id: I713527ee3622ba28fe92d5bc743b9471632299b3
* | MediaCodecInfo: Add new method to return CapabilitiesInfoFormatShalaj Jain2015-10-061-0/+7
| | | | | | | | | | | | | | Return the CapabilitiesInfoFormat to give caller access to custom capabilities like VT. Change-Id: I1a78314a2c9128eea7296644f71928a14ce8030f
* | frameworks/base: media: Add support for extended file typesShalaj Jain2015-10-061-2/+8
| | | | | | | | | | | | Add support for flv, divx and dash file and mime types. Change-Id: I0b3654dee776dc70f0fc3f32e9fe8eca4f4faa8e
* | CamcorderProfiles: add VGA and 4K-DCI profiles.Praveen Chavan2015-10-062-2/+53
| | | | | | | | Change-Id: I1067da3769635365048529fe315e6971c2d51696
* | audio: Add Audio Proxy deviceYamit Mehta2015-10-061-1/+7
| | | | | | | | | | | | Add audio proxy device for WFD source Change-Id: I51167a27cb017ca37e732f80b4b95d60934d80d6
* | AudioTrack: error reporting for getTimestamp()Eric Laurent2015-08-282-0/+51
|/ | | | | | | | | | | Add a new getTimestamp() method that returns an error code. Bug: 21886109. Bug: 22202349. Bug: 17548098. Change-Id: Ib072dd3442de79bab9aca77c3c33b0790b492154 (cherry picked from commit 4e1ccd370fc268f3207c5baee08ac8c943c3fdf9)
* MIDI docs: fix buffer allocationPhil Burk2015-08-191-4/+5
| | | | | | | | Also describe NoteOn more clearly. Bug: 23303608 Change-Id: I35f88022c854c2eb16ec606e58f28e06c52d18b7 Signed-off-by: Phil Burk <philburk@google.com>
* Camera2: Add camera type to getNumberOfCameras.Eino-Ville Talvala2015-08-141-1/+4
| | | | | | | | Do not list strange cameras in old API; ensure new API gets all cameras. Bug: 23194168 Change-Id: Ia1fdffac245525674c913fefb1ec06e9094fe8d3
* Camera: Fix framework bugs with DEPTH-only camera devicesEino-Ville Talvala2015-08-111-8/+20
| | | | | | | | Mostly due to no standard stream configurations being defined, and for the correct overrides for DEPTH_POINT_CLOUD format. Bug: 20537722 Change-Id: I8a18f5f68697a09dcc4d7555e51728193fe7f333
* Filtering Remote-Submix and Back-mic devices from AudioDeviceInfo API.Paul McLean2015-08-071-2/+8
| | | | | Bug: 22729461 Change-Id: Ie581c385af2be16e61fcab5993391ef42f82a7d8
* Revert "Add a (hidden) mapping for REMOTE_SUBMIX device types for CTS test."Paul Mclean2015-08-071-10/+4
| | | | | | This reverts commit 8b2562b14c37cd61f9c8e1b21e28cf57ff5b7523. Change-Id: I731d01fd652e928ba331fa28bb09cc8234753fbf