Commit Graph

4891 Commits

Author SHA1 Message Date
Brad Ebinger
381b228bb6 Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev am: ed6e29f292
am: 063d5e871a

Change-Id: Ie2fe8bcc167e91b983bf6ec9548589b140f3976e
2017-08-30 19:02:13 +00:00
Brad Ebinger
063d5e871a Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev
am: ed6e29f292

Change-Id: Id412c0be939da6240a66a942730fd18badabb6c6
2017-08-30 18:48:34 +00:00
Brad Ebinger
ed6e29f292 Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev 2017-08-30 18:31:43 +00:00
Tyler Gunn
fd8ffa0798 Merge "Handle alternate status values." into oc-mr1-dev am: 0240dc99db
am: bbe8f8fd07

Change-Id: If24337066ead738d141e20fbe8a271fa93de39ae
2017-08-30 00:33:12 +00:00
Tyler Gunn
bbe8f8fd07 Merge "Handle alternate status values." into oc-mr1-dev
am: 0240dc99db

Change-Id: Ie386bdb4c77df1305d80f604f48174794c3ee0c1
2017-08-29 22:07:41 +00:00
Tyler Gunn
0240dc99db Merge "Handle alternate status values." into oc-mr1-dev 2017-08-29 21:06:20 +00:00
Brad Ebinger
27ca268756 Adds ERROR state to ImsConfig
Adds the ERROR return state for bool provisioning values
so that we can throw an Exception in some cases.

Bug: 64540800
Test: Manual
Change-Id: I0b79837c694d245999031ec65783857e114b7c75
2017-08-29 16:29:18 +00:00
Tyler Gunn
b229ddabda Handle alternate status values.
Some carriers use sendrecv to indicate a call in a conference is active,
and sendonly to indicate that the remote party has held the call.
Adding support for these status values.

This ensures that remotely held calls for these carriers are set to held.

Test: Manual
Bug: 33272103
Change-Id: I4a950c4e143d5ac396b30569dbda0b1cf4e92a3e
2017-08-28 17:44:55 +00:00
Brad Ebinger
0a538a2804 Merge "Emergency redial implementation" am: b3b09849bc am: f5a457244c
am: 1d8a6e4ee7

Change-Id: I8689b700ff77127534d5560fac1d849615e8f567
2017-08-25 20:56:03 +00:00
Brad Ebinger
f5a457244c Merge "Emergency redial implementation"
am: b3b09849bc

Change-Id: If7fe179da4eb4c639dad1e2957f091bbee9e54f9
2017-08-25 20:31:26 +00:00
Brad Ebinger
b3b09849bc Merge "Emergency redial implementation" 2017-08-25 20:05:53 +00:00
Shuo Qian
782395561d Merge "Add new error code in SmsManager"
am: 387ed22fef

Change-Id: Iff96995b90ecd6ae7fcceebf6b2017344038be72
2017-08-25 18:15:12 +00:00
Shuo Qian
387ed22fef Merge "Add new error code in SmsManager" 2017-08-25 18:01:18 +00:00
Srikanth Chintala
fcb1501620 Emergency redial implementation
Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
2017-08-25 10:08:56 -07:00
Brad Ebinger
12772485cc Merge "Emergency redial implementation" 2017-08-25 17:05:06 +00:00
Shuo Qian
bf1a674ed7 Merge "Add new error code in SmsManager" into oc-mr1-dev am: 1dafcc89a5
am: a43b382766

Change-Id: Ic1a8824e1f1d2e3a7655484d23ff658d3d5fd40d
2017-08-24 22:02:47 +00:00
Tyler Gunn
3da596d291 Merge "Add new telephony disconnect causes for low battery scenario."
am: 573948c49c

Change-Id: I73255cdc492992b03633831a2d9240b933f21064
2017-08-24 21:53:57 +00:00
Shuo Qian
a43b382766 Merge "Add new error code in SmsManager" into oc-mr1-dev
am: 1dafcc89a5

Change-Id: I938ddabfe0d98ee1eee850ba9d6aeb857ebb748f
2017-08-24 21:44:54 +00:00
sqian
85bb4b35f1 Add new error code in SmsManager
Design doc: https://docs.google.com/a/google.com/document/d
/1YPTNoM2Atjz8oISGAsRYlFVSA1NcYP8MbqYQIzLcJ9E/edit?usp=sharing

Test: compile/flash code; test locally
Bug: 34773406
Change-Id: I0b227e76048dd46d9c8023d37647db763e1e38e1
Merged-In: I0b227e76048dd46d9c8023d37647db763e1e38e1
2017-08-24 14:40:59 -07:00
Treehugger Robot
573948c49c Merge "Add new telephony disconnect causes for low battery scenario." 2017-08-24 21:33:55 +00:00
Shuo Qian
1dafcc89a5 Merge "Add new error code in SmsManager" into oc-mr1-dev 2017-08-24 21:22:31 +00:00
Tyler Gunn
69388170d7 Add new telephony disconnect causes for low battery scenario.
LOW_BATTERY is for disconnect mid-call due to low battery.
DIAL_LOW_BATTERY is for failure while dialing due to low battery.

