Package-level declarations

Types

Link copied to clipboard

Provider for the device module: read-only hardware and system facts (model, battery, connectivity, storage). Only GetConnectivityTool needs a permission — the normal (install-time) ACCESS_NETWORK_STATE — for ConnectivityManager.getNetworkCapabilities().

Link copied to clipboard

Reports battery state from the sticky ACTION_BATTERY_CHANGED broadcast: level_percent (0–100, or -1 if unknown), is_charging, and charging_source (usb/ac/wireless/none). No permissions.

Link copied to clipboard

Reports the active network's transports via ConnectivityManager: is_connected, has_wifi, has_cellular, has_bluetooth. All false when there is no active network.

Link copied to clipboard

Reports static device identity and display metrics: manufacturer, model, brand, os_version, sdk_version, and screen_width/screen_height/screen_density. No permissions.

Link copied to clipboard

Reports internal data-partition storage via StatFs on the data directory: total_bytes, available_bytes, used_bytes, plus human-readable total_gb / available_gb strings. No permissions.