aboutsummaryrefslogtreecommitdiff
path: root/third_party/sl4a/src/main/java/com/google/android/mobly/snippet/manager
AgeCommit message (Collapse)Author
2021-10-06Added Notification for O (#111)xianyuanjia
2018-02-26Minor clean ups (#87) (#91)Ang Li
* Remove accidental duplication of example1 source. * Fix apk paths in README.
2018-01-23Fix a crash caused by custom converter (#88)Ang Li
Fix a bug where snippet lib crashes if no converter class is specified.
2018-01-12Support custom converters of non-primitive types. (#86)Ang Li
Now users can supply custom logic for object serialization/de-serialization through a centralized class, and snippet lib will automatically use the custom converters. Added a new example to demonstrate this feature.
2017-12-15Revert "Revert "Update gradle, dependency versions and fix lint reported ↵Ang Li
issues (#80)" (#82)" (#83) This reverts commit c0d86eb455d97c0969291755162cd6c7ae7ca689.
2017-12-15Revert "Update gradle, dependency versions and fix lint reported issues ↵Ang Li
(#80)" (#82) This reverts commit aeddc8bcd123ddf6c865622464001fe0f3835b87.
2017-12-15Update gradle, dependency versions and fix lint reported issues (#80)Keith Dart
* Update to latest build tools. * Fix lint issues and reformat. * Add presubmit target. * Fix IDE reported issues. * Fix test runner versions in example. * Review feedback changes. * Make getPrivateInetAddress a private method.
2017-06-19Support of RPC scheduling (#61)l-meng
* Support of RPC scheduling To perform operations while device is disconnected (e.g., USB is off), RPCs need to be scheduled with certain delay before disconnection happens. While device is disconnected, as long as the snippet is still running, the scheduled RPCs should be able to be executed. The RPC result could be retrieved as cached events once device get back online.
2017-03-13Fix lint for multiple files. (#53)Ang Li
Purely cosmetic changes by AOSP linter.
2017-03-10Invoke RPCs on the main thread if they are tagged with @RunOnUiThread. (#47)Alexander Dorokhine
Fixes concurrency handling in SnippetManager. Fixes #51
2017-02-22Add support for asynchronous Rpc (#38)Ang Li
* Add @AsyncRpc annotation to mark Rpc methods that trigger async events. * Add `EventCache`, which is the repo of events. * Add `EventSnippet`, which has Rpc methods for client to poll events. * Add `SnippetEvent` type to represent an event. * Add `callbackId` field to Rpc protocol's server resp msg.
2017-02-13Lint source code to AOSP. (#34)Ang Li
* Add linter for the project. * Apply AOSP style. * Bump gradle toolchain version. * Remove unused code. * Fix quotation mark usage.
2017-02-03Fix exception handling in snippets. (#32)Alexander Dorokhine
* Don't try to call methods on snippet classes that couldn't be constructed * Don't obscure the cause of exceptions * Propagate the entire stack trace to the python side * Decorate the stacktrace
2016-12-07Remove the 'facade' package and FacadeManager.Alexander Dorokhine
Merge the sdk checking code into SnippetManager. Move the main Snippet interface to the root package.