summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/TelecomManager.java
AgeCommit message (Collapse)Author
2017-02-14Add extra key for app-specified outgoing call timeoutHall Liu
Bug: 34474757 Test: manual Change-Id: Ia93d68d6a01308b0b93b88977daf983a0ed3a22c
2017-02-12Support for showing self-managed calls in IncallService.Tyler Gunn
Also added new isInManagedCall TelecomManager API, used to determine if there are ongoing managed calls only. Test: Manual, cts Bug: 34159263 Change-Id: Ib8020617607ccb433c2eee9b9d5a2c929665214b
2017-02-06Self managed CS implementation.Tyler Gunn
Add required AIDL changes to pass along connection fails. Test: Manual Bug: 34159263 Merged-In: I0a24ff786b2867aa4e19ac79959df54a04983251 Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
2017-01-23Merge "Deprecate old TelecomManager actions"Brad Ebinger
2017-01-18Adding self-managed connection service APIs.Tyler Gunn
1. Adding new APIs for self-managed connection services. 2. Adding Telecom package-level documentation. Test: Manual (unit, cts pending; this is just scaffolding for now) Bug: 34159263 Change-Id: Ic226ec8bfcb2fbcc02fe802b47499e47aab17d0a
2017-01-12Deprecate old TelecomManager actionsBrad Ebinger
The ACTION_INCOMING_CALL and ACTION_NEW_UNKNOWN_CALL intents are not used anymore and have been replaced with methods in TelecomManager. This change marks them as deprecated. Test: None Bug: 33783690 Change-Id: I840b0ac202237cc43a0540fe64c832e119b33aa2
2016-06-14Add support for Telecom analytics extensionsHall Liu
Add classes for call events and a field for them in ParcelableCallAnalytics. Add classes for timing information on user-visible operations. Add the TelecomAnalytics class as the top-level object for analytics. Add log session timing information to the TelecomAnalytics class, independent of individual calls. Bug: 28623064 Change-Id: Ifee5fdf6b6b341869ff0ff26c4388d357e3d9922
2016-05-06Un-@hide multi-endpoint APIs.Tyler Gunn
Bug: 28621640 This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72. Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
2016-04-18Merge "[Call Timing] Add constants for call timing extras" into nyc-devSailesh Nepal
2016-04-15Hide multi-endpoint APIs.Tyler Gunn
Per feature council decision, the multi-endpoint APIs will be @hide for the N release. Bug: 28196918 Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
2016-04-15[Call Timing] Add constants for call timing extrasSailesh Nepal
This CL defines new extras that can be set in a call's intent extras. These extras track the following: CALL_CREATED_TIME_MILLIS - the time when the call was created by telephony (or another connection service) CALL_TELECOM_ROUTING_START_TIME_MILLIS - the time when telecom started processing the call CALL_TELECOM_ROUTING_END_TIME_MILLIS - the time when telecom finished processing things like call blocking and was ready to connect to the UI These extras can be used by the dialer to track how long it takes for calls to be shown to the user. Bug: 28202119 Change-Id: I8fca259d449adedaeb4ff91d35bf59a7409be866
2016-04-04Remove deprecated API launchManageBlockedNumbersActivityAbhijith Shastry
BUG: 27364137 Change-Id: Ie608c3f75d5fe353a1ba127b0da763c421401eb8
2016-03-14Add API support for multi-endpoint.Tyler Gunn
This CL includes changes required to support multi-endpoint (see the design doc linked off the bug). Main changes include: - support for indicating if a call/connection is "external" to the device. - support for indicating if an external call can be pulled from the remote device to the local device. - API used to initiate a pull of a call external to the current device to the current device. - Made the "connection event" API public (was previously @hide); this will be used to support passing some error events involving pulling calls to the incall ui. - Added new InCallService metadata which will be used to determine if an InCallService wants to be informed of external calls. - New disconnect causes which will be used to expose the fact that a multi-endpoint call was answered elsewhere and that a call ended because it was pulled to another device. - New call log call types to indicate if calls were answered elsewhere or pulled to another device. Bug: 27458894 Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-03-04Tweak createManageBlockedNumbersIntent API documentation.Abhijith Shastry
BUG: 27364137 Change-Id: I82b9802b3108f4d9d405fc55fefa766dbcddd537
2016-02-29Add deprecated annotation to launchManageBlockedNumbersActivity API.Abhijith Shastry
BUG: 27364137 Change-Id: I0c5c05042e6bc05a605613bde7ba3c579c1858ed
2016-02-29Add new API to create an intent to manage blocked numbers.Abhijith Shastry
This replaces the launchManageBlockedNumbersActivity API. BUG: 27364137 Change-Id: I5d5a20d25f0dea8b8e0e998b51f80658ff404e2c
2016-02-11Initialize MD5 in logging in backgroundHall Liu
Use a background task to call MessageDigest.getInstance in order to avoid a possible disk read on initialization. Bug: 26069217 Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
2016-02-08Update TelecomManager docs regarding PhoneAccountsBrad Ebinger
Updates the docs for addNewIncomingCall to mention that if the PhoneAccountHandle representing a PhoneAccount is not registered or not enabled, a SecurityException will be thrown (as of b/26864502). Also notifies the user that PhoneAccounts are stored in DE storage in registerPhoneAccount. Bug: 26874536 Bug: 26780305 Change-Id: I2dae932cfa3404d7d5060dad840a75227793603e
2016-02-02Add API in TelecomManager to launch the UI to manage blocked numbers.Abhijith Shastry
BUG: 26917087 Change-Id: Ide328d250561577f652e3a1ee093b37ad19084d8
2016-01-26Expose a meta-data value to allow dialer ringingSailesh Nepal
This CL exposes a new meta-data, IN_CALL_SERVICE_RINGING. If this is set to true then ringing is played by the dialer instead of Telecom. This CL also adds a new silenceRinger() API to InCallService. This is needed to implement ringer silence on volume key down. BUG: 22857261 Change-Id: I498538282eddbb727104f5b879f25adbef4e6cf6
2016-01-23Merge "Make missed call action public"Sailesh Nepal
2016-01-22Make missed call action publicSailesh Nepal
This CL makes the missed call notification action public. This will be used by the dialer app to show it's own missed call UI. See ag/850080 for more info. BUG: 22857261 Change-Id: Ifae82d3036a278e5619edc8c766a1d0781296e72
2016-01-21Add metadata for car-mode in-call.Santos Cordon
Change-Id: Ic2d55889e0ab65195bee549837b51c581ce5076a
2016-01-15Add method to dump Telecom analyticsHall Liu
Add dumpAnalytics in TelecomManager to allow the connectivity stats service to access Telecom analytics for uploading. Change-Id: I197d6af340fac7f38b28bb44a476b5e694db4dba
2015-12-08Merge "Add extras tag for analytics support"Hall Liu
2015-11-24Add "acceptRingingCall()" API which accepts a videoState.Tyler Gunn
- Added acceptRingingCall API which accepts a videostate to complement the existing API. Bug: 20159300 Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
2015-11-19Add extras tag for analytics supportHall Liu
Change-Id: I174de505cb96206f90d3cc5ba8fcca7ed9908b7f
2015-10-09Add TelecomManager constructor for passing in TelecomServiceImplHall Liu
override Bug: 24618535 Change-Id: I2dafcc9ab496de94eb6a6894916030ed4e7556f8
2015-09-27am 18b76bf6: am 861559d3: am 24e5efda: Merge "Add additional broadcast for ↵Bryce Lee
when a phone account is unregistered." into cw-e-dev * commit '18b76bf6755b4e3469b17f6f898a40bb1fe70a63': Add additional broadcast for when a phone account is unregistered.
2015-09-23Add additional broadcast for when a phone account is unregistered.Bryce Lee
Change-Id: Ia14a4206ea50af11c6151e11a95851e5ffa2cd99
2015-09-21Add permission annotations to TelecomManagerYorke Lee
Change-Id: I1394429d2e183165ba0e4c63da4952837d0a63e3
2015-08-10add call back intents for clearing missed calls and calling back.Bryce Lee
Change-Id: Ib81fecc21c5491f975fa7c44f4e5984a4b3f8e7f
2015-08-03Add action for notifying custom components of missed calls.Bryce Lee
Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
2015-07-30Add telecom extra keys required for DMR release.Tyler Gunn
Bug: 22848290 Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
2015-07-28Default permissions for sim call managerSailesh Nepal
This CL adds the following permissions by default to the SIM call manager: - microphone - phone BUG: 22790160 Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
2015-06-29Telecom API council changes.Santos Cordon
- adding more javadocs. - fixing javadoc on isEnabled - renaming to CONFIGURE_PHONE_ACCOUNT Bug: 21573551 Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
2015-06-23InCallService meta-data [2/4]Santos Cordon
Bug: 21816241 Change-Id: I9af91a1287f652247ef590878759aa277bd925e5
2015-06-22Additional javadoc.Santos Cordon
Change-Id: Iba7f9315521314d066a166ba884ac71c3a9c2496
2015-06-18Clean up SIM CallManager APIs.Santos Cordon
Bug: 21499476 Change-Id: Iaded74c6b885b0745dfa85d0b7733bdad75d615a
2015-06-15Send broadcast when default dialer changesYorke Lee
Add hidden TelecomManager.setDefaultDialer for system apps to set the default dialer and trigger the broadcast Bug: 21846308 Change-Id: Ifdd30cd1323ab0157edf7fd966173b6c52df6ba0
2015-06-09Rename TelecomManager.EXTRA_INCOMING_CALL_ADDRESSYorke Lee
Bug: 19696065 Change-Id: Ibe253c8cd66938ea1cd560d443008026eb1005d9
2015-06-05Add telecom extra to specify handle for incoming callYorke Lee
Bug: 19696065 Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84
2015-06-02Allow default dialer changes and phone account enable/disable via ADBYorke Lee
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
2015-05-29Add ability to modify default dialer via ADBYorke Lee
Add hidden action to TelecomManager Change-Id: I698c0154f438cdaf78926f12a261cbc0eb807cd0
2015-05-28Make ACTION_CONNECTION_SERVICE_CONFIGURE publicYorke Lee
Bug: 21499146 Change-Id: I3b931231807eec0aed91832013c7c055005fc9ad
2015-05-20Add intents for enabling phone accounts.Santos Cordon
Bug: 20303449 Change-Id: If0057d42373b6964193c562ae8a8487a0299da76
2015-05-19Add enable/disable properties to phone accounts.Santos Cordon
Bug: 20303449 Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8
2015-05-13Improve javadoc for PRESENTATION_ constants.Santos Cordon
Bug: 21089678 Change-Id: I045fd71a30c75c213dd5c0c64ded983ea5e5d866
2015-05-12More video related API fixesYorke Lee
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
2015-05-05Fix potential NPE in TelecomManager.placeCallYorke Lee
Don't pass null parameters Change-Id: Icf8f4eb3e96a51a5c091322c83ae163e366c21de