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/BluetoothOppManager.java
|
7a4cc5c2f6ec06e8dc6f930680ce9aceff6df359 |
|
14-May-2012 |
Martijn Coenen <maco@google.com> |
Add BT address and mimeType to handover intents. Also, allow refreshing whitelisted entries by sending another whitelist intent. Change-Id: If85db397e31364939c67b3018413b625a1888ae6
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.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/BluetoothOppManager.java
|
d6eaf19f39e163e16d22e29907edec402b30622e |
|
04-Apr-2012 |
Nick Pelly <npelly@google.com> |
First cut at Bluetooth Beam. Add Bluetooth address white-listing to avoid receive confirmation from Beam interactions. Change-Id: I25720c6e902c494cbb9845a30a175edad4225b89
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.java
|
e7f887dab2591a46ecf80616e00f33bb5d847935 |
|
07-Dec-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of 55936599 to stage-korg-master Change-Id: I5f04a3ae2f0246853f16b0fdb209e67df95e6ca8
|
a930b6831d0c70b6c5d34e548e6b1dceaa6529a0 |
|
01-Nov-2010 |
Mohammad Shamsi <m.h.shams@gmail.com> |
code cleanup. unused imports, local variabls and static constans removed from com.android.bluetooth.opp package. Change-Id: I0fd682a190221e216fac71723c05d3828b9fa42d
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.java
|
55470710c2624bde2aa56275d29b60055638c06c |
|
03-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Replace use of SharedPreference commit() with apply(). Also fix a typo and replace a bunch of redundant SharedPreference.Editor commits with one at the end. Change-Id: I75623cb6809a363d05421f80f1560d586ae1ab80
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.java
|
0bd5f7b5c36a60687ffe895368fd8df6df38acab |
|
24-Mar-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix pbap and opp running bluetooth in phone process problems. 1. Use the right context instead of application context. 2. Make PbapActivity run in the same process as PbapService as they share state. Change-Id: Ib50c63c271dd8b30108f22734c47ee8645cd4839
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.java
|
c6f1bacf1d4c39d7efd5dc98004d936c18ed51f1 |
|
23-Dec-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Move insert share info operation to a thread to avoid Receiver timeout In OppReceiver, the function mOppManager.startTransfer(remoteDevice), which is used to insert share records to DB, can be really a time-consuming operation in case of 300 or more objects sharing case. For onReceive() function in BroadcastReceiver, there are below specification: The function is normally called within the main thread of its process, so you should never perform long-running operations in it (there is a timeout of 10 seconds that the system allows before considering the receiver to be blocked and a candidate to be killed) Add handle to concurrent sending case In Gellary, user can multiple select files (say 50files), and share via bluetooth to device1, and then right away share via bluetooth to device2, and also can share to device3. In such extream case, we need ensure all share info are saved to db. Complete the TODO in OppManager Store application data to SharedPreferences and restore them when service restart.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppManager.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/BluetoothOppManager.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/BluetoothOppManager.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/BluetoothOppManager.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/BluetoothOppManager.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/BluetoothOppManager.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/BluetoothOppManager.java
|