summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2009-10-02 20:34:18 -0700
committerNick Pelly <npelly@google.com>2009-10-06 05:57:50 -0700
commit24bb9b8af4ff691538fe9e517e8156016b0da6cd (patch)
tree18adac336dde46f3a9f1c2453a358b11689d03b9 /services
parent7fdd67d3867ecbb6457a560b2428a8e9464d8ecd (diff)
downloadframeworks_base-24bb9b8af4ff691538fe9e517e8156016b0da6cd.zip
frameworks_base-24bb9b8af4ff691538fe9e517e8156016b0da6cd.tar.gz
frameworks_base-24bb9b8af4ff691538fe9e517e8156016b0da6cd.tar.bz2
Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Hide listenUsingRfcommOn(int channel) Add listenUsingRfcomm(String name, ParcelUuid uuid) The new API automatically finds a free RFCOMM channel and registers an SDP record with the given uuid and name. The SDP record is automatically removed when the socket is closed, or if the application dies. Apps are prevented from registering SDP records with the uuid of system Bluetooth profiles, such as A2DP, HFP and OPP. Apps are prevented from removing SDP records that they did not create. This is tracked by pid. TODO: Provide an API for the connecting app to look up an SDP record. Bug: 2158900 DrNo: eastham Joke: "What did the dog say to the tree? bark." Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions