Commit Graph

4695 Commits

Author SHA1 Message Date
Derek Tan
a4a79df9a4 Merge "Prevent any app except LPA to create logical channel to AID of ISD-R." into oc-dr1-dev am: f1328fee0d
am: 0eba3cb020

Change-Id: I435e1a197b44eeff8b7453e2b9f88e9a901c285d
2017-07-07 23:31:37 +00:00
Derek Tan
0eba3cb020 Merge "Prevent any app except LPA to create logical channel to AID of ISD-R." into oc-dr1-dev
am: f1328fee0d

Change-Id: I8646c7983330beaf90f7935d01675f33df2bf7ef
2017-07-07 23:18:54 +00:00
Derek Tan
f1328fee0d Merge "Prevent any app except LPA to create logical channel to AID of ISD-R." into oc-dr1-dev 2017-07-07 23:12:44 +00:00
Amit Mahajan
c89c50c06a Merge "Make dun APNs as read-only by default." into oc-dr1-dev am: 730e4a5651
am: d6c82cde94

Change-Id: Ia6c2ec49d20c53de9b8022cee342589ef2e87172
2017-07-07 02:56:50 +00:00
Amit Mahajan
d6c82cde94 Merge "Make dun APNs as read-only by default." into oc-dr1-dev
am: 730e4a5651

Change-Id: Iab30ea34531682e9e4212aa8930232121aa530bd
2017-07-07 02:37:34 +00:00
TreeHugger Robot
730e4a5651 Merge "Make dun APNs as read-only by default." into oc-dr1-dev 2017-07-06 23:50:32 +00:00
Hall Liu
f4ad19a8d2 Merge "Merge "Merge "Merge "Add a reason arg to streamStateUpdated" am: 6ba3829074" into stage-aosp-master am: 4c3be35123" into oc-dev-plus-aosp am: af3c9615f1" into oc-dr1-dev-plus-aosp
am: 5ca73a0f98

Change-Id: I6799f02b8d5949027c9215c4542e1f9620c74ba9
2017-07-06 20:21:31 +00:00
Hall Liu
da7669040c Merge "Merge "Merge "Add a reason arg to streamStateUpdated" am: 6ba3829074" into stage-aosp-master am: 4c3be35123" into oc-dev-plus-aosp
am: af3c9615f1

Change-Id: If16e4a6da97e2ee70f2a2ca8444fa24fa9210bf1
2017-07-06 18:47:57 +00:00
Hall Liu
5b754768a2 Merge "Add a reason arg to streamStateUpdated"
am: 6ba3829074

Change-Id: I0c05734f18d58d7693d8777a4d1bb7950a5f54af
2017-07-06 18:24:02 +00:00
Hall Liu
6ba3829074 Merge "Add a reason arg to streamStateUpdated" 2017-07-06 18:08:02 +00:00
Hall Liu
e527be7aa2 Merge "Update DownloadRequest API" am: fa42eea98f am: 5e7c98bb6a am: 812d0866b1
am: 64ec5d3547

Change-Id: Ie96d8b2ce004094b2dfd23939e4b2e19f62307c5
2017-07-06 02:24:36 +00:00
Hall Liu
64ec5d3547 Merge "Update DownloadRequest API" am: fa42eea98f am: 5e7c98bb6a
am: 812d0866b1

Change-Id: I10eca003e37657c6582718c70c39ac7f54badbae
2017-07-06 02:16:11 +00:00
Hall Liu
5e7c98bb6a Merge "Update DownloadRequest API"
am: fa42eea98f

Change-Id: I0b966f0fa2ca3e1c45bf4932654a3bbc1b2d05eb
2017-07-06 02:03:42 +00:00
Hall Liu
fa42eea98f Merge "Update DownloadRequest API" 2017-07-06 01:52:04 +00:00
Hall Liu
6e1d2feef5 Add a reason arg to streamStateUpdated
Change-Id: I6cc48b64aa885672e062b060a0cf58649df17916
2017-06-30 14:41:18 -07:00
Hall Liu
3c1d4d6ef4 Merge "Implement cancelDownload and remove appName" am: 9b43ffcf2f am: 4b1acf4421 am: 4c751c865a
am: 949b625c57

Change-Id: Iafa6c3b23ba2957e8a303f6190b32e801f6c047f
2017-06-29 22:06:23 +00:00
Hall Liu
949b625c57 Merge "Implement cancelDownload and remove appName" am: 9b43ffcf2f am: 4b1acf4421
am: 4c751c865a

Change-Id: I05814ffe8fb4ca2f334d6c0ecd772295bc2c7c63
2017-06-29 21:58:22 +00:00
Hall Liu
4b1acf4421 Merge "Implement cancelDownload and remove appName"
am: 9b43ffcf2f

Change-Id: I98914bf79ad6178e1ef8689acf5d0a18c78a7735
2017-06-29 21:45:47 +00:00
Hall Liu
9b43ffcf2f Merge "Implement cancelDownload and remove appName" 2017-06-29 21:33:11 +00:00
Hall Liu
3bedd88cae Update DownloadRequest API
- Add set/getOpaqueData methods so middleware has one thing to persist
- remove id from DownloadRequest since nobody seems to want it
- replace FileServiceInfo with a service ID
- add a FileInfo extra when sending file-completion to the app

Change-Id: I75be3cce923d5d3c74081d344074b4e3c67deff3
2017-06-29 14:31:00 -07:00
yinxu
5311da134a Merge "Use Bundle for inter-process message"
am: db8e4efd5b

Change-Id: Ib93e91969063a5d2276c99b8b0fee4dd1a398771
2017-06-29 02:05:53 +00:00
Treehugger Robot
db8e4efd5b Merge "Use Bundle for inter-process message" 2017-06-29 01:51:04 +00:00
Hall Liu
9f116ef480 Implement cancelDownload and remove appName
Implements the cancelDownload call
Removes appName as an argument from all EMBMS-related apis
Implements the cross-filesystem move method in MbmsDownloadReceiver

Change-Id: Ie8ebfccca4fbb3d69289beb2ed77101fe2c7727f
2017-06-28 15:00:56 -07:00
Brad Ebinger
58d47a6f04 Merge "IMS: Check for binderstate before calling endSession" into oc-dr1-dev 2017-06-28 21:06:34 +00:00
Hall Liu
9011975ce1 Merge changes from topics 'embms-cleanup-action', 'embms-download-token' am: c2f33f18eb am: 761bad1c53 am: 8f42a3a281
am: 5f48b1bc02

Change-Id: I12300a1e96b97cfa47e7ff82e2ac50e7e9932eab
2017-06-28 20:59:45 +00:00
Hall Liu
fa177aca74 Add download request tokens and enforce destination clear am: 2043f70acb am: 8763c625a3 am: fc156f357a
am: b70e48b33b

Change-Id: I8e9dbb203bb91c5ef32c38e0cb7de6f854e05ce8
2017-06-28 20:58:37 +00:00
Hall Liu
5f48b1bc02 Merge changes from topics 'embms-cleanup-action', 'embms-download-token' am: c2f33f18eb am: 761bad1c53
am: 8f42a3a281

Change-Id: Ib6c8e17b0d6664ded17ce8eb4314124eb676713c
2017-06-28 20:53:00 +00:00
Hall Liu
b70e48b33b Add download request tokens and enforce destination clear am: 2043f70acb am: 8763c625a3
am: fc156f357a

Change-Id: I929fd3306a7bb8bbc2eeb31eb1732c99ec0fb743
2017-06-28 20:51:57 +00:00
Brad Ebinger
ce07d61ce7 IMS: Check for binderstate before calling endSession
ImsRegistrationListenerProxy listener, which is registered
as part of ImsManager.open, is not cleared even after moving
feature state to NOT_AVAILABLE because end session
is never called.

Check for binder state instead of feature state READY before
calling end session. End session will be triggered after
moving feature state to NOT_AVAILABLE.

Notify Ims state change only for the supported feature state
change to clients.

Test: Manual
Bug: 62816014
Merged-In: Idfb6dfad51cca574c2ae25e2029ef7bdfe9d725b
Change-Id: Idfb6dfad51cca574c2ae25e2029ef7bdfe9d725b
(cherry picked from commit 913e11fcdf)
2017-06-28 20:39:23 +00:00
Hall Liu
761bad1c53 Merge changes from topics 'embms-cleanup-action', 'embms-download-token'
am: c2f33f18eb

Change-Id: I7c2b0b34ed56bc506ce6139fb39649aec8319e81
2017-06-28 20:36:49 +00:00
Hall Liu
8763c625a3 Add download request tokens and enforce destination clear
am: 2043f70acb

Change-Id: I91e61d8f15815efc9f4d08d71d01944c096dc05f
2017-06-28 20:35:54 +00:00
Hall Liu
c2f33f18eb Merge changes from topics 'embms-cleanup-action', 'embms-download-token'
* changes:
  Implement the cleanup action in MbmsDownloadReceiver
  Add download request tokens and enforce destination clear
2017-06-28 20:26:15 +00:00
yinxu
77e6f9909a Use Bundle for inter-process message
The message sent from NetworkScanRequestTracker to TelephonyScanManager
might be across different process, so we have to wrap the List<CellInfo> into
Bundle because List<> is not parcelable.

Cherry-picked cleanly from:
https://googleplex-android-review.googlesource.com/#/c/2467157/

Test: Telephony sanity tests
Bug: 30954762

Merged-in: I77945b247530b85c0b82876d528549498a711550
Changg-Id: I77945b247530b85c0b82876d528549498a711550
(cherry picked from commit 5604943709)

Change-Id: Iec4043e611a8f58733a361ec9a52fc74e1c974d5
2017-06-28 10:58:31 -07:00
Jeff Davidson
ad60b37575 Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev am: f28843dd3f
am: 53ad2499f1

Change-Id: I538f0405811b0df28960acdb6f275689f19185dc
2017-06-28 17:41:26 +00:00
Jeff Davidson
53ad2499f1 Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev
am: f28843dd3f

