Lines Matching refs:fn
91 static const char fn[] = "PowerSwitch::initialize"; in initialize() local
96 "%s: level=%s (%u)", fn, powerLevelToString(level), level); in initialize()
101 "%s: desired screen-off state=%d", fn, mDesiredScreenOffPowerState); in initialize()
115 LOG(ERROR) << StringPrintf("%s: not handled", fn); in initialize()
149 static const char fn[] = "PowerSwitch::setLevel"; in setLevel() local
155 "%s: level=%s (%u)", fn, powerLevelToString(newLevel), newLevel); in setLevel()
162 LOG(ERROR) << StringPrintf("%s: unknown power level", fn); in setLevel()
172 << StringPrintf("%s: wait for deactivation", fn); in setLevel()
197 LOG(ERROR) << StringPrintf("%s: not handled", fn); in setLevel()
202 "%s: actual power level=%s", fn, powerLevelToString(mCurrLevel)); in setLevel()
276 static const char fn[] = "PowerSwitch::setPowerOffSleepState"; in setPowerOffSleepState() local
278 << StringPrintf("%s: enter; sleep=%u", fn, sleep); in setPowerOffSleepState()
290 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: try power off", fn); in setPowerOffSleepState()
296 LOG(ERROR) << StringPrintf("%s: API fail; stat=0x%X", fn, stat); in setPowerOffSleepState()
301 "%s: power is not ON; curr device mgt power state=%s (%u)", fn, in setPowerOffSleepState()
316 << StringPrintf("%s: try full power", fn); in setPowerOffSleepState()
323 fn, deviceMgtPowerStateToString(mCurrDeviceMgtPowerState), in setPowerOffSleepState()
330 LOG(ERROR) << StringPrintf("%s: API fail; stat=0x%X", fn, stat); in setPowerOffSleepState()
335 "%s: not in power-off state; curr device mgt power state=%s (%u)", fn, in setPowerOffSleepState()
345 << StringPrintf("%s: exit; return %u", fn, retval); in setPowerOffSleepState()
430 static const char fn[] = "PowerSwitch::abort"; in abort() local
431 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", fn); in abort()
449 static const char fn[] = "PowerSwitch::deviceManagementCallback"; in deviceManagementCallback() local
457 fn, power_mode.status, in deviceManagementCallback()