a7717e3072acad6cd6256ce3fdbb2bb94ecb06ca |
|
18-Apr-2017 |
Eugene Susla <eugenesusla@google.com> |
StopScan before each new Companion device scan Fixes: 37356792 Test: Call associate many times rapidly with alternaring request value Ensure no stale result is displayed Change-Id: Icaa230d9ad468119e20b3de89f19c36531c2c60f
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
a38fbf63fd2a29884637a59387643c801ed4f663 |
|
14-Mar-2017 |
Eugene Susla <eugenesusla@google.com> |
Unbind from service on app killed and dedup association requests 1. Listen to calling package binder death stopping the scanning on that. 2. Don't restart scanning when a request with the same values was made. Bug: 30932767 Test: 1.: - Using a test app start scanning and kill the app. - In debug mode ensure that DeviceDiscoveryService#stopScan gets triggered 2.: - Start scanning and rotate the device while device chooser is visible - Ensure no visible loss of state is happening Change-Id: If126a2c963da90172a956fbd88e6b3dcd7ac8b01
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
6a7006a9683ba5a79ca338050c7c50b346b04de0 |
|
13-Mar-2017 |
Eugene Susla <eugenesusla@google.com> |
Register PackageMonitor for CompanionDeviceManagerService 1. On package removed -> remove all its associations 2. On package updated -> if had associations, update special access permission in accordance with (potentially changed) permission entries in manifest Bug: 30932767 Test: 1. Remove app, and ensure xml entries for it got removed. 2. adb install new version of app without special permissions in manifest, and ensure whitelist removal method got called Change-Id: I87261c05ddcf40a18332d160b44ee2f8284df5e4
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
36e866b8e0ec08e45b5e7fbc65aeeb3a9bb7b11e |
|
24-Feb-2017 |
Eugene Susla <eugenesusla@google.com> |
Support multiple filters per association request By supporting multiple filters per one request we should be able to cover multiple kinds of use cases such as: - Letting the user select from a list of devices of more then one medium type (e.g. Bluetooth and BLE) - Allowing to provide multiple criteria for any field (e.g. filtering by more than one service UUID) Bug: 30932767 Test: Provide multiple filters and ensure that devices matching either are shown in the list to choose from. Ensure wifi SSIDs are shown in the list if wifi filter is provided Change-Id: I0a978787551a1ee5750ec5544b241d3bbfed5a7c
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
d66c95fa907dc9eb3d7238fbbf3dc6dbd4b243a0 |
|
09-Mar-2017 |
Hector Tellez <htellez@google.com> |
Revert "Support multiple filters per association request" This reverts commit e70e6aa62c6f3a9a79624a4f9d97df95edda0364. Change-Id: I12857cbbea0a0c74521191ab5e3713db230626ab
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
e70e6aa62c6f3a9a79624a4f9d97df95edda0364 |
|
24-Feb-2017 |
Eugene Susla <eugenesusla@google.com> |
Support multiple filters per association request By supporting multiple filters per one request we should be able to cover multiple kinds of use cases such as: - Letting the user select from a list of devices of more then one medium type (e.g. Bluetooth and BLE) - Allowing to provide multiple criteria for any field (e.g. filtering by more than one service UUID) Bug: 30932767 Test: Provide multiple filters and ensure that devices matching either are shown in the list to choose from. Ensure wifi SSIDs are shown in the list if wifi filter is provided Change-Id: I6621da388e2bf4ed97c5af2692629a321d0b63c7
/frameworks/base/core/java/android/companion/AssociationRequest.java
|
6ed45d8cd33c297e608aba94fc1f61dace7a7cca |
|
22-Jan-2017 |
Eugene Susla <eugenesusla@google.com> |
CompanionDeviceManager This introduces an API for apps that support companion devices to provide a more streamlined flow for pairing and setting up the device Bug: 30932767 Test: Using a toy app, invoke the newly introduced API (CompanionDeviceManager), and go through the flow. Ensure filtering works, and device is returned to the calling app. Ensure the calling app can pair to the selected device. Change-Id: I0aeb653afd65e4adead13ea9c7248ec20971b04a
/frameworks/base/core/java/android/companion/AssociationRequest.java
|