Searched refs:newPowerSource (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOPMPowerSourceList.cpp50 IOReturn IOPMPowerSourceList::addToList(IOPMPowerSource *newPowerSource) argument
58 if ( nextPowerSource == newPowerSource )
67 newPowerSource->nextInList = firstItem;
68 firstItem = newPowerSource;
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/pwr_mgt/
H A DIOPMPowerSourceList.h48 IOReturn addToList(IOPMPowerSource *newPowerSource);
/macosx-10.10.1/PowerManagement-494.1.2/pmconfigd/
H A DPMSettings.c567 CFStringRef newPowerSource; local
571 newPowerSource = CFSTR(kIOPMUPSPowerKey);
573 newPowerSource = CFSTR(kIOPMBatteryPowerKey);
575 newPowerSource = CFSTR(kIOPMACPowerKey);
579 || !CFEqual(currentPowerSource, newPowerSource))
581 currentPowerSource = newPowerSource;

Completed in 67 milliseconds