Change-Id: Ibd7c9c673c9272696cd955ddc50d4b55755d5429
2017-06-28 17:33:01 +00:00
Jeff Davidson
f28843dd3f Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev 2017-06-28 17:23:49 +00:00
Ying Xu
ed38bfdc8f Merge "Use Bundle for inter-process message" into oc-dr1-dev am: e5ad3821e3
am: c567b16604

Change-Id: Icc35859aec67db25113cc7cb86fc3af75886c65b
2017-06-28 16:59:26 +00:00
Ying Xu
c567b16604 Merge "Use Bundle for inter-process message" into oc-dr1-dev
am: e5ad3821e3

Change-Id: Ia847e54c387fc145b36313048860aa6b281d4c56
2017-06-28 16:54:19 +00:00
Ying Xu
e5ad3821e3 Merge "Use Bundle for inter-process message" into oc-dr1-dev 2017-06-28 16:47:50 +00:00
Hall Liu
990a573da9 Implement the cleanup action in MbmsDownloadReceiver
Implement ACTION_CLEANUP, add result codes for the ordered broadcasts,
and remove the download request extra for file descriptor requests

Change-Id: I5ee19ad0aefbdceacb636b3d17e197a6fb1bdaa6
2017-06-27 19:15:55 -07:00
pkanwar
db07b66d3a Radio Interface changes to pass the encryption object, including the
key,to the modem.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual
(cherry picked from commit 6d50fec388)
Merged-In: Idf835d9b99a26cb0c0d73fb70ffa9875843ac62b
Change-Id: Idf835d9b99a26cb0c0d73fb70ffa9875843ac62b
2017-06-28 00:31:58 +00:00
Derek Tan
cda9a836a9 Prevent any app except LPA to create logical channel to AID of ISD-R.
Bug: 33077154
Test: manual verification using LPA and Tycho.

Change-Id: I4ef85529d0f63d46849d5afe76df90a27171e7db
2017-06-27 15:03:51 -07:00
yinxu
5604943709 Use Bundle for inter-process message
The message sent from NetworkScanRequestTracker to TelephonyScanManager
might be across different process, so we have to wrap the List<CellInfo> into
Bundle because List<> is not parcelable.

Test: Telephony sanity tests
Bug: 30954762
Change-Id: I77945b247530b85c0b82876d528549498a711550
2017-06-27 14:52:45 -07:00
Jeff Sharkey
55b390b399 Merge "Only require that system UIDs tag their sockets." 2017-06-27 19:11:03 +00:00
Brad Ebinger
69754b07ba Merge "Merge "IMS: Check for binderstate before calling endSession" am: c49534cf09 am: 1de1c2bb66 am: 8f2950b2c4" into oc-dr1-dev-plus-aosp
am: d0b5ca2e26

Change-Id: Ie3b0ba66d5e954a2d2c23c70a0d35ea1b7660670
2017-06-27 19:03:11 +00:00
Jeff Sharkey
5ab0243330 Only require that system UIDs tag their sockets.
Apps with a normal UID are typically isolated enough to not require
socket tagging; we're mostly interested in tracking down internal
UIDs that have lots of code sharing the same UID.

Also fix up everyone doing manual string checks of Build.TYPE, since
we now have first-class fields for those.

Bug: 38126076
Test: builds, boots
Change-Id: I3a40348196bd8459289f2b9355d9783a07f1e7dd
2017-06-27 11:11:06 -06:00
Brad Ebinger
913e11fcdf Merge "IMS: Check for binderstate before calling endSession" am: c49534cf09 am: 1de1c2bb66
am: 8f2950b2c4

Change-Id: Idfb6dfad51cca574c2ae25e2029ef7bdfe9d725b
2017-06-27 17:08:55 +00:00
Brad Ebinger
1de1c2bb66 Merge "IMS: Check for binderstate before calling endSession"
am: c49534cf09

Change-Id: I9d173693c466b7d8512d11f266af48f5307669d5
2017-06-27 16:57:11 +00:00
Brad Ebinger
c49534cf09 Merge "IMS: Check for binderstate before calling endSession" 2017-06-27 16:46:59 +00:00
Jeff Davidson
7b69a86b02 Add EuiccManager#retainSubscriptionsOnFactoryReset API.
By default, all subscriptions are wiped on first boot after a factory
reset. This ensures that if data is wiped outside of userspace (e.g.
in fastboot/recovery), the profiles are wiped, as there's no way to
offer this option to users in those modes - the radio isn't available
for us to access the eUICC.

This API provides a way to bypass this wipe if the user opts to retain
the policies for a wipe done from userspace (e.g. by unchecking the
"Wipe eUICC" checkbox in platform settings before wiping). We tell the
LPA to note this and skip the wipe on the ensuing factory reset.

Change-Id: I2fe472417497e28b043841a5aa2dc9efa45ebbff
Test: TreeHugger
Fixes: 62681577
2017-06-27 09:23:07 -07:00