Lines Matching refs:OSSymbol

243 static OSPtr<const OSSymbol> copyKextIdentifierWithAddress(vm_address_t address);
251 static OSSharedPtr<const OSSymbol> sleepSupportedPEFunction;
252 static OSSharedPtr<const OSSymbol> sleepMessagePEFunction;
253 static OSSharedPtr<const OSSymbol> gIOPMWakeTypeUserKey;
255 static OSSharedPtr<const OSSymbol> gIOPMPSExternalConnectedKey;
256 static OSSharedPtr<const OSSymbol> gIOPMPSExternalChargeCapableKey;
257 static OSSharedPtr<const OSSymbol> gIOPMPSBatteryInstalledKey;
258 static OSSharedPtr<const OSSymbol> gIOPMPSIsChargingKey;
259 static OSSharedPtr<const OSSymbol> gIOPMPSAtWarnLevelKey;
260 static OSSharedPtr<const OSSymbol> gIOPMPSAtCriticalLevelKey;
261 static OSSharedPtr<const OSSymbol> gIOPMPSCurrentCapacityKey;
262 static OSSharedPtr<const OSSymbol> gIOPMPSMaxCapacityKey;
263 static OSSharedPtr<const OSSymbol> gIOPMPSDesignCapacityKey;
264 static OSSharedPtr<const OSSymbol> gIOPMPSTimeRemainingKey;
265 static OSSharedPtr<const OSSymbol> gIOPMPSAmperageKey;
266 static OSSharedPtr<const OSSymbol> gIOPMPSVoltageKey;
267 static OSSharedPtr<const OSSymbol> gIOPMPSCycleCountKey;
268 static OSSharedPtr<const OSSymbol> gIOPMPSMaxErrKey;
269 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterInfoKey;
270 static OSSharedPtr<const OSSymbol> gIOPMPSLocationKey;
271 static OSSharedPtr<const OSSymbol> gIOPMPSErrorConditionKey;
272 static OSSharedPtr<const OSSymbol> gIOPMPSManufacturerKey;
273 static OSSharedPtr<const OSSymbol> gIOPMPSManufactureDateKey;
274 static OSSharedPtr<const OSSymbol> gIOPMPSModelKey;
275 static OSSharedPtr<const OSSymbol> gIOPMPSSerialKey;
276 static OSSharedPtr<const OSSymbol> gIOPMPSLegacyBatteryInfoKey;
277 static OSSharedPtr<const OSSymbol> gIOPMPSBatteryHealthKey;
278 static OSSharedPtr<const OSSymbol> gIOPMPSHealthConfidenceKey;
279 static OSSharedPtr<const OSSymbol> gIOPMPSCapacityEstimatedKey;
280 static OSSharedPtr<const OSSymbol> gIOPMPSBatteryChargeStatusKey;
281 static OSSharedPtr<const OSSymbol> gIOPMPSBatteryTemperatureKey;
282 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsKey;
283 static OSSharedPtr<const OSSymbol> gIOPMPSChargerConfigurationKey;
284 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsIDKey;
285 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsWattsKey;
286 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsRevisionKey;
287 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsSerialNumberKey;
288 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsFamilyKey;
289 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsAmperageKey;
290 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsDescriptionKey;
291 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsPMUConfigurationKey;
292 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsSourceIDKey;
293 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsErrorFlagsKey;
294 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsSharedSourceKey;
295 static OSSharedPtr<const OSSymbol> gIOPMPSAdapterDetailsCloakedKey;
296 static OSSharedPtr<const OSSymbol> gIOPMPSInvalidWakeSecondsKey;
297 static OSSharedPtr<const OSSymbol> gIOPMPSPostChargeWaitSecondsKey;
298 static OSSharedPtr<const OSSymbol> gIOPMPSPostDishargeWaitSecondsKey;
647 static OSSharedPtr<const OSSymbol> gPMHaltClientAcknowledgeKey;
658 OSSharedPtr<const OSSymbol> gIOPMStatsResponseTimedOut;
659 OSSharedPtr<const OSSymbol> gIOPMStatsResponseCancel;
660 OSSharedPtr<const OSSymbol> gIOPMStatsResponseSlow;
661 OSSharedPtr<const OSSymbol> gIOPMStatsResponsePrompt;
662 OSSharedPtr<const OSSymbol> gIOPMStatsDriverPSChangeSlow;
710 const OSSymbol *settings[],
713 IOReturn dispatchPMSetting(const OSSymbol *type, OSObject *object);
779 const OSSymbol *ownerString;
1505 static OSSharedPtr<const OSSymbol> gIOPMSettingAutoWakeCalendarKey;
1506 static OSSharedPtr<const OSSymbol> gIOPMSettingAutoWakeSecondsKey;
1507 static OSSharedPtr<const OSSymbol> gIOPMSettingAutoPowerCalendarKey;
1508 static OSSharedPtr<const OSSymbol> gIOPMSettingAutoPowerSecondsKey;
1509 static OSSharedPtr<const OSSymbol> gIOPMSettingDebugWakeRelativeKey;
1510 static OSSharedPtr<const OSSymbol> gIOPMSettingDebugPowerRelativeKey;
1511 static OSSharedPtr<const OSSymbol> gIOPMSettingMaintenanceWakeCalendarKey;
1512 static OSSharedPtr<const OSSymbol> gIOPMSettingSleepServiceWakeCalendarKey;
1513 static OSSharedPtr<const OSSymbol> gIOPMSettingSilentRunningKey;
1514 static OSSharedPtr<const OSSymbol> gIOPMUserTriggeredFullWakeKey;
1515 static OSSharedPtr<const OSSymbol> gIOPMUserIsActiveKey;
1516 static OSSharedPtr<const OSSymbol> gIOPMSettingLowLatencyAudioModeKey;
1535 gIOPMSettingAutoWakeCalendarKey = OSSymbol::withCString(kIOPMSettingAutoWakeCalendarKey); in start()
1536 gIOPMSettingAutoWakeSecondsKey = OSSymbol::withCString(kIOPMSettingAutoWakeSecondsKey); in start()
1537 gIOPMSettingAutoPowerCalendarKey = OSSymbol::withCString(kIOPMSettingAutoPowerCalendarKey); in start()
1538 gIOPMSettingAutoPowerSecondsKey = OSSymbol::withCString(kIOPMSettingAutoPowerSecondsKey); in start()
1539 gIOPMSettingDebugWakeRelativeKey = OSSymbol::withCString(kIOPMSettingDebugWakeRelativeKey); in start()
1540 gIOPMSettingDebugPowerRelativeKey = OSSymbol::withCString(kIOPMSettingDebugPowerRelativeKey); in start()
1541 …gIOPMSettingMaintenanceWakeCalendarKey = OSSymbol::withCString(kIOPMSettingMaintenanceWakeCalendar… in start()
1542 …gIOPMSettingSleepServiceWakeCalendarKey = OSSymbol::withCString(kIOPMSettingSleepServiceWakeCalend… in start()
1543 gIOPMSettingSilentRunningKey = OSSymbol::withCStringNoCopy(kIOPMSettingSilentRunningKey); in start()
1544 gIOPMUserTriggeredFullWakeKey = OSSymbol::withCStringNoCopy(kIOPMUserTriggeredFullWakeKey); in start()
1545 gIOPMUserIsActiveKey = OSSymbol::withCStringNoCopy(kIOPMUserIsActiveKey); in start()
1546 …gIOPMSettingLowLatencyAudioModeKey = OSSymbol::withCStringNoCopy(kIOPMSettingLowLatencyAudioModeKe… in start()
1548 gIOPMStatsResponseTimedOut = OSSymbol::withCString(kIOPMStatsResponseTimedOut); in start()
1549 gIOPMStatsResponseCancel = OSSymbol::withCString(kIOPMStatsResponseCancel); in start()
1550 gIOPMStatsResponseSlow = OSSymbol::withCString(kIOPMStatsResponseSlow); in start()
1551 gIOPMStatsResponsePrompt = OSSymbol::withCString(kIOPMStatsResponsePrompt); in start()
1552 gIOPMStatsDriverPSChangeSlow = OSSymbol::withCString(kIOPMStatsDriverPSChangeSlow); in start()
1554 sleepSupportedPEFunction = OSSymbol::withCString("IOPMSetSleepSupported"); in start()
1555 sleepMessagePEFunction = OSSymbol::withCString("IOPMSystemSleepMessage"); in start()
1556 gIOPMWakeTypeUserKey = OSSymbol::withCStringNoCopy(kIOPMRootDomainWakeTypeUser); in start()
1558 OSSharedPtr<const OSSymbol> settingsArr[kRootDomainSettingsCount] = in start()
1560 OSSymbol::withCString(kIOPMSettingSleepOnPowerButtonKey), in start()
1567 OSSymbol::withCString(kIOPMSettingWakeOnRingKey), in start()
1568 OSSymbol::withCString(kIOPMSettingRestartOnPowerLossKey), in start()
1569 OSSymbol::withCString(kIOPMSettingWakeOnClamshellKey), in start()
1570 OSSymbol::withCString(kIOPMSettingWakeOnACChangeKey), in start()
1571 OSSymbol::withCString(kIOPMSettingTimeZoneOffsetKey), in start()
1572 OSSymbol::withCString(kIOPMSettingDisplaySleepUsesDimKey), in start()
1573 OSSymbol::withCString(kIOPMSettingMobileMotionModuleKey), in start()
1574 OSSymbol::withCString(kIOPMSettingGraphicsSwitchKey), in start()
1575 OSSymbol::withCString(kIOPMStateConsoleShutdown), in start()
1576 OSSymbol::withCString(kIOPMSettingProModeControl), in start()
1577 OSSymbol::withCString(kIOPMSettingProModeDefer), in start()
1582 OSSharedPtr<const OSSymbol> noPublishSettingsArr[kRootDomainNoPublishSettingsCount] = in start()
1584 OSSymbol::withCString(kIOPMSettingProModeControl), in start()
1585 OSSymbol::withCString(kIOPMSettingProModeDefer), in start()
1695 _statsNameKey = OSSymbol::withCString(kIOPMStatsNameKey); in start()
1696 _statsPIDKey = OSSymbol::withCString(kIOPMStatsPIDKey); in start()
1697 _statsTimeMSKey = OSSymbol::withCString(kIOPMStatsTimeMSKey); in start()
1698 _statsResponseTypeKey = OSSymbol::withCString(kIOPMStatsApplicationResponseTypeKey); in start()
1699 _statsMessageTypeKey = OSSymbol::withCString(kIOPMStatsMessageTypeKey); in start()
1700 _statsPowerCapsKey = OSSymbol::withCString(kIOPMStatsPowerCapabilityKey); in start()
1782 lowLatencyAudioNotifyStateSym = OSSymbol::withCString("LowLatencyAudioNotifyState"); in start()
1783 lowLatencyAudioNotifyTimestampSym = OSSymbol::withCString("LowLatencyAudioNotifyTimestamp"); in start()
1793 OSSharedPtr<const OSSymbol> ucClassName = OSSymbol::withCStringNoCopy("RootDomainUserClient"); in start()
1836 const OSSymbol *key = NULL; in setProperties()
1879 …OSSharedPtr<const OSSymbol> publish_simulated_battery_string = OSSymbol::withCString("SoftwareS… in setProperties()
1880 …OSSharedPtr<const OSSymbol> boot_complete_string = OSSymbol::withCString("System Bo… in setProperties()
1881 …OSSharedPtr<const OSSymbol> sys_shutdown_string = OSSymbol::withCString("System Sh… in setProperties()
1882 …OSSharedPtr<const OSSymbol> stall_halt_string = OSSymbol::withCString("StallSyst… in setProperties()
1883 …OSSharedPtr<const OSSymbol> battery_warning_disabled_string = OSSymbol::withCString("BatteryWa… in setProperties()
1884 …OSSharedPtr<const OSSymbol> idle_seconds_string = OSSymbol::withCString("System Id… in setProperties()
1885 …OSSharedPtr<const OSSymbol> idle_milliseconds_string = OSSymbol::withCString("System Id… in setProperties()
1886 …OSSharedPtr<const OSSymbol> sleepdisabled_string = OSSymbol::withCString("SleepDisa… in setProperties()
1887 …OSSharedPtr<const OSSymbol> ondeck_sleepwake_uuid_string = OSSymbol::withCString(kIOPMSleep… in setProperties()
1888 …OSSharedPtr<const OSSymbol> loginwindow_progress_string = OSSymbol::withCString(kIOPMLogin… in setProperties()
1889 …OSSharedPtr<const OSSymbol> coredisplay_progress_string = OSSymbol::withCString(kIOPMCoreD… in setProperties()
1890 …OSSharedPtr<const OSSymbol> coregraphics_progress_string = OSSymbol::withCString(kIOPMCoreG… in setProperties()
1892 …OSSharedPtr<const OSSymbol> clamshell_close_string = OSSymbol::withCString("IOPMTestC… in setProperties()
1893 …OSSharedPtr<const OSSymbol> clamshell_open_string = OSSymbol::withCString("IOPMTestC… in setProperties()
1894 …OSSharedPtr<const OSSymbol> ac_detach_string = OSSymbol::withCString("IOPMTestA… in setProperties()
1895 …OSSharedPtr<const OSSymbol> ac_attach_string = OSSymbol::withCString("IOPMTestA… in setProperties()
1896 …OSSharedPtr<const OSSymbol> desktopmode_set_string = OSSymbol::withCString("IOPMTestD… in setProperties()
1897 …OSSharedPtr<const OSSymbol> desktopmode_remove_string = OSSymbol::withCString("IOPMTestD… in setProperties()
1901 …OSSharedPtr<const OSSymbol> hibernatemode_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1902 …OSSharedPtr<const OSSymbol> hibernatefile_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1903 …OSSharedPtr<const OSSymbol> hibernatefilemin_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1904 …OSSharedPtr<const OSSymbol> hibernatefilemax_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1905 …OSSharedPtr<const OSSymbol> hibernatefreeratio_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1906 …OSSharedPtr<const OSSymbol> hibernatefreetime_string = OSSymbol::withCString(kIOHiberna… in setProperties()
1915 while ((key = (const OSSymbol *) iter->getNextObject()) && in setProperties()
2933 OSSharedPtr<const OSSymbol> event = OSSymbol::withCString(kIOPMThermalLevelWarningKey); in powerChangeDone()
3410 OSSharedPtr<const OSSymbol> name = service->copyName(); in copySleepPreventersList()
3428 OSSharedPtr<const OSSymbol> name = service->copyName(); in copySleepPreventersList()
3463 OSSharedPtr<const OSSymbol> name = service->copyName(); in copySleepPreventersListWithID()
3485 OSSharedPtr<const OSSymbol> name = service->copyName(); in copySleepPreventersListWithID()
4443 const OSSymbol *type,
4642 OSSymbol *dictKey = NULL;
4682 while ((dictKey = OSDynamicCast(OSSymbol, dictIterator->getNextObject()))) {
4762 const OSSymbol * feature, uint32_t where, uint32_t * featureID )
4784 const OSSymbol *type,
4851 OSSharedPtr<const OSSymbol> kextName = copyKextIdentifierWithAddress((vm_address_t) pmso->func);
4891 OSSymbol *whichSetting)
4914 const OSSymbol * settings[],
4948 const OSSymbol * settings[],
5008 OSSymbol *sym;
5038 while ((sym = OSDynamicCast(OSSymbol, iter->getNextObject()))) {
5831 OSSharedPtr<const OSSymbol> setting = OSSymbol::withCString(kIOPMSettingRestartOnPowerLossKey);
6871 const OSSymbol * powerClient,
7009 OSSharedPtr<const OSSymbol> identifier;
7010 OSSharedPtr<const OSSymbol> clientName;
7017 const OSSymbol * typeOfInterest,
7409 OSSharedPtr<const OSSymbol> deviceName = device->copyName();
8271 const OSSymbol *event,
8312 const OSSymbol *event,
9332 const OSSymbol *response,
9346 OSSharedPtr<const OSSymbol> appname;
9347 OSSharedPtr<const OSSymbol> sleep;
9348 OSSharedPtr<const OSSymbol> wake;
9393 appname = OSSymbol::withCString(name);
9435 sleep = OSSymbol::withCString("Sleep");
9436 wake = OSSymbol::withCString("Wake");
9472 const OSSymbol * functionName,
9584 static OSPtr<const OSSymbol>
9587 OSSharedPtr<const OSSymbol> identifer;
9597 identifer = OSSymbol::withCString((gKextNameBuf[0] != 0) ? gKextNameBuf : kOSKextKernelIdentifier);
9619 notifier->clientName = OSSymbol::withString(string.get());
10008 OSSharedPtr<const OSSymbol> deviceName;
10435 OSSymbol::withCStringNoCopy("PMShutdown");
10944 OSSharedPtr<const OSSymbol> deviceName;
11192 const OSSymbol * settings[],
11272 PMSettingObject::dispatchPMSetting( const OSSymbol * type, OSObject * object )
11544 track.ownerString = whoItIs ? OSSymbol::withCString(whoItIs).detach():nullptr;
11839 gIOPMPSExternalConnectedKey = OSSymbol::withCStringNoCopy(kIOPMPSExternalConnectedKey);
11840 gIOPMPSExternalChargeCapableKey = OSSymbol::withCStringNoCopy(kIOPMPSExternalChargeCapableKey);
11841 gIOPMPSBatteryInstalledKey = OSSymbol::withCStringNoCopy(kIOPMPSBatteryInstalledKey);
11842 gIOPMPSIsChargingKey = OSSymbol::withCStringNoCopy(kIOPMPSIsChargingKey);
11843 gIOPMPSAtWarnLevelKey = OSSymbol::withCStringNoCopy(kIOPMPSAtWarnLevelKey);
11844 gIOPMPSAtCriticalLevelKey = OSSymbol::withCStringNoCopy(kIOPMPSAtCriticalLevelKey);
11845 gIOPMPSCurrentCapacityKey = OSSymbol::withCStringNoCopy(kIOPMPSCurrentCapacityKey);
11846 gIOPMPSMaxCapacityKey = OSSymbol::withCStringNoCopy(kIOPMPSMaxCapacityKey);
11847 gIOPMPSDesignCapacityKey = OSSymbol::withCStringNoCopy(kIOPMPSDesignCapacityKey);
11848 gIOPMPSTimeRemainingKey = OSSymbol::withCStringNoCopy(kIOPMPSTimeRemainingKey);
11849 gIOPMPSAmperageKey = OSSymbol::withCStringNoCopy(kIOPMPSAmperageKey);
11850 gIOPMPSVoltageKey = OSSymbol::withCStringNoCopy(kIOPMPSVoltageKey);
11851 gIOPMPSCycleCountKey = OSSymbol::withCStringNoCopy(kIOPMPSCycleCountKey);
11852 gIOPMPSMaxErrKey = OSSymbol::withCStringNoCopy(kIOPMPSMaxErrKey);
11853 gIOPMPSAdapterInfoKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterInfoKey);
11854 gIOPMPSLocationKey = OSSymbol::withCStringNoCopy(kIOPMPSLocationKey);
11855 gIOPMPSErrorConditionKey = OSSymbol::withCStringNoCopy(kIOPMPSErrorConditionKey);
11856 gIOPMPSManufacturerKey = OSSymbol::withCStringNoCopy(kIOPMPSManufacturerKey);
11857 gIOPMPSManufactureDateKey = OSSymbol::withCStringNoCopy(kIOPMPSManufactureDateKey);
11858 gIOPMPSModelKey = OSSymbol::withCStringNoCopy(kIOPMPSModelKey);
11859 gIOPMPSSerialKey = OSSymbol::withCStringNoCopy(kIOPMPSSerialKey);
11860 gIOPMPSLegacyBatteryInfoKey = OSSymbol::withCStringNoCopy(kIOPMPSLegacyBatteryInfoKey);
11861 gIOPMPSBatteryHealthKey = OSSymbol::withCStringNoCopy(kIOPMPSBatteryHealthKey);
11862 gIOPMPSHealthConfidenceKey = OSSymbol::withCStringNoCopy(kIOPMPSHealthConfidenceKey);
11863 gIOPMPSCapacityEstimatedKey = OSSymbol::withCStringNoCopy(kIOPMPSCapacityEstimatedKey);
11864 gIOPMPSBatteryChargeStatusKey = OSSymbol::withCStringNoCopy(kIOPMPSBatteryChargeStatusKey);
11865 gIOPMPSBatteryTemperatureKey = OSSymbol::withCStringNoCopy(kIOPMPSBatteryTemperatureKey);
11866 gIOPMPSAdapterDetailsKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsKey);
11867 gIOPMPSChargerConfigurationKey = OSSymbol::withCStringNoCopy(kIOPMPSChargerConfigurationKey);
11868 gIOPMPSAdapterDetailsIDKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsIDKey);
11869 gIOPMPSAdapterDetailsWattsKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsWattsKey);
11870 gIOPMPSAdapterDetailsRevisionKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsRevisionKey);
11871 …gIOPMPSAdapterDetailsSerialNumberKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsSerialNumb…
11872 gIOPMPSAdapterDetailsFamilyKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsFamilyKey);
11873 gIOPMPSAdapterDetailsAmperageKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsAmperageKey);
11874 …gIOPMPSAdapterDetailsDescriptionKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsDescription…
11875 …gIOPMPSAdapterDetailsPMUConfigurationKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsPMUCon…
11876 gIOPMPSAdapterDetailsSourceIDKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsSourceIDKey);
11877 …gIOPMPSAdapterDetailsErrorFlagsKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsErrorFlagsKe…
11878 …gIOPMPSAdapterDetailsSharedSourceKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsSharedSour…
11879 gIOPMPSAdapterDetailsCloakedKey = OSSymbol::withCStringNoCopy(kIOPMPSAdapterDetailsCloakedKey);
11880 gIOPMPSInvalidWakeSecondsKey = OSSymbol::withCStringNoCopy(kIOPMPSInvalidWakeSecondsKey);
11881 gIOPMPSPostChargeWaitSecondsKey = OSSymbol::withCStringNoCopy(kIOPMPSPostChargeWaitSecondsKey);
11882 gIOPMPSPostDishargeWaitSecondsKey = OSSymbol::withCStringNoCopy(kIOPMPSPostDishargeWaitSecondsKey);
12251 OSSharedPtr<const OSSymbol> kextName = NULL;