# android.system

# android.system

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/system/package-summary "View this page in Java")

## Classes

|--------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int64Ref](https://developer.android.com/reference/kotlin/android/system/Int64Ref)               | A signed 64bit integer reference suitable for passing to lower-level system calls.                                                                                                                                                                                                                                                            |
| [Os](https://developer.android.com/reference/kotlin/android/system/Os)                           | Access to low-level system functionality.                                                                                                                                                                                                                                                                                                     |
| [OsConstants](https://developer.android.com/reference/kotlin/android/system/OsConstants)         | Constants and helper functions for use with[Os](https://developer.android.com/reference/kotlin/android/system/Os).                                                                                                                                                                                                                            |
| [StructCmsghdr](https://developer.android.com/reference/kotlin/android/system/StructCmsghdr)     | Corresponds to C's`struct cmsghdr`.                                                                                                                                                                                                                                                                                                           |
| [StructDlInfo](https://developer.android.com/reference/kotlin/android/system/StructDlInfo)       | Corresponds to C's`struct Dl_info`.                                                                                                                                                                                                                                                                                                           |
| [StructMsghdr](https://developer.android.com/reference/kotlin/android/system/StructMsghdr)       | Corresponds to C's`struct msghdr`                                                                                                                                                                                                                                                                                                             |
| [StructPollfd](https://developer.android.com/reference/kotlin/android/system/StructPollfd)       | Used as an in/out parameter to[Os.poll](https://developer.android.com/reference/kotlin/android/system/Os#poll(kotlin.Array,%20kotlin.Int)).                                                                                                                                                                                                   |
| [StructStat](https://developer.android.com/reference/kotlin/android/system/StructStat)           | File information returned by[Os.fstat](https://developer.android.com/reference/kotlin/android/system/Os#fstat(java.io.FileDescriptor)),[Os.lstat](https://developer.android.com/reference/kotlin/android/system/Os#lstat(kotlin.String)), and[Os.stat](https://developer.android.com/reference/kotlin/android/system/Os#stat(kotlin.String)). |
| [StructStatVfs](https://developer.android.com/reference/kotlin/android/system/StructStatVfs)     | File information returned by[Os.fstatvfs](https://developer.android.com/reference/kotlin/android/system/Os#fstatvfs(java.io.FileDescriptor))and[Os.statvfs](https://developer.android.com/reference/kotlin/android/system/Os#statvfs(kotlin.String)).                                                                                         |
| [StructTimespec](https://developer.android.com/reference/kotlin/android/system/StructTimespec)   | Corresponds to C's`struct timespec`from`<time.h>`.                                                                                                                                                                                                                                                                                            |
| [StructTimeval](https://developer.android.com/reference/kotlin/android/system/StructTimeval)     | Corresponds to C's`struct timeval`from`sys/time.h`.                                                                                                                                                                                                                                                                                           |
| [StructUtsname](https://developer.android.com/reference/kotlin/android/system/StructUtsname)     | Information returned by[Os.uname](https://developer.android.com/reference/kotlin/android/system/Os#uname()).                                                                                                                                                                                                                                  |
| [SystemCleaner](https://developer.android.com/reference/kotlin/android/system/SystemCleaner)     | Java.                                                                                                                                                                                                                                                                                                                                         |
| [VmSocketAddress](https://developer.android.com/reference/kotlin/android/system/VmSocketAddress) | A virtio-vsock address[VmSocketAddress](https://developer.android.com/reference/kotlin/android/system/VmSocketAddress).                                                                                                                                                                                                                       |

## Exceptions

|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
| [ErrnoException](https://developer.android.com/reference/kotlin/android/system/ErrnoException) | A checked exception thrown when[Os](https://developer.android.com/reference/kotlin/android/system/Os)methods fail. |