Test: Manual.
Merged-In: Ife7a4ca5645b3fb42ab20effb4d8d4a8fef8116b
Change-Id: Ife7a4ca5645b3fb42ab20effb4d8d4a8fef8116b
Fixes: 63936576
2017-08-24 13:08:01 -07:00
Srikanth Chintala
732b7fb249 Emergency redial implementation
Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Test: Unit Tests
Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
2017-08-24 12:59:29 -07:00
Tyler Gunn
394f28af6c Merge "Add new telephony disconnect causes for low battery scenario." into oc-mr1-dev am: ac3c798ab5
am: 6cca8ade9e

Change-Id: I913b1e2986d91d523442679f3e724dafb309b128
2017-08-24 15:18:01 +00:00
Tyler Gunn
6cca8ade9e Merge "Add new telephony disconnect causes for low battery scenario." into oc-mr1-dev
am: ac3c798ab5

Change-Id: I80a22e7fdb0272313c8d9f98b6360c6d235e37ac
2017-08-24 15:06:22 +00:00
Hall Liu
660d06aaa4 Merge "Embms adjustments for 7/28" am: 3f6a95e8b0 am: aeb64f7f98 am: 070508ea7a
am: e599803180

Change-Id: I88446f4080582fcfea1428c57166c1d8c9f822cd
2017-08-23 22:52:08 +00:00
Hall Liu
e599803180 Merge "Embms adjustments for 7/28" am: 3f6a95e8b0 am: aeb64f7f98
am: 070508ea7a

Change-Id: I51a886a6d30bc4a13fd25fd5d96819353257b5f5
2017-08-23 22:34:22 +00:00
Hall Liu
aeb64f7f98 Merge "Embms adjustments for 7/28"
am: 3f6a95e8b0

Change-Id: I925a0a894098071a3d092d953e4d545a58531a69
2017-08-23 22:10:09 +00:00
Hall Liu
8e47fe35c8 Embms adjustments for 7/28
* Move some vendor intents and extras into a VendorIntents class
* Add a download result RESULT_IO_ERROR
* Add documentation noting that repeated calls to
setTempFileRootDirectory will not throw an error if the parameter is the
same.
* Add getTempFileRootDirectory method for app
* Hide AIDL classes from the public/system API surfaces for download
* Remove size and md5hash from FileInfo

Change-Id: I8c968a7d68db2588ee550167ed2693fe89c5925a
2017-08-23 10:56:09 -07:00
Hall Liu
4c154ed2c9 Merge "Embms API adjustments for 7/21" am: 489dcb7cca am: 488d3bf786 am: 7754e25694 am: a7bb0ffc7d
am: c04df54cfc

Change-Id: Ie23fae4840c7d944d43a6040d3bb09aa3ccd5b76
2017-08-23 17:28:36 +00:00
Hall Liu
c04df54cfc Merge "Embms API adjustments for 7/21" am: 489dcb7cca am: 488d3bf786 am: 7754e25694
am: a7bb0ffc7d

Change-Id: Iab7c397dba3fb446e0c03cd1bab0e82de8172577
2017-08-23 17:16:04 +00:00
Hall Liu
a7bb0ffc7d Merge "Embms API adjustments for 7/21" am: 489dcb7cca am: 488d3bf786
am: 7754e25694

Change-Id: I2724aab757b94957dd9174e4b86c48952a59ebdc
2017-08-23 17:05:57 +00:00
Hall Liu
489dcb7cca Merge "Embms API adjustments for 7/21" 2017-08-23 16:37:50 +00:00
Hall Liu
d5c955fcdc Embms API adjustments for 7/21
* Enforce that only one instance of each manager can be active.
* Add a death receipient for both managers to notify the app of binder
death
* Add documentation informing the app that it may not call create()
multiple times
* Fix a collision in streaming state reason codes
* Add documentation in DownloadRequest to indicate which methods should
be called by the middleware.

Change-Id: Ie15283b5c34fee736e8023dbd4f889c2ca95299e
2017-08-22 17:07:48 -07:00
sqian
724f621daa Add new error code in SmsManager
Design doc: https://docs.google.com/a/google.com/document/d
/1YPTNoM2Atjz8oISGAsRYlFVSA1NcYP8MbqYQIzLcJ9E/edit?usp=sharing

Test: compile/flash code; test locally
Bug: 34773406
Change-Id: I0b227e76048dd46d9c8023d37647db763e1e38e1
2017-08-22 14:51:03 -07:00
Hall Liu
295291872b Merge "Fix lint errors in the streaming API" am: fa7e99ddf1 am: ac9893bba0 am: 0d73e03444 am: 23566e82dd
am: a0936c7b89

Change-Id: Ida377fd6b23e208728895a70fcffca489bc5086e
2017-08-22 19:20:08 +00:00
Hall Liu
a0936c7b89 Merge "Fix lint errors in the streaming API" am: fa7e99ddf1 am: ac9893bba0 am: 0d73e03444
am: 23566e82dd

