Android-cuttlefish cvd tool
Macros
constants.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FB_CMD_GETVAR   "getvar"
 
#define FB_CMD_DOWNLOAD   "download"
 
#define FB_CMD_UPLOAD   "upload"
 
#define FB_CMD_FLASH   "flash"
 
#define FB_CMD_ERASE   "erase"
 
#define FB_CMD_BOOT   "boot"
 
#define FB_CMD_SET_ACTIVE   "set_active"
 
#define FB_CMD_CONTINUE   "continue"
 
#define FB_CMD_REBOOT   "reboot"
 
#define FB_CMD_SHUTDOWN   "shutdown"
 
#define FB_CMD_REBOOT_BOOTLOADER   "reboot-bootloader"
 
#define FB_CMD_REBOOT_RECOVERY   "reboot-recovery"
 
#define FB_CMD_REBOOT_FASTBOOT   "reboot-fastboot"
 
#define FB_CMD_CREATE_PARTITION   "create-logical-partition"
 
#define FB_CMD_DELETE_PARTITION   "delete-logical-partition"
 
#define FB_CMD_RESIZE_PARTITION   "resize-logical-partition"
 
#define FB_CMD_UPDATE_SUPER   "update-super"
 
#define FB_CMD_OEM   "oem"
 
#define FB_CMD_GSI   "gsi"
 
#define FB_CMD_SNAPSHOT_UPDATE   "snapshot-update"
 
#define FB_CMD_FETCH   "fetch"
 
#define RESPONSE_OKAY   "OKAY"
 
#define RESPONSE_FAIL   "FAIL"
 
#define RESPONSE_DATA   "DATA"
 
#define RESPONSE_INFO   "INFO"
 
#define FB_COMMAND_SZ   4096
 
#define FB_RESPONSE_SZ   256
 
#define FB_VAR_VERSION   "version"
 
#define FB_VAR_VERSION_BOOTLOADER   "version-bootloader"
 
#define FB_VAR_VERSION_BASEBAND   "version-baseband"
 
#define FB_VAR_VERSION_OS   "version-os"
 
#define FB_VAR_VERSION_VNDK   "version-vndk"
 
#define FB_VAR_PRODUCT   "product"
 
#define FB_VAR_SERIALNO   "serialno"
 
#define FB_VAR_SECURE   "secure"
 
#define FB_VAR_UNLOCKED   "unlocked"
 
#define FB_VAR_CURRENT_SLOT   "current-slot"
 
#define FB_VAR_MAX_DOWNLOAD_SIZE   "max-download-size"
 
#define FB_VAR_HAS_SLOT   "has-slot"
 
#define FB_VAR_SLOT_COUNT   "slot-count"
 
#define FB_VAR_PARTITION_SIZE   "partition-size"
 
#define FB_VAR_PARTITION_TYPE   "partition-type"
 
#define FB_VAR_SLOT_SUCCESSFUL   "slot-successful"
 
#define FB_VAR_SLOT_UNBOOTABLE   "slot-unbootable"
 
#define FB_VAR_IS_LOGICAL   "is-logical"
 
#define FB_VAR_IS_USERSPACE   "is-userspace"
 
#define FB_VAR_IS_FORCE_DEBUGGABLE   "is-force-debuggable"
 
#define FB_VAR_HW_REVISION   "hw-revision"
 
#define FB_VAR_VARIANT   "variant"
 
#define FB_VAR_OFF_MODE_CHARGE_STATE   "off-mode-charge"
 
#define FB_VAR_BATTERY_VOLTAGE   "battery-voltage"
 
#define FB_VAR_BATTERY_SOC   "battery-soc"
 
#define FB_VAR_BATTERY_SOC_OK   "battery-soc-ok"
 
#define FB_VAR_SUPER_PARTITION_NAME   "super-partition-name"
 
#define FB_VAR_SNAPSHOT_UPDATE_STATUS   "snapshot-update-status"
 
#define FB_VAR_CPU_ABI   "cpu-abi"
 
#define FB_VAR_SYSTEM_FINGERPRINT   "system-fingerprint"
 
#define FB_VAR_VENDOR_FINGERPRINT   "vendor-fingerprint"
 
#define FB_VAR_DYNAMIC_PARTITION   "dynamic-partition"
 
