Class IOKitFunctions
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.mac.IOKitFunctions
-
Field Summary
Fields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, SYMBOL_LOOKUP -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentIOBSDNameMatching(int masterPort, int options, MemorySegment bsdName) static MemorySegmentIOIteratorNext(MemorySegment iterator) static intIOMasterPort(int bootstrapPort, MemorySegment port) static booleanIOObjectConformsTo(MemorySegment object, MemorySegment className) static intIOObjectRelease(MemorySegment object) static MemorySegmentstatic MemorySegmentstatic MemorySegmentstatic doublestatic intIORegistryEntryCreateCFProperties(MemorySegment entry, MemorySegment properties, MemorySegment allocator, int options) static MemorySegmentIORegistryEntryCreateCFProperty(MemorySegment entry, MemorySegment key, MemorySegment allocator, int options) static intIORegistryEntryGetChildEntry(MemorySegment entry, MemorySegment plane, MemorySegment child) static intIORegistryEntryGetChildIterator(MemorySegment entry, MemorySegment plane, MemorySegment iter) static intIORegistryEntryGetName(MemorySegment entry, MemorySegment name) static intIORegistryEntryGetParentEntry(MemorySegment entry, MemorySegment plane, MemorySegment parent) static intstatic MemorySegmentIORegistryEntrySearchCFProperty(MemorySegment entry, MemorySegment plane, MemorySegment key, MemorySegment allocator, int options) static MemorySegmentIORegistryGetRootEntry(int masterPort) static MemorySegmentIOServiceGetMatchingService(int masterPort, MemorySegment matchingDict) static intIOServiceGetMatchingServices(int masterPort, MemorySegment matchingDict, MemorySegment iterator) static MemorySegmentstatic MemorySegmentMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Method Details
-
IOMasterPort
- Throws:
Throwable
-
IORegistryGetRootEntry
- Throws:
Throwable
-
IOServiceNameMatching
- Throws:
Throwable
-
IOServiceMatching
- Throws:
Throwable
-
IOServiceGetMatchingService
public static MemorySegment IOServiceGetMatchingService(int masterPort, MemorySegment matchingDict) throws Throwable - Throws:
Throwable
-
IOServiceGetMatchingServices
public static int IOServiceGetMatchingServices(int masterPort, MemorySegment matchingDict, MemorySegment iterator) throws Throwable - Throws:
Throwable
-
IOBSDNameMatching
public static MemorySegment IOBSDNameMatching(int masterPort, int options, MemorySegment bsdName) throws Throwable - Throws:
Throwable
-
IOObjectRelease
- Throws:
Throwable
-
IOObjectConformsTo
public static boolean IOObjectConformsTo(MemorySegment object, MemorySegment className) throws Throwable - Throws:
Throwable
-
IOIteratorNext
- Throws:
Throwable
-
IORegistryEntryGetRegistryEntryID
public static int IORegistryEntryGetRegistryEntryID(MemorySegment entry, MemorySegment id) throws Throwable - Throws:
Throwable
-
IORegistryEntryGetName
- Throws:
Throwable
-
IORegistryEntryGetChildIterator
public static int IORegistryEntryGetChildIterator(MemorySegment entry, MemorySegment plane, MemorySegment iter) throws Throwable - Throws:
Throwable
-
IORegistryEntryGetChildEntry
public static int IORegistryEntryGetChildEntry(MemorySegment entry, MemorySegment plane, MemorySegment child) throws Throwable - Throws:
Throwable
-
IORegistryEntryGetParentEntry
public static int IORegistryEntryGetParentEntry(MemorySegment entry, MemorySegment plane, MemorySegment parent) throws Throwable - Throws:
Throwable
-
IORegistryEntryCreateCFProperty
public static MemorySegment IORegistryEntryCreateCFProperty(MemorySegment entry, MemorySegment key, MemorySegment allocator, int options) throws Throwable - Throws:
Throwable
-
IORegistryEntryCreateCFProperties
public static int IORegistryEntryCreateCFProperties(MemorySegment entry, MemorySegment properties, MemorySegment allocator, int options) throws Throwable - Throws:
Throwable
-
IORegistryEntrySearchCFProperty
public static MemorySegment IORegistryEntrySearchCFProperty(MemorySegment entry, MemorySegment plane, MemorySegment key, MemorySegment allocator, int options) throws Throwable - Throws:
Throwable
-
IOPSCopyPowerSourcesInfo
- Throws:
Throwable
-
IOPSCopyPowerSourcesList
- Throws:
Throwable
-
IOPSGetPowerSourceDescription
public static MemorySegment IOPSGetPowerSourceDescription(MemorySegment blob, MemorySegment ps) throws Throwable - Throws:
Throwable
-
IOPSGetTimeRemainingEstimate
-