Change-Id: I5308524da670b829ef8da474bfaee5d60caa6d86
2017-08-22 19:07:06 +00:00
Hall Liu
23566e82dd Merge "Fix lint errors in the streaming API" am: fa7e99ddf1 am: ac9893bba0
am: 0d73e03444

Change-Id: I5c5a8b6247ef844f86880cf4b162527d699e2fc9
2017-08-22 18:53:34 +00:00
Tyler Gunn
c6c78ec18f Add new telephony disconnect causes for low battery scenario.
LOW_BATTERY is for disconnect mid-call due to low battery.
DIAL_LOW_BATTERY is for failure while dialing due to low battery.

Test: Manual.
Change-Id: Ife7a4ca5645b3fb42ab20effb4d8d4a8fef8116b
Fixes: 63936576
2017-08-22 11:13:05 -07:00
Amit Mahajan
fd528886c4 Make dun APNs as read-only by default.
Test: Verified tethering manually for T-Mo and AT&T
Bug: 38186417
Change-Id: Iae2beede0e20810cba4d96f897756896adf77b30
2017-08-22 11:08:31 -07:00
Hall Liu
fa7e99ddf1 Merge "Fix lint errors in the streaming API" 2017-08-22 17:55:06 +00:00
Lorenzo Colitti
b9fc12d1d2 Merge changes I325b13d5,I89719fe7 am: 23868e9c09 am: 9335d2d0b1
am: 4fa0187015

Change-Id: Ib980879b0e50ffe1c8209339df22da4a50d5b74e
2017-08-19 03:38:10 +00:00
Lorenzo Colitti
9335d2d0b1 Merge changes I325b13d5,I89719fe7
am: 23868e9c09

Change-Id: Iaced543ab17ea87c8f701975764d957bc1b17fc7
2017-08-19 03:15:08 +00:00
Treehugger Robot
23868e9c09 Merge changes I325b13d5,I89719fe7
* changes:
  Add tether offload traffic to interface stats as well.
  Tell the system when tethering offload hits a limit.
2017-08-19 03:05:14 +00:00
Lorenzo Colitti
203c935d74 Merge "Add tether offload traffic to interface stats as well." into oc-mr1-dev am: 21bc3a39a4
am: 1af850fdfe

Change-Id: I2b586b84c44126e1d3b9097950a41decaa5216cc
2017-08-19 01:12:35 +00:00
Lorenzo Colitti
f1912ca49a Add tether offload traffic to interface stats as well.
Currently, we only count add tethering traffic to per-UID
stats, but not to total data usage (i.e., dev and XT stats). This
is correct for software tethering, because all software forwarded
packets are already included in interface counters, but it is
incorrect for hardware offload, because such packets do not
increment interface counters.

To fix this:
1. Add an argument to ITetheringStatsProvider#getTetherStats to
   indicate whether per-UID stats are requested. For clarity,
   define integer constants STATS_PER_IFACE and STATS_PER_UID
   to represent these operations.
2. Make NetdTetheringStatsProvider return stats only if per-UID
   stats are requested. (Otherwise tethering traffic would be
   double-counted).
3. Make OffloadController's stats provider return the same
   stats regardless of whether per-UID stats were requested or
   not.
4. Make NetworkStatsService add non-per-UID tethering stats to
   the dev and XT snapshots. The per-UID snapshots were already
   correctly adding in per-UID stats.

(cherry picked from commit 5356a35c3b)

Bug: 29337859
Bug: 32163131
Test: runtest frameworks-net
Test: runtest frameworks-telephony
Change-Id: I325b13d50e88841dfb0db4c35e7e27f163ee72fe
Merged-In: I4e8e923d68dce1a4a68608dbd6c75a91165aa4ee
2017-08-19 10:12:05 +09:00
Lorenzo Colitti
1af850fdfe Merge "Add tether offload traffic to interface stats as well." into oc-mr1-dev
am: 21bc3a39a4

Change-Id: I4e8e923d68dce1a4a68608dbd6c75a91165aa4ee
2017-08-19 01:02:33 +00:00
Lorenzo Colitti
21bc3a39a4 Merge "Add tether offload traffic to interface stats as well." into oc-mr1-dev 2017-08-19 00:54:59 +00:00
Hall Liu
ee19cfc386 Fix lint errors in the streaming API
Fix the errors that cropped up when trying to upload the unhide CL in
MR1.

Bug: 30981736
Test: manual, with testapps
Change-Id: If4a9a5533a235a8cc56762ab7a9e32ec89440f1d
2017-08-18 14:36:06 -07:00
Pankaj Kanwar
13fe27bf76 Merge "Building IMSI encryption support." into oc-mr1-dev am: 94fa7ee972
am: 99512fd446

Change-Id: I703024e2d6b0bc193b89a1e0d76c15868cdc38ce
2017-08-18 20:46:02 +00:00