class Client

Defined at line 44 of file ../../src/firmware/paver/abr-client.h

Interface for interacting with ABR data.

Public Methods

void ~Client ()

Defined at line 46 of file ../../src/firmware/paver/abr-client.h

AbrSlotIndex GetBootSlot (bool update_metadata, bool * is_slot_marked_successful)

Defined at line 48 of file ../../src/firmware/paver/abr-client.h

zx::result<AbrSlotIndex> GetSlotLastMarkedActive ()

Defined at line 52 of file ../../src/firmware/paver/abr-client.h

zx::result<> MarkSlotActive (AbrSlotIndex index)

Defined at line 61 of file ../../src/firmware/paver/abr-client.h

zx::result<> MarkSlotUnbootable (AbrSlotIndex index)

Defined at line 65 of file ../../src/firmware/paver/abr-client.h

zx::result<> MarkSlotSuccessful (AbrSlotIndex index, bool from_unbootable_ok)

Only set |from_unbootable_ok| if this is the final boot into the current slot.

Defined at line 71 of file ../../src/firmware/paver/abr-client.h

zx::result<AbrSlotInfo> GetSlotInfo (AbrSlotIndex index)

Defined at line 75 of file ../../src/firmware/paver/abr-client.h

zx::result<AbrDataOneShotFlags> GetAndClearOneShotFlags ()

Defined at line 84 of file ../../src/firmware/paver/abr-client.h

zx::result<> SetOneShotRecovery ()

Defined at line 93 of file ../../src/firmware/paver/abr-client.h

zx::result<> SetOneShotBootloader ()

Defined at line 97 of file ../../src/firmware/paver/abr-client.h

void Client (bool custom)

Defined at line 107 of file ../../src/firmware/paver/abr-client.h

void Client (const Client & )

No copy, move, assign.

This is to ensure that |abr_ops_| is always valid. |abr_ops_.context| shall always be

a |this| pointer to the Client instance that hosts |abr_ops_|. This may be

violated if we allow Client to be copied/moved/assign.

Defined at line 120 of file ../../src/firmware/paver/abr-client.h

zx::result<> AbrResultToZxStatus (AbrResult status)

Defined at line 267 of file ../../src/firmware/paver/abr-client.cc

zx::result<> Flush ()
void InitializeAbrOps ()
Client & operator= (const Client & )

Defined at line 121 of file ../../src/firmware/paver/abr-client.h

void Client (Client && )

Defined at line 123 of file ../../src/firmware/paver/abr-client.h

Client & operator= (Client && )

Defined at line 124 of file ../../src/firmware/paver/abr-client.h

Friends

class MoonflowerAbrClientTest