{"id":51484534,"url":"https://github.com/google/mobly-bundled-snippets","last_synced_at":"2026-07-07T05:00:30.723Z","repository":{"id":16242596,"uuid":"79611725","full_name":"google/mobly-bundled-snippets","owner":"google","description":"Snippets to allow Mobly tests to control Android devices by exposing a simplified Android API.","archived":false,"fork":false,"pushed_at":"2026-06-10T09:38:48.000Z","size":2762,"stargazers_count":57,"open_issues_count":33,"forks_count":66,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-06-29T03:25:04.288Z","etag":null,"topics":["android","mobly","snippets","testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-01-21T00:14:06.000Z","updated_at":"2026-06-20T17:19:14.000Z","dependencies_parsed_at":"2023-12-18T23:27:54.167Z","dependency_job_id":"486bd595-3be6-4377-98bd-5cffd970e101","html_url":"https://github.com/google/mobly-bundled-snippets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/google/mobly-bundled-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fmobly-bundled-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fmobly-bundled-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fmobly-bundled-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fmobly-bundled-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/mobly-bundled-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fmobly-bundled-snippets/sbom","scorecard":{"id":437474,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/mobly-bundled-snippets","commit":"26d0e94a9d949b1458ccc4c11fd63f47b8fb5ed6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T05:00:38.532Z","repository_id":16242596,"created_at":"2025-08-19T05:00:38.532Z","updated_at":"2025-08-19T05:00:38.532Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34964930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","mobly","snippets","testing"],"created_at":"2026-07-07T05:00:28.575Z","updated_at":"2026-07-07T05:00:30.715Z","avatar_url":"https://github.com/google.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mobly Bundled Snippets is a set of Snippets to allow Mobly tests to control\nAndroid devices by exposing a simplified version of the public Android API\nsuitable for testing.\n\nWe are adding more APIs as we go. If you have specific needs for certain groups\nof APIs, feel free to file a request in [Issues](https://github.com/google/mobly-bundled-snippets/issues).\n\nNote: this is not an official Google product.\n\n\n## Usage\n\n1.  Compile and install the bundled snippets\n\n        ./gradlew assembleDebug\n        adb install -d -r -g ./build/outputs/apk/debug/mobly-bundled-snippets-debug.apk\n\n1.  Use the Mobly snippet shell to interact with the bundled snippets\n\n        snippet_shell.py com.google.android.mobly.snippet.bundled\n        \u003e\u003e\u003e print(s.help())\n        Known methods:\n          bluetoothDisable() returns void  // Disable bluetooth with a 30s timeout.\n        ...\n          wifiDisable() returns void  // Turns off Wi-Fi with a 30s timeout.\n          wifiEnable() returns void  // Turns on Wi-Fi with a 30s timeout.\n        ...\n\n1.  To use these snippets within Mobly tests, load it on your AndroidDevice objects\n    after registering android_device module:\n\n    ```python\n    def setup_class(self):\n      self.ad = self.register_controllers(android_device, min_number=1)[0]\n      self.ad.load_snippet('api', 'com.google.android.mobly.snippet.bundled')\n\n    def test_enable_wifi(self):\n      self.ad.api.wifiEnable()\n    ```\n\n## Develop\n\nIf you want to contribute, use the usual github method of forking and sending\na pull request.\n\nBefore sending a pull request, run the `presubmit` target to format and run\nlint over the code. Fix any issues it indicates. When complete, send the pull\nrequest.\n\n```shell\n./gradlew presubmit\n```\n\nThis target will reformat the code with\n[googleJavaFormat](https://github.com/sherter/google-java-format-gradle-plugin)\nand run lint. The lint report should open in your default browser.\n\nBe sure to address *all* off the errors reported by lint. When finished and you\nrun `presubmit` one last time you should see:\n\n\u003e No Issues Found\n\u003e   Congratulations!\n\nin your browser.\n\n## Other resources\n\n  * [Mobly multi-device test framework](http://github.com/google/mobly)\n  * [Mobly Snippet Lib](http://github.com/google/mobly-snippet-lib)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fmobly-bundled-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fmobly-bundled-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fmobly-bundled-snippets/lists"}