Skip to content

Commit 2a6f1bd

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
refactor: move non-CLI programs from cmd/ to examples/
Only bindercli belongs in cmd/. Moved camera_fwk, getservice_vs_checkservice, keymint_delete_test, and security_test_apk to examples/. Removed unused cmd/internal/.
1 parent f4d878e commit 2a6f1bd

10 files changed

Lines changed: 5 additions & 95 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,16 @@ More examples: [`examples/`](examples/)
300300
| [`battery_health`](examples/battery_health/) | Capacity, charge status, current draw |
301301
| [`camera_capture`](examples/camera_capture/) | Camera frame capture using gralloc-allocated buffers. |
302302
| [`camera_connect`](examples/camera_connect/) | Camera device connection with callback stub |
303+
| [`camera_fwk`](examples/camera_fwk/) | |
303304
| [`device_info`](examples/device_info/) | Device properties, build info |
304305
| [`display_info`](examples/display_info/) | Display IDs, brightness, night mode |
306+
| [`getservice_vs_checkservice`](examples/getservice_vs_checkservice/) | Binary getservice_vs_checkservice compares GetService vs CheckService |
305307
| [`gps_location`](examples/gps_location/) | Live GPS fix via ILocationListener callback |
308+
| [`keymint_delete_test`](examples/keymint_delete_test/) | Binary keymint_delete_test calls DeleteAllKeys on the KeyMint HAL |
306309
| [`list_services`](examples/list_services/) | Enumerate all binder services, ping each |
307310
| [`package_query`](examples/package_query/) | Package list, installation info |
308311
| [`power_status`](examples/power_status/) | Power supply state, charging info |
312+
| [`security_test_apk`](examples/security_test_apk/) | Binary security_test_apk probes whether an app-sandboxed process can |
309313
| [`softap_manage`](examples/softap_manage/) | WiFi hotspot enable/disable, config |
310314
| [`softap_tether_offload`](examples/softap_tether_offload/) | Tethering offload config, stats |
311315
| [`softap_wifi_hal`](examples/softap_wifi_hal/) | WiFi chip info, AP interface state |
@@ -1827,6 +1831,6 @@ A [weekly workflow](.github/workflows/check-aosp-updates.yml) checks for new AOS
18271831
│ ├── hardware/ HAL interfaces
18281832
│ └── ... 666 packages total
18291833
├── com/ AOSP com.android.* service proxies
1830-
├── examples/ 15 runnable examples
1834+
├── examples/ 19 runnable examples
18311835
└── .github/workflows/ CI configuration
18321836
```

cmd/internal/igbp/constants.go

Lines changed: 0 additions & 94 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

cmd/security_test_apk/apk/res/layout/activity_main.xml renamed to examples/security_test_apk/apk/res/layout/activity_main.xml

File renamed without changes.

cmd/security_test_apk/apk/src/SecurityTestActivity.java renamed to examples/security_test_apk/apk/src/SecurityTestActivity.java

File renamed without changes.

0 commit comments

Comments
 (0)