• Home
  • History
  • Annotate
  • only in /frameworks/base/telecomm/java/android/telecom/
History log of /frameworks/base/telecomm/java/android/telecom/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4fa6a01898be85999e12b62bb52debb838e1bd0c 15-Jun-2016 Brad Ebinger <breadley@google.com> Handle Concurrency issues in Connection

Currently, there is a possibility of concurrent thread operations to the
Extras bundle in Conference/Connection. This can cause unexpected
behavior. We have added a lock on the Extras to prevent that from
occuring.

Bug: 29330310
Change-Id: Id63a9797c2f748120a3df8e3ce06c4ce3891c651
onference.java
onnection.java
9ece3034028dfa9692610b98cf39864286bd4121 20-May-2016 Tony Mak <tonymak@google.com> Remove PROPERTY_WORK_CALL


Bug: 28842878
Change-Id: I7fb28ec3b121f4546ea60d6b170c2c6d98ffcb8c
all.java
53b5df43b49b191e442c4d2c7b9a9cba3ebdcf92 19-May-2016 Tony Mak <tonymak@google.com> Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

TODO: After updating all places that use the SDK, remove/hide the old API

Bug: 28842878

Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad
all.java
7e745ec49c0458f92af65bf370770417dcc7075d 18-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection am: e370b538eb
am: 58642e6545

* commit '58642e65455ee9456993a2f6386402fbcec68ab8':
Add null pointer check in removeConnection

Change-Id: Ia4d14a664c9869d1065313db6795ac4e72dee59d
58642e65455ee9456993a2f6386402fbcec68ab8 18-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection
am: e370b538eb

* commit 'e370b538ebb6ca1072f270aee3003faaa0d1deb2':
Add null pointer check in removeConnection

Change-Id: I7b615a8f7c7a89617c4f748ad74007ec73db6784
e370b538ebb6ca1072f270aee3003faaa0d1deb2 13-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection

Bug: 28607777
Change-Id: I199ed75740796540d243ad9f507ab2511c9ed3c1
onnectionService.java
b05e4851d01473432e841e757f2c96fd60ab300e 19-Apr-2016 Sailesh Nepal <sail@google.com> Merge "[Call Timing] Add constants for call timing extras" into nyc-dev
1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72 15-Apr-2016 Tyler Gunn <tgunn@google.com> Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
all.java
onference.java
onnection.java
isconnectCause.java
nCallService.java
emoteConference.java
emoteConnection.java
elecomManager.java
da6bb3883f11f75eb21d2ecc10bec7a2ce533539 15-Apr-2016 Sailesh Nepal <sail@google.com> [Call Timing] Add constants for call timing extras

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
elecomManager.java
9bacdabf3e44130963890b9712840d34c494d77d 01-Apr-2016 Abhijith Shastry <ashastry@google.com> Remove deprecated API launchManageBlockedNumbersActivity

BUG: 27364137
Change-Id: Ie608c3f75d5fe353a1ba127b0da763c421401eb8
elecomManager.java
53c76457e41cb9fe8a8b65068b795a986e94f7af 01-Apr-2016 Tyler Gunn <tgunn@google.com> Merge "Add hidden capability to indicate account supports emergency video calls." into nyc-dev
53befa2e0b6b8b9f4c8f9df04acef3bfff575a1f 29-Mar-2016 Tyler Gunn <tgunn@google.com> Merge "Add missing null checks on Conference and Connection." into nyc-dev
a8fb8aba7ce464a9d42f4e4ac42f76aa90d050e9 29-Mar-2016 Tyler Gunn <tgunn@google.com> Add missing null checks on Conference and Connection.

Also add missing bundle passing for Connection Events.

Bug: 27850430
Change-Id: I0f79635929cbe5da18b528b6c1119c7ce4d8e32b
onference.java
onnection.java
720c664401081ca00e56c7eef12641ae792da530 22-Mar-2016 Tyler Gunn <tgunn@google.com> Add connection properties to Connections.

- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: Icce921b03cda514a991646ed39a26559c7e91230
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
arcelableConference.java
arcelableConnection.java
emoteConference.java
emoteConnection.java
emoteConnectionService.java
cee9ea62b096e0b882e197fdb8d8b934795b02b8 24-Mar-2016 Tyler Gunn <tgunn@google.com> Add hidden capability to indicate account supports emergency video calls.

This is used by Telephony to let Telecom know when emergency video calls
are supported.

Bug: 27484017
Change-Id: I317070b326e27e74d58afcb247746bdd2552d67b
honeAccount.java
dee56a8a79f9daa1e597f5d4f399d3a5feedcac4 24-Mar-2016 Tyler Gunn <tgunn@google.com> Expand call/connection extras API.

Currently, connection extras are propagated up to Telecom as an
entire bundle. This is not ideal, as any time a change is made to
the extras, the bundle needs to be fetched, changed, and then re-set on
the connection, where it is parceled to Telecom as a whole.

Using how extras on an Intent as inspiration, this CL adds separate
putExtras, putExtra, and removeExtra methods to allow manipulation of
the extras bundle without operating on it in its entirety.

This Cl also adds support for Calls modifying the extras bundle, with
changes propagated back down to ConnectionServices.

Bug: 27458894
Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
nCallAdapter.java
emoteConference.java
emoteConnection.java
emoteConnectionService.java
f0ec2e005083808bf68f9f0049b801276c290ae2 21-Mar-2016 Jeff Sharkey <jsharkey@android.com> Mark even more Bundles as defusable.

Bug: 27766193
Change-Id: Ib027ac7b40c7a575a76f289faabde9655338865e
arcelableConnection.java
9bc6ba974608592df72b2456e7dfa285741364ea 18-Mar-2016 Brad Ebinger <breadley@google.com> Merge "Update docs to better document PhoneAccountHandle" into nyc-dev
7904a972e1178d2157263cecdcaaf4917c0fffdf 18-Mar-2016 Tyler Gunn <tgunn@google.com> DO NOT MERGE Add new ConnectionEvent API (hide) to send a notification to Telecom

Connection event used to inform Telecom that it should play or stop
the on hold tone. This is used to play or stop a tone when the peer
puts the current call on hold.

BUG=25357778
Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
emoteConnection.java
emoteConnectionService.java
428cec9056234e32497a91da91d2f81e9309cd83 15-Mar-2016 Brad Ebinger <breadley@google.com> Update docs to better document PhoneAccountHandle

Warns developers to not create PhoneAccountHandles with null
arguments. If they do, a log warning is printed, reminding them that the
APIs should not be used in this manner.

Bug: 26684527
Change-Id: I03895cac9d732ee618649d38176d48620f705a1b
honeAccountHandle.java
792ad96eea1ad10da3a65f2655c194a544f49939 17-Mar-2016 Hall Liu <hallliu@google.com> Prevent multi-threaded access to digest object

Bug: 27717431
Change-Id: I3ebd1dda7386c35078c0624df1446e64c3fb0aa0
og.java
712acbe13c76b2274b34d7ca40c4bbcc436b0cda 15-Mar-2016 Hall Liu <hallliu@google.com> Un-hide Connection#onReject(String) and its associated capability

The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION

Bug: 27501686
Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778
onnection.java
876dbfb4767da4a2ba5459d5b78fb6eb55e4516f 14-Mar-2016 Tyler Gunn <tgunn@google.com> Add API support for multi-endpoint.

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
all.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
isconnectCause.java
nCallAdapter.java
nCallService.java
hone.java
emoteConnection.java
emoteConnectionService.java
elecomManager.java
ec30d2fd125cf68c274917169e6d0d2ba13bd2c7 05-Mar-2016 Abhijith Shastry <ashastry@google.com> Tweak createManageBlockedNumbersIntent API documentation.

BUG: 27364137
Change-Id: I82b9802b3108f4d9d405fc55fefa766dbcddd537
elecomManager.java
35293d2ff7de5d98f9bc5a4417de66147f4a1cf5 01-Mar-2016 Abhijith Shastry <ashastry@google.com> Merge "Add deprecated annotation to launchManageBlockedNumbersActivity API." into nyc-dev
3041048a0a978e4b43d0dec64ec58de552644920 01-Mar-2016 Santos Cordon <santoscordon@google.com> Merge "Adding toStrings() to the API." into nyc-dev
6701be428cc3d96dd1735238f3f4299cf5eecaed 01-Mar-2016 Abhijith Shastry <ashastry@google.com> Add deprecated annotation to launchManageBlockedNumbersActivity API.

BUG: 27364137
Change-Id: I0c5c05042e6bc05a605613bde7ba3c579c1858ed
elecomManager.java
1ce163fe34ae05218d723acafc4dd47bd55cc8da 29-Feb-2016 Abhijith Shastry <ashastry@google.com> Merge "Add new API to create an intent to manage blocked numbers." into nyc-dev
a26fe99b1ecf9a2dc35aba72a97e2a4e05de543c 29-Feb-2016 Abhijith Shastry <ashastry@google.com> Add new API to create an intent to manage blocked numbers.

This replaces the launchManageBlockedNumbersActivity API.

BUG: 27364137

Change-Id: I5d5a20d25f0dea8b8e0e998b51f80658ff404e2c
elecomManager.java
a0a8f75699636485d80497e5e6734233fef776f9 29-Feb-2016 Omkar Kolangade <omkark@codeaurora.org> Merge "IMS Connection Capabilities Update" into mm-wireless-dev
am: 4aeafd8f27

* commit '4aeafd8f27852bdb684711f1df807ff0e59cb354':
IMS Connection Capabilities Update
4aeafd8f27852bdb684711f1df807ff0e59cb354 29-Feb-2016 Tyler Gunn <tgunn@google.com> Merge "IMS Connection Capabilities Update" into mm-wireless-dev
3c20d633731a3a2f6ea03012cb4b1d4903a31520 26-Feb-2016 Santos Cordon <santoscordon@google.com> Adding toStrings() to the API.

Bug: 16979045
Change-Id: Ibbe1bcea6ab7981f62e7fb4bbe35f71e881166bd
all.java
og.java
256aa5afd7329c5d784220bed99b2cb3904092b4 25-Feb-2016 Santos Cordon <santoscordon@google.com> Merge "Add APIs to support CDMA add-call limitations." into nyc-dev
86c9fb41736f5848acf7baf71ebfe39df204ad4b 24-Feb-2016 Tyler Gunn <tgunn@google.com> Adding missing break statements causing crash on MSG_SET_EXTRAS.

The case block for MSG_SET_EXTRAS was missing its break statement, all
the way back to summer 2015 when that code was originally added.

When the new MSG_ON_CONNECTION_EVENT handler was added, it introduced a
new potential fall-through from MSG_SET_EXTRAS (in addition to the fact it
too was missing a break statement).

Bug: 27338441
Change-Id: I2df2bc78c4ceb32e6245888eed18c2d8834e629b
onnectionServiceAdapterServant.java
a6018b9bf4308f10ee15a510da0fffcfd57c1f7a 16-Feb-2016 Santos Cordon <santoscordon@google.com> Add APIs to support CDMA add-call limitations.

Bug: 22850789
Change-Id: I63de958c6c788a7da5696416e59d2f43cbe633cc
onnectionService.java
isconnectCause.java
bd1eb1f105e99d55fe87d758e8eafbe55a221a30 16-Feb-2016 Tyler Gunn <tgunn@google.com> Add new ConnectionEvent API (hide) to send a notification to Telecom

Connection event used to inform Telecom that it should play or stop
the on hold tone. This is used to play or stop a tone when the peer
puts the current call on hold.

BUG=25357778
Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
emoteConnection.java
emoteConnectionService.java
e362e501ee5d8f892d705c0762eff0a584cfb439 08-Jan-2016 Hall Liu <hallliu@google.com> Initialize MD5 in logging in background

Use a background task to call MessageDigest.getInstance in order to
avoid a possible disk read on initialization.

Bug: 26069217
Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
og.java
elecomManager.java
6579e696fce978987e819d964d0f36179c05d5e0 11-Feb-2016 Hall Liu <hallliu@google.com> Merge "Initialize MD5 in logging in background" into cw-e-dev
am: 5839e7804c

* commit '5839e7804c717f3b398fd777540e2297e8c85300':
Initialize MD5 in logging in background
ec0d33490ab48b40d1d18723935f49f41072164b 30-Jan-2016 Brad Ebinger <breadley@google.com> Update TelecomManager docs regarding PhoneAccounts

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
elecomManager.java
3af4eb5b5076bef618b4b5e48b7d11813d973fe3 04-Feb-2016 Abhijith Shastry <ashastry@google.com> Merge "Add API in TelecomManager to launch the UI to manage blocked numbers."
1908cb84a5fdf7cc10892d54da8e2411c8d1c1c6 02-Feb-2016 Abhijith Shastry <ashastry@google.com> Add API in TelecomManager to launch the UI to manage blocked numbers.

BUG: 26917087
Change-Id: Ide328d250561577f652e3a1ee093b37ad19084d8
elecomManager.java
f2301bcbbfa68c851f02bb23fa148d5e95ac3c70 30-Jan-2016 Hall Liu <hallliu@google.com> Remove check for missing parent calls

Telecom now guarantees that when sending a conference call to an in-call
service, all children will be sent before any parents. Thus, it is
acceptable for children to temporarily have invalid references to
parent calls, but not vice versa.

Bug: 26818778
Change-Id: Id34e4c3a773e6f7c75be8c85ec2642cf05dabe0a
hone.java
a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191 20-Jan-2016 Tyler Gunn <tgunn@google.com> DO NOT MERGE Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
all.java
onnection.java
f44607142f2793773fb240d73ff0cfc2aba1165b 28-Jan-2016 Sailesh Nepal <sail@google.com> Make CallScreening.CallResponse static

A small mistake in my previous CL. The response object
needs to be static.

Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9
allScreeningService.java
1bef339b88b3f760603dcc08d79a62647fc18296 25-Jan-2016 Sailesh Nepal <sail@google.com> Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
- this breaks some in call services which show UI as soon as they are
bound to
- the in call service lifecycle is tightly coupled to adding and
removing calls. Call screening happens before a call is added which
makes it a bad fit to in call service
- call screening is a function of only the default dialer's in call
service but the existing code also binds to "controller" call
services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
all.java
allScreeningService.java
9c2618b17fe580d70994ba8f5d999f20804575f9 24-Jan-2016 Sailesh Nepal <sail@google.com> Expose a meta-data value to allow dialer ringing

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
nCallService.java
hone.java
elecomManager.java
0d3493532b3bf489ec24226ee2f0c687dd5b643e 26-Jan-2016 Tyler Gunn <tgunn@google.com> Merge "Add capability to determine if downgrade to audio is denied."
a0f46a9e7d445852e1746594f0e90ea985f7d5bf 24-Mar-2015 Omkar Kolangade <omkark@codeaurora.org> IMS Connection Capabilities Update

IMS connection capabilities were not getting
propagated to the upper layers whenever a
capability was added or removed. Adding the
same.

Change-Id: Ic67d76df05c8b2a1b8abaf27f266fe9693764e52
onference.java
9c4b82cf95b73e0125d602e505dae07b77d240ad 23-Jan-2016 Sailesh Nepal <sail@google.com> Merge "Make missed call action public"
be15ad9b7994f1a16447c2299e88e779dde33ecf 22-Jan-2016 Sailesh Nepal <sail@google.com> Make missed call action public

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
elecomManager.java
888815501b25901fd20a7c30d90a704f6782815e 11-Dec-2015 Santos Cordon <santoscordon@google.com> Add metadata for car-mode in-call.

Change-Id: Ic2d55889e0ab65195bee549837b51c581ce5076a
elecomManager.java
f97a009f7645690a92bdef3a3ef39298deaff4b7 20-Jan-2016 Tyler Gunn <tgunn@google.com> Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
all.java
onnection.java
b401a94d843bb12660bf4fd1f0d3e4d788e19faa 19-Jan-2016 Tony Mak <tonymak@google.com> Make getInstalledDialerApplications to query for specific user

BUG=26634502

Change-Id: I8fe5506589bae85e3babba1aaab3b737cd12543b
efaultDialerManager.java
0464b9ba16ea49f7bff55d7d85231c6dd832b58e 13-Jan-2016 Hall Liu <hallliu@google.com> Add method to dump Telecom analytics

Add dumpAnalytics in TelecomManager to allow the connectivity stats
service to access Telecom analytics for uploading.

Change-Id: I197d6af340fac7f38b28bb44a476b5e694db4dba
arcelableCallAnalytics.aidl
arcelableCallAnalytics.java
elecomManager.java
f5afe6ab8d0572fc407d0af8c154ba1a4a30dd20 12-Jan-2016 Tyler Gunn <tgunn@google.com> Merge "Add KEY_USE_RCS_PRESENCE_BOOL carrier config option."
3e122f76f1648a1ad87f7492c6c491d5dfaf54ea 12-Jan-2016 Tyler Gunn <tgunn@google.com> Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.

- New carrier config option is used to determine if presence is used
to determine whether a contact is capable of video calling.
- Also, improve logging for PhoneAccount capabilities.

Bug: 20257833
Change-Id: Ifcc7df95677eb4399f08eb8849c4004892957e90
honeAccount.java
468bb1a56c05dce8406882f3399af0ccf8402fc1 08-Jan-2016 Hall Liu <hallliu@google.com> Initialize MD5 in logging in background

Use a background task to call MessageDigest.getInstance in order to
avoid a possible disk read on initialization.

Bug: 26069217
Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
og.java
elecomManager.java
48d021026a13fa1e1c892de281b55c3c9c2b5754 08-Jan-2016 Tyler Gunn <tgunn@google.com> Adding @IntDef checking for Video Quality and Video State values.

Admittedly this isn't going to cause a build breakage for anyone misusing
the values, but it should help make issues more aware at code authoring
time.

See http://goo.gl/zaH4RE for more information.

Change-Id: I3f20dc4bff364dec290d4b647e31f8032d4a13ec
ideoProfile.java
64ef34bc1a07655afee5e6b5d17bfeabc16e7943 06-Jan-2016 Tony Mak <tonymak@google.com> Merge "Add a new property PROPERTY_WORK_CALL"
ae85bc3c65b33b8b00b610246e41e282d16605b9 23-Oct-2015 Tyler Gunn <tgunn@google.com> [DO NOT MERGE] Add "acceptRingingCall()" API which accepts a videoState.

- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
elecomManager.java
c831e36b60279ff704ba2bf230c651da8e2bf259 05-Jan-2016 Sailesh Nepal <sail@google.com> Merge "Fix InCallService permission doc"
2f3e35376ada0327b34a71d7c45ac6e6d955d7dc 21-Dec-2015 Jeff Sharkey <jsharkey@android.com> More work towards triaging missing app behavior.

Many places across the platform query package details without
gracefully handling packages or components that go missing for
various reasons. This can cause annoying user data loss, such as
resetting back to built-in apps or dropping of accounts, etc.

This change verifies that system callers have thought about these
edge cases by logging if they use default matching behaviors without
explicitly marking themselves as being "triaged." (The logging is
currently disabled by default.)

Also creates explicit definitions of supported flags for various
incoming PackageManager calls, and defines a clear distinction
between flag types:

-- GET-style flags are used to request additional data that may have
been elided to save wire space.

-- MATCH-style flags are used to include components or packages that
would have otherwise been omitted from a result set by current system
state.

There are a handful of existing GET flags that better fit under the
MATCH definition, so this change clones them to new constants and
marks the old ones as deprecated.

Fixes bug in JobSchedulerService to consider jobs from apps on
external storage. Revert some dialer behavior back to being
untriaged.

Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318
efaultDialerManager.java
bd1bf125e4c2e2324f71e5a661a219f4d1c73fa9 04-Jan-2016 Tyler Gunn <tgunn@google.com> Merge "Fix capability/property checking methods to handle multi-bit capabilities."
78f3ba6ea49f1279bb29577cbd97baf3eb8b1fe3 29-Dec-2015 Sailesh Nepal <sail@google.com> Fix InCallService permission doc

Small typo in the docs for InCallService.

Change-Id: I551248858723047d30061d164976fb2e3418ed67
nCallService.java
2a9e3f8e6813716ab88ca54fd04ae047dc9aaaeb 18-Dec-2015 Jeff Sharkey <jsharkey@android.com> Better named encryption flags, start triaging.

Create distinct flags for encryption aware, unaware, and both, and
name them like the other MATCH_ flags.

Start adding logic to help triage all system internal callers to
verify that they've done their homework and thought about how to
handle apps while locked. Call sites in the system should either
ask for explicit matching behavior, or explicitly use the DEFAULT
match flag to indicate that they've been triaged to use the
default state-based matching.

Bug: 26250295
Change-Id: I86214e5c4f71a6dc72f06930800388713aecd107
efaultDialerManager.java
a68dcce8c3a3ce9e9ffac8154044bb627f23450c 17-Dec-2015 Tony Mak <tonymak@google.com> Add a new property PROPERTY_WORK_CALL

In our current design, in-call ui in parent user is used.
We need a way for Telecom to tell in-call ui that is the call a work
call or not show that we can have some UI changes to reflect it.

Bug: 26022174
Change-Id: I5f54371ddac14ffdb50359c2e792b9f24858bcb8
all.java
014c711b0db81ce709b0ccad3e50b3d10227edd8 18-Dec-2015 Tyler Gunn <tgunn@google.com> Fix capability/property checking methods to handle multi-bit capabilities.

Some capabilities, such as CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL
are defined in terms of other capabilities; eg:
CAPABILITY_SUPPORTS_VT_LOCAL_RX | CAPABILITY_SUPPORTS_VT_LOCAL_TX

The current capability logic will return TRUE if checking for
CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL and either of the TX or RX bits
is on; which is incorrect. Yay cts tests for finding this.

Bug: 26272951
Change-Id: I55a5676674ee74e213deb3a07e226b04a37d10ee
all.java
onnection.java
e502924ed3d333b673c3c569abbf1d9c7e483fde 17-Dec-2015 Tyler Gunn <tgunn@google.com> Merge "Remove dependency on android.telecom.Call in VideoCallImpl for testing."
9e4d4143cf64df95e0bf129068e323230ff15447 10-Dec-2015 Tyler Gunn <tgunn@google.com> DO NOT MERGE Add PhoneAccount capability to indicate if VT uses presence.

Added new PhoneAccount capability used to indicate whether the dialer
should use the presence bit in the contacts provider to determine when
the video call icon is shown or not.

Bug: 20257833
Change-Id: Ifb3cc5b7ff1090d539dfb925dce9f6327de15c46
honeAccount.java
6baa707133fa18a93ecb9482316338d161f2ec5e 12-Dec-2015 Tyler Gunn <tgunn@google.com> Merge "Add PhoneAccount capability to indicate if VT uses presence."
cb663902c439691a9377fb681a203fe9d8596809 11-Dec-2015 Tyler Gunn <tgunn@google.com> Merge commit '73831680cd7e47df103cf60a2230ed411e5d3b93' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
6714030083b1d8ec5b2df6dfef08034d0d30c2fe 10-Dec-2015 Jack Yu <jackyu@google.com> merge from master

Change-Id: Ic03669db3f4595336a7dbc13ffc77d055d11acf9
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
9a365756b3610a377d643f1289905364548a9e61 10-Dec-2015 Tyler Gunn <tgunn@google.com> Add PhoneAccount capability to indicate if VT uses presence.

Added new PhoneAccount capability used to indicate whether the dialer
should use the presence bit in the contacts provider to determine when
the video call icon is shown or not.

Bug: 20257833
Change-Id: Ifb3cc5b7ff1090d539dfb925dce9f6327de15c46
honeAccount.java
70ac616b3851a063b974cf5e5c8bc764994cab7d 08-Dec-2015 Hall Liu <hallliu@google.com> Merge "Add extras tag for analytics support"
584ba6c1d156af1a1295fb101cd085577ac82ece 08-Dec-2015 Tyler Gunn <tgunn@google.com> Remove dependency on android.telecom.Call in VideoCallImpl for testing.

VideoCallImpl had a depedency on android.telecom.Call, which was used
to get the current video state of a call when the user issues a
session modify request (we need to know what the video state was before
the request was sent). This proved problematic for unit tests, as
android.telecom.Call is a final class and cannot be mocked.

These changes assume the VideoCallImpl will instead have a video state
property, which is updated by the Call whenever it changes. This
removes the dependency on the Call, and makes it possible to unit test the
API.

Change-Id: Ie67255d68b23e32aa177b30ac6439632fad5cc27
all.java
arcelableCall.java
ideoCallImpl.java
6e2d208097a1a70295a9927fb692d63966ce8054 05-Dec-2015 Tyler Gunn <tgunn@google.com> Merge commit '73831680cd7e47df103cf60a2230ed411e5d3b93' into tgunn-mncvtdev-to-master-2015-12-04
568f4de11a87308cbcb888083f02818a8290a7d7 03-Dec-2015 Neil Fuller <nfuller@google.com> Merge "Fix @code escapes"
71fbb81b14958b80fe55738607740c6630e4e9da 30-Nov-2015 Neil Fuller <nfuller@google.com> Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
nCallService.java
085796bdf5e106abd42db2d0ef7d3aee899a766b 01-Dec-2015 Bryce Lee <brycelee@google.com> Merge "DO NOT MERGE ANYWHERE" into cw-e-dev
842ec9c407f781f520540db69f92105e9025dc7c 30-Nov-2015 Bryce Lee <brycelee@google.com> Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583 am: b241487c16 am: 64e41590d2
am: 0ca7de9031

* commit '0ca7de90310034d118f21343a69a38ebc02dd0bc':
Add callback for connections to be notified when the ringer is silenced.
6676bb5da58613dedae454d998e78a88d8e679cc 23-Oct-2015 Tyler Gunn <tgunn@google.com> Add "acceptRingingCall()" API which accepts a videoState.

- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
elecomManager.java
90f62907b666b9a00c3fe086d80067f961181c66 20-Nov-2015 Hall Liu <hallliu@google.com> Add extras tag for analytics support

Change-Id: I174de505cb96206f90d3cc5ba8fcca7ed9908b7f
elecomManager.java
cac50775b2e13c293d224b8d09feb15f9ee40c3f 18-Nov-2015 Bryce Lee <brycelee@google.com> Add callback for connections to be notified when the ringer is silenced.

Bug: 25644529
Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
onnection.java
onnectionService.java
dd976b1b0dab6655e180eecd0d2c44658b66f529 17-Nov-2015 Bryce Lee <brycelee@google.com> DO NOT MERGE ANYWHERE

Add ability to set supported audio routes on phone accounts and connection.

The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.

Bug: 25485578
Change-Id: Ia1ca665e9ae8852a2538ab7cbeb3a73217d9b03b
all.java
allAudioState.java
onnection.java
onnectionService.java
arcelableCall.java
arcelableConnection.java
honeAccount.java
5da678f71b9112accfdf84fb448eeedc65099889 21-Oct-2015 Tyler Gunn <tgunn@google.com> Merge "Add extras keys for instant lettering."
38f0119b096d95bb5d22558823fb118b8396fea5 17-Oct-2015 Bryce Lee <brycelee@google.com> am adf38ccb: am b70426b1: am 4c9fcd54: Merge "Add capability to identify phone accounts that are emergency only." into cw-e-dev

* commit 'adf38ccb6ea0a3b406273061d1fc01f61bc6abb6':
Add capability to identify phone accounts that are emergency only.
d666a8d9594d19fa7c7b39815bd03601721d9417 16-Oct-2015 Tyler Gunn <tgunn@google.com> Merge "Move position of bundle parceling for PA extras."
b96d89cd342ad5c3a55d620e2f8922e2fed152e7 15-Oct-2015 Bryce Lee <brycelee@google.com> Add capability to identify phone accounts that are emergency only.

Bug: 24756957
Change-Id: Id26eaa7f6632674f7122b4cd658cbe2bf9b04594
honeAccount.java
d426b20cd88b5fe9db1b103570e9e6ca35c89d4e 13-Oct-2015 Tyler Gunn <tgunn@google.com> Add extras keys for instant lettering.

- Also fix bug where copy-builder for PA was not copying over the extras.

Bug: 22806380
Change-Id: If25a1299bdd0a48340e9d13857f982a90d728af6
honeAccount.java
e1bc2ec7101472a9f2495f65e0b49d7888ed957f 10-Oct-2015 Hall Liu <hallliu@google.com> Add TelecomManager constructor for passing in TelecomServiceImpl
override

Bug: 24618535
Change-Id: I2dafcc9ab496de94eb6a6894916030ed4e7556f8
elecomManager.java
ef829ece3c45b33d51d1a8ef584d9d2f5dd55095 08-Oct-2015 Tyler Gunn <tgunn@google.com> Move position of bundle parceling for PA extras.

Bug: 22806380
Change-Id: I9797ee0f6c9b5143ccd3417cfd5a7b631a4db480
honeAccount.java
25ed2d7aecf0ac112d38c2434e17bf1ad17f0687 05-Oct-2015 Tyler Gunn <tgunn@google.com> Add "Extras" to PhoneAccount.

- Add extras to PhoneAccount, and associated builder.

Bug: 22806380
Change-Id: I90f4c1a9b022eef7e6d2829d82851ac307ceafdf
honeAccount.java
5821983253f7a9e66cca09cacf8d2e907cf73524 27-Sep-2015 Bryce Lee <brycelee@google.com> am 18b76bf6: am 861559d3: am 24e5efda: Merge "Add additional broadcast for when a phone account is unregistered." into cw-e-dev

* commit '18b76bf6755b4e3469b17f6f898a40bb1fe70a63':
Add additional broadcast for when a phone account is unregistered.
30b0aa04dc4ca1b7a690cb36524ae7f6be147c12 24-Sep-2015 Bryce Lee <brycelee@google.com> Add additional broadcast for when a phone account is unregistered.

Change-Id: Ia14a4206ea50af11c6151e11a95851e5ffa2cd99
elecomManager.java
c61d1366ffa1cd3e4766956b507cbe01910108dc 22-Sep-2015 Yorke Lee <yorkelee@google.com> Add permission annotations to TelecomManager

Change-Id: I1394429d2e183165ba0e4c63da4952837d0a63e3
elecomManager.java
6b3db37f3cced17af107d452799f700f3cc56754 17-Sep-2015 Tyler Gunn <tgunn@google.com> Merge "Support for Telecom Call IDs."
f0500bd63571c667df7865d7484c89f671382711 01-Sep-2015 Tyler Gunn <tgunn@google.com> Support for Telecom Call IDs.

Add support for caching telecom call ID in connection and conference
classes.

Enhance connection service call ID generation:
For "existing calls", the connection service will try to use a call ID
of the format ClassName@ID
Where ClassName is the ComponentName of the connection service, and ID
is a unique incrementing ID for the connection service.

Bug: 23357902
Change-Id: I2284b018465e2b330fc8a3b556758e9f34a2daba
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
5a0b7e980074cd2412dfda3cb581600b9edcfbb3 01-Sep-2015 Bryce Lee <brycelee@google.com> am 8bfa215a: am 3ef68803: am ad9a0efc: Merge "Add capability for a connection hand rejection text response." into cw-e-dev

* commit '8bfa215ab1ea29cc51ad38fbf4728542c8cb0aae':
Add capability for a connection hand rejection text response.
8190168077aa3ef02a1f5a3a636130d83c4eec1d 29-Aug-2015 Bryce Lee <brycelee@google.com> Add capability for a connection hand rejection text response.

Change-Id: Id90417736bed7ab8750144ccaf3c7b449ec832b8
all.java
onnection.java
onnectionService.java
10397d377db41519afd294d110e4564d7ef0ec15 20-Aug-2015 Tyler Gunn <tgunn@google.com> am 393a93ab: am 7d4cf23f: am 9e191aa6: am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '393a93abaf8eb14a6b7efebcd7665484558161f8':
Fix incorrect android.telecom.Call.Details equality check.
9e191aa634c1eb3b24ced704b7fc6c5e1e4ef9c0 20-Aug-2015 Tyler Gunn <tgunn@google.com> am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit 'a65626031017517331fd402541b5e8f072c46a34':
Fix incorrect android.telecom.Call.Details equality check.
a65626031017517331fd402541b5e8f072c46a34 20-Aug-2015 Tyler Gunn <tgunn@google.com> am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
Fix incorrect android.telecom.Call.Details equality check.
1e9bfc6461d3fe5455c9d7a21414ec66695b5798 19-Aug-2015 Tyler Gunn <tgunn@google.com> Fix incorrect android.telecom.Call.Details equality check.

The the android.telecom.Call.Details class provides its own equals
implementation. Recently added in M is to also check if the mExtras
and mIntentExtras are different. Unfortunately, Bundles do not implement
equals. As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount). Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee
all.java
99ba7ad73c18cfe6942281ffbda07185c74e7dc7 14-Aug-2015 Svetoslav Ganov <svetoslavganov@google.com> am f6401419: am 340314fd: am 7c3d595a: am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev

* commit 'f64014195b6d7bdc2f4d79f3c4c71de16d2fe338':
Add GTS test to ensure valid default permission grants - framework
7c3d595a3d2bdded486a01d6b00a435f4881ceed 14-Aug-2015 Svetoslav Ganov <svetoslavganov@google.com> am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev

* commit '4b655fd193992afff948df513c7b9b9a0389972e':
Add GTS test to ensure valid default permission grants - framework
4b655fd193992afff948df513c7b9b9a0389972e 14-Aug-2015 Svetoslav Ganov <svetoslavganov@google.com> am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev

* commit 'b045331fcb033507072bfd7899a147bb2be7176e':
Add GTS test to ensure valid default permission grants - framework
52153f4c0540a991b5b7214f4f14b5a891479a3c 11-Aug-2015 Svet Ganov <svetoslavganov@google.com> Add GTS test to ensure valid default permission grants - framework

The platform grants runtime permissions by default to apps on the
system image that provide core device use cases which a user expects
to work out-of-the-box. We are now adding a test to ensure that
OEMs cannot pregrant premissions on non approved components.

bug:23043018

Change-Id: Id76717cce0ee59678956bd0be347d3c045fe4c51
efaultDialerManager.java
2757bda4988a3684b3d5a16228d12915ac4ad7ae 10-Aug-2015 Bryce Lee <brycelee@google.com> am c64deee8: am 761ec600: am 8cb92371: Merge "add call back intents for clearing missed calls and calling back." into cw-e-dev

* commit 'c64deee8ac0338f60a6f57632a6877cf3f1b27f7':
add call back intents for clearing missed calls and calling back.
8d41d1d4fdbf070ad391eae820a5e42a326a7771 10-Aug-2015 Bryce Lee <brycelee@google.com> add call back intents for clearing missed calls and calling back.

Change-Id: Ib81fecc21c5491f975fa7c44f4e5984a4b3f8e7f
elecomManager.java
9ebe50b99586e91ae5086e92e12708b557887870 10-Aug-2015 Bryce Lee <brycelee@google.com> am e49d7070: am fc284814: am 0c4999c2: Merge "Add action for notifying custom components of missed calls." into cw-e-dev

* commit 'e49d7070a82b8f5e1b2571db5aaa708abc3d3977':
Add action for notifying custom components of missed calls.
0c4999c27948ab8a49440abcd60a25fa50ba60a9 10-Aug-2015 Bryce Lee <brycelee@google.com> Merge "Add action for notifying custom components of missed calls." into cw-e-dev
cb42d9e3ab940dd1d585928acc9f77e3ae1ee4db 06-Aug-2015 Yorke Lee <yorkelee@google.com> Merge "Ensure that OnCannedTextResponsesChanged callback is fired"
cac65febb7bf50f0bc03d897ebbafa8347c0de31 06-Aug-2015 Yorke Lee <yorkelee@google.com> am f0affc6d: Merge "Correctly hide setConnectionService" into mnc-dev

* commit 'f0affc6d46849e844bec9ddc755ffae0042e443f':
Correctly hide setConnectionService
e886f63b2b21c426cbe5e7d889b256f76d163d35 04-Aug-2015 Yorke Lee <yorkelee@google.com> Ensure that OnCannedTextResponsesChanged callback is fired

Bug: 22952515

Change-Id: Ic94db1dd2fc9d7db2259265b90be86617ed93971
all.java
5346396ba2077a8bd03da1adde46db6b39669ac9 05-Aug-2015 Yorke Lee <yorkelee@google.com> Correctly hide setConnectionService

Bug: 22957023
Change-Id: Ia3bd74f2fcc9f9dd5c9298f4505c18ee652436be
onnection.java
5e4dd3e199567efc35aa14219a117020aa67a342 04-Aug-2015 Bryce Lee <brycelee@google.com> Add action for notifying custom components of missed calls.

Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
elecomManager.java
ac2aefc37b6b7dcc2c90d0b0fa25c24728006f79 01-Aug-2015 Tyler Gunn <tgunn@google.com> Remove EXTRA_CALL_HISTORY_INFO.

