Since: API Level 1
package

android.os

Classes | Description

Provides basic operating system services, message passing, and inter-process communication on the device.

more...

Interfaces

Handler.CallbackCallback interface you can use when instantiating a Handler to avoid having to implement your own subclass of Handler. 
IBinderBase interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when performing in-process and cross-process calls. 
IBinder.DeathRecipientInterface for receiving a callback when the process hosting an IBinder has gone away. 
IInterfaceBase class for Binder interfaces. 
MessageQueue.IdleHandlerCallback interface for discovering when a thread is going to block waiting for more messages. 
ParcelableInterface for classes whose instances can be written to and restored from a Parcel
Parcelable.Creator<T>Interface that must be implemented and provided as a public CREATOR field that generates instances of your Parcelable class from a Parcel. 
RecoverySystem.ProgressListenerInterface definition for a callback to be invoked regularly as verification proceeds. 

Classes

AsyncTask<Params, Progress, Result>

AsyncTask enables proper and easy use of the UI thread. 

BatteryManagerThe BatteryManager class contains strings and constants used for values in the ACTION_BATTERY_CHANGED Intent. 
BinderBase class for a remotable object, the core part of a lightweight remote procedure call mechanism defined by IBinder
BuildInformation about the current build, extracted from system properties. 
Build.VERSIONVarious version strings. 
Build.VERSION_CODESEnumeration of the currently known SDK version codes. 
BundleA mapping from String values to various Parcelable types. 
ConditionVariableClass that implements the condition variable locking paradigm. 
CountDownTimerSchedule a countdown until a time in the future, with regular notifications on intervals along the way. 
DebugProvides various debugging functions for Android applications, including tracing and allocation counts. 
Debug.InstructionCountAPI for gathering and querying instruction counts. 
Debug.MemoryInfoThis class is used to retrieved various statistics about the memory mappings for this process. 
DropBoxManagerEnqueues chunks of data (from various sources -- application crashes, kernel log records, etc.). 
DropBoxManager.EntryA single entry retrieved from the drop box. 
EnvironmentProvides access to environment variables. 
FileObserverMonitors files (using inotify) to fire an event after files are accessed or changed by by any process on the device (including this one). 
HandlerA Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue
HandlerThreadHandy class for starting a new thread that has a looper. 
LooperClass used to run a message loop for a thread. 
MemoryFileMemoryFile is a wrapper for the Linux ashmem driver. 
MessageDefines a message containing a description and arbitrary data object that can be sent to a Handler
MessageQueueLow-level class holding the list of messages to be dispatched by a Looper
MessengerReference to a Handler, which others can use to send messages to it. 
ParcelContainer for a message (data and object references) that can be sent through an IBinder. 
ParcelFileDescriptorThe FileDescriptor returned by readFileDescriptor(), allowing you to close it when done with it. 
ParcelFileDescriptor.AutoCloseInputStreamAn InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.close() for you when the stream is closed. 
ParcelFileDescriptor.AutoCloseOutputStreamAn OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.close() for you when the stream is closed. 
ParcelUuidThis class is a Parcelable wrapper around UUID which is an immutable representation of a 128-bit universally unique identifier. 
PatternMatcherA simple pattern matcher, which is safe to use on untrusted data: it does not provide full reg-exp support, only simple globbing that can not be used maliciously. 
PowerManagerThis class gives you control of the power state of the device. 
PowerManager.WakeLockClass lets you say that you need to have the device on. 
ProcessTools for managing OS processes. 
RecoverySystemRecoverySystem contains methods for interacting with the Android recovery system (the separate partition that can be used to install system updates, wipe user data, etc.)  
RemoteCallbackList<E extends IInterface>Takes care of the grunt work of maintaining a list of remote interfaces, typically for the use of performing callbacks from a Service to its clients. 
ResultReceiverGeneric interface for receiving a callback result from someone. 
StatFsRetrieve overall information about the space on a filesystem. 
StrictMode

StrictMode is a developer tool which detects things you might be doing by accident and brings them to your attention so you can fix them. 

StrictMode.ThreadPolicyStrictMode policy applied to a certain thread. 
StrictMode.ThreadPolicy.BuilderCreates ThreadPolicy instances. 
StrictMode.VmPolicyStrictMode policy applied to all threads in the virtual machine's process. 
StrictMode.VmPolicy.BuilderCreates StrictMode.VmPolicy instances. 
SystemClockCore timekeeping facilities. 
TokenWatcherHelper class that helps you use IBinder objects as reference counted tokens. 
VibratorClass that operates the vibrator on the device. 
WorkSourceDescribes the source of some work that may be done by someone else. 

Enums

AsyncTask.StatusIndicates the current status of the task. 

Exceptions

BadParcelableExceptionThe object you are calling has died, because its hosting process no longer exists. 
DeadObjectExceptionThe object you are calling has died, because its hosting process no longer exists. 
ParcelFormatExceptionThe contents of a Parcel (usually during unmarshalling) does not contain the expected data. 
RemoteExceptionParent exception for all Binder remote-invocation errors