e026ad5004a084c95b86a061924c692546a10395 |
|
23-Jun-2016 |
Ajay Panicker <apanicke@google.com> |
Close output stream before getting response If the output stream is still open after finishing the sending of a file, a CONTINUE response code is received instead of an OK code. Bug: 29583227 Change-Id: I1b2515e8fe5eec208bbbe1df17f96cc20c5ea884
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
120ba1db4d2c8822473ce2e0623297dbf08449a4 |
|
21-Jun-2016 |
Ajay Panicker <apanicke@google.com> |
Fix how file size is calculated if not provided Currently if there is no file size provided, InputStream.available() is used to guess how many bytes are available. According to the java documentation, available() should not be used to calculate file sizes, as it isn't guarenteed to return the total number of bytes in the stream. This is fixed by reading the stream to calculate the length, then resetting the stream. Bug: 29334784 Change-Id: Ic851c46d053157e4d5404352d76f9ff87a509607
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
8c7fcbf3f2564724f82e954a959081ff5d46a1bb |
|
11-Sep-2015 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Update share status when interrupted at remote side. Use case: 1) Select a file on DUT and send to Remote device through OPP 2) Accept the incoming file on Remote 3) While file transfer is in progress, stop the file transfer on Remote. 4) Again send the same file or different file to the same Remote Device. Result: OPP file transfer does not start. Fix: Update interrupted outbound content resolver entry when Transfer is stopped at remote side. Otherwise DUT fails To push OPP file after earlier OPP file is stopped on Remote Device. Change-Id: I9944bdd47ff9e31d0f9f8a157592e407e000e96c
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
cc810f757b28d95d3a67d1810426bbedd69a0d88 |
|
09-Oct-2015 |
Deepak A Metri <deepak.a.metri@intel.com> |
Improve BT OPP throughput Progress Bar updation during OPP takes around 40ms for each update. This causes a significant delay in OPP file transfer, which eventually will decrease the throughput. To improve the throughput, invoke the progressBar updation only if there is a change in the percentage. Change-Id: I64a0b47093698959026d2b97f296c709a7d92703 Signed-off-by: Deepak A Metri <deepak.a.metri@intel.com> Signed-off-by: Cedric Bondier <cedric.bondier@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
db94389c30d5ad5555a922d28868b119e1c6f2e1 |
|
23-Jun-2015 |
Andre Eisenbach <eisenbach@google.com> |
Fix compile errors due to OPP merge Change-Id: Ia07d99d58785c7e974b1fb32afaeb157ad337932
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
ae8997b870d52d6701813e6f3ff9d87a5a083bf3 |
|
29-Aug-2013 |
Pradeep Panigrahi <pradeepp@codeaurora.org> |
Mark proper file transfer status upon OBEX response timeout Use Case: 1) Pair with remote dongle and send a file over OPP. 2) Reset dongle such that there is obex response timeout. Failure: File transfer status is not marked a failed and hence cannot be retried Fix: This patch will handle the scenario of obex timeout which occurs due to cancelling the transfer in between and trying sending again. Bug: 21896912 Change-Id: Ide1a64e5874bda2c5cf71531f5971bc8bebf5e9f
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
fbe0089395f9f81c1143cffe0674d0e406dfb983 |
|
29-Jan-2014 |
Pradeep Panigrahi <pradeepp@codeaurora.org> |
Avoid sending TRANSFER_COMPLETED_ACTION intent multiple times. Use Case: 1. Share a picture through Bluetooth, select partner devices. 2. The partner devices do not confirm to receive the file. 3. Check the transfer status on the DUT. Failure: Failure Notification pops up twice when the shared files not received by the partner phone Fix: This change ensure that TRANSFER_COMPLETED_ACTION intent will not sent to receiver if there is any exception occurred during OPP operation because this intent is already sent to receiver from message handler. Bug: 22028876 Change-Id: I3ad2f24be185c37355dff43009a5236bede0106a
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
8eb70f8bdf4e8c970810b3400aba8d08d14ce222 |
|
21-Feb-2013 |
Martijn Coenen <maco@google.com> |
Add OBEX object count support to Bluetooth. To support Android Beam receiving information about the number of files in a OPP transfer, add the Count OBEX header. Also add a new intent to tell the handover requested that a transfer has started, including the count (if any). Change-Id: Ib5e0e8dbc6c2e3259e0f732a507557c3688e168c
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
ee52ddf33a0ce2cf89cc028136f60ae600c45de5 |
|
27-Jul-2012 |
Jake Hamby <jhamby@google.com> |
Enable Bluetooth sharing of downloaded files. Change BT OPP to open the InputStreams of files to share in the BluetoothOppLauncherActivity (or BluetoothOppHandoverReceiver for NFC shares), while the process has grantUriPermission() on the URI's to share. InputStreams are saved inside the existing BluetoothOppSendFileInfo objects, which no longer include the mDestination field because this isn't known at the time the SendFileInfo object is now created (before the user has chosen the destination BT device). These objects are stored in a static ConcurrentHashMap in BluetoothOppUtility and are removed when the file is closed (on success or failure). If the user tries to share thousands of files in one batch, we may not be able to open InputStreams for all of the files in the batch. In this case, the open should fail gracefully. Bug: 6808783 Change-Id: I3f3f86d2dc1a78a837aeb6a888f90b26434ba499
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
74ae04c73312403e89db0f8e9bd9601d403b4783 |
|
07-May-2012 |
fredc <fredc@broadcom.com> |
Fixed memory leak in Binder objects from repeatedly turning on/off Bluetooth Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
0ac98162ff293fdaa23f93f9839aaad5428af537 |
|
18-Nov-2011 |
Chih-Chung Chang <chihchung@google.com> |
Read the requested file size completely. This was causing failures while sharing pictures from Picassa over Bluetooth. Bug:5632161. Change-Id: Ieb2697513299270b2982ebc6c9f0b367adf36d3a
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
a4508589f298c67fda54c344760ae39f0f375c11 |
|
10-Dec-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Update the error codes to be compatible with PBAP spec. Catch IndexOutOfBoundsException and NullPointerException in Opp sendFile().
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
fa5d402906010cd17c8ed7de0dbcbfdcb78dab20 |
|
01-Sep-2009 |
Nick Pelly <npelly@google.com> |
Workaround bug in Poloroid Pogo. Rename extra dots to underscores. Working with Poloroid to get an updated list of affected MAC addresses. For now we just have 00:04:48.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
ce4d93666275df294cb073fe41de5b85932570a8 |
|
28-Aug-2009 |
Nick Pelly <npelly@google.com> |
Clean up Logging. Use the pattern if (V) Log.v(...); for logging. The Android style prefers curly braces, but for log lines it is ok to use a one-liner to keep the code manageable. Remove spaces from some log tags, and rename TAG BluetoothShareProvider to BluetoothOpp. Rename LOGVV to V, and LOGV to D. Just before ship we will change Constants.DEBUG and Constants.VERBOSE to false to compile out all the logging code.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
1ac5507790a87810061a19dadec36eb328a222ea |
|
07-Aug-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
OPP update Rewrite provider permission to allow LiveFolders work Support file:// uri to share file Support multiple share from gallery Fully support sending file queue Hold incoming connection for a while when OPP is busy instead of reject directly Move notification update to a thread Handle many error cases to display correct error messages Improve server/client timeout Delete empty file after reject incoming file Support upper case incoming file extension Avoid multiple mediascanner connections
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
52236de777c23788df8147de15912a57e8bc36dd |
|
04-Aug-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
Fix a few OPP issues Grab wakelock for server session Fix send small file bug
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
6769b59d715ea98bd72eafcfea9acd2714a887da |
|
15-Jul-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
Make opp compile Modify to make opp application compliable in new git -change package name -change manifest -modify a few comments
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|
09e9cba205af60b3f42e7a4d891a7d1392e1f2a5 |
|
11-Jul-2009 |
Nick Pelly <npelly@google.com> |
Initial drop of Motorola Bluetooth OPP code. Minor changes from Moto code: - Added Motorola BSD license - Moved com.motorola.bluetoothshare to com.android.bluetooth.opp - Updated com.motorola.obex to javax.obex - Moved Android.mk to Android.mk.hide: does not yet compile due to changes in Obex library.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
|