fdb62835992e82681d2166dbf5716e26ab57d964 |
|
08-Aug-2015 |
Pavlin Radoslavov <pavlin@google.com> |
Revert "Bluetooth-OPP: Enable support to send same file multiple times" This reverts commit 86449ac4bc7a8f4b2afeab4da420ae4f980c850a. The revert is needed to address an issue that crashes Bluetooth. Bug: 22836458 Change-Id: I8c8b51544637dd1c2250eb91e86cb2ca1bbc9fe7
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
3aecf54308d60eea10fe10a5c18e4dff455aef66 |
|
05-Jun-2015 |
Pradeep Panigrahi <pradeepp@codeaurora.org> |
Use long as file size instead of int while using OPP. Use Case: 1. Pair and connect to Dongle 2. Send a 2GB file from Dongle to DUT. Failure: File transfer failed in between. Fix: This patch fixes issue of problems in sending/receiving files which cannot be accomodated in int type of Java. Instead of using int, long data type is used, which can hold 64 bits data size in JAVA which is suitable for storing file sizes in GB. Changes are done in how updates are sent to progress bar which supports only int by using the percentage of data transferred to update the progress. Bug: 21896912 Change-Id: I49f9bf8a4a0e3668e32058d582a2700b0e6057e8
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
86449ac4bc7a8f4b2afeab4da420ae4f980c850a |
|
13-Dec-2013 |
Hemant Gupta <hemantg@codeaurora.org> |
Bluetooth-OPP: Enable support to send same file multiple times Change will add support to send same file multiple times. Otherwise, if same file is selected to send multiple times after first transfer succeeds queued instances of the same file got removed and it fails to be sent. Change-Id: Ic5b3706644a417cae2491d1df9588a22344f1711
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
f60d96d6bf4c3dce367ce48436f383897c7f9719 |
|
15-Apr-2013 |
Priti Aghera <paghera@broadcom.com> |
Fixed a NPE Bluetooth share was crashing due to NPE. Included a check for Inputstream in BluetoothOppSendFileInfo. bug #7924487 Change-Id: Iccceb607a46962f84538e912d62f407ad5ee2f21
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
3911cfeb7c5e2242dcce91e3b66d9449dec0bd05 |
|
11-Oct-2012 |
Zhihai Xu <zhihaixu@google.com> |
Bluetooth OPP should sanitize Uri data and MIME types before calling startActivity bug 5842045 Change-Id: I00a80fc7dc6c6031ab35113539ff6cdf4cf230a6
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.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/BluetoothOppUtility.java
|
8099f5e7bfa7227ba674b5f0076f331e737bafd7 |
|
06-Apr-2012 |
Martijn Coenen <maco@google.com> |
Additional changes to support Bluetooth Beam. - Added a whitelist permission, to ensure only system services (such as NFC) can whitelist MAC addresses. - Added HANDOVER_STATUS permission, to ensure handover transfer status can only be received by eligible services (such as NFC). - Added new confirmation type HANDOVER_CONFIRMED; this indicates the transfer was initiated by a handover, and doesn't need to be confirmed. This type is also reused to send broadcasts to the NFC service, so the NFC service can show notifications and deal with the received data. - Added 15 second timeout to whitelist. - Modify notication code to not show any notifications for handover transfers; instead, send broadcasts to indicate handover status. - Modify "transfer complete" code to sendbroasts to indicate handover status. Change-Id: I00c08e09eaf44f0bd4bd837cb6b0c37b802742bc
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
1d2222642c372e5635a906b6d6620ac35a304cf9 |
|
16-Apr-2010 |
Lixin Yue <L.X.YUE@motorola.com> |
Fix the %1 bug in UI when sdcard full
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
1f0fc26568c1babf0c66d2c75812b72e894eb0de |
|
16-Dec-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Fix non-existing received file still appearing in live folder issue After receiving a file by OPP from Bluetooth remote device, user can delete this file from Gallery or 3rd party application. In Opp live folder, user could still open this file, but with dialog "file not exist" displayed, and there is no way to make this file disappear from liver folder. Current solution is to delete the BT OPP DB record after openning an invalid uri associated with the file in folder, as an easy method without syncing.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
3a88b20fcd71e42451e402d27374b19eeb2ff0da |
|
08-Oct-2009 |
Nick Pelly <npelly@google.com> |
Update application code for BluetoothAdapter.getDefaultAdapter(). Change-Id: I7baafb909b74783da4e51d48f2465e7aacf07eb5 DrNo: eastham Bug: 2158765 Joke: What goes 99-thump, 99-thump? A centipede with a wooden leg.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.java
|
888485a3f5fe991116c5536bb6d6903d47b63a70 |
|
31-Aug-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
Cleanup Opp debug code Stop Rfcomm polling Delete a few unused functions
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.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/BluetoothOppUtility.java
|
41ef8d494511c040451f2f887cb31c3100746b61 |
|
07-Aug-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth: Update Bluetooth.apk to match BT API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc).
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppUtility.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/BluetoothOppUtility.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/BluetoothOppUtility.java
|