Android-cuttlefish cvd tool
Public Types | Public Member Functions | Public Attributes | List of all members
cuttlefish::SimService::PinStatus Struct Reference
Collaboration diagram for cuttlefish::SimService::PinStatus:
Collaboration graph
[legend]

Public Types

enum  ChangeMode { WITH_PIN , WITH_PUK }
 

Public Member Functions

bool CheckPasswordValid (std::string_view password)
 
bool VerifyPIN (const std::string_view pin)
 
bool VerifyPUK (const std::string_view puk)
 
bool ChangePIN (ChangeMode mode, const std::string_view pin_or_puk, const std::string_view new_pin)
 
bool ChangePUK (const std::string_view puk, const std::string_view new_puk)
 

Public Attributes

std::string pin_
 
std::string puk_
 
int pin_remaining_times_
 
int puk_remaining_times_
 

Member Enumeration Documentation

◆ ChangeMode

Enumerator
WITH_PIN 
WITH_PUK 

Member Function Documentation

◆ ChangePIN()

bool cuttlefish::SimService::PinStatus::ChangePIN ( ChangeMode  mode,
const std::string_view  pin_or_puk,
const std::string_view  new_pin 
)

◆ ChangePUK()

bool cuttlefish::SimService::PinStatus::ChangePUK ( const std::string_view  puk,
const std::string_view  new_puk 
)

◆ CheckPasswordValid()

bool cuttlefish::SimService::PinStatus::CheckPasswordValid ( std::string_view  password)

◆ VerifyPIN()

bool cuttlefish::SimService::PinStatus::VerifyPIN ( const std::string_view  pin)

◆ VerifyPUK()

bool cuttlefish::SimService::PinStatus::VerifyPUK ( const std::string_view  puk)

Member Data Documentation

◆ pin_

std::string cuttlefish::SimService::PinStatus::pin_

◆ pin_remaining_times_

int cuttlefish::SimService::PinStatus::pin_remaining_times_

◆ puk_

std::string cuttlefish::SimService::PinStatus::puk_

◆ puk_remaining_times_

int cuttlefish::SimService::PinStatus::puk_remaining_times_

The documentation for this struct was generated from the following files: