History log of /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c7ed3fe050d6393a34ec9fa4237b77a1290ebc0d 15-Dec-2017 Hansong Zhang <hsz@google.com> PBAP: Use PbapStateMachine to handle new connection

Move the connection socket part in PbapService to PbapStateMachine.

PbapService handles the following tasks:
- implementing service lifecycle methods
- starting and stoping the server socket
- managing SDP records and PbapUtils
- handling broadcast from Bluetooth PBAP permission request
- handling broadcast from PBAP OBEX challenge request
- managing wakelock
- implementing the PbapBinder interface

PbapStateMachine (new) handles the following tasks:
- sending and getting Bluetooth PBAP permission request to and from
PbapService
- sending and getting PBAP OBEX challenge request to and form
PbapService
- using PbapObexServer to handle PBAP OBEX requests
- maintaining the connection status

The Bluetooth PBAP permission request is handled by Settings; the PBAP
OBEX challenge request is handled by BluetoothPbapActivity.

Bug: 70939570
Test: carkits with PBAP
Change-Id: I77ebb7f64370326b717db64cb94c8696f74b0c5c
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
c4fbd756e2645147470c486ae96f2253f5e13a52 12-Oct-2017 Jack He <siyuanh@google.com> [Script] Fix checkstyle errors (1/2)

Format code using Intellij to conform to CheckStyle requirements

Bug: 63597465
Test: make checkbuild, no manual changes, no functional changes
Change-Id: I70cd2ab8e5e6d5428ab1556658735b0d83f4fb15
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
8bc413b0b749ea9df59e858493273e05087fe887 11-Oct-2017 Jack He <siyuanh@google.com> [Manual] Rename non-public non-static variables to mCamelCase

* Run "instance field naming convention" inspection in Intellij
* Rename variables that are non-public non-static to m + Camel Case
* Renaming is done through refactor tool in Intellij
* Private variables are renamed to m + Camel Case
* Non-private variables are added with public modifier to indicate that
they are accessed externally as well

Bug: 63597465
Test: make checkbuild, no functional changes
Change-Id: I88400ac99fa1ba084cdfa35600bd3c23f1dd1a33
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
2fbb1d97d08d5d72fe824e543c714e56cd7be236 10-Oct-2017 Jack He <siyuanh@google.com> [Script] Add @Override annotations to overriden methods

* Run "Missing @Override annotation" inspection in Intellij and perform
automatic fixes

Bug: 63597465
Test: make checkbuild, no manual changes, no functional changes
Change-Id: I3607581a0538ecce382dbb68742f40662bca6cad
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.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/pbap/BluetoothPbapActivity.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/pbap/BluetoothPbapActivity.java
d9d397854afd6511e2987ea7ae3ec8528183aefa 19-Sep-2012 blunden <blunden2@gmail.com> Upgrade the app to better follow holo guidelines

- Fix the icon scaling in the transfer list
The icon is centered and upscaled instead of just centered.

- Remove dialog info icon according to UI team recommendation

- Replace icons with holo versions and add xhdpi

Change-Id: Id3b06e8e06244ec8859d65404d779b66c1354e3d
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
7eab97d6be9228b1c210bbb171c3e5e88e02f3d8 28-Jun-2011 Matthew Xie <mattx@google.com> Move Pbap permission dialog to Settings app.

Strings and diglog are removed and will reappear and modified in Settings
app. We want phone AT commander to use the dialog too.
bug 4489572

Change-Id: I0283b5deff974e53384dc5a92bd01c02e12bbcd6
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
b0fa09caef6a0748a568dc2a89f5d94b85423bb2 29-Sep-2009 Lixin Yue <L.X.YUE@motorola.com> Update OPP/PBAP UI

Add timeout handling to incoming file confirm dialog, to avoid uncertain
behavior when timeout happen
Fix PBAP request timeout issue when open/close slider, dismiss timeout
dialog to avoid uncertain behavior
Fix typo in strings
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
4446eaa935994bc91d6d308303e8d27526b4590d 31-Aug-2009 Lixin Yue <L.X.YUE@motorola.com> Pbap update

Improve PBAP download contacts performance greatly
Add 10 times retry for creation of listening socket
Change PbapReciever to be clearer
Rename functions and adjust function sequence in PbapService
Cleanup logging
Remove unused functions
Remove serversocket polling
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
acab258c177d82338b1696360cd0b8c9821b0f03 26-Aug-2009 Lixin Yue <L.X.YUE@motorola.com> Allow Pbap if device is trusted
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
d896162ef022a5607b13bae5177637ff3f18b737 28-Jul-2009 Lixin Yue <L.X.YUE@motorola.com> Update PBAP per review comments:

Patch 3 fix listing call-history issue
Remove the use of Enum in PbapObexServer.java
Simplify codes by using function and paras
Change some informal usage in codes
Fix minor issues
Rename some function and vars
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
b9cd7fee03a41e56a0cea9aa2e1af3b28c5be590 23-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Add copyright and fix some style issues.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java
2c282d5898ac0916470ebfa9ff26ba784cf4bb24 18-Jul-2009 Jackson Fan <xyfan@motorola.com> Add pbap into bluetooth package

Update PBAP as patchset 5
Adjust some resouces strings after UI test
Change localized resource usage
Modify exception handle, rename a confusing variable name
Remove compile dependency on 240 for now. Add TODO in code
Some minor changes to address the comments
Submit on-behalf of Yue Lixin <a5206c@motorola.com>

Update PBAP as patchset 4 according to comments
Format resource files
Re-organize the logs
Submit on-behalf of Jiafa Liu <pbx376@motorola.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java