Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 33) sorted by relevance

12

/xnu-11215/iokit/Tests/TestServices/
H A DTestIOUserClient2022Entitlements.cpp19 setProperty(gIOUserClientClassKey, str); in start()
32 setProperty(kIOUserClientDefaultLockingKey, kOSBooleanTrue); in start()
33 setProperty(kIOUserClientDefaultLockingSetPropertiesKey, kOSBooleanTrue); in start()
34 setProperty(kIOUserClientDefaultLockingSingleThreadExternalMethodKey, kOSBooleanTrue); in start()
36 setProperty(kIOUserClientEntitlementsKey, "com.apple.iokit.test-check-entitlement-open"); in start()
H A DTestIODeviceMemoryRosetta.cpp19 setProperty(gIOUserClientClassKey, str); in start()
32 setProperty(kIOUserClientDefaultLockingKey, kOSBooleanTrue); in start()
33 setProperty(kIOUserClientDefaultLockingSetPropertiesKey, kOSBooleanTrue); in start()
34 setProperty(kIOUserClientDefaultLockingSingleThreadExternalMethodKey, kOSBooleanTrue); in start()
36 setProperty(kIOUserClientEntitlementsKey, kOSBooleanFalse); in start()
H A DTestIOConnectMapMemoryPortLeak45265408.cpp15 setProperty(gIOUserClientClassKey, className); in start()
31 setProperty(kIOUserClientSharedInstanceKey, kOSBooleanTrue); in start()
H A DTestIOServiceUserNotification.cpp19 setProperty(gIOUserClientClassKey, str); in start()
/xnu-11215/iokit/Kernel/
H A DIOStartIOKit.cpp115 root->setProperty( kIOKitBuildVersionKey, obj ); in iokit_post_constructor_init()
120 root->setProperty( kIOKitDiagnosticsKey, obj ); in iokit_post_constructor_init()
206 root->setProperty(kOSBuildVersionKey, build_version); in IORegistrySetOSBuildVersion()
224 chosen->setProperty(kIOProgressBackbufferKey, buffer, (unsigned int) size); in IORecordProgressBackbuffer()
225 chosen->setProperty(kIOProgressColorThemeKey, theme, 32); in IORecordProgressBackbuffer()
H A DIOCPU.cpp405 provider->setProperty("bus-frequency", busFrequency.get()); in start()
408 provider->setProperty("bus-frequency", busFrequency.get()); in start()
413 provider->setProperty("clock-frequency", cpuFrequency.get()); in start()
416 provider->setProperty("clock-frequency", cpuFrequency.get()); in start()
459 IOCPU::setProperty(const OSSymbol *aKey, OSObject *anObject) in setProperty() function in IOCPU
465 return super::setProperty(aKey, anObject); in setProperty()
499 if (setProperty(gIOCPUStateKey.get(), stateStr)) { in setProperties()
545 super::setProperty("IOCPUNumber", _cpuNumber, 32); in setCPUNumber()
639 setProperty(gPlatformInterruptControllerName, kOSBooleanTrue); in registerCPUInterruptController()
674 service->setProperty(gIOInterruptControllersKey, controller.get()); in setCPUInterruptProperties()
[all …]
H A DPassthruInterruptController.cpp46 !this->setProperty(gPlatformInterruptControllerName, kOSBooleanTrue) || in init()
73 service->setProperty(gIOInterruptSpecifiersKey, specifier); in setCPUInterruptProperties()
78 service->setProperty(gIOInterruptControllersKey, controller); in setCPUInterruptProperties()
H A DRootDomainUserClient.cpp77 setProperty(kIOUserClientDefaultLockingKey, kOSBooleanTrue); in start()
78 setProperty(kIOUserClientDefaultLockingSetPropertiesKey, kOSBooleanTrue); in start()
79 setProperty(kIOUserClientDefaultLockingSingleThreadExternalMethodKey, kOSBooleanFalse); in start()
81 setProperty(kIOUserClientEntitlementsKey, kOSBooleanFalse); in start()
116 fOwner->setProperty("SleepRequestedByPID", proc_pid(p), 32); in secureSleepSystemOptions()
130 fOwner->setProperty( kRootDomainSleepOptionsKey, sleepOptionsDict); in secureSleepSystemOptions()
489 me->fOwner->setProperty(kIOPMRootDomainWakeTypeKey, "UserActivity Assertion"); in externalMethodDispatched()
H A DIOReportLegend.cpp126 reportingService->setProperty(kIOReportLegendKey, legend->getLegend()); in addReporterLegend()
127 reportingService->setProperty(kIOReportLegendPublicKey, true); in addReporterLegend()
H A DIODeviceTreeSupport.cpp213 child->setProperty(gIOExclaveAssignedKey, kOSBooleanTrue); in IODeviceTreeAlloc()
223 child->setProperty("exclave-edk-endpoint", &edk_ep, sizeof(edk_ep)); in IODeviceTreeAlloc()
226 child->setProperty("exclave-endpoint", &ep, sizeof(ep)); in IODeviceTreeAlloc()
279 child->setProperty("aot-power", &aotFlags, sizeof(aotFlags)); in IODeviceTreeAlloc()
286 parent->setProperty("allInts", allInts); in IODeviceTreeAlloc()
287 parent->setProperty("sharedInts", gIODTSharedInterrupts); in IODeviceTreeAlloc()
311 parent->setProperty( gIODTNWInterruptMappingKey, in IODeviceTreeAlloc()
893 ok &= regEntry->setProperty( gIOInterruptSpecifiersKey, mapped); in IODTMapInterruptsSharing()
1131 regEntry->setProperty(gIODTPersistKey, num); in IODTSetResolving()
1428 regEntry->setProperty( gIODeviceMemoryKey, array); in IODTResolveAddressing()
[all …]
H A DIORegistryEntry.cpp866 bool ret = setProperty( tmpKey, anObject ); in setProperty()
873 IORegistryEntry::setProperty( const char * aKey, OSObject * anObject) in setProperty() function in IORegistryEntry
876 bool ret = setProperty( tmpKey, anObject ); in setProperty()
883 IORegistryEntry::setProperty(const char * aKey, const char * aString) in setProperty() function in IORegistryEntry
890 ret = setProperty( tmpKey, aSymbol ); in setProperty()
899 IORegistryEntry::setProperty(const char * aKey, bool aBoolean) in setProperty() function in IORegistryEntry
906 ret = setProperty( tmpKey, aBooleanObj ); in setProperty()
915 IORegistryEntry::setProperty( const char * aKey, in setProperty() function in IORegistryEntry
924 ret = setProperty( tmpKey, anOffset ); in setProperty()
933 IORegistryEntry::setProperty( const char * aKey, in setProperty() function in IORegistryEntry
[all …]
H A DIOPlatformExpert.cpp164 provider->setProperty("clock-frequency", busFrequency); in start()
172 setProperty("Platform Memory Ranges", physicalRanges); in start()
1265 ret = gIOOptionsEntry->setProperty(sym, data); in PEWriteNVRAMBooleanProperty()
1309 ret = gIOOptionsEntry->setProperty(sym, data); in PEWriteNVRAMPropertyInternal()
1449 getProvider()->setProperty(kIOPlatformSerialNumberKey, serNoString); in publishPlatformUUIDAndSerial()
1694 …__assert_only bool logical_id_added_to_ioreg = nub->setProperty("logical-cpu-id", logical_cpu_id, … in createNubs()
1696 logical_id_added_to_ioreg = nub->setProperty("logical-cluster-id", logical_cluster_id, 32U); in createNubs()
2172 setProperty(kIOPlatformSerialNumberKey, serNoString); in configureDefaults()
2282 setProperty( kIOPlatformUUIDKey, string ); in generatePlatformUUID()
H A DIOHibernateIO.cpp682 IOService::getPMRootDomain()->setProperty(kIOHibernateSMCVariablesKey, smcData); in IOHibernateSystemSleep()
774 IOService::getPMRootDomain()->setProperty(gIOHibernateRTCVariablesKey, data); in IOHibernateSystemSleep()
829 gIOOptionsEntry->setProperty(gIOHibernateBoot0082Key, gIOHibernateBoot0082Data); in IOHibernateSystemSleep()
905 gIOOptionsEntry->setProperty(gIOHibernateBootImageKey, data); in IOSetBootImageNVRAM()
1283 IOService::getPMRootDomain()->setProperty(kIOHibernateOptionsKey, in IOHibernateDone()
1291 IOService::getPMRootDomain()->setProperty(kIOHibernateGfxStatusKey, in IOHibernateDone()
1317 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextSave); in IOHibernateDone()
1492 gIOChosenEntry->setProperty(kIOBooterScreenLockStateKey, data); in IOHibernateWasScreenLocked()
1569 IOService::getPMRootDomain()->setProperty(kIOHibernatePreviewBufferKey, md);
1597 rootDomain->setProperty(kIOHibernateStateKey, data); in IOHibernateSystemInit()
[all …]
H A DIOPMrootDomain.cpp1647 setProperty(kIOSleepSupportedKey, true); in start()
1923 setProperty(key, n); in setProperties()
1928 setProperty(key, n); in setProperties()
1938 setProperty(key, obj); in setProperties()
1947 setProperty(key, n); in setProperties()
1952 setProperty(key, str); in setProperties()
1958 setProperty(key, b); in setProperties()
1987 setProperty(key, b); in setProperties()
1994 setProperty(key, n); in setProperties()
4343 setProperty(kAppleClamshellStateKey,
[all …]
H A DIONVRAMCHRPHandler.cpp576 _provider->_diags->setProperty(kNVRAMSystemUsedKey, val.get()); in unserializeVariables()
580 _provider->_diags->setProperty(kNVRAMCommonUsedKey, val.get()); in unserializeVariables()
589 _provider->setProperty(propSymbol.get(), propObject.get()); in unserializeVariables()
797 _provider->_diags->setProperty(kNVRAMSystemUsedKey, val.get()); in setVariableInternal()
801 _provider->_diags->setProperty(kNVRAMCommonUsedKey, val.get()); in setVariableInternal()
H A DIONVRAM.cpp796 setProperty(gIOPlatformWakeActionKey, value.get()); in OSDefineMetaClassAndStructors()
890 setProperty(kIODTNVRAMDiagsStatsKey, serializer.get()); in OSDefineMetaClassAndStructors()
1017 virtual bool setProperty(const OSSymbol *aKey, OSObject *anObject) APPLE_KEXT_OVERRIDE;
1123 IODTNVRAMVariables::setProperty(const OSSymbol *aKey, OSObject *anObject) in setProperty() function in IODTNVRAMVariables
1351 _diags->setProperty(kCurrentNVRAMVersionKey, version.get()); in start()
1541 _diags->setProperty(kCurrentGenerationCountKey, generation.get()); in syncInternal()
1970 IODTNVRAM::setProperty(const OSSymbol *aKey, OSObject *anObject) in setProperty() function in IODTNVRAM
H A DIOService.cpp1630 platform->setProperty(keys[idx], array); in setPlatform()
4247 setProperty(gIODEXTMatchCountKey, num); in probeCandidates()
5019 gIOResources->setProperty( key, value); in publishResource()
5036 gIOUserResources->setProperty( key, value); in publishUserResource()
5075 ret = setProperty( gIOResourceMatchKey, set ); in addNeededResource()
5430 setProperty(gIOResourceMatchedKey, resourceKeys); in doServiceMatch()
7179 this->setProperty( sym, num ); in init()
7411 regEntry->setProperty(gIOConsoleLockedKey, locked); in updateConsoleUsers()
8067 setProperty(gIOUserClientClassKey, in newUserClient()
8394 setProperty( gIODeviceMemoryKey, array); in setDeviceMemory()
[all …]
H A DIOKitDebug.cpp1625 inst->setProperty(kIOUserClientDefaultLockingKey, kOSBooleanTrue); in OSDefineMetaClassAndStructors()
1626 inst->setProperty(kIOUserClientDefaultLockingSetPropertiesKey, kOSBooleanTrue); in OSDefineMetaClassAndStructors()
1627 inst->setProperty(kIOUserClientDefaultLockingSingleThreadExternalMethodKey, kOSBooleanTrue); in OSDefineMetaClassAndStructors()
1629 inst->setProperty(kIOUserClientEntitlementsKey, kOSBooleanFalse); in OSDefineMetaClassAndStructors()
H A DIONVRAMV3Handler.cpp830 _provider->_diags->setProperty(kNVRAMSystemUsedKey, val.get()); in unserializeVariables()
834 _provider->_diags->setProperty(kNVRAMCommonUsedKey, val.get()); in unserializeVariables()
939 _provider->_diags->setProperty(kNVRAMSystemUsedKey, val.get()); in setVariableInternal()
942 _provider->_diags->setProperty(kNVRAMCommonUsedKey, val.get()); in setVariableInternal()
H A DIOMapper.cpp131 setProperty(gIOMapperIDKey, obj.get()); in start()
/xnu-11215/iokit/Families/IOSystemManagement/
H A DIOWatchDogTimer.cpp66 setProperty(kWatchDogEnabledProperty, kOSBooleanFalse); in start()
101 setProperty(kWatchDogEnabledProperty, kOSBooleanFalse); in setProperties()
103 setProperty(kWatchDogEnabledProperty, kOSBooleanTrue); in setProperties()
125 watchDogTimer->setProperty(kWatchDogEnabledProperty, kOSBooleanFalse); in IOWatchDogTimerSleepHandler()
/xnu-11215/iokit/IOKit/
H A DIORegistryEntry.h304 virtual bool setProperty(const OSSymbol * aKey,
319 virtual bool setProperty(const OSString * aKey, OSObject * anObject);
328 virtual bool setProperty(const char * aKey, OSObject * anObject);
337 virtual bool setProperty(const char * aKey, const char * aString);
346 virtual bool setProperty(const char * aKey, bool aBoolean);
356 virtual bool setProperty( const char * aKey,
368 virtual bool setProperty( const char * aKey,
H A DIOCPU.h81 virtual bool setProperty(const OSSymbol *aKey, OSObject *anObject) APPLE_KEXT_OVERRIDE;
H A DIONVRAM.h134 virtual bool setProperty(const OSSymbol *aKey, OSObject *anObject) APPLE_KEXT_OVERRIDE;
/xnu-11215/iokit/bsddev/
H A DDINetBootHook.cpp154 …if (!controller->setProperty(kDIRootImageRemovableKey, removable ? kOSBooleanTrue : kOSBooleanFals… in di_add_properties()
215 if (!controller->setProperty(kDIRootImageKey, pathString)) { in di_root_image_ext()
317 controller->setProperty(kDIRootRamFileKey, mem); in di_root_ramfile_buf()
423 controller->setProperty(kDIRootRamFileKey, mem); in di_root_ramfile()

12