History log of /frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07f1843e2831aac5ac54f35eb62d09899177c65f 10-Apr-2018 Hall Liu <hallliu@google.com> Make setServiceId a TestApi

Bug: 77152869
Test: CTS
Change-Id: I26f60b48865953971de02c50db48e0ff66f4e2a0
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
5b844876ba5226941e9426409f2dab0f52bb5ae8 06-Feb-2018 Hall Liu <hallliu@google.com> EMBMS API tweaks

Make changes per API council recommendations
Also clean up the download flow -- provide option for app to specify a
destination as long as it's on the same filesystem.

Bug: 72837388
Fixes: 72231372
Test: CTS and testapp

Change-Id: Ia2a68a73e6d61f426b55068542a66995afc20407
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
ea737a8e1eb043af80e77f0851d4ba245fe4b0c7 09-Oct-2017 Brad Ebinger <breadley@google.com> Require DownloadRequest#Builder to have mandatory Source URI

This change modifies the API to require that the
DownloadRequest#Builder includes the Source URI as a mandatory,
non-null parameter.

Test: Manual, Telephony Test MBMS app
Change-Id: I7d44e977314a57fdf063aa233bfb978b48ebf1db
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
e373ee5d5ce38a7570471ae269e4b7a41052a1be 09-Sep-2017 Hall Liu <hallliu@google.com> API council suggested edits, part 3

* MbmsException no longer thrown from the common methods, and the error
codes are now containined in MbmsError.
* In order to avoid ANRs while processing download-done broadcasts,
don't perform arbitrary moves when a download is done. Instead, move
into a staging directory and let the app handle it.

Bug: 30981736
Test: testapps
Change-Id: I9416f28b4f24f89af1da6f56a93ea0f0e4ea3878
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
39605add8994d6114736c2e98fa8314209215670 15-Aug-2017 Hall Liu <hallliu@google.com> Unhide EMBMS download API

Make changes to the download API so that it passes the linter, remove
@hide tags.

Test: manual
Bug: 30981736
Change-Id: Ifa0d36896338b0108fbaad4b1e9b8d857a43d491
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
ff6f9862e5dd1b2fd825ed69dc11918a0565fd33 29-Jul-2017 Hall Liu <hallliu@google.com> Prepare EMBMS apis for un-hiding

Add more documentation to places that were lacking, bring more things in
line with the API guidelines

Change-Id: I809af5534ab425ee7e1e2dc8695d5b7e649dd22d
Test: testapps
Bug: 30981736
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
d5c955fcdc3e24108cc4e25c7830eb8f6a9e02ba 21-Jul-2017 Hall Liu <hallliu@google.com> 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
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
3bedd88caeda1ce5add85228d00107f04e78dbe3 29-Jun-2017 Hall Liu <hallliu@google.com> 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
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
9f116ef480fce78c8a8211ba96e74607e33aec56 24-Jun-2017 Hall Liu <hallliu@google.com> 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
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
2043f70acb2fa0bb9c0ddc056c9bfd427addc580 20-Jun-2017 Hall Liu <hallliu@google.com> Add download request tokens and enforce destination clear

Start writing tokens for each download request after calling download(),
and check agains them when a completed-file intent is received with a
download request extra.
Also start checking that the download destination is clear.

Change-Id: I533fe2ba49ac56bed5eab44670fe8e9a273b1ffb
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
fcbf24075dca399bbe94979aef770b4aef705db4 07-Jun-2017 Hall Liu <hallliu@google.com> Embms download part 2

Add support for multi-part file downloads.
Improves destination directory handling in the download process.

Change-Id: Ibad57bab8804530ce09305424790d5520cd02071
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
4b88cf450200698d1af92c91a05149c394a7fa1b 19-May-2017 Robert Greenwalt <rgreenwalt@google.com> Move appName inside Downloadrequest.

Simplifies vendor API.

Test: builds
Change-Id: I1e59e8014aa0fe1c0d46bca3347f428347fa0365
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
563e150c2d806f2c616851d19de8b3d6dbfb699f 26-Apr-2017 Hall Liu <hallliu@google.com> eMBMS API update

Brings eMBMS APIs into alignment with the architecture doc.
All APIs are hidden for now.

Test: builds
Change-Id: I6e692bd363f998d1cd8f80faa72bde71ffe8fd2e
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java
4dded7a1b5a7ff6ed7402a9c2c512e4751421d7f 06-Dec-2016 Robert Greenwalt <rgreenwalt@google.com> Second pass of eMBMS api.

Updating Streaming apis. Adding midwear aidl files.
Updating Download apis.
Making it Compile..

Test: none yet
Change-Id: I3f44ef3f6690274af1dc2002bc02e6668fe23248
/frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.java