- Remove EXTRA_CALL_HISTORY_INFO (replaced by EXTRA_LAST FORWARDED_NUMBER).
- Added carrier config key for instant lettering.

Bug: 22684864
Change-Id: Ic46fdccf5b665417f15e612a2cc4d7f1fb67ccca
onnection.java
a21b2e30b246b152b3b3692384de534ade2f3485 31-Jul-2015 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of d0694da4 to mnc-dr-dev

Change-Id: Ifd2636d0e1b7eae15d412cfa0a948a572c905b3a
335ff2ec7aaa1e56b996e5025a1fa72ddf10535c 30-Jul-2015 Tyler Gunn <tgunn@google.com> Add telecom extra keys required for DMR release.

Bug: 22848290
Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
onnection.java
elecomManager.java
337637607df93491276a1285f57dd41afd219682 29-Jul-2015 Sailesh Nepal <sail@google.com> am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev

* commit '6b96de8dae8be99f75c86c795672905e10fca153':
Default permissions for sim call manager
cf85562bc9a0f01db51b4088e72f05a8089fc7f1 29-Jul-2015 Sailesh Nepal <sail@google.com> Default permissions for sim call manager

This CL adds the following permissions by default to the
SIM call manager:
- microphone
- phone

BUG: 22790160
Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
elecomManager.java
3d83e74449acdf8195e0a4f7f82ad79fb3f891dd 28-Jul-2015 Tyler Gunn <tgunn@google.com> am bdbec480: Merge "Add "Call subject" capability to phone accounts." into mnc-dev

* commit 'bdbec480e8598bd959a2fc047cfad8b72c8a645b':
Add "Call subject" capability to phone accounts.
65a3d3430aa0b32ec44092becc18cb68feea6b61 28-Jul-2015 Tyler Gunn <tgunn@google.com> Add "Call subject" capability to phone accounts.

Indicates whether the phone account supports displaying a subject line
for incoming calls and sending a subject line for outgoing calls.
Supports the IMS Instant Lettering feature.

Bug: 22769741
Change-Id: I6d803dc288bfd6d4e356310a8d10d5468c5d4186
honeAccount.java
0072090230ff9110fbb1c6f71cc535430e46b51d 24-Jul-2015 Tyler Gunn <tgunn@google.com> Add child_address call extra.

Used to pass the child number up from IMS to InCall via extras.

Bug: 22685113
Change-Id: I8990e4e74be5052f5ff840f8277abd2df1cb4c9d
onnection.java
ce9fea390c86f4e7725d2f7486cf97d56fdda5df 17-Jul-2015 Nancy Chen <nancychen@google.com> am 660322d8: Merge "Add transcription field to voicemail object and related changes." into mnc-dev

* commit '660322d8259cb256745f15219af0b9004063ea8d':
Add transcription field to voicemail object and related changes.
660322d8259cb256745f15219af0b9004063ea8d 17-Jul-2015 Nancy Chen <nancychen@google.com> Merge "Add transcription field to voicemail object and related changes." into mnc-dev
5bd3e73a21975166fe39ccdfaf3376ad4f8fb369 17-Jul-2015 Nancy Chen <nancychen@google.com> Add transcription field to voicemail object and related changes.

Bug: 22542002
Change-Id: I05c18e8f82a4f318fb59228e4d6eb844d64bee30
oicemail.java
5926761865fe3ea484e02ad2dcf87b72b36ce4f3 17-Jul-2015 Roshan Pius <rpius@google.com> am 5aff3b54: Merge "Maintain call time across SRVCC (2/3)." into mnc-dev

* commit '5aff3b5489262ccff4b6f9e18e0d990ebfe4d7bc':
Maintain call time across SRVCC (2/3).
e927ec02f5bbad925d5f28cbe370a04aa118f370 16-Jul-2015 Roshan Pius <rpius@google.com> Maintain call time across SRVCC (2/3).

When an IMS conference call encounters an SRVCC event requiring a
fallback to GSM/CDMA, we need to maintain the call time for the
conference host across this fallback. So, adding a connectTime attribute
in the underlying conference host's connection object which can be used
to account for the call time from the now inactive conference call into
the new call created.

BUG: 21918593
Change-Id: I13e7ae6e31f004e798776c02ac7a6ac09a10f0bd
onnection.java
onnectionService.java
arcelableConnection.java
95f270de2fe62ca78f05ef7300bfef7e0bcbc7a5 15-Jul-2015 Yorke Lee <yorkelee@google.com> am b63b031c: Merge "Standardize stateToString return values" into mnc-dev

* commit 'b63b031cb5b9338daa3de76ee9976ba493037d92':
Standardize stateToString return values
b63b031cb5b9338daa3de76ee9976ba493037d92 15-Jul-2015 Yorke Lee <yorkelee@google.com> Merge "Standardize stateToString return values" into mnc-dev
e911c8d19662b7eaee07ffa4bfe8822d51c9ee21 14-Jul-2015 Yorke Lee <yorkelee@google.com> Standardize stateToString return values

Bug: 20303674
Change-Id: I884029614c8ce36120c1fc039ef33c0e6736ed5c
onnection.java
0eb4da607118e28d56d18ff1bd1f060b0431c61c 10-Jul-2015 Roshan Pius <rpius@google.com> am 1cb0de17: Merge "Correct the comparison done in removeAdapter." into mnc-dev

* commit '1cb0de17a9a4de137247f7bf69ec44a83e30efa2':
Correct the comparison done in removeAdapter.
75c36b681e3331f4e60fa62abe4615c1ffc5b401 09-Jul-2015 Roshan Pius <rpius@google.com> Correct the comparison done in removeAdapter.

Since addAdapter is storing the proxy binder objects in the adapter set, we need
to compare the underlying binder objects when trying to remove the adapter
from the adapter set. This was resulting in adapters accumulating in adapter
set every time a RemoteService was created.

BUG: 22062692
Change-Id: Ib9cc25a8b95622a524ed5a07d3ef56673669cd27
onnectionServiceAdapter.java
f08a7ada3aaeb2cb167609f50fa77217e12243f7 09-Jul-2015 Roshan Pius <rpius@google.com> am 8f596907: Merge "Change sequence of call removal from Phone\'s db." into mnc-dev

* commit '8f596907a5241badad821a6d3490eb2cd7dd23c5':
Change sequence of call removal from Phone's db.
1ca6207a1ec5bf9c12027c4f09a4fe18bd3f825c 08-Jul-2015 Roshan Pius <rpius@google.com> Change sequence of call removal from Phone's db.

Since the Call API's callbacks are now fired from handlers, they end up
changing the order in which the callbacks from the Phone and Call API's
are fired. To preserve the below ordering, we move the call removal from
Phone's db to after all the onCallDestoryedcallbacks have executed.
1. Call->onStateChanged
2. Call->onDetailsChanged
3. Call->onCallDestroyed
4. Phone->onCallRemoved

BUG: 22127504
Change-Id: Ice17f727decb516baabbe69adae598ebdf370094
all.java
6bf35acd7c0206d90f9a4a36735bcd4d5bfec75e 12-Dec-2014 Shriram Ganesh <sganesh@codeaurora.org> Added support for mid-call enabled SRVCC conference call

When TelephonyConnection is created for an unknown connection,
the recalculation of conference participants have to be
retriggered. This is because, unless that TelephonyConnection is
added to ConnectionService, it cannot be added as part of a
conference call in CallsManager.

Change-Id: Ic9359104f02eddff655d84fd25f5c28c9158e5f4
onnectionService.java
ddf570e8226bd21448b44b3327d4bcb2608f4d00 31-May-2015 Shriram Ganesh <sganesh@codeaurora.org> MWI,phantom call,Suppl services, error codes

1. IMS MWI Feature
- Add new API to update waiting
voice message count, for UI
propagation based on RFC 3842

2. phantom call support

Supplementary services

3. IMS : Incoming Call Barring
- Modified existing API to support
request like registration,activation,
deactivation,erasure,interogation.

4.Unsol supplementary service notification
- send unsol supplementary notification to UI
- add call history info

Miscellaneous
5. Ims: Originate conference call in DIALING state

6. IMS: Addition of Extras to ImsCallProfile
- Add EXTRA string definitions to ImsCallProfile

7. IMS: Definition of error code
- answered elsewhere
- FDN call failure

8.
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Squash of 2 earlier CLs:
Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12

Change-Id: I428ce3c6a043e43b86dea41622e0a828d8b45e53
all.java
onnection.java
hone.java
930d6b07e32bbb0f20d9ec4f19ff08d198fa9498 02-Jul-2015 Anthony Lee <anthonylee@google.com> Merge "Add capability to indicate a conference will never have children." into mnc-dev
895d4b8f63389b79974dfd3e36f1ab10b5ceb4dc 26-Jun-2015 Santos Cordon <santoscordon@google.com> Telecom API council changes.

- adding more javadocs.
- fixing javadoc on isEnabled
- renaming to CONFIGURE_PHONE_ACCOUNT

Bug: 21573551
Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
onnection.java
onnectionService.java
nCallService.java
honeAccount.java
emoteConference.java
emoteConnection.java
elecomManager.java
d409173570e504f36db80ecfaa3284eb35f5a3c7 29-Jun-2015 Tyler Gunn <tgunn@google.com> Add capability to indicate a conference will never have children.

Used to mark IMS conference calls so that it is possible to know that we
never expect child calls to be associated with the conference.

Bug: 21085329
Change-Id: I7e5c82622ed382e431d4156878c28b37421e1e35
onnection.java
c8cedd531176fd7d0474363c2bd90c3414e58457 24-Jun-2015 Santos Cordon <santoscordon@google.com> Merge "InCallService meta-data [2/4]" into mnc-dev
b6acf517ff0c153f54f782d22ba5b498335d933a 24-Jun-2015 Santos Cordon <santoscordon@google.com> Merge "Additional javadoc." into mnc-dev
f2600eb5aca1ec9bda2674d878528a770d5c220b 23-Jun-2015 Santos Cordon <santoscordon@google.com> InCallService meta-data [2/4]

Bug: 21816241

Change-Id: I9af91a1287f652247ef590878759aa277bd925e5
nCallService.java
elecomManager.java
7a060d5e2b99e9a7edb22e846449204b603dd8bc 19-Jun-2015 Santos Cordon <santoscordon@google.com> Additional javadoc.

Change-Id: Iba7f9315521314d066a166ba884ac71c3a9c2496
elecomManager.java
000d38ab3ce46ad9ba4d99694c4d1bf46dff9cbf 21-Jun-2015 Sailesh Nepal <sail@google.com> Fix crash when doing conferencing over Wi-Fi

The problem was that we were calling Connection.getAudioState
in the conferencing code. This led to a null pointer exception.

Fix was to add a null pointer check.

BUG: 21957102
Change-Id: Ibad0f6cc70a5bc4a30023beb857125802bc35cd4
onnection.java
2c27b9a9fa74e59f953e7b918744a3a668236b92 13-Jun-2015 Santos Cordon <santoscordon@google.com> Clean up SIM CallManager APIs.

Bug: 21499476
Change-Id: Iaded74c6b885b0745dfa85d0b7733bdad75d615a
elecomManager.java
107c4ce2ac9b76e7b4ed251fff8929958c5d3e63 15-Jun-2015 Yorke Lee <yorkelee@google.com> Send broadcast when default dialer changes

Add hidden TelecomManager.setDefaultDialer for system apps
to set the default dialer and trigger the broadcast

Bug: 21846308
Change-Id: Ifdd30cd1323ab0157edf7fd966173b6c52df6ba0
elecomManager.java
8a90866a9a70b8610035f38c610585b945ae0871 12-Jun-2015 Tyler Gunn <tgunn@google.com> Merge "Correct issues with VideoProvider discovered via CTS tests." into mnc-dev
be2a4a248c4190fa840a0f20858e4523e3cdde87 12-Jun-2015 Yorke Lee <yorkelee@google.com> Fix typo in Call.Details.propertiesToString

Change-Id: I7bb52138912fddef20862f5f7a29a8ec2e0a1d66
all.java
84f381b4eb9880b929ac40286b17b3f16271666b 12-Jun-2015 Tyler Gunn <tgunn@google.com> Correct issues with VideoProvider discovered via CTS tests.

While authoring the CTS tests I discovered a few issues with the
VideoProvider.
1. The VideoProvider's default handler should be on the main Looper,
similar to other Telecom components.
2. When calling IVideoCallbacks, the try/catch for RemoteExceptions was
around the for-loop which iterates over the various VideoCallbacks. If
one was to fail, the other VideoCallbacks would not be called.
3. The mVideoCallbacks hashmap should use a ConcurrentHashMap; in CTS
tests I ran into a few concurrency exceptions related to the various
InCallServices registering callbacks while other methods on the provider
were being called.

Bug: 21802841
Change-Id: Ib0d46daf03554309044e9efaa991a15cb2c4b46b
onnection.java
4e9bbaf043e4d64b737099af05a035780b7da8d6 23-May-2015 Tyler Gunn <tgunn@google.com> Add support for specifying looper on VideoProviders.

Added constructor for VideoProviders to allow creating instances where
the Looper is specified. This is required for creating
VideoProviderProxy instances within Telecom.

Bug: 20232310
Change-Id: Ieb31e499caca9d65ff4b52c287e030c0ceeeb6ee
onnection.java
69c4e2c57eb587709452d3319136da19db5e465b 10-Jun-2015 Tyler Gunn <tgunn@google.com> Merge "Remove use of STATE_AUDIO_ONLY in a comparison." into mnc-dev
bc6f12ee42f810a68ef4d1e9185d42cd10124d9a 09-Jun-2015 Tyler Gunn <tgunn@google.com> Remove use of STATE_AUDIO_ONLY in a comparison.

- Cleanup javadoc to make it more explicit how to use STATE_AUDIO_ONLY.
- Use VideoProfile.isAudioOnly() instead of doing == comparison.

Bug: 21645094
Change-Id: I5a67290a996f8f338aebab72a4d3cb57f1b1993b
ideoProfile.java
03123839e46f329018bb6216070abe62fd2b7175 09-Jun-2015 Yorke Lee <yorkelee@google.com> Merge "Rename TelecomManager.EXTRA_INCOMING_CALL_ADDRESS" into mnc-dev
b674d069d83954d9f95d7bcd4c0be2518b087a90 09-Jun-2015 Tyler Gunn <tgunn@google.com> Merge "Add API docs for RemoteConnection VideoProvider/Callback." into mnc-dev
02fb5bc52b45333a978a45a257dd7f9c9c9bc632 09-Jun-2015 Yorke Lee <yorkelee@google.com> Rename TelecomManager.EXTRA_INCOMING_CALL_ADDRESS

Bug: 19696065
Change-Id: Ibe253c8cd66938ea1cd560d443008026eb1005d9
elecomManager.java
73831680cd7e47df103cf60a2230ed411e5d3b93 06-Jun-2015 Etan Cohen <etancohen@google.com> Merge commit '2226933' into merge
e0dd7a4447ba0405a11342ec66d2adafcd572536 06-Jun-2015 Etan Cohen <etancohen@google.com> Merge commit 'e79fed5' into merge
04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69 06-Jun-2015 Yorke Lee <yorkelee@google.com> Add telecom extra to specify handle for incoming call

Bug: 19696065
Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84
elecomManager.java
295f5d7777ba63836bf75cb4de15bdaae06dfc1f 04-Jun-2015 Tyler Gunn <tgunn@google.com> Add API docs for RemoteConnection VideoProvider/Callback.

Bug: 21573551
Change-Id: I434d83fa84f9515634776820b2e6a8004cf693ee
onnection.java
nCallService.java
emoteConnection.java
bb6d06058534d91cfaf98492799de83aee92a851 03-Jun-2015 Tyler Gunn <tgunn@google.com> Merge "API Cleanup: Remove VideoState class." into mnc-dev
87b73f370e2b8a76b0540580f43edba6ec21c6cf 03-Jun-2015 Tyler Gunn <tgunn@google.com> API Cleanup: Remove VideoState class.

- Remove VideoState class.
- Replace references to VideoState constants with VideoProfile equivalent.
- Push VideoState static methods into VideoProfile.

Bug: 21573551
Change-Id: I1bca02772b5b7d86643f612824b07faef7618725
onference.java
onnection.java
onnectionRequest.java
onnectionServiceAdapter.java
emoteConnection.java
ideoProfile.java
ac2e3886e3f129b0ee94bb514e026fe72951b4a8 03-Jun-2015 Yorke Lee <yorkelee@google.com> Merge "Allow default dialer changes and phone account enable/disable via ADB" into mnc-dev
15d63c718f6e7bcec6c1fd47d2d06fd59b9c1aef 03-Jun-2015 Santos Cordon <santoscordon@google.com> Fix ringback return value.

Bug: 21474410
Change-Id: I6e08e89636c3b42c97fc194a314a325245755d09
emoteConnection.java
db6da486217daa3418944cf93086a3bae549dad2 02-Jun-2015 Yorke Lee <yorkelee@google.com> Allow default dialer changes and phone account enable/disable via ADB

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
efaultDialerManager.java
elecomManager.java
29780eecd06bddcd33692c06075f8c5390b88357 02-Jun-2015 Tyler Gunn <tgunn@google.com> Merge "Cleanup Video API javadoc." into mnc-dev
d46595a673eba0df624d9d92b6f981e3483e0d20 01-Jun-2015 Tyler Gunn <tgunn@google.com> IMS: Conference fixes

- Set phoneaccount to Conference
- Handle conference call in DIALING state

Change-Id: I549bf664724473f0d5d4450cbc8d96f7b534f43a
Bug: 21376607
onference.java
064fc83b81e215881c2ad22827741e6e9142f948 01-Jun-2015 Yorke Lee <yorkelee@google.com> Merge "Add ability to modify default dialer via ADB" into mnc-dev
5cf2dde3f7b2003fa832f0657b8b675ce84d77f7 29-May-2015 Yorke Lee <yorkelee@google.com> Add ability to modify default dialer via ADB

Add hidden action to TelecomManager

Change-Id: I698c0154f438cdaf78926f12a261cbc0eb807cd0
elecomManager.java
b702ef8a91c9adec68b11e36c50b89fd5bcbb607 29-May-2015 Tyler Gunn <tgunn@google.com> Cleanup Video API javadoc.

- Cleaned up documentation and added more details where possible.
- Also added cross references from the VideoProvider and VideoCall
APIs to make it more clear what the link is between the two.

