560fb676a64f888d31e672a4b66e52a05abb5f26 |
|
21-Mar-2017 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Remove un-supported formats from SDP Use case: 1. Send a vcalendar file to DUT 2. Verify file is received on DUT Result: DUT rejects vCalendar put request with reason unsupported media type although DUT SDP records claim support for vcalendar format. Same is valid for vNote and vMessage formats as well. Rootcause: ACCEPTABLE_SHARE_INBOUND_TYPES does not have support for above MIME formats. Fix: Remove vCal, vNote and vMessage from OPP Server supported format list. Reproducibiltiy: 5/5 Test: All PTS tests that were enabled because of support for different OPP MIME formats got disabled as by default OPP Rx will not support these MIME formats leading to no OPP failures in PTS. Bug: 36467777 Change-Id: I2503f5c61dd28fd3cf73d10939c6d931dbe0d6ea
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
4aa5e4e2fe52c06d97481db0bf180349053dae48 |
|
16-Feb-2017 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Add OPP 1.2 feature. Add changes to support OPP 1.2 which uses OBEX over L2CAP. Test: Connect with Remote OPP Client supporting OPP 1.2 and verify that connection and transfer happens over L2CAP. Connect with Remote OPP Client supporting OPP 1.1 and verify that connection and transfer happens over RFCOMM. Bug: 33010988 Change-Id: I44c2f2f01fb04f4306d0eb121d66dc08954966c0
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
8711aafd89ae152e9c8f228a21e52ba4fbdafd59 |
|
17-Feb-2017 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Fix Functionality failure for OPP Rx Usecase: Send file from Remote BT device to DUT Expectation: File should be received properly Observation: File reception popup does not occur on DUT Root Cause: Socket listener not started for OPP Fix: Add changes to properly start listeners for OPP Test: 1) Verified that SDP records for OPP are exposed and can be browsed by remote OPP Client. 2) File can be received without issues from OPP Client. Bug: 35416619 Change-Id: I5b4f343f3fd7b957ce423ce2cb76cd0683e10c3a
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
72d0629dfc5db8ae48a512b47aa384f42b9ed71d |
|
07-Feb-2017 |
Marie Janssen <jamuraa@google.com> |
Services: start PBAP and OPP like other services PBAP and OPP are currently normal services that are started and stopped by the system. Have AdapterService start them just like all of the other profile services instead. Bug: 34395439 Fix: 35216901 Test: connect to a carkit that does PBAP Test: use beam to receive a file Change-Id: I84e769886f6aa4e698bd07fb9900f124111b50b3
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
17109c836b13f1b3cf08f37db70fb8634d96f911 |
|
28-Apr-2016 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Send proper share status of file once transfer is complete Use Case: 1. Select >15 files from DUT and try to transfer it to already paired device. Some file are of very small size. 2. Check whether all files received or not Failure: File transfer fails in between. Fix: Share status of the file will be sent with MSG_SHARE_COMPLETE to avoid sending the file again during batch transfer. Otherwise, if DUT is sending batch containing small files transfer will be completed immediately and status may not be updated to correct state. This will lead to sending of same file again and transfer will fail because file info is already removed from the hashmap of pending shares. Change-Id: Ibbb0d44b72796af4844ae6289ba8182b4bbd4445
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
eb7b90f5b93db1230a5b64caa3d8d05a642e33a6 |
|
10-May-2016 |
Marie Janssen <jamuraa@google.com> |
Cleanup unused requires in java files Change-Id: I7b055c1d3d3f6a69e9f49c077853ab45fcad7106
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
def48bd39db63087d076d2eacdef1d496394b2d8 |
|
10-Mar-2016 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Use long instead of int Use long instead of int data type in OPP Java code to prevent overflow of timestamp and filesize during transfer of large files which caused transfer failures. Change-Id: I58c9b49f59d47f6f162156eb6594e66731732580
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
9fd2069d25d38bc3ae6b1d14732cbaa24be292e8 |
|
14-Aug-2014 |
jun.x.wang <jun.x.wang@sonymobile.com> |
Fix NPE crash while removeBatch When unpairing two devices, the BluetoothOppShareInfo in BluetoothOppBatch may be null during transfer. Change-Id: I7b4fbd0f291250deebdeaea4bf2d2f540fe233dc
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
e93cc4d347fd5d263d7740ad85f7f99b64651126 |
|
17-Nov-2014 |
Matthew Xie <mattx@google.com> |
Check previous user confirmation before auto-confirm put request Also correct a confirm status change check in updateShare. Bug: 17770561, 18343032 Change-Id: I8e7d10e73604c0bf1c88801a1caef7d579fbd1eb
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
70743aa46fa95bd252acea614bfde8cc65e03890 |
|
23-Oct-2014 |
Matthew Xie <mattx@google.com> |
updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it bug 17770561 Change-Id: I34fb018d9787b4deef8592c71f5539778e76e325
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
750fd64e9e3724902190f74ebb2538a966a3e11e |
|
04-Mar-2014 |
Juffin Alex Varghese <jalex@codeaurora.org> |
Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero This change will avoid IndexOutOfBoundsException if number of sharing files are zero. Otherwise, Bluetooth application will force close itself when exception encountered. Change-Id: I42473c8ca2d9116c6d57707ab8f3c452d7027e67
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
275aaa55584ba62ab176a30cdabc432a6ff875d2 |
|
03-Oct-2013 |
Ashwini Munigala <AshwiniM@codeaurora.org> |
OPP: Handle intent receiver leak for BT TURN OFF. Mark INBOUND and OUTBOUND active transfer as cancelled on BT TURN OFF. Change-Id: I52e6d59ba56e004af2dc25b85975dfeb6c19320a
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
0f4ef70f0bc246b224f7b6da524128db89fcc8a7 |
|
30-Nov-2012 |
Matthew Xie <mattx@google.com> |
Clean up debug messages bug 7626174 Change-Id: I0161d54dd325a7a1afcf8926ef54cd483e7503fb
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.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/BluetoothOppService.java
|
15d36984a79d6e35c659edb0efdf929f0b526bd5 |
|
01-Aug-2012 |
Fred <fredc@broadcom.com> |
Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR. This fix addresses numerous BT on/off issues found from the CTS test. Fixed fD/pipe leak in various state machine Looper objects by calling quit() function. Fixed cursor leak in AtPhonebook. Change Pbap to stop the RFCOMM listener on the STATE_TURNING_OFF instead of STATE_OFF. Removed several cleanup() methods causing NPE. Reduced RFCOMM listener timeout from 3 seconds to 300ms between retry. bug 6834336 Change-Id: I52423343d8f52f65294af0143f373871a9874d77
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
4852c5686229f1014e9851f4e9a3a19547581b45 |
|
10-May-2012 |
fredc <fredc@broadcom.com> |
Moved BluetoothAdapter.ACTION_STATE_CHANGED broadcast from AdapterService to BluetoothManagerService Change-Id: Ic9911359c1d9e04a5d803807ea7cf4ad39616960
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
31ba132491053bc86d419a7d51fc04af3299c076 |
|
26-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed Bluetooth on/off issues. Removed singleton instances causing issues when services reload. Updated adapter state machine Change-Id: Ie1ff4284f507c7da102569f3c0acfd55612a5f6b
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
3fafe61ef25c1899fdc817c52163aec16c31055c |
|
19-Apr-2012 |
Ravi Nagarajan <nravi@broadcom.com> |
Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup.Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup. Change-Id: I2b0235f71c1feaf32215b2aaf89a2e06d8fa7d73
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
d5e1472188b7e21123a02339ed8766256aa8f630 |
|
15-May-2012 |
Martijn Coenen <maco@google.com> |
Don't MediaScan files received through handover. Handover providers such as NFC may move the file in the filesystem (out of /bluetooth), hence it's better not to scan them here. Change-Id: Ic374c5ae880cb65e2d8a9ce615115b51fdc29353
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
ef697b0b9a74e15b5003e134307e72b20b48de12 |
|
02-Aug-2011 |
jhtop.kim <jhtop.kim@samsung.com> |
Bluetooth : fix for the OPP service bug while BT on/off Update patch set for removing BOOT_COMPLETED. BluetoothOppService.java : use sendMSG instead of sendMSGdelayed BluetoothOppReceiver.java : delete boot-complete line AndroidManifest : delete boot-complete line Change-Id: Icf9a2f48a70ba519cb3caf93a0b33e13472d1f54 Author: jhtop.kim <jhtop.kim@samsung.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.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/BluetoothOppService.java
|
0a79bdbbfa3b79b808cbbe7490731e5aae4489e9 |
|
28-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Trim the Bluetooth database off the main thread. This looks to be most if not all of the remaining StrictMode violations in this process. Not a huge deal, but cleaning up noise will make bigger problems stand out easier in the future. Change-Id: I262194c12114114fbe059d73475afb1bbb5654ab
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
eb77c4b1d9aa71d7dd8dd934e9d1971583f9c0e2 |
|
03-Aug-2010 |
Liejun Tao <L.J.Tao@motorola.com> |
Optimize Opp Notification Current Opp notification is running too frequently. When file transfer speed is fast, it could update notification 7-8 times in 1 second. Use a timer to limit the notification to once per second. Change-Id: I162033d9e12148260515c8ed318928e4de9a4392
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
75fc857d22de0ec22e082bddb720d8465c9e3552 |
|
12-Mar-2010 |
Lixin Yue <L.X.YUE@motorola.com> |
optimize deleting operation in trimDatabase()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
389f6dd45f7a45b12af847a510086125777e1198 |
|
03-Mar-2010 |
Lixin Yue <L.X.YUE@motorola.com> |
Trim Opp database when service restarts. When Opp service restart, we will trim the database. a) No visible case is deleted. b) Invisible complete outbound (failed and successful) are deleted. c) Invisible complete failed inbound are deleted. d) Invisible complete success inbound are deleted if needed to keep records max to 1000. Live folder only has received files, so the above makes sense. Change-Id: If27080721d9abed025162ff805f661fde01564d3
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
03f598bafa0fc0cbde0c5ab8fed89e07a67d482e |
|
25-Nov-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Catch all exceptions while trying to send a file. While trying to share pictures, some applications might not have given the adequate permissions. DrNo:Jsh Bug:2284822
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.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/BluetoothOppService.java
|
8222c7902a2281929fd31e840f6012038e6fa44a |
|
29-Sep-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Update OPP/PBAP service to use onStartCommand() Adjust function call seqence in PBAP closeService
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
9d9e511fe7425fb3105ece227ecedb43d6333333 |
|
21-Sep-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
Use new SDP API for OPP Use new API BluetoothDevice.fetchUuidsWithSdp() to query SDP for un-paired device, and request SDP update when Opp is not in cache. Handle a concurrent case when incoming connection and file share happens together Some other minor changes Change-Id: I7ebf34801518867553551d8f7bba7ac62e22667e
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
f2c447b81c6c03cb1c8a3e64a10381e23934834a |
|
10-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API changes. Change-Id: I618553f2aa4e8705e3dff1247752e5fc357ef94d
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
613bae227d65f61903e196944a9c718b4394f25a |
|
09-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API change: deprecation of BluetoothError.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.java
|
f4a286ee2aba5a75abe41881334bbdb5d0080105 |
|
09-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API change.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.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/BluetoothOppService.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/BluetoothOppService.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/BluetoothOppService.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/BluetoothOppService.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/BluetoothOppService.java
|
df7415da0e510ab8e4b73831a5ade38306982fe1 |
|
16-Jul-2009 |
Tao Liejun <L.J.Tao@motorola.com> |
Fix OPP receive bug Fix the bug that second receving would fail Show display name instead of full name in notification
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/BluetoothOppService.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/BluetoothOppService.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/BluetoothOppService.java
|