Age | Commit message (Collapse) | Author |
|
|
|
* Remove an unused inner class.
* Restore the correct application path.
|
|
|
|
|
|
|
|
|
|
* Prevent compile-time crashing when the user is using Java 10
* Fix multidex related run-time crash.
* Fix a typo in `README`
|
|
foo
|
|
`btCancelDiscovery` synchronous Rpc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
E.g. if BT was in the process of turning off when we called `btEnable`,
BT would finish turning off before turning on again, but the `btEnable`
call would timeout before that.
Same situation for `btDisable` and wifi toggles.
|
|
* Add a `presubmit` target to run formatter and lint.
* Add dev process to README
* Gradle config improvements
* Changes made by linter
|
|
* Don't use advertising enum for scan record.
|
|
|
|
This reverts commit 37402446cd74da1a346469c03e09900d99673b8a.
|
|
* Add `presubmit` action to run formatter and lint.
|
|
* Add an Rpc to perform an HTTP download using DownloadManager.
* Add file operation Rpcs.
|
|
Has one method for now, Connectable, that implicitly checks
TCP connectivity to a host and port.
|
|
|
|
This lib includes the new launch protocol.
|
|
* Cleanups in SmsSnippet
* Wrap InterruptedException from polling for SMS sent confirmation event. Now throw SmsException with message that we didn't get the confirmation.
* Don't use StringBuilder.
|
|
* add sms snippet
* Remove unnecessary sleep
* Add missing copyright to IncomingSmsBroadcastReceiver
* Add sent confirmation for sendSms, this makes it an AsyncRpc. - Added OutboundSmsReceiver to post events when SMS are send action is done. Posts error back if action is not successful. Also wait for all parts of a multipart message to be sent before posting event. Example usage now: event = s.sendSms('+15555678912', 'message message message').waitAndGet('SentSms') - Renamed IncomingSmsBroardcastReceiver to SmsReceiver and make it a private class of SmsSnippet. Converted sendSms to AsyncRpc so it will post event back when message is sent
* Add sent confirmation for sendSms, this makes it an AsyncRpc. - Added OutboundSmsReceiver to post events when SMS are send action is done. Posts error back if action is not successful. Also wait for all parts of a multipart message to be sent before posting event. Example usage now: event = s.sendSms('+15555678912', 'message message message').waitAndGet('SentSms') - Renamed IncomingSmsBroardcastReceiver to SmsReceiver and make it a private class of SmsSnippet. Converted sendSms to AsyncRpc so it will post event back when message is sent
* Cleanup naming
* Align event key names with Java object property names.
* Use EventCache + built in mobly SnippetEvents to wait for SMS sent confirmation.
This shares code with EventSnippet in Mobly Snippet Lib. I'm not sure what the accepted practice is for sharing code across github projects? Should I refactor some of the event code in Mobly Bundle Lib into EventUtils, then use that in Mobly Bundled Snippets to avoid duplicating this?
I still want to check this is in as is, to have a working version earlier.
* Return data from event instead of fulll SnippetEvent. This way it works like so:
>>> result = s.sendSms("15551234567", "Hello world")
>>> pprint.pprint(result)
{u'sent': True}
>>>
* throw exception on error instead and some javadocs.
* cleanup
|
|
|
|
(#70)
|
|
|
|
The official story is that only Settings running as system UID can call them.
|
|
|
|
* Initial audio playback functionality
* cleanup descriptions
* whitespace cleanup
|
|
|
|
* Fixed btUnpairDevice() bug where an exception is thrown even in the success case
|
|
* Add method to clear configured networks
* throw after trying to clear all with list of failed ssids
* weird spacing
* config not ssid
* remove a log
* missing diamond
* address the NPE that can happen when wifi is disabled and document issues with permissions
* fix log
|
|
* Make warnings abort
|
|
|
|
|
|
* Add support for pairing/unpairing a device.
* Add support for connecting with A2DP profile.
* Reorganize Bluetooth related snippets for future expansion of profile support.
* Use Bundle instead of JSONObject for BluetoothDevice serialization.
|
|
|
|
* Add microphone muting to AudioManager controls
* Fix return types
|
|
* Add basic Bluetooth LE advertising and scan support.
* Introduce `RpcEnum`, a standard way to handle String-int enum conversion.
|
|
|
|
btDiscoverAndGetResults() (#49)
|
|
|
|
|
|
* Implement a cleaner way to call methods by reflection.
* Port all callers to the new reflection API.
|
|
* Removed version code check; it was incorrect and doesn't seem to be necessary.
* Missing permission needed to be able to call setWifiApEnabled.
|
|
* Add Bluetooth Rpcs needed to support making the device discoverable.
* Fix a bug in serializer; fix a typo in an Rpc name.
Related to #8
|