Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 421e8e56 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

enum-ify bta/dm/bta_dm_int::BTA_DM_DI_ am: f2fe98fc

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1527461

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icf6c9529670e09b71a0ea84137d995ad6d5dd487
parents c10d1977 f2fe98fc
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -161,16 +161,15 @@ typedef union {
#define BTA_DM_UNPAIRING 2
typedef uint8_t tBTA_DM_CONN_STATE;

#define BTA_DM_DI_NONE 0x00 /* nothing special */
#define BTA_DM_DI_USE_SSR \
  0x10 /* set this bit if ssr is supported for this link */
#define BTA_DM_DI_AV_ACTIVE \
  0x20 /* set this bit if AV is active for this link */
#define BTA_DM_DI_SET_SNIFF \
  0x01 /* set this bit if call BTM_SetPowerMode(sniff) */
#define BTA_DM_DI_INT_SNIFF \
  0x02 /* set this bit if call BTM_SetPowerMode(sniff) & enter sniff mode */
#define BTA_DM_DI_ACP_SNIFF 0x04 /* set this bit if peer init sniff */
typedef enum : uint8_t {
  BTA_DM_DI_NONE = 0x00,      /* nothing special */
  BTA_DM_DI_SET_SNIFF = 0x01, /* set this bit if call BTM_SetPowerMode(sniff) */
  BTA_DM_DI_INT_SNIFF = 0x02, /* set this bit if call BTM_SetPowerMode(sniff) &
                                 enter sniff mode */
  BTA_DM_DI_ACP_SNIFF = 0x04, /* set this bit if peer init sniff */
  BTA_DM_DI_USE_SSR = 0x10, /* set this bit if ssr is supported for this link */
  BTA_DM_DI_AV_ACTIVE = 0x20, /* set this bit if AV is active for this link */
} tBTA_DM_DEV_INFO_BITMASK;
typedef uint8_t tBTA_DM_DEV_INFO;

/* set power mode request type */