History log of /frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bc9f7cdf91a21ea4d4e357c4ac6cd06f5a43ff43 01-Jun-2018 Hall Liu <hallliu@google.com> Move the "repeated calls" caveat

Previous CL put the "repeated calls will replace the listener" comment
on the wrong method. Fixing.

Bug: 80493663
Test: None, doc change
Change-Id: I2736a582d79b3b2f204519c649d82d9ba912e1e5
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
c1ae0a76568a9842d95ff629f1ace77d1215eff9 31-May-2018 Hall Liu <hallliu@google.com> Fix MbmsDownloadSession documentation

Fix the TODO from forever ago and update the docs for the listener
registration methods.

Change-Id: I1276d0afe430e1b50c0af1fdfacb12a89ea5aa38
Fixes: 80493663
Test: None, comments only
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
c21bf59665de6156433630d4e97fc1c0da31b0d1 29-Mar-2018 Hall Liu <hallliu@google.com> Make changes to MBMS API following recs

* Change all error handling logic to return an error code via the async
callback
* Add an UNKNOWN code for errors for future backwards compatibility, and
prohibit the middleware from sending this code.
* Add IntDef for errors through the async callback
* Amend documentation for download()
* Implement support for arranging downloaded files into a hierarchy
following that of the server.

Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74
Fixes: 76449215
Test: CTS
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
d63c009d5fb73a8f8483642bb87860ae7da43cbb 29-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add additional logging for EMBMS edge cases" into pi-dev
7c94698cfa217482f379506528e1329f9d6b25f5 09-Mar-2018 Hall Liu <hallliu@google.com> Add additional logging for EMBMS edge cases

Add logging when failing to delete temp files or write download
tokens.

Test: logging only
Bug: 77237200
Change-Id: Id7836f3660d37d8cd94580d221c95b2c15c2cb68
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
ecd4709573096b28b21b85df15e10925c42f482c 24-Mar-2018 Hall Liu <hallliu@google.com> Merge "Split the DownloadStateCallback class into two" into pi-dev
7953997160c032d1fa1d2b09636cd38787ba2909 20-Mar-2018 Hall Liu <hallliu@google.com> Split the DownloadStateCallback class into two

Use individually-registered DownloadStatusListener and
DownloadProgressListener instead to listen for download status and
progress, respectively.

Bug: 74409377
Test: cts
Change-Id: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
86636fc1d882e9156e02324fe11ee6ed158743cd 13-Mar-2018 Hall Liu <hallliu@google.com> Add IntDef for MBMS download result

Change-Id: Idd8434e65691fc5d08f5427add6aec1870b76619
Fixes: 74409057
Test: compiles, no functionality change
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.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/MbmsDownloadSession.java
e1af92e44d432f260b347ad5cf0452b0992dbd5e 05-Jan-2018 Hall Liu <hallliu@google.com> Add missing return statement in setTempFileRootDirectory

Return without setting the local temp file root if the middleware
reports a failure.

Test: cts
Change-Id: I5e8ea1f7941a7157d88536925f681044d26ef540
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
92964f60ecb8086179d84778c924832f6d9f822e 16-Dec-2017 Hall Liu <hallliu@google.com> Rename MbmsDownloadSession#getDownloadStatus

Rename and change signature/behavior to match up with middleware
vendor's expectations

Test: run CTS tests
Change-Id: If18acff5631cfc0473c342e9250973866e960d69
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
c6703d9af7aede1b3d886a575bfe21929dd68dc0 17-Nov-2017 Hall Liu <hallliu@google.com> Add feature flag and EMBMS bug fixes

Add a feature flag for EMBMS
Modify validation in ServiceInfo constructor
Change return signature of some download methods to better reflect
synchronous errors

Test: run cts tests
Change-Id: I42ee748ba29ba62becf23c5487310cd1e7a397da
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
5e9727f5dfbe5d5a3d2d514ed7d0f72720a6c0cf 01-Dec-2017 Hall Liu <hallliu@google.com> Set sIsInitialized to false and add logging

When the service goes away due to a remote exception, set sIsInitialized
to false as well as setting the service to null.
Also log the serviceconnection disconnect.

Bug: 70032958
Test: cts
Change-Id: I34c1ea804537c62bd4348ba3aeeca7ba2c0becb6
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
64e22af32ef2545e83e92fb6484ae412e7d6a6e3 20-Oct-2017 Hall Liu <hallliu@google.com> EMBMS - Add TestApi and provide service override

Add @TestApi annotations to methods that CTS needs
Add a manifest meta-data key that allows client apps to specify the
exact component name of the MBMS service to bind to.

Bug: 68049452
Test: CTS
Change-Id: I50654c41da38696a25fad93d0a5e0b0c11fa0b42
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
e9bd5449b5a70d9f767bad32350b2b270b0e1367 12-Oct-2017 Brad Ebinger <breadley@google.com> Merge "Add new Download Error Codes"
6fb5072fa879d4243aa05052c3cdc57555a44e92 10-Oct-2017 Brad Ebinger <breadley@google.com> Add new Download Error Codes

Adds new MBMS Download Session error codes to allow for
more fine grained error reporting to the client app.

Test: Manual
Change-Id: I9c2163d934835efaaa145e4c0f8a91838d84aa1e
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java
c74ae34ddb3b1b6af01f407b8633d43c3ac482bc 30-Sep-2017 Brad Ebinger <breadley@google.com> Adds a filtering bitmask to DownloadStateCallback

Adds the ability for an EMBMS app to specify a filtering
bitmask to DownloadStateCallback, which is used to filter
out callbacks that the EMBMS app doesn't need to listen
to.

Test: Testapps
Change-Id: Id7f26ba3c3606c644b0ca3376df1107f5834facb
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.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/MbmsDownloadSession.java
23d80af5c11de192bdb648642706c43c942be60e 02-Sep-2017 Hall Liu <hallliu@google.com> Apply suggested edits to the file-download API

* Rename Manager -> Session
* Add Handler for callbacks in download flow
* Separate out registering a state callback into another method
* Rename dispose -> close, implement AutoClosable
* No more thrown MbmsExceptions
* Add sanity check for temp file root
* Remove the getNames method, replace with getNameForLocale

Bug: 30981736
Test: testapps
Change-Id: I1a2054d79c934bc4929464de4a644b6960db47e9
/frameworks/base/telephony/java/android/telephony/MbmsDownloadSession.java