History log of /packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cfaffa85e4a5388f3591bb17f88fc7768676eae2 11-Mar-2014 Andres Morales <anmorales@google.com> Making Bluetooth OPP file transfer intent generic

In the process of adding Wifi as a transport for Beam,
the only consumer of this code as of yet. Need to decouple
the file transfer events from the bluetooth stack to be able
to cleanly reuse them in the wifi code.

Change-Id: I9dafe4f6756bf429b4770826c46d41330a334493
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
c0b728adc379712af2a4e2357d82b492745f5e58 31-Jul-2013 Matthew Xie <mattx@google.com> enable xml format to transfer/receive over bluetooth

Add proper MIME types for xml as text/xml.
bug 9170384

Change-Id: Idd23c4fe26e1d82b2ea1deb51acfeeb61c1634aa
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
5d5746124a5fd14a13ca7fd085aae6ec600d0ca7 30-Nov-2012 Sungmin Choi <sungmin.choi@lge.com> enable xlsx, docx, pptx format to transfer/receive over bluetooth

Add proper MIME types for xlsx, docx, pptx.

Bug: 7479989
Change-Id: I77b065f7856fa399c5084ffa96deace0e3f15487
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.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/Constants.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/Constants.java
fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5 08-Oct-2012 Matthew Xie <mattx@google.com> Turn off dbg messages, be prepared for production build

bug 7174712

Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
b5cc776c9353a203cdde97e62b25f05d9633d14c 19-Apr-2012 fredc <fredc@broadcom.com> Fixed BT on/off issue

Change-Id: I47cbac9fc694d5604a664f20170eeed90eeee8e6

Conflicts:

jni/com_android_bluetooth_btservice_AdapterService.cpp
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
03f25a2055e51bcc5e8870642763b502956b6830 18-May-2012 Martijn Coenen <maco@google.com> Bluetooth OPP: Allow sending all mime-types for handover.

This change allows sending of all mime-types through
ACTION_HANDOVER_SEND and ACTION_HANDOVER_SEND_MULTIPLE.
These intent actions are only used by NFC when doing
handover transfers, and require the whitelisting
permission that is only granted to system applications.

Similarly, for receiving, we will still reject certain
mimetypes, except if the transfer was whitelisted because
it was a handover transfer.

At this moment, only the NFC service has the signature
permission required for whitelisting.

This change also allows to send files without extension,
as long as OPP has a valid mimeType. This is useful when
using OPP in combination with a content provider, which
may specify filenames without any extension but with a
valid mime-type.

Bug: 6561169
Change-Id: Ia39418de6bcb2f8af678c7b8637b63b1697eb493
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
4bfe5662b7169484d32186a2042cb88cdbc446ba 17-May-2012 Martijn Coenen <maco@google.com> Merge "Allow bluetooth OPP transfers to be stopped." into jb-dev
584dfb2c53b45080347e412b3f7ed7fd1c9b53e7 16-May-2012 Martijn Coenen <maco@google.com> Allow bluetooth OPP transfers to be stopped.

If handover requesters such as NFC want to cancel an
ongoing transfer, they can use this intent. It requires
the same permission that is used for whitelisting,
which at this point is only granted to the NFC service.

Change-Id: I89e27550d700c4a29a892dba99fda740d8845642
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.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/Constants.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/Constants.java
1ed96d522298e8f48690a4f4cbf2e0c6b402e3a0 26-Jan-2011 Jake Hamby <jhamby@google.com> Implement "show received files" intent for Settings.

Add a handler for a new intent (sent from the Settings app) to
show all files received via Bluetooth. This is equivalent to the
now deprecated live folder view of received files.

Bug: 3167219
Change-Id: Ibb8d3738d62301af5b012489a69ac078e554b66d
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
ec6f2d44491bf1e3ffa7c75875985f9c16cf721d 26-Mar-2010 Lixin Yue <L.X.YUE@motorola.com> Clear notifications when the user presses clear from the notifications bar.

Bug: 2542260
Change-Id: I00f9d8216d70543b93cfbcdb2cd8da8331044d77
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.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/Constants.java
5cc617943765df27844e459362c4bc1821305216 26-Feb-2010 Lixin Yue <L.X.YUE@motorola.com> Add opp Transfer history to avoid cluster of notificatoins To reduce the cluster of Opp nofications, we introduce the concept of Opp transfer history. Only 2 notifications exist for finished opp transfers, one is for outbound transfers, and another is for inbound transfers. User can see all detailed items in corresponding screen when click the notification.

Change-Id: Iffed353ea6b0d7c958c71fe8d3996937058ced30
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
6ef730f85e90a8246d06c7a58bb21eee5074945c 17-Dec-2009 Lixin Yue <L.X.YUE@motorola.com> Enable vcard share in OPP

Bluetooth OPP to handle x-vcard MIME type from contacts share
Handle vcard size by content type instead of tightening with contacts
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
fb8562d35d3b7d2fc60e1bb01a9c15cfe9824a94 18-Nov-2009 Tao Liejun <a19884@motorola.com> Add a few specific file type support

Support to receive and send a few specific file types
.xls, .zip, .doc, .ppt, .pdf
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
0e6233ffba67e757f60171803d7ab376cf73c16c 09-Oct-2009 Nick Pelly <npelly@google.com> Remove STOPSHIP BT logging.

Do not merge.

Change-Id: I428bc0fc67030f24112f2e9c865824dfaea4897d
DrNo: eastham
Bug: 2089423
Joke: Why does E.T. have such big eyes? Because he saw his phone bill.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
fb946935fe50d957e835ac00a592bd3d222edef3 28-Sep-2009 Oscar Montemayor <oam@android.com> Added WhiteList of acceptable MIME types for OBEX transfers. Part of OBEX/OPP security review.
Bug information: http://b/issue?id=1972237
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.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/Constants.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/Constants.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/Constants.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/Constants.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/Constants.java
239bc526513429995c61c4148c105725c395b1a9 27-Jul-2009 Jackson Fan <xyfan@motorola.com> Enable Opp Livefolder, modify localizable resource

Update on patchset 2
Update icon for Bluetooth share and Incoming file
Fix minor Opp UI issue
Update log print for mimetype got from android system.
Update return response code for un-supported media type
Patchset 1
remove the use of replace() of localizable resource
Enable Opp Livefolder by using local certificate
Reject vcard actively
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
87f9a72cc2d9544f65eab18893f7dc0de4f6ee31 23-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Disable verbose logging.

TODO: We need to fix logging according to new verbose logging in OPP and PBAP.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.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/Constants.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/Constants.java