Software APIs
Data Structures | Typedefs | Enumerations | Functions
dif_pwrmgr_unittest::anonymous_namespace{dif_pwrmgr_unittest.cc} Namespace Reference

Data Structures

class  DifPwrmgrInitialized
 
class  LowPowerTest
 
class  DomainConfig
 
class  RequestSources
 
class  WakeupRecording
 
class  FatalErrorTest
 

Typedefs

typedef enum dif_pwrmgr_unittest::anonymous_namespace{dif_pwrmgr_unittest.cc}::dif_pwrmgr_wakeup_request_source dif_pwrmgr_wakeup_request_source_t
 The following values are for Earlgrey.
 
typedef enum dif_pwrmgr_unittest::anonymous_namespace{dif_pwrmgr_unittest.cc}::dif_pwrmgr_reset_request_source dif_pwrmgr_reset_request_source_t
 

Enumerations

enum  dif_pwrmgr_wakeup_request_source {
  kDifPwrmgrWakeupRequestSourceOne = (1u << 0) ,
  kDifPwrmgrWakeupRequestSourceTwo = (1u << 1) ,
  kDifPwrmgrWakeupRequestSourceThree = (1u << 2) ,
  kDifPwrmgrWakeupRequestSourceFour = (1u << 3) ,
  kDifPwrmgrWakeupRequestSourceFive = (1u << 4) ,
  kDifPwrmgrWakeupRequestSourceSix = (1u << 5)
}
 The following values are for Earlgrey.
 
enum  dif_pwrmgr_reset_request_source {
  kDifPwrmgrResetRequestSourceOne = (1u << 0) ,
  kDifPwrmgrResetRequestSourceTwo = (1u << 1)
}
 

Functions

uint32_t AllOnesExcept (uint32_t index)
 Returns a uint32_t with a single zero bit.
 
 TEST_F (LowPowerTest, SetBadArgs)
 
 TEST_F (LowPowerTest, SetLocked)
 
 TEST_F (LowPowerTest, Set)
 
 TEST_F (LowPowerTest, GetBadArgs)
 
 TEST_F (LowPowerTest, Get)
 
 TEST_F (DomainConfig, SetBadArgs)
 
 TEST_F (DomainConfig, SetLocked)
 
 TEST_F (DomainConfig, Set)
 
 TEST_F (DomainConfig, GetBadArgs)
 
 TEST_F (DomainConfig, Get)
 
 TEST_F (RequestSources, SetBadArgs)
 
 TEST_F (RequestSources, SetWakeupLocked)
 
 TEST_F (RequestSources, SetResetLocked)
 
 TEST_F (RequestSources, SetWakeup)
 
 TEST_F (RequestSources, SetReset)
 
 TEST_F (RequestSources, GetBadArgs)
 
 TEST_F (RequestSources, GetWakeup)
 
 TEST_F (RequestSources, GetReset)
 
 TEST_F (RequestSources, GetCurrentBadArgs)
 
 TEST_F (RequestSources, GetCurrentWakeup)
 
 TEST_F (RequestSources, GetCurrentReset)
 
 TEST_F (RequestSources, LockBadArgs)
 
 TEST_F (RequestSources, LockWakeup)
 
 TEST_F (RequestSources, LockReset)
 
 TEST_F (RequestSources, IsLockedBadArgs)
 
 TEST_F (RequestSources, IsLockedWakeup)
 
 TEST_F (RequestSources, IsLockedReset)
 
 TEST_F (WakeupRecording, SetEnabledBadArgs)
 
 TEST_F (WakeupRecording, SetEnabled)
 
 TEST_F (WakeupRecording, GetEnabledBadArgs)
 
 TEST_F (WakeupRecording, GetEnabled)
 
 TEST_F (WakeupRecording, GetReasonBadArgs)
 
testing::Matcher< dif_pwrmgr_wakeup_reason_tEq (const dif_pwrmgr_wakeup_reason_t &rhs)
 Custom equality matcher for dif_pwrmgr_wakeup_reason_ts.
 
 TEST_F (WakeupRecording, GetReason)
 
 TEST_F (WakeupRecording, ClearReasonBadArgs)
 
 TEST_F (WakeupRecording, ClearReason)
 
 TEST_F (FatalErrorTest, GetBadArgs)
 
 TEST_F (FatalErrorTest, GetCodes)