#define FB_VAR_FIRST_API_LEVEL   "first-api-level"
 
#define FB_VAR_SECURITY_PATCH_LEVEL   "security-patch-level"
 
#define FB_VAR_TREBLE_ENABLED   "treble-enabled"
 
#define FB_VAR_MAX_FETCH_SIZE   "max-fetch-size"
 
#define FB_VAR_DMESG   "dmesg"
 
#define FB_VAR_BATTERY_SERIAL_NUMBER   "battery-serial-number"
 
#define FB_VAR_BATTERY_PART_STATUS   "battery-part-status"
 

Macro Definition Documentation

◆ FB_CMD_BOOT

#define FB_CMD_BOOT   "boot"

◆ FB_CMD_CONTINUE

#define FB_CMD_CONTINUE   "continue"

◆ FB_CMD_CREATE_PARTITION

#define FB_CMD_CREATE_PARTITION   "create-logical-partition"

◆ FB_CMD_DELETE_PARTITION

#define FB_CMD_DELETE_PARTITION   "delete-logical-partition"

◆ FB_CMD_DOWNLOAD

#define FB_CMD_DOWNLOAD   "download"

◆ FB_CMD_ERASE

#define FB_CMD_ERASE   "erase"

◆ FB_CMD_FETCH

#define FB_CMD_FETCH   "fetch"

◆ FB_CMD_FLASH

#define FB_CMD_FLASH   "flash"

◆ FB_CMD_GETVAR

#define FB_CMD_GETVAR   "getvar"

◆ FB_CMD_GSI

#define FB_CMD_GSI   "gsi"

◆ FB_CMD_OEM

#define FB_CMD_OEM   "oem"

◆ FB_CMD_REBOOT

#define FB_CMD_REBOOT   "reboot"

◆ FB_CMD_REBOOT_BOOTLOADER

#define FB_CMD_REBOOT_BOOTLOADER   "reboot-bootloader"

◆ FB_CMD_REBOOT_FASTBOOT

#define FB_CMD_REBOOT_FASTBOOT   "reboot-fastboot"

◆ FB_CMD_REBOOT_RECOVERY

#define FB_CMD_REBOOT_RECOVERY   "reboot-recovery"

◆ FB_CMD_RESIZE_PARTITION

#define FB_CMD_RESIZE_PARTITION   "resize-logical-partition"

◆ FB_CMD_SET_ACTIVE

#define FB_CMD_SET_ACTIVE   "set_active"

◆ FB_CMD_SHUTDOWN

#define FB_CMD_SHUTDOWN   "shutdown"

◆ FB_CMD_SNAPSHOT_UPDATE

#define FB_CMD_SNAPSHOT_UPDATE   "snapshot-update"

◆ FB_CMD_UPDATE_SUPER

#define FB_CMD_UPDATE_SUPER   "update-super"

◆ FB_CMD_UPLOAD

#define FB_CMD_UPLOAD   "upload"

◆ FB_COMMAND_SZ

#define FB_COMMAND_SZ   4096

◆ FB_RESPONSE_SZ

#define FB_RESPONSE_SZ   256

◆ FB_VAR_BATTERY_PART_STATUS

#define FB_VAR_BATTERY_PART_STATUS   "battery-part-status"

◆ FB_VAR_BATTERY_SERIAL_NUMBER

#define FB_VAR_BATTERY_SERIAL_NUMBER   "battery-serial-number"

◆ FB_VAR_BATTERY_SOC

#define FB_VAR_BATTERY_SOC   "battery-soc"

◆ FB_VAR_BATTERY_SOC_OK

#define FB_VAR_BATTERY_SOC_OK   "battery-soc-ok"

◆ FB_VAR_BATTERY_VOLTAGE

#define FB_VAR_BATTERY_VOLTAGE   "battery-voltage"

◆ FB_VAR_CPU_ABI

#define FB_VAR_CPU_ABI   "cpu-abi"

◆ FB_VAR_CURRENT_SLOT

#define FB_VAR_CURRENT_SLOT   "current-slot"

◆ FB_VAR_DMESG

#define FB_VAR_DMESG   "dmesg"

◆ FB_VAR_DYNAMIC_PARTITION

#define FB_VAR_DYNAMIC_PARTITION   "dynamic-partition"

◆ FB_VAR_FIRST_API_LEVEL

#define FB_VAR_FIRST_API_LEVEL   "first-api-level"

◆ FB_VAR_HAS_SLOT

#define FB_VAR_HAS_SLOT   "has-slot"

◆ FB_VAR_HW_REVISION

#define FB_VAR_HW_REVISION   "hw-revision"

◆ FB_VAR_IS_FORCE_DEBUGGABLE

#define FB_VAR_IS_FORCE_DEBUGGABLE   "is-force-debuggable"

◆ FB_VAR_IS_LOGICAL

#define FB_VAR_IS_LOGICAL   "is-logical"

◆ FB_VAR_IS_USERSPACE

#define FB_VAR_IS_USERSPACE   "is-userspace"

◆ FB_VAR_MAX_DOWNLOAD_SIZE

#define FB_VAR_MAX_DOWNLOAD_SIZE   "max-download-size"

◆ FB_VAR_MAX_FETCH_SIZE

#define FB_VAR_MAX_FETCH_SIZE   "max-fetch-size"

◆ FB_VAR_OFF_MODE_CHARGE_STATE

#define FB_VAR_OFF_MODE_CHARGE_STATE   "off-mode-charge"

◆ FB_VAR_PARTITION_SIZE

#define FB_VAR_PARTITION_SIZE   "partition-size"

◆ FB_VAR_PARTITION_TYPE

#define FB_VAR_PARTITION_TYPE   "partition-type"

◆ FB_VAR_PRODUCT

#define FB_VAR_PRODUCT   "product"

◆ FB_VAR_SECURE

#define FB_VAR_SECURE   "secure"

◆ FB_VAR_SECURITY_PATCH_LEVEL

#define FB_VAR_SECURITY_PATCH_LEVEL   "security-patch-level"

◆ FB_VAR_SERIALNO

#define FB_VAR_SERIALNO   "serialno"

◆ FB_VAR_SLOT_COUNT

#define FB_VAR_SLOT_COUNT   "slot-count"

◆ FB_VAR_SLOT_SUCCESSFUL

#define FB_VAR_SLOT_SUCCESSFUL   "slot-successful"

◆ FB_VAR_SLOT_UNBOOTABLE

#define FB_VAR_SLOT_UNBOOTABLE   "slot-unbootable"

◆ FB_VAR_SNAPSHOT_UPDATE_STATUS

#define FB_VAR_SNAPSHOT_UPDATE_STATUS   "snapshot-update-status"

◆ FB_VAR_SUPER_PARTITION_NAME

#define FB_VAR_SUPER_PARTITION_NAME   "super-partition-name"

◆ FB_VAR_SYSTEM_FINGERPRINT

#define FB_VAR_SYSTEM_FINGERPRINT   "system-fingerprint"

◆ FB_VAR_TREBLE_ENABLED

#define FB_VAR_TREBLE_ENABLED   "treble-enabled"

◆ FB_VAR_UNLOCKED

#define FB_VAR_UNLOCKED   "unlocked"

◆ FB_VAR_VARIANT

#define FB_VAR_VARIANT   "variant"

◆ FB_VAR_VENDOR_FINGERPRINT

#define FB_VAR_VENDOR_FINGERPRINT   "vendor-fingerprint"

◆ FB_VAR_VERSION

#define FB_VAR_VERSION   "version"

◆ FB_VAR_VERSION_BASEBAND

#define FB_VAR_VERSION_BASEBAND   "version-baseband"

◆ FB_VAR_VERSION_BOOTLOADER

#define FB_VAR_VERSION_BOOTLOADER   "version-bootloader"

◆ FB_VAR_VERSION_OS

#define FB_VAR_VERSION_OS   "version-os"

◆ FB_VAR_VERSION_VNDK

#define FB_VAR_VERSION_VNDK   "version-vndk"

◆ RESPONSE_DATA

#define RESPONSE_DATA   "DATA"

◆ RESPONSE_FAIL

#define RESPONSE_FAIL   "FAIL"

◆ RESPONSE_INFO

#define RESPONSE_INFO   "INFO"

◆ RESPONSE_OKAY

#define RESPONSE_OKAY   "OKAY"