summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Add new options for call waiting response in InCallUIKamaljeet Maini2016-05-061-0/+3
| | | | | | | | | | | | | | | | When an incoming call is received while there is already an active call, the user will be given four choices for the response: 1) Left button: hold the current call and answer incoming call 2) Bottom button: end the current call and answer the incoming call 3) Right button: decline the incoming call 4) Top button: Send a text message to the incoming caller if texting is enabled The framework changes include new hidden API for sending additional information to Telecomm service, few constants, and a bug fix. Change-Id: I642b330d856613fafc0526eb79dd97fedba4ce6a
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-111-0/+4
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 22 Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
| * Add callback for connections to be notified when the ringer is silenced.Bryce Lee2015-11-171-0/+2
| | | | | | | | | | Bug: 25644529 Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
| * Add capability for a connection hand rejection text response.Bryce Lee2015-08-281-0/+2
| | | | | | | | Change-Id: Id90417736bed7ab8750144ccaf3c7b449ec832b8
* | add routing for explicit call transferRoman Birg2016-02-032-0/+4
| | | | | | | | | | | | | | Ref: CYNGNOS-1010 Change-Id: Ifd4150ce5589bdb586b3d840e967cc10be19fec4 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Proper supplementary service notification handling (1/5).Danny Baumann2015-12-151-0/+2
| | | | | | | | Change-Id: I4fa94d4ba68a1570d3f822be569ae124882c0e66
* | Revert "MSIM: set phone account handle changes for ECall"Ravindra2015-10-231-3/+0
| | | | | | | | | | | | | | This reverts commit fbdf0855fddd7bff5e648ad820753d8dcaf70840 to fix CTS failures Change-Id: I7248110607f6910ca1747abb0417961201455ecc
* | Fix to display merge icon on failure.Ravindra2015-10-081-0/+2
| | | | | | | | | | | | | | | | Trigger a state change to incallui with the existing state on an unsuccessful merge in order to enable merge icon. Change-Id: I1c7baa7a2c2ccf277eff06d68da0b419ae587a19 CRs-Fixed: 815642
* | Telecom: Reset the duration after the CDMA call is acceptedQiang Chen2015-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | In android original design, the duration of CDMA MO call is started from the dial command sent, so it is not the real duration of the active time. In this patch, a new message is registered to listen the event of the call accepted, and then reset the duration when the event happens. Change-Id: Icc447012030ae243f200ec2c83b7d5210af9b31c CRs-Fixed: 754497
* | MSIM: set phone account handle changes for ECallRavindra2015-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add interface API between Telephony to Telecomm for updating phoneAcount. Currently on multisim, Telephony(PhoneApp) picks the best possible sub for placing emergency call, after selecting the best possible sub, Telephony uses this new interface API to update the phoneAcount handle to Telecomm which inturn helps to display the proper subId on which ECall placed. Add cause codes for EMERGENCY_TEMP_FAILURE and EMERGENCY_TEMP_FAILURE Change-Id: Ic0fdc01810ccc35479a1a9447c40e38122a155a9 CRs-Fixed: 722205,778800, 780893
* | IMS: Conference URI support.Suchand Ghosh2015-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Telephony extras EXTRAS_IS_CONFERENCE_URI, EXTRA_DIAL_CONFERENCE_URI which will require by Telecomm, TeleService, Telephony, Framework, IMS framework etc. IMS: Allow placeCall with complete uri Add extra "org.codeaurora.extra.SKIP_SCHEMA_PARSING". Application need to set the intent extra to dial with complete uri. IMS: Add participant support. Add Phone Capabilities ADD_PARTICIPANT and Telephony Property ADD_PARTICIPANT_KEY. IMS: Allow add participant with normal IMS call We should allow add participant with normal IMS call to make it conference. Send add participant through existing connection of normal IMS call. IMS: Add Participant support. Do not create new connection while add participant with existing call. Rather send add participant request through IMSConference. Change-Id: I5052710a2d11a57331bdfbe64247e6a39bf9147a
* | MSIM: Add support for DSDA.Sandeep Kunta2015-10-063-0/+14
|/ | | | | | | | | | | | | 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
* Default permissions for sim call managerSailesh Nepal2015-07-281-0/+5
| | | | | | | | | | This CL adds the following permissions by default to the SIM call manager: - microphone - phone BUG: 22790160 Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
* Clean up SIM CallManager APIs.Santos Cordon2015-06-181-10/+0
| | | | | Bug: 21499476 Change-Id: Iaded74c6b885b0745dfa85d0b7733bdad75d615a
* Allow default dialer changes and phone account enable/disable via ADBYorke Lee2015-06-021-1/+6
| | | | | | | | | | | | | | | | | Add commands accessible via adb shell that can be used for CTS tests without the need for adb root *set-phone-account-enabled *set-phone-account-disabled *set-default-dialer *get-default-dialer Modify enablePhoneAccount/setDefaultDialer to indicate success. Remove now unused functionality in ProtectedEnableAccountPreferenceActivity and ProtectedChangeDefaultDialerActivity. Bug: 21583012 Change-Id: I542d145cc969334c004b8344fbbb01f278256f9d
* Add extras to Connections/Calls. (1/3)Santos Cordon2015-05-281-0/+3
| | | | | | | | | | | Two major changes: 1) Add the notion of extras to a Connection. These extras will be parceled through to InCallService as Call.getExtras() 2) The previously existing Call.getExtras() has been renamed to getIntentExtras(). This name better describes the fact that these particular extras are from the original CALL or INCOMING_CALL intents. Change-Id: I08c1baf4f08d54757f98012f0c08b423a707c53d
* Add enable/disable properties to phone accounts.Santos Cordon2015-05-191-1/+7
| | | | | Bug: 20303449 Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8
* Rename AudioState to CallAudioStateYorke Lee2015-05-132-4/+4
| | | | | | | | | | | | | Deprecate AudioState class and make methods @SystemApi where necessary to minimize impact to SystemApi Replace usages of AudioState inside Telecom sub-systems Fire both onCallAudioStateChanged and onAudioStateChanged callbacks for backward compatibility Support both setAudioState and setCallAudioState for all classes Bug: 21040387 Bug: 21088300 Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
* More video related API fixesYorke Lee2015-05-121-1/+2
| | | | | | | | | | | | | | | | | android.telecom.Connection.VideoProvider * onSetPauseImage takes Uri instead of String * changeCallDataUsage -> setCallDataUsage * add quality constants to changeVideoQuality() docs android.telecom.InCallService.VideoCall * setPauseImage takes Uri instea dof String android.telecom.VideoProfile.VideoState * Move constants to VideoProfile, prefix with STATE_ Bug: 21040387 Bug: 21066505 Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
* Fixes for APi reviewYorke Lee2015-05-121-2/+1
| | | | | | | | | Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
* Change sendSessionModifyRequest VideoProvider API signature.Tyler Gunn2015-05-061-1/+1
| | | | | | | | | | | | | | Including a fromProfile in addition to the requestedProfile. - Changed VideoCallImpl to generate the fromVideoProfile based on the call's current videoState. This ensures the InCall UI only needs to pass in the new video profile; the VideoCall Impl already has enough knowledge to generate the fromProfile. - Changed VideoCallImpl to track the current videoQuality, which forms a part of the fromVideoProfile. Bug: 20704229 Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
* Merge commit '17455a3' into master_mergePrerepa Viswanadham2015-05-011-0/+2
|\
| * Add plumbing for merge failures and renable button. (3/4)Anthony Lee2015-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The merge failure is not plumbed up through any layer that can trap the callback and act on it. The first part of this fix is to create that plumbing. Then we need to reenable the merge button. At this point in time, we leverage the fact that forcing the call to reassess its capabilities will poke the InCallUI to reenable the merge button. In the future, we should plumb the merge failure all the way to InCallUI and not only handle the button but display UI to the user. The UI is currently being displayed by CallNotifier which is the wrong place. See b/20530631 for more details. Bug: 20229905 Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
| * DO NOT MERGE Remove connection substateJay Shrauner2015-04-161-2/+0
| | | | | | | | | | Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
| * DO NOT MERGE Change hasVoicemailNumber to getVoicemailNumberYorke Lee2015-04-161-2/+2
| | | | | | | | | | Bug: 20223485 Change-Id: I293572bb6c32c5084fe684e7cfe7bd2bbfb5443b
* | Add default dialer checks to Telecom/TelephonyYorke Lee2015-04-291-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Check for the default dialer or the modify phone state permission for various TelecomManager/TelephonyManager methods. Make sure to check the user-selected default rather than the hardcoded package name. Exercise this code in TestDialerActivity. Bug: 20304458 Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb
* | Merge changes from topic 'mwd-merge-042415'Etan Cohen2015-04-251-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Rename removeVideoCallListener to unregisterCallback Bluetooth document fix: remove reference from open API to hidden entities Fix build due to merge of 7595842 and renaming due to 8eb87f0 Merge commit '052a0da' into merge2 Merge commit 'db1dbb8' into merge2 Merge commit '7e5e791' into merge2 Merge commit '170102d' into merge2 Merge commit '4cb5d80' into merge2 Merge commit '83cda00' into merge2 Merge commit 'c91bc62' into merge2 Merge commit 'cffc360' into merge2 Merge commit '7f61051' into merge2 Merge commit '167c3a7' into merge2 Merge commit '4467b98' into merge2 Merge commit '25a217c' into merge2 Merge commit '04b18ec' into merge2 Merge commit '7595842' into merge2 Merge commit '2bbd2b6' into merge2 Merge commit '4890351' into merge2 Merge commit 'cd405fe' into merge2 Merge commit '6ddbb5e' into merge2 Merge commit 'de93575' into merge2 Merge commit '9561e74' into merge2
| * \ Merge commit '7595842' into merge2Etan Cohen2015-04-241-1/+3
| |\ \ | | |/ | | | | | | Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
| | * Support for multiple VideoCall.Listeners for a VideoCall.Tyler Gunn2015-04-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code assumes that only a single instance of VideoCall will be provided to the default system InCall UI. Ideally multiple InCallService implementations should be able to use the VideoCall APIs. Note: it only really makes sense for a single InCallService to get/set the video surfaces. - Fixed bug in ParcelableCall which would cause a new instance of VideoCallImpl to be created every time a call is updated from Telecom. Added a flag to ParcelableCall to indicate whether the parcel includes a change to the video provider information, which is used when unparceling to determine whether to set/create the video call impl. - Renamed "setVideoCallback" to "addVideocallback". - Modified Connection.VideoProvider code to keep a list of Video callbacks and fire off all of them when Video Provider changes occur. Bug: 20092420 Change-Id: Ic16b6afe1b7532cc64d006c133adbae57946d97d
* | | Add APIs to getDefaultDialerPackage and getSystemDialerPackageYorke Lee2015-04-241-0/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | getDefaultDialerPackage is a public API and will be used by apps to determine if they are the default dialer. getSystemDialerPackage is a hidden API and is only used by system components. Also add new public string constants to allow apps to show a dialog requesting that the user change the current default dialer. Bug: 20304458 Change-Id: I121d36741474c1fe171c372fb766a6c128228c9c
* | Add TelecomManager.placeCallYorke Lee2015-04-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Places a new outgoing call using the system telecom service with the specified parameters. Making emergency calls using this method requires that the method-caller is either the user-selected default dialer app or preloaded system dialer app. Requires that the caller have the {@link android.Manifest.permission#CALL_PHONE} permission. Bug: 20348183 Change-Id: Ieedb5628e8c6be25137944e7c3639dc1d9bc61df
* | Add OP_READ_PHONE_STATE app op - frameworkSvet Ganov2015-04-171-12/+14
| | | | | | | | | | | | | | | | | | The READ_PHONE_STATE permission protects PII information and is in the Phone group. This change is adding the corrseponding app op for gating access to the API guarded by READ_POHNE state which will be used instead as an access control for legacy apps. Change-Id: I2ff895a5a0e529f26ec0ad706266a30d829268ba
* | Remove connection substateJay Shrauner2015-04-161-2/+0
| | | | | | | | | | Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
* | Change hasVoicemailNumber to getVoicemailNumberYorke Lee2015-04-161-2/+2
|/ | | | | | Bug: 20223485 Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
* IMS-VT: Upgrade/Downgrade changeRekha Kumar2015-04-012-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Add isVideo API to VideoProfile.VideoState IMS-VT: Fix propagation of device orientation. Orientation received at VT Service is incorrect. Fixed propagation of device orientation to VT service. IMS-VT: Upgrade fix -Add session modify call timed out constant Notify listeners of video quality changed event - Propagate the video quality changed message to the UI. IMS: Add support for video quality - Add Config interface to get/set video quality IMS-VT: Multitasking feature -Support for video multitasking IMS-VT: Modification of data usage aidl Change data usage aidl interface to take parameter type long instead of int Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc Propagate the call substate changed message to the UI IMS-VT: Add call modifiable capability PhoneCapababilities call type modifiable constant added IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set IMS-VT: Enable Video conferencing. Enable Video conferencing. Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b IMS-VT: Add hide for setVideoProvider API Observed compilation error for SDK generation due to setVideoProvider API. Marking setVideoProvider as hide inorder to resolve the compilation error. IMS-VT: Add persist.radio.ims.audio.output for VT calls -- Add persist.radio.ims.audio.output to set the default speaker for VT calls. -- Add required constants IMS-VT: Add additional error codes for upgrade downgrade -Add support to send additional error codes to UI during upgrade downgrade. Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
* Add method in TelecomManager to return line1Number for a PhoneAccount.Nancy Chen2015-01-241-0/+5
| | | | | | | | | | Since we do not want to expose SubIds in the app layer, we need a wrapper to extra the subId from a PhoneAccount and return the value of TelephonyManager#line1Number. Also update error strings to be more consistent. Bug: 19087382 Change-Id: Ie5a474d45336921d1007b36a4d26cd4da68f8b91
* Pass onPostDialChar call back from Telephony to Telecom.Nancy Chen2014-12-161-0/+2
| | | | | | | | Add plumbing to alert Telecom every time a character is processed after the post dial wait state (the processing happens in Telephony). Bug: 18644688 Change-Id: I487d76aa9c959ca528c6377374aa35c2d0b4a803
* Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)Nancy Chen2014-12-041-0/+5
| | | | | | | | | | | | Since we don't want the phone app to call TelephonyManager methods directly, create a method in TelecomManager to mimic the behavior. The reason we don't return the voicemail number directly is because once TelecomManager becomes public, we don't want any old app to be able to get the SIM's voicemail number. Bug: 18233678 Change-Id: I620af409788aea7b58169b72a563baeed8115080
* Telecom API updates (1/6)Ihab Awad2014-11-281-1/+1
| | | | | | Bug: 18292176 Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
* Make add-call a global property of telecom. (1/4)Santos Cordon2014-11-101-0/+2
| | | | | | | | ADD_CALL didn't make sense as a property of Connection or Call. This changes it to be a global property instead. Bug: 18285352 Change-Id: I658e7a6977a848600272cde2914612c8691bb801
* Adn queries for multi-SIM. (2/3)Nancy Chen2014-11-031-0/+6
| | | | | | | | Define a method in Telecom to take in a subscription account and return the URI for an ADN query for that account. Bug: 17917937 Change-Id: Ic50a4add7fe44a5164271dc9c9e5a58e45e72336
* Merge "Handle MMI for multi-SIM (1/3)" into lmp-mr1-devNancy Chen2014-10-311-0/+5
|\
| * Handle MMI for multi-SIM (1/3)Nancy Chen2014-10-311-0/+5
| | | | | | | | | | | | | | | | | | + Add Telecomm and Telephony methods for handlePinMMIForSubscriber + Add Select Account dialog in Dialer for MMI Bug: 17917937 Change-Id: I26fdc68a07ca0483bf7a052598fe31b1461fd486
* | Creating connections for conference event package participants.Tyler Gunn2014-10-301-0/+2
|/ | | | | | | | | | | | | - Add "addExistingConnection" method to connection service which provides a way for a connection service to notify telecom of a pre-existing connection (connections are normally created through telecom). - Modify TelephonyConferenceController to retrieve its state from a multiparty connection in the conference (in the case of IMS calls, this would be the ImsCall that manages the conference) instead of just taking the first one. Bug: 18057361 Change-Id: I26993aec54ecb0ce90ae6983fd3eed9d8d0a5773
* Add an option to set the selected phone account as the default. (1/3)Nancy Chen2014-10-221-1/+2
| | | | | | | | Modify the phoneAccountSelected method to support the option to set the selected phone account as the default for outgoing phone calls. Bug: 18078232 Change-Id: I2689bc9611366d521dfd3dc2086fd31eb6393876
* Use Telecom API for checking if a number is voicemail (1/2)Nancy Chen2014-10-161-0/+5
| | | | | | | | | | Since we don't want to communicate directly with Telephony in dialer, call PhoneNumberUtils.isVoiceMailNumber (a Telephony method) through the Telecom API. Add a method in TelecomManager to do this. Bug: 17925501 Change-Id: Iecea82a0e5f0b106eaf105e9026d606110acf122
* Merge "Revert "Add API method to extract subscription ID from phone account ↵Nancy Chen2014-10-161-10/+0
|\ | | | | | | (1/3)"" into lmp-sprout-dev
| * Revert "Add API method to extract subscription ID from phone account (1/3)"Nancy Chen2014-10-161-10/+0
| | | | | | | | | | | | This reverts commit b0cad32c3cadd0387f6dcd82aade629e6f2f6bee. Change-Id: I54b6373ba0fc7d1ecc64c6ceedc7b371c7017cd8
* | Merge "Add API method to extract subscription ID from phone account (1/3)" ↵Nancy Chen2014-10-151-0/+10
|\ \ | |/ | | | | into lmp-sprout-dev
| * Add API method to extract subscription ID from phone account (1/3)Nancy Chen2014-10-131-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Telephony uses subscription ids and Telecom uses Phone Accounts, there should be an easy way to interface between the two. Since the value of the subscription id and "id" of the phone account should be the same in the case of a SIM phone account, we just need to check that the phone account in question is a SIM phone account and convert the string to a long. This lays in groundwork for the following bugs: Bug: 17925501 Bug: 17917937 Change-Id: I926e969b365d9e9878436302117e8786ec5513b8