package

android.os

Classes | Description

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

Interfaces

Handler.Callback Callback interface you can use when instantiating a Handler to avoid having to implement your own subclass of Handler. 
IBinder Base 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.DeathRecipient Interface for receiving a callback when the process hosting an IBinder has gone away. 
IInterface Base class for Binder interfaces. 
MessageQueue.IdleHandler Callback interface for discovering when a thread is going to block waiting for more messages. 
Parcelable Interface 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. 

Classes

AsyncTask<Params, Progress, Result>

AsyncTask enables proper and easy use of the UI thread. 

BatteryManager The BatteryManager class contains strings and constants used for values in the ACTION_BATTERY_CHANGED Intent. 
Binder Base class for a remotable object, the core part of a lightweight remote procedure call mechanism defined by IBinder
Build Information about the current build, extracted from system properties. 
Build.VERSION Various version strings. 
Bundle A mapping from String values to various Parcelable types. 
ConditionVariable Class that implements the condition variable locking paradigm. 
CountDownTimer Schedule a countdown until a time in the future, with regular notifications on intervals along the way. 
Debug Provides various debugging functions for Android applications, including tracing and allocation counts. 
Debug.InstructionCount API for gathering and querying instruction counts. 
Debug.MemoryInfo This class is used to retrieved various statistics about the memory mappings for this process. 
Environment Provides access to environment variables. 
FileObserver  
Handler A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue
HandlerThread Handy class for starting a new thread that has a looper. 
Looper Class used to run a message loop for a thread. 
MemoryFile MemoryFile is a wrapper for the Linux ashmem driver. 
Message Defines a message containing a description and arbitrary data object that can be sent to a Handler
MessageQueue Low-level class holding the list of messages to be dispatched by a Looper
Messenger Reference to a Handler, which others can use to send messages to it. 
Parcel Container for a message (data and object references) that can be sent through an IBinder. 
ParcelFileDescriptor The FileDescriptor returned by readFileDescriptor(), allowing you to close it when done with it. 
ParcelFileDescriptor.AutoCloseInputStream An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. 
ParcelFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. 
PatternMatcher A 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. 
PowerManager This class gives you control of the power state of the device. 
PowerManager.WakeLock Class lets you say that you need to have the device on. 
Process Tools for managing OS processes. 
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. 
ResultReceiver Generic interface for receiving a callback result from someone. 
StatFs Retrieve overall information about the space on a filesystem. 
SystemClock Core timekeeping facilities. 
TokenWatcher Helper class that helps you use IBinder objects as reference counted tokens. 
Vibrator Class that operates the vibrator on the device. 

Enums

AsyncTask.Status Indicates the current status of the task. 

Exceptions

BadParcelableException The object you are calling has died, because its hosting process no longer exists. 
DeadObjectException The object you are calling has died, because its hosting process no longer exists. 
ParcelFormatException The contents of a Parcel (usually during unmarshalling) does not contain the expected data. 
RemoteException Parent exception for all Binder remote-invocation errors