Bug: 21520606
Change-Id: I0a79450d69841df5850061311a523b37688efc49
onnection.java
nCallService.java
2b26e8dcd130a371ef7ed170316766d0fbcd3212 29-May-2015 Tyler Gunn <tgunn@google.com> Merge "Un-@hide some missed video APIs." into mnc-dev
a2df92512b79e55a3b7c118eeb9ae60628f43c7a 29-May-2015 Tyler Gunn <tgunn@google.com> Un-@hide some missed video APIs.

- renamed some methods to match what is in the non-remote version of
the API.
- Renamed RemoteConnection.VideoProvider.Listener to Callback.

Bug: 21474356
Change-Id: I4840e19921dafb4db288a4f8362b14d5dfa0aea1
emoteConnection.java
d600966c396ce457062795893a7972f3bf2b3617 29-May-2015 Yorke Lee <yorkelee@google.com> Merge "Make ACTION_CONNECTION_SERVICE_CONFIGURE public" into mnc-dev
656eeb0402179077f55ed1ba2accb292e0653e76 29-May-2015 Yorke Lee <yorkelee@google.com> Make ACTION_CONNECTION_SERVICE_CONFIGURE public

Bug: 21499146
Change-Id: I3b931231807eec0aed91832013c7c055005fc9ad
elecomManager.java
e988cf779e19e2e321eb59361107e3819e39ce3b 29-May-2015 Tyler Gunn <tgunn@google.com> Fix NullPointerException in VideoCallImpl.

There were instances of NPEs due to a null mHandler in the VideoCallImpl.
Traced the problem down to InCallService implementations which do not
register a VideoCall Callback (e.g. gearhead).

Added null checks for uses of mHandler.

