47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, kind, lang, domain, version, purity, signature, description, tags, params, output, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | params | output | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| android_emu_geo_fix | function | bash | infra | 1.0.0 | impure | android_emu_geo_fix([--serial <S>], longitude: string, latitude: string, [altitude: string]) -> void | Fake GPS location on Android emulator via emu geo fix. Emulator-only (not physical devices). |
|
|
Stdout 'GPS set: <lon>, <lat> (alt=...) on <serial>'. Exit 0. |
|
false | error_go_core | false | bash/functions/infra/android_emu_geo_fix.sh |
Ejemplo
# Fijar GPS en Madrid (emulador activo)
android_emu_geo_fix -3.7038 40.4168
# Con altitud
android_emu_geo_fix -3.7038 40.4168 650
# Emulador especifico
android_emu_geo_fix --serial emulator-5554 -3.7038 40.4168
Notas
El orden de argumentos es longitud primero, latitud segundo — opuesto a la convencion humana habitual (lat/lon). Esto sigue el protocolo del comando emu geo fix de Android.
Solo funciona en emuladores (emulator-*). Si el serial apunta a un dispositivo fisico, la funcion sale con error y exit 1.
Usa adb_pick_serial de adb_wsl.sh para resolver el dispositivo objetivo.
Sale con exit 3 si no hay ningun device conectado.