Android 2.3 Gingerbread

Package android.os

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

See:
          Description

Interface Summary
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.
IServiceManager Basic interface for finding and publishing system services.
LocalPowerManager  
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.
PerformanceCollector.PerformanceResultsWriter Interface for reporting performance data.
RecoverySystem.ProgressListener Interface definition for a callback to be invoked regularly as verification proceeds.
 

Class Summary
AsyncResult  
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 Intent.ACTION_BATTERY_CHANGED Intent.
BatteryStats A class providing access to battery usage statistics, including information on wakelocks, processes, packages, and services.
BatteryStats.BitDescription  
BatteryStats.Counter State for keeping track of counting information.
BatteryStats.HistoryItem  
BatteryStats.Timer State for keeping track of timing information.
BatteryStats.Uid The statistics associated with a particular uid.
BatteryStats.Uid.Pkg The statistics associated with a particular package.
BatteryStats.Uid.Proc The statistics associated with a particular process.
BatteryStats.Uid.Proc.ExcessivePower  
BatteryStats.Uid.Sensor  
BatteryStats.Uid.Wakelock The statistics associated with a particular wake lock.
Binder Base class for a remotable object, the core part of a lightweight remote procedure call mechanism defined by IBinder.
BinderProxy  
Broadcaster  
Build Information about the current build, extracted from system properties.
Build.VERSION Various version strings.
Build.VERSION_CODES Enumeration of the currently known SDK version codes.
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.
DropBoxManager Enqueues chunks of data (from various sources -- application crashes, kernel log records, etc.).
DropBoxManager.Entry A single entry retrieved from the drop box.
Environment Provides access to environment variables.
FileObserver Monitors files (using inotify) to fire an event after files are accessed or changed by by any process on the device (including this one).
FileUtils Tools for managing files.
FileUtils.FileStatus File status information.
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.
LatencyTimer A class to help with measuring latency in your code.
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 Parcel.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 ParcelFileDescriptor.close() for you when the stream is closed.
ParcelFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.close() for you when the stream is closed.
ParcelUuid This class is a Parcelable wrapper around UUID which is an immutable representation of a 128-bit universally unique identifier.
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.
PerformanceCollector Collects performance data between two function calls in Bundle objects and outputs the results using writer of type PerformanceCollector.PerformanceResultsWriter.
Power Class that provides access to some of the power management functions.
PowerManager This class gives you control of the power state of the device.
Process Tools for managing OS processes.
RecoverySystem RecoverySystem contains methods for interacting with the Android recovery system (the separate partition that can be used to install system updates, wipe user data, etc.)
Registrant  
RegistrantList  
RemoteCallback TODO: Make this a public API? Let's see how it goes with a few use cases first.
RemoteCallback.RemoteCallbackProxy  
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.
ServiceManager  
ServiceManagerNative Native implementation of the service manager.
ServiceManagerProxy  
StatFs Retrieve 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.ThreadPolicy StrictMode policy applied to a certain thread.
StrictMode.ThreadPolicy.Builder Creates ThreadPolicy instances.
StrictMode.ViolationInfo Parcelable that gets sent in Binder call headers back to callers to report violations that happened during a cross-process call.
StrictMode.VmPolicy StrictMode policy applied to all threads in the virtual machine's process.
StrictMode.VmPolicy.Builder Creates StrictMode.VmPolicy instances.
SystemClock Core timekeeping facilities.
SystemProperties Gives access to the system properties store.
SystemService  
TokenWatcher Helper class that helps you use IBinder objects as reference counted tokens.
UEventObserver UEventObserver is an abstract class that receives UEvent's from the kernel.
UEventObserver.UEvent Representation of a UEvent.
Vibrator Class that operates the vibrator on the device.
WorkSource Describes the source of some work that may be done by someone else.
 

Enum Summary
AsyncTask.Status Indicates the current status of the task.
 

Exception Summary
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.
Looper.HandlerException  
ParcelFormatException The contents of a Parcel (usually during unmarshalling) does not contain the expected data.
RemoteException Parent exception for all Binder remote-invocation errors
RemoteMailException  
ZygoteStartFailedEx  
 

Annotation Types Summary
Debug.DebugProperty Annotation to put on fields you want to set with Debug.setFieldsOn(Class, boolean).
 

Package android.os Description

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


Android 2.3 Gingerbread