Bug: 21474154
Change-Id: I44dffde5e46529cc62912d417ad23c7b7dd1a1ba
ideoCallImpl.java
6b7f955c2d9b231660b8c54f8ef8e8e6ad802625 28-May-2015 Santos Cordon <santoscordon@google.com> Add extras to Connections/Calls. (1/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
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
arcelableCall.java
arcelableConference.java
arcelableConnection.java
emoteConference.java
emoteConnection.java
emoteConnectionService.java
f38be7b2b0bf06a59b3997dfa6ae26b1ec3677f0 23-May-2015 Tyler Gunn <tgunn@google.com> Add support for specifying looper on VideoProviders.

Added constructor for VideoProviders to allow creating instances where
the Looper is specified. This is required for creating
VideoProviderProxy instances within Telecom.

Bug: 20232310
Change-Id: Ieb31e499caca9d65ff4b52c287e030c0ceeeb6ee
onnection.java
d8faf70b80b0dfcbc1e52d3a2027a26e1c40c572 21-May-2015 Santos Cordon <santoscordon@google.com> Add intents for enabling phone accounts.

Bug: 20303449
Change-Id: If0057d42373b6964193c562ae8a8487a0299da76
elecomManager.java
91371dc036ce66cd3ad8ec83eca8926ddf9cec0c 08-May-2015 Santos Cordon <santoscordon@google.com> Add enable/disable properties to phone accounts.

Bug: 20303449
Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8
honeAccount.java
elecomManager.java
8309a19181151a78a288368becd3d3a9b1b1e389 15-May-2015 Sailesh Nepal <sail@google.com> Merge "Fix in-call UI crash on Nova devcies (framework/base)" into mnc-dev
d9be9cfe5eaef0a5241494a06beae6422dbe0fc3 15-May-2015 Sailesh Nepal <sail@google.com> Fix in-call UI crash on Nova devcies (framework/base)

If a status hint icon wasn't set we'd crash.
Fix was to set StatusHitns.mIcon to null if the icon resource ID'
was 0.

BUG: 21168985
Change-Id: I33c06169f9e184b063e6fd10f77408bc262ea3c8
tatusHints.java
ebb1d76e32535df04be5baab72fc067decf8ee15 15-May-2015 Sailesh Nepal <sail@google.com> Merge "Fix post dial for remote connections" into mnc-dev
40451b3977f51bd0726b645f73167869f71d4e4c 15-May-2015 Sailesh Nepal <sail@google.com> Fix post dial for remote connections

Use the correct callback (onPostDialChar instead of onPostDialWait).
This fixes a bug where every remote call would prompt the user
to send tones after the call became active.

BUG: 21004101
Change-Id: I1656a4266d0028ef29494a3cee169180267e16cd
emoteConnection.java
5c850671778016a2fa4b4af76c0a945984e3538c 14-May-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Make Conferenceable an abstract class

Bug: 21066017
Change-Id: Ibcbccfc7b1380e417b464aed9b968cbc0a6a1cc2
onference.java
onferenceable.java
onnection.java
onnectionService.java
Conferenceable.java
56acbc410093b9854060c3a32c68a60d95cdca85 12-May-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
ameraCapabilities.aidl
ameraCapabilities.java
onnection.java
nCallService.java
honeAccount.java
honeAccountHandle.java
emoteConnection.java
ideoCallImpl.java
ideoCallbackServant.java
ideoProfile.aidl
ideoProfile.java
6d3a7575e102e44514c1f834bd497f6b26e96769 13-May-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE More video related API fixes

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
all.java
onference.java
onnection.java
onnectionRequest.java
nCallService.java
emoteConnection.java
elecomManager.java
ideoCallImpl.java
ideoProfile.java
0910526fe4a1477d0b8fc7889c9d8912eebcc752 13-May-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Rename AudioState to CallAudioState

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
udioState.java
allAudioState.aidl
allAudioState.java
onference.java
onnection.java
onnectionService.java
nCallAdapter.java
nCallService.java
hone.java
emoteConference.java
emoteConnection.java
b6ea500ef580d1967f194c51724f01e74bd94024 14-May-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Add BIND_TELECOM_CONNECTION_SERVICE permission

Bug: 21088342
Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba
onnectionService.java
abfcfdc0444c48dd161e425c8417dab87de1cb69 14-May-2015 Yorke Lee <yorkelee@google.com> Make Conferenceable an abstract class

Bug: 21066017
Change-Id: Ibcbccfc7b1380e417b464aed9b968cbc0a6a1cc2
onference.java
onferenceable.java
onnection.java
Conferenceable.java
e9ea718f30915a5fdb37030bc4073038a95491ae 14-May-2015 Santos Cordon <santoscordon@google.com> Merge "Improve javadoc for PRESENTATION_ constants." into mnc-dev
ed769ae5d2cc830714b0a05c1b4f794ff38c00b1 14-May-2015 Santos Cordon <santoscordon@google.com> Improve javadoc for PRESENTATION_ constants.

Bug: 21089678
Change-Id: I045fd71a30c75c213dd5c0c64ded983ea5e5d866
elecomManager.java
d9e1fe3cd443e02e64f6006be4bc5d5622082675 14-May-2015 Santos Cordon <santoscordon@google.com> Merge "[1/4] Use new Icon class in PhoneAccount." into mnc-dev
ad0bfe3ae2f056a568c6256614079e6f31f5d542 14-May-2015 Yorke Lee <yorkelee@google.com> Merge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-dev
e01f93557d85a4e1d8da249117c0822463535cb1 14-May-2015 Yorke Lee <yorkelee@google.com> Merge "Rename AudioState to CallAudioState" into mnc-dev
cad84a2070b68093ab31b05389685fdbcd0d9f85 13-May-2015 Santos Cordon <santoscordon@google.com> [1/4] Use new Icon class in PhoneAccount.

Bug: 21088522
Change-Id: Ia03171d4861f758701e89733f4082863587e8c11
honeAccount.java
24145d451b823920022a643a73dafa8675e5a8a8 14-May-2015 Ihab Awad <ihab@google.com> Merge "Refactor StatusHints (1/3)" into mnc-dev
a7684ed63820fd5d486da7b0ae16cdbafa883dc1 13-May-2015 Ihab Awad <ihab@google.com> Refactor StatusHints (1/3)

Refactor StatusHints to use the new Icon class.

Bug: 21040387
Change-Id: I3e7aae38127294b46859efb6a2aec71cf90e0e2a
tatusHints.java
249c12e7b88fc7799c1b5e1eaf72429fc6aa56a2 14-May-2015 Yorke Lee <yorkelee@google.com> Add BIND_TELECOM_CONNECTION_SERVICE permission

Bug: 21088342
Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba
onnectionService.java
4af5935c71f1e31ef1aec27661c4ef60545a0924 13-May-2015 Yorke Lee <yorkelee@google.com> Rename AudioState to CallAudioState

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
udioState.java
allAudioState.aidl
allAudioState.java
onference.java
onnection.java
onnectionService.java
nCallAdapter.java
nCallService.java
hone.java
emoteConference.java
emoteConnection.java
782509076bf4ca155865c465985a458e83d9b577 13-May-2015 Nancy Chen <nancychen@google.com> Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev
16b84b0ab586309ee4d76301c2e578dbfbd7c7db 13-May-2015 Nancy Chen <nancychen@google.com> Add phone account field for voicemail to distinguish the source.

When inserting a voicemail, sometimes we will want to provide a phone
account so add relevant fields to voicemail object and builder.
Also added insertion logic for phone account details into
VoicemailContract.

Bug: 19990866
Change-Id: I8848cc86167a83f93248d809a6b0164f5ebf421f
oicemail.java
32f24731604fd81289a39619bbc925b65184b505 13-May-2015 Yorke Lee <yorkelee@google.com> More video related API fixes

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
all.java
onference.java
onnection.java
onnectionRequest.java
nCallService.java
emoteConnection.java
elecomManager.java
ideoCallImpl.java
ideoProfile.java
115cdd488b616965437709df5002d5e935e3b980 12-May-2015 Santos Cordon <santoscordon@google.com> Merge "Fix build break." into mnc-dev
4055d648993c35be19487f7ab82e337197e25297 12-May-2015 Santos Cordon <santoscordon@google.com> Fix build break.

Change-Id: Icca3603d3f4a38146fb9bc04a384a22ece4014f4
onference.java
d74c31e253b1fdcfc62bf6343ac85b6bd5f08243 12-May-2015 Yorke Lee <yorkelee@google.com> Merge "Fixes for APi review" into mnc-dev
400470fab932fe3374149ab89386e460ea161002 12-May-2015 Yorke Lee <yorkelee@google.com> Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
ameraCapabilities.aidl
ameraCapabilities.java
onnection.java
nCallService.java
honeAccount.java
honeAccountHandle.java
emoteConnection.java
ideoCallImpl.java
ideoCallbackServant.java
ideoProfile.aidl
ideoProfile.java
3aea94ff56a409cae7698832a7fe54c1bcb708d5 12-May-2015 Santos Cordon <santoscordon@google.com> Merge "Rename Connection time APIs for Conference.java" into mnc-dev
b804f8d8ff2de6fa83d59949915ab118bbe00ccf 12-May-2015 Santos Cordon <santoscordon@google.com> Add RemoteConference javadocs.

Bug: 21066411
Change-Id: Ie4cdfef58e6442531c3377cec4a708d67b790945
onference.java
emoteConference.java
5d2e4f20fee033a22fbadffb291c4e47f35b7633 12-May-2015 Santos Cordon <santoscordon@google.com> Rename Connection time APIs for Conference.java

Bug: 21072487
Change-Id: I7bed9957770639f2adf3c7bd31a4821c0ff0f0dd
onference.java
2b5b6602030237cd14f832bf456097495374f39f 08-May-2015 Tyler Gunn <tgunn@google.com> DO NOT MERGE Un-@hiding some missed VT APIs.

Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
39465f9d8a6cfe5f6117248f10247fb721ab5468 23-Apr-2015 Santos Cordon <santoscordon@google.com> DO NOT MERGE Remove CallState and rename PRE_DIAL_WAIT

Bug: 20532827
Bug: 20532435
Change-Id: I5f0308c5cf4e4a9cf9020b4fe7fa5f3f8dee6e67
all.java
allState.java
6b3714939f31779d746c4f293cd55d5a9b09a0b9 08-May-2015 Tyler Gunn <tgunn@google.com> Un-@hiding some missed VT APIs.

Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
73a8912a4dd8e435cc85201d7171ef4125eabf2b 24-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Add handler parameter for callbacks.

Bug: 20160491
Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
all.java
allbackRecord.java
nCallService.java
hone.java
emoteConference.java
emoteConnection.java
ideoCallImpl.java
e0895660dac3fc87665d2cf7b0ca6906ab89cec1 07-May-2015 Yorke Lee <yorkelee@google.com> Merge "Filter list of possible default dialers" into mnc-dev
9a7db1a6f58a3efc37c7e761445617f22adb9d4e 07-May-2015 Yorke Lee <yorkelee@google.com> Merge "Fix potential NPE in TelecomManager.placeCall" into mnc-dev
4538216a31d15b01e18c7b504e51031da0ce6e40 06-May-2015 Tyler Gunn <tgunn@google.com> Change sendSessionModifyRequest VideoProvider API signature.

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
all.java
onnection.java
arcelableCall.java
emoteConnection.java
ideoCallImpl.java
a5d5c1d0843980c5cac3b9c9541529b59b5c2434 06-May-2015 Yorke Lee <yorkelee@google.com> Fix potential NPE in TelecomManager.placeCall

Don't pass null parameters

Change-Id: Icf8f4eb3e96a51a5c091322c83ae163e366c21de
elecomManager.java
1542179bd2bc82db31a925550b47151cf579c767 05-May-2015 Yorke Lee <yorkelee@google.com> Merge "Add hidden methods to set/get default dialer across users" into mnc-dev
d1808401ca3bfd6b6b9a975c1e739b194d18f849 05-May-2015 Prerepa Viswanadham <dham@google.com> Merge changes from topic 'mwd-merge-050415' into mnc-dev

* changes:
Merge commit 'b6f59f4' into master_merge
Merge commit 'f6db0ce' into master_merge
Merge commit '17455a3' into master_merge
Merge commit 'b4d5b32' into master_merge
Merge commit 'a1a2fa7' into master_merge
Merge commit '8dfdb98' into master_merge
Merge commit 'eba66c3' into master_merge
6526f67e45fc810b8f4c7419eecf599d228f674f 05-May-2015 Yorke Lee <yorkelee@google.com> Add hidden methods to set/get default dialer across users

First part of a set of changes to make the default dialer work
across multiple users. This initial CL should not affect any
user-facing behavior, just add new methods.

Bug: 20696062
Change-Id: If1651240e185b4c09e960260c822c9265069fb9a
efaultDialerManager.java
113bd7d209fdacab107c15740569fc531a104a99 29-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Add Properties to Call.Details.

Moved some capabilities to properties which seemed appropriate.

Bug: 20160395
Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1
all.java
allProperties.java
b6f9da0b7f26b50163461a767cafcd8014328742 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '17455a3' into master_merge
f18217248d647a29f64bc8f360667887e145d6d8 01-May-2015 Tyler Gunn <tgunn@google.com> Change sendSessionModifyRequest VideoProvider API signature.

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
all.java
onnection.java
arcelableCall.java
emoteConnection.java
ideoCallImpl.java
2378ea76d4c4b160c2f0f6ffcd556776b7112d8d 29-Apr-2015 Andrew Lee <anwlee@google.com> Add Properties to Call.Details.

Moved some capabilities to properties which seemed appropriate.

Bug: 20160395
Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1
all.java
allProperties.java
011728fc3a4368b601844d225d1f37bf48ea5735 24-Apr-2015 Andrew Lee <anwlee@google.com> Add handler parameter for callbacks.

Bug: 20160491
Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
all.java
allbackRecord.java
nCallService.java
hone.java
emoteConference.java
emoteConnection.java
ideoCallImpl.java
f1a349bda3b6cb400692159d72a41ea89b0e6128 30-Apr-2015 Yorke Lee <yorkelee@google.com> Add default dialer checks to Telecom/Telephony

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
elecomManager.java
856a5ac70474e9f57f71699ad934c701b01c1c7b 29-Apr-2015 Yorke Lee <yorkelee@google.com> Filter list of possible default dialers

Make sure they handle the ACTION_DIAL intent with the tel scheme

Bug: 20304411
Change-Id: I1822eff8bc014d4679352165ebe2bc819b82f75b
efaultDialerManager.java
b7018ba66046097d81c8d3b48e58e6d8aeab893a 28-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Simplify DefaultDialerManager" into mnc-dev
8e0207ba5b7ca3bca9d87847eef4d00aa89d7a7a 28-Apr-2015 Yorke Lee <yorkelee@google.com> Simplify DefaultDialerManager

The previous code worked with ComponentNames because it was
based off existing code for the default SMS application.
We only really need the package name however, so simplify the
code by storing and retrieving the package name directly.

Bug: 20304458
Change-Id: Icabd3a9f0f8166c105360494b601160d13767fad
efaultDialerManager.java
17455a3d39350a39eb995897929977d793358365 25-Apr-2015 Anthony Lee <anthonylee@google.com> Add plumbing for merge failures and renable button. (3/4)

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
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
emoteConnectionService.java
d0922ed723c3199de5a45e01fc9f4d56178cc577 28-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Rename setDefaultDialerApplication for consistency" into mnc-dev
a162f02f7698646d2bed4284900b1f95a70c9676 28-Apr-2015 Yorke Lee <yorkelee@google.com> Rename setDefaultDialerApplication for consistency

Change-Id: I8227df913bdb0ed5e1b3472f9d4ebea1158b366b
efaultDialerManager.java
d7017c42be527ac7cbf5de6bc0ba56c676543e52 27-Apr-2015 Tyler Gunn <tgunn@google.com> Fixing issue where conference calls enable speaker phone.

- The issue was due to a mis-merge in ParcelableConference. The write
of the status hints happens at the end of the writeToParcel method.

Bug: 20503132
Change-Id: I40ef9b267b48876006e4cbe29e5ae09ba77bcb33
arcelableConference.java
610438230b72bc4932e6580230bfa2d5dd4e9913 27-Apr-2015 Yorke Lee <yorkelee@google.com> Add utility method isDefaultOrSystemDialer

Will be used by various system components to determine if a
given package name is a privileged Dialer

Bug: 20333102
Bug: 20304411
Change-Id: I1e5bcbde8ee9a5dc6936b118b1b78f32d97737a6
efaultDialerManager.java
f2570cb5956d0bb197657641c70cd465cde6901b 25-Apr-2015 Etan Cohen <etancohen@google.com> Merge "Doc fix - incorrect format (included argument) for function reference."
912270e22d11dab354cd0503b700c1dfca790a0a 25-Apr-2015 Etan Cohen <etancohen@google.com> Doc fix - incorrect format (included argument) for function reference.

Change-Id: I2cdf7b4f078b1ab0556fcc3fad5287f86641c396
nCallService.java
4e4fec1b8d657e32fa7a66c20c7c6a27ad96a089 25-Apr-2015 Etan Cohen <etancohen@google.com> Merge "Fix documentation - non-public API."
237a59767d4c38b4b69fcc2a9b9d88cad5c5e97e 25-Apr-2015 Etan Cohen <etancohen@google.com> Fix documentation - non-public API.

Change-Id: I418bf47b197936b2f50b231425312d5b6d272df8
nCallService.java
cd895cdf4dd98b4271e24742a6a46be70cda6382 25-Apr-2015 Etan Cohen <etancohen@google.com> Merge changes from topic 'mwd-merge-042415'

* 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
bde0b1e4c8672133e346d964f946d435da8f4d22 25-Apr-2015 Tyler Gunn <tgunn@google.com> Add videoStateToString on videoProvider Class.

- Got tired of looking at numerical integer videoStates, so added a new
"videoStateToString" static method, similar to how we have a
Connection#capabilitiesToString method.

Bug: 20257400
Change-Id: I39fcf413938c90e5993985f0976ad4fcce11505d
ideoProfile.java
eca706ed9d31f338fa08fc442f9045506c477961 25-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Add APIs to getDefaultDialerPackage and getSystemDialerPackage"
1418054108e3811db80e28496b335514b51b10f4 25-Apr-2015 Etan Cohen <etancohen@google.com> Rename removeVideoCallListener to unregisterCallback

Change-Id: Ie6b5ac9131e81900efc7d3fa67056aa47d566a44
nCallService.java
hone.java
ideoCallImpl.java
89427249308b7db10e8c3d352b79097f94912b84 23-Apr-2015 Etan Cohen <etancohen@google.com> Fix build due to merge of 7595842 and renaming due to 8eb87f0

I.e. rename mVideoCallback -> mCallback. Line with original name
was added in mwd, renaming was done in master. The renaming CL
was cherry-picked to mwd (and build probably fixed there).

Change-Id: I462a0fedd00293a148404e1419740bf492ae5de9
ideoCallImpl.java
94f2c27aca75bf96a5600ada7395f34cc2df42ce 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7f61051' into merge2
f491a5844a2ee989e4a0aa109c62fa62ad07737f 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '04b18ec' into merge2
d7b4b81274e8a0f885be553ea8e153ea5447798d 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7595842' into merge2

Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
c1ec931f00893322ace16a22ecd42a7f3a7c36e2 24-Apr-2015 Santos Cordon <santoscordon@google.com> Fix up DisconnectCause description.

Change-Id: Ib2b52b6f8bc8fe945df3684f4e1ed9e04f78b061
isconnectCause.java
1011f4870c24659c78050c4165ac9aa6983b7b06 24-Apr-2015 Yorke Lee <yorkelee@google.com> Add APIs to getDefaultDialerPackage and getSystemDialerPackage

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
efaultDialerManager.java
elecomManager.java
1ff1d3203f858c17b18dd2d9708dcd5b1adfbe4c 24-Apr-2015 Santos Cordon <santoscordon@google.com> Merge "Remove CallState and rename PRE_DIAL_WAIT"
29738688859120f254b3c7e76ae42f51c7e7d04a 24-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Add TelecomManager.placeCall"
3e56ba14cc1533ec2585994066b238f0e2c7f59a 23-Apr-2015 Yorke Lee <yorkelee@google.com> Add TelecomManager.placeCall

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
elecomManager.java
e3c507b79b5ce94f54533a92d5625daa486b7ed6 23-Apr-2015 Santos Cordon <santoscordon@google.com> Remove CallState and rename PRE_DIAL_WAIT

Bug: 20532827
Bug: 20532435
Change-Id: I5f0308c5cf4e4a9cf9020b4fe7fa5f3f8dee6e67
all.java
allState.java
6446d97942b6b5b3108d4c8e53410b38497049d8 23-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Add hidden class in framework for managing the default dialer settings"
014de02dd2e050c36f7e0d4f57690bd5d023b4f2 22-Apr-2015 Yorke Lee <yorkelee@google.com> Add hidden class in framework for managing the default dialer settings

Bug: 20303635
Change-Id: I7e7318086ade9531fb85f08b8e3f1f001ee0a8d9
efaultDialerManager.java
170102d631555ee5c9e3220ea24fec07d99603e1 21-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Make CAPABILITY_CAN_PAUSE_VIDEO public

Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
all.java
c539080a933747b7140bf33c2a5c82029e56fa41 21-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Make CAPABILITY_VIDEO_CALLING public

Change was previously made in master

Change-Id: Ica37a2060dca35ed6c734852a12b8f9ab27cd8aa
honeAccount.java
e661d9fb6fb4bd0896d2b911178b7d5f76d941ec 21-Apr-2015 Yorke Lee <yorkelee@google.com> Make CAPABILITY_CAN_PAUSE_VIDEO public

Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
all.java
4cf116ff20f143136ea69a8522fc01ef8a1e7f85 20-Apr-2015 Tyler Gunn <tgunn@google.com> Merge "API Cleanup - rename IConferenceable to Conferenceable."
df2cbc8989e624cd6a1d732549ea4a4f00852508 20-Apr-2015 Tyler Gunn <tgunn@google.com> API Cleanup - rename IConferenceable to Conferenceable.

Bug: 20165255
Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
onference.java
onferenceable.java
onnection.java
onnectionService.java
Conferenceable.java
d3c1ddb892f2ef8ae1b8eb0e4c50dfef302c0beb 17-Apr-2015 Svet Ganov <svetoslavganov@google.com> Merge "Add OP_READ_PHONE_STATE app op - framework"
16a16899505ec0a9ede5b76650bfb8817b3227c7 16-Apr-2015 Svet Ganov <svetoslavganov@google.com> Add OP_READ_PHONE_STATE app op - framework

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
elecomManager.java
cffc3605ce338471b5dcd76dcf3a1c5c6f1a12ad 17-Apr-2015 Santos Cordon <santoscordon@google.com> DO NOT MERGE Unfinal getPhone.

The change to make it final was breaking existing apps.

...and other changes.

Bug: 20283873
Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
nCallService.java
hone.java
8eb87f0da838c5ca371a54ff2fc5924bf8664ba9 15-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Rename Call*Listener to Call*Callback.

Deprecate the existing Listener methods and interfaces so that they
can be replaced.

Bug: 20160491
Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
all.java
nCallService.java
hone.java
ideoCallImpl.java
84a264004d7e933b1be453ec38099da5b63e1ace 17-Apr-2015 Andrew Lee <anwlee@google.com> Remove deprecated VideoCallListener methods.

These shouldn't be needed because the video call APIs were never
previously made public.

Bug: 20160491
Change-Id: Ic9c5d0d1e8618bfe61f8905d4afaeaa37f51c915
nCallService.java
7e24657d07868739754fd53fa7da97cb05e2e27d 15-Apr-2015 Santos Cordon <santoscordon@google.com> DO NOT MERGE Move Phone.java APIs into InCallService

This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService. This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService. That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
nCallService.java
600aaf013af293339783a4b53c566039407ce4c8 17-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Fix comment typos. =("
223a80d7c6c40d468319f15af2a73c8681b19f1c 17-Apr-2015 Santos Cordon <santoscordon@google.com> Merge "Unfinal getPhone."
29886d8571b703c4b9559d51421e8051bb1641c1 17-Apr-2015 Santos Cordon <santoscordon@google.com> Unfinal getPhone.

The change to make it final was breaking existing apps.

...and other changes.

Bug: 20283873
Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
nCallService.java
hone.java
d01242946eb7423612998b5bdbc71a6a1b3e8581 17-Apr-2015 Jay Shrauner <shrauner@google.com> Merge "Remove connection substate"
7c9ee2b0c59b7f215511c3c9000f71d5e902715a 17-Apr-2015 Andrew Lee <anwlee@google.com> Fix comment typos. =(

Bug:20160491
Change-Id: I1782f6a0c5597f937c8882c6c94740c63cd63b53
nCallService.java
843b327ae29e6f8823db46ea357653c91c9a6958 17-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Rename Call*Listener to Call*Callback."
da80c870a8c6d796446c373db9c9a989ebf8a388 15-Apr-2015 Andrew Lee <anwlee@google.com> Rename Call*Listener to Call*Callback.

Deprecate the existing Listener methods and interfaces so that they
can be replaced.

Bug: 20160491
Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
all.java
nCallService.java
ideoCallImpl.java
6f20a6a2b40e8ff362cf4cad977ebdae5ad999da 16-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
all.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
arcelableCall.java
arcelableConnection.java
emoteConnection.java
emoteConnectionService.java
8f988439247f90633af5fbcc6b18214f3b6f6d31 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
all.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
arcelableCall.java
arcelableConnection.java
emoteConnection.java
emoteConnectionService.java
3e3e2f2b9c693a238cc13c26649918ee4c994af7 16-Apr-2015 Andrew Lee <anwlee@google.com> Fix missing comma.

Change-Id: Ied739e7f1b6d548237821db553f27994b0ee92af
onnectionService.java
0f51da328d11f8709d99890a61d6b4021a2207a5 16-Apr-2015 Andrew Lee <anwlee@google.com> resolve merge conflicts of edc625f to m-wireless-dev.

Change-Id: Ibbcd764505ccc38f9f61c96993d979a099f1cc6b
167c3a717f0538615a593f946031d0980943b93a 16-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Change hasVoicemailNumber to getVoicemailNumber

Bug: 20223485
Change-Id: I293572bb6c32c5084fe684e7cfe7bd2bbfb5443b
elecomManager.java
0d4e216665455fdfd207a28deb4cbfb0845bb64d 16-Apr-2015 Santos Cordon <santoscordon@google.com> Merge "Move Phone.java APIs into InCallService"
a2492810dfb0cd290b5466e33d5bdc5be4fb330e 15-Apr-2015 Santos Cordon <santoscordon@google.com> Move Phone.java APIs into InCallService

This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService. This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService. That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
nCallService.java
a22a09666b6ff9afed188b8051ee4e4889d2efab 16-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Change hasVoicemailNumber to getVoicemailNumber"
04b18ec15359b79b832ec50010f050d7298e7fb5 16-Apr-2015 Tyler Gunn <tgunn@google.com> Merge "Fix incorrect Conference time for IMS conference calls." into m-wireless-dev
75958420f2d294ceda517c2782b294002dc2969f 15-Apr-2015 Tyler Gunn <tgunn@google.com> Support for multiple VideoCall.Listeners for a VideoCall.

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
all.java
onnection.java
nCallService.java
arcelableCall.java
hone.java
emoteConnection.java
ideoCallImpl.java
49e2d468129cd8b374e76dff103302ccb77da45b 16-Apr-2015 Yorke Lee <yorkelee@google.com> Change hasVoicemailNumber to getVoicemailNumber

Bug: 20223485

Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
elecomManager.java
bd1f9ece87e842e09b9967f94858f9f5b9ee7268 16-Apr-2015 Tyler Gunn <tgunn@google.com> Fix incorrect Conference time for IMS conference calls.

Looks like the connectTimeMillis parameter to ParcelableConference
got removed when partner CLs were merged in. Adding it back fixes
the problem.

Bug: 20159830
Change-Id: Ibe067f64f8faea6fd1eb157e5073bc702978c511
arcelableConference.java
e14bbcc0e2ac9f817aff9de4e60202536784fc52 16-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Hide getUserSelectedOutgoingPhoneAccount

Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
elecomManager.java
cb43ebb3604d45da8677b8d19c935f0ace08ea53 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release"
225ccadc03ce9f63f24e82b04b9e94fcc61535be 16-Apr-2015 Jay Shrauner <shrauner@google.com> Hide getUserSelectedOutgoingPhoneAccount

Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
elecomManager.java
1cf9b6bec12c027a0d551540a6e01f3ac2d0a9d4 10-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
udioState.java
all.java
allProperties.java
allState.java
ameraCapabilities.java
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
isconnectCause.java
atewayInfo.java
Conferenceable.java
nCallService.java
hone.java
honeAccount.java
honeAccountHandle.java
emoteConference.java
emoteConnection.java
tatusHints.java
elecomManager.java
383932ad8ee756d01f0a12aeca7adaf4b3e542fa 15-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Make defaultOutgoingPhoneAccount public

Bug: 20224972
Change-Id: Ided1aab01d5014bd608d0d139975f933f64341c5
elecomManager.java
18ac20ef9c170ade221c420d31cc46f311079085 15-Apr-2015 Andrew Lee <anwlee@google.com> Merge "DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL." into m-wireless-dev
870edddcbe2f39cf24e7528ee2494652d2f82ad6 15-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Hide Voicemail APIs

Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
uthenticatorService.java
oicemail.java
e268f4c28ece283c8c9707b21c0ef7f940b907a8 15-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
all.java
onnection.java
f5d5840b66865e8324db4e01449b5c95a6004ec2 15-Apr-2015 Yorke Lee <yorkelee@google.com> Make defaultOutgoingPhoneAccount public

Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
elecomManager.java
55b97525f0f50857f1ab0acd2608053fd0f3416c 10-Apr-2015 Jay Shrauner <shrauner@google.com> Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
udioState.java
all.java
allProperties.java
allState.java
ameraCapabilities.java
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
isconnectCause.java
atewayInfo.java
Conferenceable.java
nCallService.java
hone.java
honeAccount.java
honeAccountHandle.java
emoteConference.java
emoteConnection.java
tatusHints.java
elecomManager.java
193de667edf016965cf8c2a9c8e16433d0d0307b 15-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
udioState.java
all.java
onference.java
onnection.java
nCallService.java
emoteConference.java
emoteConnection.java
edc625f52e5db5d0cb3d60387218f8f8365167f7 14-Apr-2015 Andrew Lee <anwlee@google.com> Add StatusHints to Conference object.

+ Consolidated ParcelableConference constructors; only one is used.

Bug: 20181703
Change-Id: Iad49f10404e1c1eedc4ef68525bde0f10a8dfc97
onference.java
onnectionService.java
arcelableConference.java
773535cf042f6a45e319d2ac09eb83d54270d04d 15-Apr-2015 Jay Shrauner <shrauner@google.com> Merge "Remove deprecated telecom APIs. Mark others final."
560a833806a46e2fd5efdc9f6354f2867def92a8 15-Apr-2015 Jay Shrauner <shrauner@google.com> Merge "Hide Voicemail APIs"
114b78bf1a2ca2185755fa4f783c47e46d57e39f 15-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Changes for TelecomManager API review"
d53f3634a31292791ef690028b83ce1e0916d76c 15-Apr-2015 Jay Shrauner <shrauner@google.com> Hide Voicemail APIs

Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
uthenticatorService.java
oicemail.java
164a0acf53a3496c974a97ed35834e6195c14e4b 15-Apr-2015 Jay Shrauner <shrauner@google.com> Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
udioState.java
all.java
onference.java
onnection.java
nCallService.java
emoteConference.java
emoteConnection.java
de93575d86d57011493c820e24558bce586a41e1 15-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "DO NOT MERGE Changes for TelecomManager API review" into m-wireless-dev
1b057f559ebc992a9df0438871e137984dd5c082 11-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Add constructor without zoom

Add constructor without zoom params. Reorder params in constructor
with zoom to move zoom params to the end of the param list (API
guidelines). Reorder code to match param ordering. Tag all zoom related
methods with @hide.

Bug:20160534
Change-Id: Ic2149af82a5450666c49b8757daf6950bcb68977
ameraCapabilities.java
0bce89050a86cd68fd7c32fdf152d96649c88a6a 15-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Changes for TelecomManager API review

* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
elecomManager.java
80047faad914c9b9b4966d6b58fc22800c3fcebc 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release

557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev
ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API
238e0f9 OBEX Over L2CAP + SDP search API for BT profiles
31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID.
bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev
db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev
e75b9e3 Non-functional code cleanup of ConnectivityService.
e593d0a Onfound onlost feature.
0326f58 Merge "API for config app." into m-wireless-dev
e9b056f API for config app.
d5351e7 RTT framework interface update
582b868 Unhide Network.openConnection(URL, Proxy).
0d719ca Fix typos in ConnectivityManager documentation.

Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
2287a01bb9fd1d417e376e50d7fad41fd895ad3d 15-Apr-2015 Yorke Lee <yorkelee@google.com> DO NOT MERGE Remove proximity methods in TelecomManager

Bug: 20160495
Change-Id: Ib0156cf170d16b48f97e08027c912fc3f45691fb
hone.java
0604427a25db171492870d1f3f86f8117987e855 15-Apr-2015 Yorke Lee <yorkelee@google.com> Changes for TelecomManager API review

* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
elecomManager.java
22244d05771308ca043c090c0aba0faf07573445 14-Apr-2015 Yorke Lee <yorkelee@google.com> Hide Phone proximity sensor methods

Has to be done in master and not m-wireless-dev, because
m-wireless-dev doesn't contain system-api/23.txt.

Bug: 20160495
Change-Id: I910b3ecafd78c31081b38325b436b4f2b5a54c8d
hone.java
d4ea01b4aca807cc914a96addefcc2c64ce1a6f5 12-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge "Merge commit 'e593d0a' into merge_work"
8581b67e6c93fbc913bf0cab9e903617d0e07f0f 11-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL."
9a8f9ce7adeb5fd93c11afffcc580d2af5c1225d 11-Apr-2015 Andrew Lee <anwlee@google.com> Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ieb35f7b8a91022bae899b3fc093065c36d2d68c8
all.java
onnection.java
85d3eec2d4cb984a783e7b5a033114b5cbc0a632 11-Apr-2015 Jay Shrauner <shrauner@google.com> Add constructor without zoom

Add constructor without zoom params. Reorder params in constructor
with zoom to move zoom params to the end of the param list (API
guidelines). Reorder code to match param ordering. Tag all zoom related
methods with @hide.

Bug:20160534
Change-Id: Ic2149af82a5450666c49b8757daf6950bcb68977
ameraCapabilities.java
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'e593d0a' into merge_work

Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
b5e0cfb24efded1e200989b5b48d49ac144c7704 08-Apr-2015 Tyler Gunn <tgunn@google.com> Cleanup of Video Call pause functionality.

Whether the paused videoState is available is dependent on the carrier's
implementation of the VT spec. The original VT implementation assumed
that this was stored in a system property accessed via InCall; these CLs
move this to a Call/Connection capability which will ultimately support
multisim video capable devices.

- Added new connection/call capabilities.

Bug: 16680364
Bug: 19820114
Change-Id: I3840f92270100811161120dffcfe297bef7c4ea2
all.java
onnection.java
1df9429b6b76710f8dd6458517d04feb7a63826e 07-Apr-2015 Nancy Chen <nancychen@google.com> Hide and make systemapi visual voicemail-related apis.

Since there are no third-party apps expected to be using the visual
voicemail related apps at the moment, best to keep these hidden for now.

Bug: 19236241
Change-Id: I86f622208efcc89fab523f03d2bb70c244cdf867
uthenticatorService.java
oicemail.java
07366813cdf3768dcd69a1f744023747564d654a 25-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Upgrade/Downgrade change
-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
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
nCallService.java
arcelableCall.java
arcelableConference.java
arcelableConnection.java
emoteConnection.java
emoteConnectionService.java
ideoCallImpl.java
ideoCallbackServant.java
ideoProfile.java
4209a28270a70016ee5ee6cae3dc96d6df0ade26 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
e9d827aa5110e5338f0ba97ab1da0a1781425f14 19-Mar-2015 Yorke Lee <yorkelee@google.com> Merge "Make PhoneAccount.CAPABILITY_VIDEO_CALLING public"
04ed503e7bb5b4ab6ad1b4704a80ba4e217cf66f 19-Mar-2015 Yorke Lee <yorkelee@google.com> Make PhoneAccount.CAPABILITY_VIDEO_CALLING public

Bug: 19824779
Change-Id: If38606d62bffbb7b794f530f3fcc09b6e5123b55
honeAccount.java
993e5cc6dcedf3ce40b99b530c9702457574d420 19-Mar-2015 Nancy Chen <nancychen@google.com> Merge "Add voicemail builder method for updating/syncing."
d3e28b78a3107dd5eb00ac3f6130d9fcbc2116ad 14-Mar-2015 Nancy Chen <nancychen@google.com> Add voicemail builder method for updating/syncing.

The id of the voicemail is necessary to update a voicemail in the
database and the source data (or unique remote identifier for the
voicemail) is necessary for syncing remotely. Whenever performing a sync
either of data to the server or vise versa, create a voicemail object
using this new method.

Bug: 19236241
Change-Id: Ibc1fd8c1922be13605987d9a3dcd327c438951c8
oicemail.java
d11a31561e88fbbb4f614caff8a05e7ff9ecd357 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolve merge conflicts of bcb17eb to m-wireless-dev.

Change-Id: Ic8211fb14caec993c8e38c790006577493f7a607
96d6c40c7159a6e93c21a3b540e24a6ff916cb4b 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of 00de38a1 to master

Change-Id: Ib1ac99ba7181ad79af94a04124380833bcb79a0c
bcb17eb7a9e0c33efeaae8a213f331d678e5a736 17-Mar-2015 Dong Zhou <a22255@motorola.com> am 89f41eb3: Define the capability to speed up MT call audio

* commit '89f41eb39e910e220957ac861651ead17eff9085':
Define the capability to speed up MT call audio
89f41eb39e910e220957ac861651ead17eff9085 15-Mar-2015 Dong Zhou <a22255@motorola.com> Define the capability to speed up MT call audio

Bug: 19656525
Change-Id: I0bc88e85b807871b2883a785efac91bd0e1f6d8d
all.java
onnection.java
4cd92835be0a4ed2b32b398b0fa9d0d74dfb8b19 15-Mar-2015 Vinit Deshpande <vinitd@google.com> Fixing build after merge from mirror-m-wireless-internal-release

There have been few breaking changes

1. TelecomManager.getCallCapablePhoneAccounts is not hidden anymore
2. CAPABILITY_VIDEO_CALLING is not hidden anymore
3. mPhoneStateListener doesn't exist anymore, so it is commented out

Change-Id: I22221eda73a20c745e316d9d56f914ab17b83533
honeAccount.java
elecomManager.java
522dbda5d49c58cad24c8861aa8375f93bb61beb 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Fix emergency callback number not shown for incoming calls."

merged from goog/mirror-m-wireless-internal-release
068085b Fix emergency callback number not shown for incoming calls.
02ce8d8f339f8302a585408b0f3fc498981ebf5e 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Helper methods for voicemail status provider."

merged from goog/mirror-m-wireless-internal-release
8b97ee3 Helper methods for voicemail status provider.
386348f037c523859fceb935ca071642de614f8f 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Indicate local and remote RX/TX capabilities for VT."

merged from goog/mirror-m-wireless-internal-release
5e9e8bb Indicate local and remote RX/TX capabilities for VT.
7b3f6a95a885637faa176410113d17dd8af50137 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Add frameworks classes and methods necessary for VVM syncadapter structure."

merged from goog/mirror-m-wireless-internal-release
7c07dfa Add frameworks classes and methods necessary for VVM syncadapter structure.
8cea6e0cc9d6b99bbb39888ed49aa62f6ce45345 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Rename from VoWIFI to WIFI."

merged from goog/mirror-m-wireless-internal-release
1a8ae3e Rename from VoWIFI to WIFI.
068085b35d4c7ef368fde6f01b42f87766d4a2b4 06-Feb-2015 Tyler Gunn <tgunn@google.com> Fix emergency callback number not shown for incoming calls.

- Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER.
- Used in Telephony to indicate on an incoming call that the callback
number should be shown.

Bug: 18689292
Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
all.java
onnection.java
74050f58d52696fffad18aada5b4a3bf25a401c7 11-Mar-2015 Andrew Lee <anwlee@google.com> Merge "Indicate local and remote RX/TX capabilities for VT." into m-wireless-dev
8b97ee3c4830d44d3d4bbdf29bd9a3543f16e565 05-Mar-2015 Nancy Chen <nancychen@google.com> Helper methods for voicemail status provider.

Added method to make it easier to insert into the voicemail status
table. Also takes in a phone account for future multi-SIM support.

Remove VvmSyncService class in favor of moving most of the code to
OmtpVvmSyncService.

Bug: 19236241
Change-Id: I5d9def276fbdbc6f825fb35e9fa31bfc3cead1ba
vmSyncService.java
5e9e8bb30e4d26eba46684c03ca950b602dfb830 10-Mar-2015 Andrew Lee <anwlee@google.com> Indicate local and remote RX/TX capabilities for VT.

This provides more granular API support for representing the mix of
state and capabilities of local and remote video clients. For our
implementation, we are primarily concerned with bidirectional video
calling. But, this provides support for representing certain error
scenarios, and flexibility for other parties which may desire to
implement one-way video calling.

Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
all.java
onnection.java
2d2bc16f2d2f155a7cf199f06f6149ed404306ec 28-Feb-2015 Santos Cordon <santoscordon@google.com> Hide calllog entries for unregistered phone accounts

Cherry-picked from master

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
elecomManager.java
c66f3baa42b8a732952abf1967c68f77d3e26131 28-Feb-2015 Santos Cordon <santoscordon@google.com> Hide calllog entries for unregistered phone accounts

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
elecomManager.java
7c07dfa5529dd8049a526de227cae8abc2f72226 12-Feb-2015 Nancy Chen <nancychen@google.com> Add frameworks classes and methods necessary for VVM syncadapter structure.

+ VvmSyncService is the base class for all visual voicemail sync
services that run the visual voicemail sync adapter. This class handles
writing to the voicemail provider and receiving changes from the
voicemail provider.
+ AuthenticatorService is a stub class for visual voicemail sync
adapters that do not use an Account (all sync adapters must have an
account associated with them, so a stub account is necessary).
+ Voicemail parcelable object to pass voicemail data around easier. This
is mostly copied from VoicemailProviderDemo
+ Extra helper methods in VoicemailContract to help insert and delete
from the voicemail provider.
+ Add multi-sim fields to VoicemailContract.Voicemails

Bug: 19236241
Change-Id: I603e3e5908704cd043e46221680d8bb600ed2cf4
uthenticatorService.java
oicemail.java
vmSyncService.java
b7bb8c4207b69eccb6b408276449ceb0ec44d521 10-Feb-2015 Santos Cordon <santoscordon@google.com> Small update to PhoneAccountHandle ID javadoc.

Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
honeAccountHandle.java
48d8442e9c8e3331731b8cebc5b95cc40e923956 19-Dec-2014 Brian Attwell <brianattwell@google.com> Unhide telecom APIs needed by Contacts

* Removed @SystemApi and @hide from some telecom classes
and APIs
* Stopped using explicit @link's to ConnectionService, so
that I didn't need to unhide ConnectionService
* Added @SystemApi to hidden methods inside classes that
I removed @SystemApi from.
* Ran update-api. This picked up unrelated Math changes
from b/11388705.

Unbundling

Bug: 18777272
Bug: 11388705
Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
honeAccount.java
honeAccountHandle.java
elecomManager.java
ideoProfile.java
873cfbf1858b38a684910e183632706c8315107a 27-Feb-2015 Andrew Lee <anwlee@google.com> Add intent for call accessibility settings.

Preparatory work for adding a new Accessibility settigns activity
in Telephony, which we will need an intent to be able to launch.

Bug: 19372734
Change-Id: Ibf72ffe21da3ba2819eb165dda9bde30204bab68
elecomManager.java
8b338d47e0ac5730bb802a10047414bf97262725 10-Feb-2015 Santos Cordon <santoscordon@google.com> Small update to PhoneAccountHandle ID javadoc.

Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
honeAccountHandle.java
866080f28a8f3f42e1462c98885c1495117e65ab 19-Feb-2015 Andrew Lee <anwlee@google.com> Add intent for configuring RespondViaSms.

Bug: 19372734
Change-Id: I8dcead3281b42d38c2b2f40aa70ad8fbf5b2d8fb
elecomManager.java
1a8ae3e7306b5094f36252e3315fddeaf8b952bc 02-Feb-2015 Andrew Lee <anwlee@google.com> Rename from VoWIFI to WIFI.

Make capability labeling for calls over Wifi more generic.

Bug: 19151548
Change-Id: I8b4adb0fb6f1e09f7c16d2d0f48bc7fe849a289e
all.java
onnection.java
dd26b2dd638b841aa32e3a7105f6d23e7d92191f 05-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Unhide telecom APIs needed by Contacts"
ad147f4b59d42f48b73f6861f379535dbcc72b4a 19-Dec-2014 Brian Attwell <brianattwell@google.com> Unhide telecom APIs needed by Contacts

* Removed @SystemApi and @hide from some telecom classes
and APIs
* Stopped using explicit @link's to ConnectionService, so
that I didn't need to unhide ConnectionService
* Added @SystemApi to hidden methods inside classes that
I removed @SystemApi from.
* Ran update-api. This picked up unrelated Math changes
from b/11388705.

Unbundling

Bug: 18777272
Bug: 11388705
Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
honeAccount.java
honeAccountHandle.java
elecomManager.java
ideoProfile.java
fd34df0f2073a3d84bd1f339031f99f9ef0b974e 04-Feb-2015 Sailesh Nepal <sail@google.com> Merge "Don't set address for failed remote connections"
2c56fde04d47714fddb587fdc578c4b94830f1c3 02-Feb-2015 Sailesh Nepal <sail@google.com> Merge "Update setNextPostDialWaitChar API"
4143b796bc20072a12fe31cbfdf4f1918dff0728 02-Feb-2015 Tyler Gunn <tgunn@google.com> Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev
2d3ced758fa42d8a7cf941998355f655ed0bf0b8 01-Feb-2015 Sailesh Nepal <sail@google.com> Don't set address for failed remote connections

We created failed connections we no address attached.
When the connection is sent to RemoteConnectionService
the null address is translated to a setAddress() call.

This causes all failed connections to show up as "unknown".
Fix is to only call setAddress if creating the connection
succeeded.

BUG: 18830726
Change-Id: I680e2fa4c69157a9fdbfa348c6af1f2f87aafd48
emoteConnectionService.java
1ed8561ac65b9d8eb3d9f32b0830a60442aa1c49 01-Feb-2015 Sailesh Nepal <sail@google.com> Update setNextPostDialWaitChar API

This CL does the following:
- make the API public
- rename it from setNextPostDialWaitChar to setNextPostDialChar
- remove reference to "wait" from the API documentation

BUG: 19216940, 19216942
Change-Id: Ic4c7f44a900fd79875318d8c565c3aacaa42b962
onnection.java
12ca74e2a0b26d1805b3caac9488961078b5409b 30-Jan-2015 Narayan Kamath <narayan@google.com> Revert "Remove deprecated Telecom APIs"

This reverts commit a7c9046973260aa71837410ffc8df8c296a2826f.

Change-Id: I66d3d961988ff8dd330c9482c070bfca055f6cb8
udioState.java
onference.java
onnection.java
emoteConference.java
emoteConnection.java
a7c9046973260aa71837410ffc8df8c296a2826f 13-Dec-2014 Sailesh Nepal <sail@google.com> Remove deprecated Telecom APIs

This APIs are no longer used and are safe to delete.

Bug: 18607657
Change-Id: I94dad196db9f8be544f05b12b7b71de124fc9328
udioState.java
onference.java
onnection.java
emoteConference.java
emoteConnection.java
8a2b1199a6db0c6f2493e96e25ec1d89e3f62769 29-Jan-2015 Tyler Gunn <tgunn@google.com> Fixing conference merge where only one party is added to conference.

- Adding "onConferenceStarted" listener for Connections.
- This is necessary so that an ImsCall can report the fact that it has
went from being a single party call to a multiparty call. This was not
previously necessary since the multiparty bit change would be detected
when one of the connections being merged changed state. Since we now must
defer the establishment of the conference until all connections have been
merged, we need a means of detecting when the call becomes multiparty.

Bug: 18960042
Change-Id: I3ba138cb546e3efdf89b29d6676d00257a5e00cd
onnection.java
11aeae5e46541ce40fa26c678a50ba80780aee34 29-Jan-2015 Sailesh Nepal <sail@google.com> Fix crash when making emergency calls

When making an emergency call the fallback connection
manager would crash. The problem was that the connection
manager would get a setVideoProvider() call even though
it wasn't routing calls.

The root cause of this crash is b/19185063. As a short term
work around I'm adding a null check to avoid the crash.

BUG: 19020123
Change-Id: Ibe4a791882c9b5e21ae629a63f8d89cd3deba828
emoteConnectionService.java
5cf27847b011b115afa4a2e05f8c9aaa6c77ad01 25-Jan-2015 Nancy Chen <nancychen@google.com> Add method in TelecomManager to return line1Number for a PhoneAccount.

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
elecomManager.java
cd5d33c89f25b3bfe8989d55f05702d0970c13b4 12-Jan-2015 Tyler Gunn <tgunn@google.com> Fix for call timer resetting when starting IMS conference call. 1/4

- Added support in Conference for specifying the connect time when the
conference is created.

Bug: 18959443
Change-Id: I501edde3b62f6bf021eb7455089e80626013da12
onference.java
onnectionService.java
arcelableConference.java
f9c4d84ea99bcb0e5ccd43d99005eaa908fd315f 17-Dec-2014 Anju Mathapati <anjucm@quicinc.com> IMS: Set phone account in IMS Conference object

Get phone account from conference host connection and set
it to ImsConference while constructing

Bug: 18690773
Change-Id: I018a84512eb6ce001a8021d148895bf87dddc2ef
onference.java
27d1c2d148fe377ca0d2744f0f85789a42c8f808 16-Dec-2014 Nancy Chen <nancychen@google.com> Pass onPostDialChar call back from Telephony to Telecom.

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
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
emoteConnection.java
emoteConnectionService.java
59dac0e192a920682d42e2da395fb3fa62f4fdc4 06-Dec-2014 Evan Charlton <evanc@google.com> Merge "Associate a UserHandle with each PhoneAccountHandle" into lmp-mr1-dev
710e20d22516a896c3560d96fdec423ffa0d154e 05-Dec-2014 Ihab Awad <ihab@google.com> Merge "Relax access on deprecated fields for compatibility." into lmp-mr1-dev
134dd68ff980b870ce61eef0a31ea0fa5f96f87d 25-Nov-2014 Evan Charlton <evanc@google.com> Associate a UserHandle with each PhoneAccountHandle

This needs to be tracked so that connections get directed to the
correct user. This is not a public API; rather, it will be populated
and read only by the Telecom service.

Expose a new capability, CAPABILITY_MULTI_USER which can be used by
system-privileged apps to indicate that this PhoneAccount may be
used by any user on the device.

Bug: 17421902
Bug: 17421044
Change-Id: I673904a7ae038c88688bba62642e93174e55c308
honeAccount.java
honeAccountHandle.java
fa53c93462ba273fb645831422c74d29e748519c 05-Dec-2014 Nancy Chen <nancychen@google.com> Merge "Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)" into lmp-mr1-dev
c047bd464b70f64ac2839c8d04e00c7ae4a66bfb 05-Dec-2014 Ihab Awad <ihab@google.com> Relax access on deprecated fields for compatibility.

Bug: 18610816
Change-Id: If2398069ecd1c5fa1e49af50527bf817b29fde96
udioState.java
8c066f7cc38a32ea6bd8138eb23eaeefcadd3b8a 04-Dec-2014 Nancy Chen <nancychen@google.com> Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)

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
elecomManager.java
5ce118d1f4bdaaa1e85626d06d473b2dece949c3 03-Dec-2014 Evan Charlton <evanc@google.com> Merge "Re-add Connection.getCallCapabilities" into lmp-mr1-dev
ef77f0ed78db3cfa098a26d6186abbd59c5cfd15 03-Dec-2014 Sailesh Nepal <sail@google.com> Re-add Connection.getCallCapabilities

This method wasn't supposed to be removed.

Bug: 18594044
Bug: 18292176
Change-Id: Iac4cc0972643a8271957e480d3f48d50243af271
onnection.java
ddf15a164981c6f32fccaf6bcc45a9ff6113fd3a 03-Dec-2014 Nancy Chen <nancychen@google.com> Change a semi-colon to a colon in AudioState logging.

I believe "route;" -> "route:" was the intended context.

Bug: 18327621
Change-Id: I5fcd285f58dcd74287937babf3f0a8122dab5d3d
udioState.java
4ef369fce92d0e140189f305783855d8ae27067d 02-Dec-2014 Andrew Lee <anwlee@google.com> Merge "Rename VoLTE capability to HD audio." into lmp-mr1-dev
90e34e324cbe22f18680809cbc33caf63b320cb4 02-Dec-2014 Ihab Awad <ihab@google.com> Fix immutability bug in http://ag/587241

Bug: 18292176
Change-Id: Icf1f717d76f042d9950a1d8cca9def061de1c1b8
onnection.java
80fff3c0a5f68d4b426a35468daeaf4ff4d3d375 26-Nov-2014 Andrew Lee <anwlee@google.com> Rename VoLTE capability to HD audio.

This is a more specific and less technology-specific title for
communicating this to Dialer/InCall.

Bug: 18103173
Change-Id: I70ad50bb09eb807a621259976bb9fb7953a9a8aa
all.java
onnection.java
de06133569bb80bcfc182dd31d2348f006b79ff5 01-Dec-2014 Ihab Awad <ihab@google.com> Fix to a compatibility patch that was missed in ag/587241

Change-Id: I2339085a9a2cc0d6a3f4b5e07130b5178a62c729
onnection.java
5c9c86ec0f95d1f5e1aca212967f508fc736b895 12-Nov-2014 Ihab Awad <ihab@google.com> Telecom API updates (1/6)

Bug: 18292176

Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
udioState.java
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
arcelableConference.java
arcelableConnection.java
honeAccount.java
honeCapabilities.java
emoteConference.java
emoteConnection.java
emoteConnectionService.java
7a4e3871e766588a42acd632f63398539058ab03 21-Nov-2014 Sailesh Nepal <sail@google.com> Add system API to get registered connection managers

This API is used to check if we're in the simplified
version of the call assistant settings UI or the version
that displays a full list.

Bug: 18473946
Change-Id: I7dca50ada80b2203bd8d646bb510418646382df8
elecomManager.java
d4340f89f830e9caec3230cba01dfae79580d8aa 20-Nov-2014 Tyler Gunn <tgunn@google.com> Merge "Change Connections to allow setting conferenceable with conferences." into lmp-mr1-dev
49e213cd7de1d6ff4f7bb27caafd57971bd0a734 19-Nov-2014 Andrew Lee <anwlee@google.com> Add GENERIC_CONFERENCE to phone capabilities.

This is a temporary capability to recognize CDMA conference calls
so we can show the right strings in the InCallUi. This should be
moved to CallProperties when possible. b/18434985

Bug: 18284408
Change-Id: Ia3e2ff91c8f8a91ff0123df4d3e6a581bdf85895
honeCapabilities.java
6d76ca0438c2cb7a7d5d91992db819c063c0a57b 18-Nov-2014 Tyler Gunn <tgunn@google.com> Change Connections to allow setting conferenceable with conferences.

- Added IConferenceable interface used so that connections and conferences
can both be considered candidates as "conferenceable" with a connection.
- Fixed ConnectionService#conference to support cases where either call 1
or call 2 is a conference and the other is a connection. Previously did
not support cases where call 2 is a conference.

Bug: 18200934
Change-Id: I32a8dd30a154d6280f2ae89fd147817235998465
onference.java
onnection.java
onnectionService.java
Conferenceable.java
96802adcb864e60d701f2c4d7a4dc04e9f716fdc 12-Nov-2014 Ihab Awad <ihab@google.com> Fix PhoneAccount parceling (1/2)

Bug: 18343731
Change-Id: Ie69d33cec5e184f1b33d2b4225b8f3dc9ff50f82
honeAccount.java
476cc835589bb87e17c6f149ac0c10eb22438e97 03-Nov-2014 Ihab Awad <ihab@google.com> Update PhoneAccount icon API (1/6)

Responding to comments by jeffbrown@ in http://ag/574833

Bug: 18291787

Change-Id: I011aa59642f1ca6998bce76a59850909d2daa987
honeAccount.java
0e094d926c306c3667bcdf6f23c52cc7181f25f3 09-Nov-2014 Evan Charlton <evanc@google.com> Apply @hide / @SystemApi to android.telecom.*

Move the android.telecom.* namespace back to @hide, and also mark it
with @SystemApi so that system-privileged apps can use them.

Bug: 18302450
Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
udioState.java
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
isconnectCause.java
atewayInfo.java
honeAccount.java
honeAccountHandle.java
honeCapabilities.java
emoteConference.java
emoteConnection.java
tatusHints.java
elecomManager.java
6c912b7d056c67b41fd46f31de168795e97c2336 08-Nov-2014 Santos Cordon <santoscordon@google.com> Make add-call a global property of telecom. (1/4)

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
nCallService.java
hone.java
honeCapabilities.java
ab4650c4563cd46e65ac37f924fee8febfd759c6 07-Nov-2014 Tyler Gunn <tgunn@google.com> Conference event package performance improvement.

- Instead of sending each participant to the telephony conference
controller, all participants are sent at once. This way the conference
only needs to be recalculated once.

Bug: 18057361
Change-Id: I86205fc7f1d2648bb180fc7eaf3ad611955952f9
onnection.java
46f7f5dce42d645353a0f3eb0dbdd25b3a6c72fb 07-Nov-2014 Andrew Lee <anwlee@google.com> Replace onConferenceChanged with onConnectionAdded.

This change is motivated by a desire to be able to adjust the
phone capabilities of a conference depending on its connections.

Turns out Connection is not a good place to do this, because when
the conference is set, this code is only fired if the connection
service already contains the conference. Conference makes more
sense to do this anyways, at the end of the day.

+ Add onConnectionAdded function to Conference.java.
- Remove onConferenceChanged function from Connection.java.

Bug: 18241753
Change-Id: Ib9212a8483a7a7b542618697399bbab8b2701b04
onference.java
onnection.java
30e65842493adc71aff649f32a45b6a38e83dc2e 07-Nov-2014 Anthony Lee <anthonylee@google.com> Change access to removeConnection so we can override it.

Bug: 18056632
Bug: 18240234
Change-Id: I4e82051a27f3565e9a854df8b27c35300cdbe2ad
onnectionService.java
7d901cb6f54f31b01b9951599ba6abdcff580e42 06-Nov-2014 Sailesh Nepal <sail@google.com> Merge "Make APIs to get system phone accounts public" into lmp-mr1-dev
3fdf2a84c082729fb3581738d48885fe6914c475 06-Nov-2014 Sailesh Nepal <sail@google.com> Make APIs to get system phone accounts public

This is used by Wi-Fi calling to handoff and incoming
call to a cellular call.

For example, when doing an handoff we can look through
the outgoing phone accounts and find the one that the user
has verified with their google account. We can then
handoff to that phone account.

Bug: 17686424
Change-Id: I06d42aa8f4a36d11e5293ed6f7c62b796226f5c1
elecomManager.java
db66e1d2b9b63eb1612820dc6572de1e42880646 06-Nov-2014 Sailesh Nepal <sail@google.com> Merge "Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCause" into lmp-mr1-dev
7a69c9277ffde11d862f1bf4fcb92e21a3f98c28 06-Nov-2014 Sailesh Nepal <sail@google.com> Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCause

This CL adds a new disconnect cause. Connection managers
can specify this disconnect cause when it doesn't want
to route calls.

Bug: 16903083
Change-Id: I05822991c5c34ca3533652a10fbcb8845a604925
isconnectCause.java
8355c500ea6f809ef2e6885aee673d39f1cb223b 06-Nov-2014 mike dooley <mdooley@google.com> Merge "Adding method to get disconnect cause from conference" into lmp-mr1-dev
3b4b1dcb607b8932374a4bc8c9ab349b9bb68660 04-Nov-2014 Tyler Gunn <tgunn@google.com> Support disconnecting conference participants from conference.

- Added "onDisconnectConferenceParticipant" method used to inform a
connection acting as the conference host that one of the participants
should be disconnected.
- Added "VIRTUAL_CALL" PhoneCapability used to indicate that a call cannot
be the active or background call, but only be a child of another call.

Bug: 18228141
Bug: 18176606
Change-Id: I7aec631cc89c0f08e174b24ce3a9cb547b47e36b
onnection.java
1cf14ac5dc5708fc31e6c987a5c7db465ff95533 04-Nov-2014 mike dooley <mdooley@google.com> Adding method to get disconnect cause from conference

Bug: 17842499
Change-Id: Ifb6e61d50d66aa8e8299e7024b2ab6d1d0f9d878
onference.java
f950301945164f5318ea50401fcf23bef824fa9c 04-Nov-2014 Nancy Chen <nancychen@google.com> Merge "Adn queries for multi-SIM. (2/3)" into lmp-mr1-dev
b2299c13037d0f7fc5276ff2b21c53cb20c054c5 30-Oct-2014 Nancy Chen <nancychen@google.com> Adn queries for multi-SIM. (2/3)

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
elecomManager.java
58ef48cb2b8eb44766bc32b9fe41e86596a5ae74 03-Nov-2014 Santos Cordon <santoscordon@google.com> Merge "Even, Even more telecom javadoc." into lmp-mr1-dev
a663f86fd30c952a3b747763d2faea709eccbe91 29-Oct-2014 Santos Cordon <santoscordon@google.com> Even, Even more telecom javadoc.

Bug: 18142177
Change-Id: Ic952f3a81cb957bc5b9b6d0aa755adaab9fb74aa
onnectionService.java
e1678ddf7a8311c79ccba5a6b6183f9484fa1f1f 31-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Handle MMI for multi-SIM (1/3)" into lmp-mr1-dev
95e8a679335648388988337fcf08eac325768318 17-Oct-2014 Nancy Chen <nancychen@google.com> Handle MMI for multi-SIM (1/3)

+ Add Telecomm and Telephony methods for handlePinMMIForSubscriber
+ Add Select Account dialog in Dialer for MMI

Bug: 17917937

Change-Id: I26fdc68a07ca0483bf7a052598fe31b1461fd486
elecomManager.java
450f9047ce716ac7b08583436922ad3948f909f1 31-Oct-2014 Tyler Gunn <tgunn@google.com> Merge "Creating connections for conference event package participants." into lmp-mr1-dev
4a57b9b59b74c97e559a301af0add13cd4c3331c 30-Oct-2014 Tyler Gunn <tgunn@google.com> Creating connections for conference event package participants.

- 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
onference.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
emoteConnection.java
emoteConnectionService.java
c1c86151b033a2c866c10970553b567dfb359ba9 30-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "More updates to javadocs for Telecom APIs." into lmp-mr1-dev
9acb9598b7bd18003ee3abe656818972dad03a29 30-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "Even more javadocs for telecom." into lmp-mr1-dev
1742413b9b4d9d5c4420b38f2d9e9d591533889d 29-Oct-2014 Santos Cordon <santoscordon@google.com> Even more javadocs for telecom.

Bug: 18142177
Change-Id: I4eefe422ec66bb9e14fd8a3b1ee2cb24fedbff51
atewayInfo.java
honeCapabilities.java
167230987b3224c30f2ecefa90a83fc19d449cf9 29-Oct-2014 Tyler Gunn <tgunn@google.com> Merge "Communicating participant changes to conference controller." into lmp-mr1-dev
d9e614fd56677bc39481fce115731d55ab72171a 28-Oct-2014 Santos Cordon <santoscordon@google.com> More updates to javadocs for Telecom APIs.

Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
udioState.java
isconnectCause.java
honeAccountHandle.java
elecomManager.java
6727926a9617cb715ee4fa407f547e67a6f7e134 27-Oct-2014 Anthony Lee <anthonylee@google.com> Added a function to clear accounts for a specified package.

Right now, clearAcounts() only clears the accounts
for the calling package. This new function will allow a class like
PhoneAccoutBroadcastReceiver to clear accounts for any package.

Bug: 17689845
Change-Id: I24db104268535e7e0e33e093e8fab63765df0b08
elecomManager.java
6c37f374b5d86c798f799ac498b806d948c77f97 29-Oct-2014 Ihab Awad <ihab@google.com> Merge "PhoneAccounts include literal icon bitmap (1/4)" into lmp-mr1-dev
074bf104c80c7158202fe709417c90a303feecd0 24-Oct-2014 Ihab Awad <ihab@google.com> PhoneAccounts include literal icon bitmap (1/4)

Change-Id: I9110d983c0ca6610075bd24975f1e90d123ef9c1
honeAccount.java
e398db4a45d4128af696a664e7c4cc48f7187a7f 28-Oct-2014 Yorke Lee <yorkelee@google.com> Merge "Add comment to TelecomManager.getCallState" into lmp-mr1-dev
7c72c2d3c2c4943a914abb2e1598610961db8f57 28-Oct-2014 Yorke Lee <yorkelee@google.com> Add comment to TelecomManager.getCallState

Explain why READ_PHONE_STATE permission is not required so that
people don't try to add it in the future. Requiring the permission
causes stability crashes with legacy apps and system components
that don't have the permission.

Change-Id: Idf8766aa409d4a2c4ed3d6f81a398f4a0eb24615
elecomManager.java
3bffcf78b5e4bd8b60543126fc0bdb09808f28f5 28-Oct-2014 Tyler Gunn <tgunn@google.com> Communicating participant changes to conference controller.

- Add new ConferenceParticipant parcelable class which represents a
single participant contained in the conference event package.
- Adding callbacks/listeners to Connection to handle changes to
participant state.

Bug: 18057361
Change-Id: Iadfebe84959f30f8e835f282aa994c0b92768aa6
onferenceParticipant.aidl
onferenceParticipant.java
onnection.java
ccbc3e5c6617b30eabbd171b951bb74ae9108e8b 28-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "Update javadocs for Telecom APIs." into lmp-mr1-dev
32c65a548c98b153997a6599983fdaa353ba8ce9 27-Oct-2014 Santos Cordon <santoscordon@google.com> Update javadocs for Telecom APIs.

Bug: 18142177
Change-Id: I78461f3634d281a6927cec9c555825a1bdab7a24
honeAccount.java
b31868df32ef287a561134ecbc96592f657763a3 24-Oct-2014 Tyler Gunn <tgunn@google.com> Merge "Remove TODO in TelecomManager." into lmp-mr1-dev
db7fc1e833a70a0c178621a9f565a90fc6209c88 24-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "Remove SystemApi annotations." into lmp-mr1-dev
9016ecab3be175dace3e1ad3e1c8558fef1a4720 23-Oct-2014 Nancy Chen <nancychen@google.com> am 0145e17d: Merge "Add getter methods in SubInfoRecord for UI. Adapt PhoneAccount." into lmp-sprout-dev

* commit '0145e17db742dff963ea581bc944f99358d2dace':
Add getter methods in SubInfoRecord for UI. Adapt PhoneAccount.
6c4ce4020649db7a4e6f566eed80741ea61f98be 23-Oct-2014 Santos Cordon <santoscordon@google.com> Remove SystemApi annotations.

SystemApi only makes sense for hidden APIs.

Bug: 18097290
Change-Id: I76af5f54321c4010334ef419bb7e066663ec784c
elecomManager.java
a94ae5e7e320abf3b8a80ea499d969acd9305424 23-Oct-2014 Tyler Gunn <tgunn@google.com> Remove TODO in TelecomManager.

Bug: 18095076
Change-Id: I6509d295e9e25973040e06be96cf1046edc619ff
elecomManager.java
2ff95729925c782b5e4f52236a3a46b82be3c8cd 23-Oct-2014 Nancy Chen <nancychen@google.com> am df0ace26: Merge "Add an option to set the selected phone account as the default. (1/3)" into lmp-sprout-dev

* commit 'df0ace26279f16beacdf9206cb2a8ecc126aecb7':
Add an option to set the selected phone account as the default. (1/3)
3ace54b895c97f0e98e989667238be9c96c3b40c 23-Oct-2014 Nancy Chen <nancychen@google.com> Add getter methods in SubInfoRecord for UI. Adapt PhoneAccount.

Settings and Dialer need label, icon, and color for UI display of
subscriptions/SIMs. Add getters for these methods in SubInfoRecord. Sets
up for the following changes:
+ getIcon will return a drawable instead of a resource ID
+ getColor will return a color value instead of an index
PhoneAccount will also be adding these changes which will be adopted
from SubInfoRecord. Adds changes that were reverted from ag/563976.

Bug: 17971273
Change-Id: Ie2beedf8475c6deb48a6ab83bc9656c1142cc004
honeAccount.java
df0ace26279f16beacdf9206cb2a8ecc126aecb7 23-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Add an option to set the selected phone account as the default. (1/3)" into lmp-sprout-dev
05f4d8d1d0e99dc76dfae7198b1c0ce6c98be466 22-Oct-2014 Santos Cordon <santoscordon@google.com> am 40f15895: am 028217eb: Merge "Add hidden method to access a connection\'s service." into lmp-dev

* commit '40f158954491c4d2587e0b2a13cd07195bc27b25':
Add hidden method to access a connection's service.
36c62f3e3cc155e950de8b1a1f1109d38fb32d61 22-Oct-2014 Nancy Chen <nancychen@google.com> Add an option to set the selected phone account as the default. (1/3)

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
all.java
nCallAdapter.java
40f158954491c4d2587e0b2a13cd07195bc27b25 22-Oct-2014 Santos Cordon <santoscordon@google.com> am 028217eb: Merge "Add hidden method to access a connection\'s service." into lmp-dev

* commit '028217eb6789e82c96ef5ff5fe0a5a9e0c740d97':
Add hidden method to access a connection's service.
8f8e473cac1f5c9809f1213d56657bb15c8cc73d 21-Oct-2014 Andrew Lee <anwlee@google.com> Fire onConferenceChanged after reseting conference.

Bug: 17423848
Change-Id: Ic53f40e806f2bfd5b49bff2caad64bb93b290bad
onnection.java
af1b296a41f0b6e3af34e9c2c73bc1029bfa8b2a 17-Oct-2014 Santos Cordon <santoscordon@google.com> Add hidden method to access a connection's service.

This change exposes a method that is used by the actual
fix here: I4e4789c044d9e3614f42143cfa6053881a6d109b

Bug: 17962996
Change-Id: Iec3795ea372634120c71b0a80ee046e372569ecf
onnection.java
1557a226a74c6996b9cd6ac5ba6604c82af2336d 18-Oct-2014 Andrew Lee <anwlee@google.com> Merge "Add functions to update on conference changes." into lmp-mr1-dev
4b116453e8ea6177265794a55e19d19466d85af7 17-Oct-2014 Andrew Lee <anwlee@google.com> Add functions to update on conference changes.

+ Add onConferenceChanged() to Connection, so that the Connection can
make act on changes to the conference.
+ Add a utility function to PhoneCapabilities to remove a capability
from a PhoneCapabilities bitmask. Figure this abstracts some bit
logic away to make things more readable.

Bug: 17429707
Change-Id: I0c97731a95dd6573488cd10f094a63abe2428bce
onnection.java
honeCapabilities.java
df385fffe822a7854fb7ce9c5e46ee007646c89e 17-Oct-2014 Nancy Chen <nancychen@google.com> am a6a1c52f: Merge "Use Telecom API for checking if a number is voicemail (1/2)" into lmp-sprout-dev

* commit 'a6a1c52f58f24194de2665bb922577a9d7f6dccf':
Use Telecom API for checking if a number is voicemail (1/2)
6f0c3f1a9a0a7a72c560e756504541e5fa8ac584 17-Oct-2014 Nancy Chen <nancychen@google.com> am c913c2de: Merge "Revert "Add API method to extract subscription ID from phone account (1/3)"" into lmp-sprout-dev

* commit 'c913c2dec18519ae5b989f65b207c7b3fec2d0ef':
Revert "Add API method to extract subscription ID from phone account (1/3)"
443e501c46f57b4189c4ae943d989b24366ef9d8 16-Oct-2014 Nancy Chen <nancychen@google.com> Use Telecom API for checking if a number is voicemail (1/2)

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
elecomManager.java
c913c2dec18519ae5b989f65b207c7b3fec2d0ef 16-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Revert "Add API method to extract subscription ID from phone account (1/3)"" into lmp-sprout-dev
af6732ef6f196bd0f455847b67b15fcfc2efa927 16-Oct-2014 Nancy Chen <nancychen@google.com> Revert "Add API method to extract subscription ID from phone account (1/3)"

This reverts commit b0cad32c3cadd0387f6dcd82aade629e6f2f6bee.

Change-Id: I54b6373ba0fc7d1ecc64c6ceedc7b371c7017cd8
elecomManager.java
9e18d7ab70eb581200afe0abbd1bb6e32f9e135d 15-Oct-2014 Jay Shrauner <shrauner@google.com> Merge "Remove unused onConferenceWith method" into lmp-mr1-dev
4ef72f85e0b5a8b9efac301577106afa4a8fd17a 15-Oct-2014 Andrew Lee <anwlee@google.com> Merge "Add helper method for checking phone capabilities." into lmp-mr1-dev
00bc5cf896814f55db4dd27be72fe26bc48a0d0b 15-Oct-2014 Nancy Chen <nancychen@google.com> am 9faf13b4: Merge "Add API method to extract subscription ID from phone account (1/3)" into lmp-sprout-dev

* commit '9faf13b47467916897cf5c019a3a74df871b8f65':
Add API method to extract subscription ID from phone account (1/3)
2ec53ebbc662282628a9f3ab7352caa320f7d522 15-Oct-2014 Jay Shrauner <shrauner@google.com> Remove unused onConferenceWith method

Never part of public API

Bug:17860628
Change-Id: Ib7c4f4c402bd29d82cc0b9e1f496496ea86efce1
onnection.java
9faf13b47467916897cf5c019a3a74df871b8f65 15-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Add API method to extract subscription ID from phone account (1/3)" into lmp-sprout-dev
234703b3a1d2477b38be9402e69652ecaee6ee68 15-Oct-2014 Tyler Gunn <tgunn@google.com> Merge "MR1 - Adding more Telecom state dumping." into lmp-mr1-dev
52d65739adcf5a64f5050f699003f056f6af4e7c 15-Oct-2014 Andrew Lee <anwlee@google.com> Add helper method for checking phone capabilities.

I'm figuring this can help standardize phone capability checks when
need to do all over the place.

Bug: 17429707
Change-Id: I97327fd08158de3c18d186b6092597a1d4abcf14
honeCapabilities.java
b0cad32c3cadd0387f6dcd82aade629e6f2f6bee 09-Oct-2014 Nancy Chen <nancychen@google.com> Add API method to extract subscription ID from phone account (1/3)

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
elecomManager.java
6d39d66900744afbd0d4388f1a14c9b47d1f1d1a 12-Oct-2014 Ihab Awad <ihab@google.com> am f5afb4d6: Revert "Add color to PhoneAccount objects (1/3)"

* commit 'f5afb4d617d591225cc504b52ba9b6f1605a5c87':
Revert "Add color to PhoneAccount objects (1/3)"
f5afb4d617d591225cc504b52ba9b6f1605a5c87 12-Oct-2014 Ihab Awad <ihab@google.com> Revert "Add color to PhoneAccount objects (1/3)"

This reverts commit 0000cd81c84d73d3f878cd581fb89b7ea257a05a.
honeAccount.java
d410a2f4ee1b210c54406acd443dd4ed97a1dd30 11-Oct-2014 Ihab Awad <ihab@google.com> am a516e445: Merge "Add color to PhoneAccount objects (1/3)" into lmp-sprout-dev

* commit 'a516e445651724da3a833d08540c42fabe4f34b7':
Add color to PhoneAccount objects (1/3)
a516e445651724da3a833d08540c42fabe4f34b7 11-Oct-2014 Ihab Awad <ihab@google.com> Merge "Add color to PhoneAccount objects (1/3)" into lmp-sprout-dev
82816c11bd89bce8af86392ca0d861517ec6bb50 09-Oct-2014 Ihab Awad <ihab@google.com> Add color to PhoneAccount objects (1/3)

Change-Id: I1887ba14f284453784299434cbc3d67c950d4266
honeAccount.java
6e24a156cd9a43ff782926a8d5618ed63944a933 09-Oct-2014 mike dooley <mdooley@google.com> am 3175824a: am 879142bf: Fix hangouts conference calling regression.

* commit '3175824a783c5d45df91ccf84fab8304f4d353c4':
Fix hangouts conference calling regression.
879142bf1c6b72670d4aedac82938f00a97acf5b 08-Oct-2014 mike dooley <mdooley@google.com> Fix hangouts conference calling regression.

Check the connection-by-id hash table instead of conference-by-id hash
table when setting conferenceable connections.

Bug: 17919110
Change-Id: Ia8a5ab3fb96926e600d21eca7737a0044b233563
emoteConnectionService.java
663edb8bfb5025b58ed874432b41f60cfa587266 07-Oct-2014 Tyler Gunn <tgunn@google.com> am 329bd662: am 3bde32e6: Merge "Fixing where call goes from disconnecting to active to disconnecting state." into lmp-dev

* commit '329bd662cc0dccaf41d441ea44db2895df48f0df':
Fixing where call goes from disconnecting to active to disconnecting state.
4afc6afd20488bf5afb462a718091a755de3adf4 07-Oct-2014 Tyler Gunn <tgunn@google.com> Fixing where call goes from disconnecting to active to disconnecting state.

- Adding disconnecting state to telecom used to communicate that a call is
being disconnected to InCall UI (rather than it existing only as a state
in the InCall UI).

Bug: 17821930
Change-Id: I6c2d9521915ba154c0468eea62c12c30060edd2e
all.java
allState.java
7a394311ad23b648e4cc9efa4538e06b57f5f08f 07-Oct-2014 Yorke Lee <yorkelee@google.com> am 770ed6ec: Fix build break

* commit '770ed6ec920ec10798c5b7a7b4850ccc0b2a531f':
Fix build break
770ed6ec920ec10798c5b7a7b4850ccc0b2a531f 07-Oct-2014 Yorke Lee <yorkelee@google.com> Fix build break

Bug: 16852844
Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729
(cherry picked from commit 9858af0ec68ad28db60047587c8eb6232b4a6591)
onnectionService.java
9858af0ec68ad28db60047587c8eb6232b4a6591 07-Oct-2014 Yorke Lee <yorkelee@google.com> Fix build break

Bug: 16852844
Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729
onnectionService.java
0b27c283771e3690f47900d0c2130ae10af332a5 07-Oct-2014 Yorke Lee <yorkelee@google.com> am 7e552595: am 4c334f3d: Merge "Add ability to add sim-initiated MO call to UI (2/4)" into lmp-dev

* commit '7e552595bda0825787820e3d9bb58b5fad32cd01':
Add ability to add sim-initiated MO call to UI (2/4)
c3cf982d18e28fc27126265422f36c5e845808db 02-Oct-2014 Yorke Lee <yorkelee@google.com> Add ability to add sim-initiated MO call to UI (2/4)

Add supporting (hidden) APIs to TelecomManager to add the ability to
add a previous unknown call to Telecom

Bug: 17787391

Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
onnectionService.java
emoteConnectionService.java
elecomManager.java
7363517f0745a9856351a979fdc1991d97096711 03-Oct-2014 Evan Charlton <evanc@google.com> am 25b85bcc: am 8f8bffa1: Merge "Add @SystemApi to missing TelecomManager methods" into lmp-dev

* commit '25b85bcc41ccdd912cba7b9b6462f177e85b3b08':
Add @SystemApi to missing TelecomManager methods
ce11decc5e7e01d5aa02c7f8fde550783a00de43 02-Oct-2014 Evan Charlton <evanc@google.com> Add @SystemApi to missing TelecomManager methods

A few methods (which should be exposed) were missing @SystemApi
annotations.

TelecomManager#addNewIncomingCall
TelecomManager#registerPhoneAccount
TelecomManager#unregisterPhoneAccount

Bug: 17786491
Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884
elecomManager.java
12a4df2b66fccbc1e4293e8f56217e1064b2e8ea 01-Oct-2014 Ihab Awad <ihab@google.com> resolved conflicts for merge of ead63f02 to lmp-mr1-dev

Change-Id: I20d5f9d8aae82f0cb6f0ebf2ac1cb0af05eb8c9b
50e3506533478fa273cbc92c2919470d1889f1ed 30-Sep-2014 Ihab Awad <ihab@google.com> Refine implementation of GSM conferences (1/3)

Bug: 17684223
Change-Id: I05d05b594803ea2c1da4247111b70ad5f870ac46
onference.java
onnection.java
onnectionService.java
emoteConference.java
emoteConnectionService.java
76c01a50d3028d9db251d7fc8bc5dbab1879d493 30-Sep-2014 Tyler Gunn <tgunn@google.com> MR1 - Adding more Telecom state dumping.

- Add toString for PhoneAccount class for use when dumping state.
- Call Log.pii for PhoneAccountHandle mId since it may contain pii (eg sip
uri).

Bug: 17730966
Change-Id: Iddbd949b42704405de558f8ed8c4449242b74870
honeAccount.java
honeAccountHandle.java
77780a4e37b2b7e94b67f2b17f80a3d80e3443da 27-Sep-2014 Sailesh Nepal <sail@google.com> Don't print error log if phone account icon is missing

Bug: 17678017
Change-Id: I212a815af26af1d344092d874c057e9481642263
honeAccount.java
faed92cdd21856b022f909ceb7a0c967a7b6477d 26-Sep-2014 Sailesh Nepal <sail@google.com> am 5926650d: am 7461b5a0: Merge "Adding support for Cdma conference calling." into lmp-dev

* commit '5926650d6099469981369cf5235da6d2b135ba0d':
Adding support for Cdma conference calling.
95ea5765dca757c8c9f0445eba6735dac996c62b 25-Sep-2014 mike dooley <mdooley@google.com> Adding support for Cdma conference calling.

Adding methods to merge and swap Cdma conference
calls from hangouts.

Bug: 17658943
Change-Id: I0ce472415e3455503223fc0dab5e1a8ee415cde9
emoteConference.java
f52ac900caa94236c2cc6da94fb09be22db58e03 25-Sep-2014 Junda Liu <junda@google.com> Revert "Hide CarrierPrivilege APIs in TelMgr."

This reverts commit b7aa9e4a6338811d4dacc77e6024a0b97a99e5e9.

Change-Id: I212cd4f1b7b45e0523fc47b2a9c2a6b487e9dbb5
honeAccount.java
cfac51091441f33036b489900100214573d20be0 25-Sep-2014 Junda Liu <junda@google.com> am 63f0b87e: am 96c54879: Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev

* commit '63f0b87ee3a0df19eec15e73cfbfb9b97623534c':
Hide CarrierPrivilege APIs in TelMgr.
698b3b29810525e3935c2bdba2faba945c3a1a7e 25-Sep-2014 Junda Liu <junda@google.com> Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev
bac6d61ab6d9ea16c305419dfe03e19cc5af9fd9 24-Sep-2014 Junda Liu <junda@google.com> Hide CarrierPrivilege APIs in TelMgr.

Per API council decision, we will polish and public in MR1.

Bug: b/17639966
Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32
honeAccount.java
8635c578f0408ca76cbaef5464d27bfde7450425 24-Sep-2014 Evan Charlton <evanc@google.com> Revert "@hide ConnectionService APIs."

This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
udioState.java
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
isconnectCause.java
atewayInfo.java
honeAccount.java
honeAccountHandle.java
honeCapabilities.java
emoteConference.java
emoteConnection.java
tatusHints.java
elecomManager.java
2fbab892e9f3aed40849228a0ada67c2fbfd529b 23-Sep-2014 Jay Shrauner <shrauner@google.com> Merge "Fix NPE crash when mPhone is null" into lmp-dev
95e8070e296e2fc327d09334ec97103f8b32b848 18-Sep-2014 mike dooley <mdooley@google.com> Fixing ConcurrentModificationException.

Implementing review feedback.

Bug: 17572658
Change-Id: I3a060d21669a58188a24c5d6ec5fefcbca45a976
onnectionService.java
711d876fd110b33519afb5d05f5a740ade635787 19-Sep-2014 Tyler Gunn <tgunn@google.com> @hide ConnectionService APIs.

Bug: 17569532
Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
udioState.java
onference.java
onnection.java
onnectionRequest.java
onnectionService.java
isconnectCause.java
atewayInfo.java
honeAccount.java
honeAccountHandle.java
honeCapabilities.java
emoteConference.java
emoteConnection.java
tatusHints.java
elecomManager.java
5e6162de625dfda047ff390bbc1ccf9a97db2261 23-Sep-2014 Jay Shrauner <shrauner@google.com> Fix NPE crash when mPhone is null

Bug:17609710
Change-Id: Idb99feb6f15fd29809adde51cda1eb0d44e20101
nCallService.java
c2a978dba31f0fc83a7d472e6a78bed165eca610 21-Sep-2014 Sailesh Nepal <sail@google.com> Pass disconnect reason for failed remote connections

If a remote connection fails to create call setDisconnected
instead of setState. This allows us to pass the disconnect
reason.

Note, this CL is very low risk since it only impacts remote
connections.

Bug: 17594857
Change-Id: Id296f3f5a4bb9168b358d3bfda94e04623a6b99c
emoteConnectionService.java
f4cf77c5dc0348d3f7561f48a5a751cb823cd271 19-Sep-2014 Nancy Chen <nancychen@google.com> Add constructor for DisconnectCause that does not require a tone.

In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
all.java
isconnectCause.java
513c8921359c2b576e0713da6d649e5e7c29d179 17-Sep-2014 Nancy Chen <nancychen@google.com> Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
all.java
elecomManager.java
58bacc513c5e665c62e7d82cc6f39196b4ff4302 16-Sep-2014 Yorke Lee <yorkelee@google.com> Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference

Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
emoteConference.java
1c4eb10cc1159d5e029f982a629c5262419fa5ce 17-Sep-2014 Yorke Lee <yorkelee@google.com> Merge "Add missing methods to Conference object" into lmp-dev
ebc69cd19e3c4a40748410f6d509989e83829f1b 17-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
009348e8372476b861dbc65369bc831c1c0fb7da 17-Sep-2014 Andrew Lee <anwlee@google.com> Merge "Fix disconnect log printf in ConnectionService." into lmp-dev
2678639f9e87077418b268f2b71f5e7e101fcacc 17-Sep-2014 Andrew Lee <anwlee@google.com> Fix disconnect log printf in ConnectionService.

Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01
onnectionService.java
f34519b4dd12d065c510b06922a196e8a3fd9885 17-Sep-2014 mike dooley <mdooley@google.com> Fix a small printf format bug.

Bug: 17534940
Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1
onnection.java
7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec 12-Sep-2014 Andrew Lee <anwlee@google.com> Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
all.java
onference.java
onnection.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
isconnectCause.aidl
isconnectCause.java
arcelableCall.java
arcelableConnection.java
emoteConference.java
emoteConnection.java
emoteConnectionService.java
210ef039fbceced2485b89ae30e6d7da62f204f4 16-Sep-2014 Nancy Chen <nancychen@google.com> Remove ability to enable/disable phoneaccounts (1/6)

Enabling/disabling of phone accounts was only used for SIP accounts and
is no longer necessary for the purpose it was put in.
- Remove all references to enabling/disabling phone accounts
+ Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts

Bug: 17510811

Change-Id: Id805daae3cc698c75f5e747b6a6107ab0bd3afa0
honeAccount.java
elecomManager.java
a0d3ca9746143d669fe9384babb9e1b9fca33dcf 16-Sep-2014 Yorke Lee <yorkelee@google.com> Add missing methods to Conference object

Add setAudioState, onPlayDtmf and onStopDtmf to the conference object.
This fixes DTMF tones for conference calls.

Bug: 17512380
Change-Id: Ice9403d3d750131f077a3ea129b7f67430c68348
onference.java
onnectionService.java
f13a8b797d98d3b009160c1de7c2759430938ad2 16-Sep-2014 Yorke Lee <yorkelee@google.com> No longer require READ_PHONE_STATE permission for getCallState

Bug: 17510808
Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104
elecomManager.java
2ae312e30652a4d0019b17825b58d558c4483a58 13-Sep-2014 Yorke Lee <yorkelee@google.com> Pipe TelephonyManager.getCallState through TelecommManager

* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
elecomManager.java
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
udioState.aidl
udioState.java
all.java
allProperties.java
allState.java
ameraCapabilities.aidl
ameraCapabilities.java
onference.java
onnection.java
onnectionRequest.aidl
onnectionRequest.java
onnectionService.java
onnectionServiceAdapter.java
onnectionServiceAdapterServant.java
atewayInfo.aidl
atewayInfo.java
nCallAdapter.java
nCallService.java
og.java
arcelableCall.aidl
arcelableCall.java
arcelableConference.aidl
arcelableConference.java
arcelableConnection.aidl
arcelableConnection.java
hone.java
honeAccount.aidl
honeAccount.java
honeAccountHandle.aidl
honeAccountHandle.java
honeCapabilities.java
emoteConference.java
emoteConnection.java
emoteConnectionManager.java
emoteConnectionService.java
esponse.java
tatusHints.aidl
tatusHints.java
elecomManager.java
ideoCallImpl.java
ideoCallbackServant.java
ideoProfile.aidl
ideoProfile.java