English | Site Directory

Android - An Open Handset Alliance Project

package

android.os

Classes | Description

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

Interfaces

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. 
IUsb  
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  

Classes

Base64Utils  
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. 
Bundle A mapping from String values to various Parcelable types. 
ConditionVariable Class that implements the condition variable locking paradigm. 
Debug Provides various debugging functions for Android applications, including tracing and allocation counts. 
Debug.InstructionCount API for gathering and querying instruction counts. 
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
IUsb.Stub Local-side IPC implementation stub class. 
Looper Class used to run a message loop for a thread. 
Message Defines a Message that can be placed in a MessageQueue for scheduled execution of a Runnable object. 
MessageQueue Low-level class holding the list of messages to be dispatched by a Looper
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. 
PowerManager Class that lets you control 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 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. 
SystemClock Core timekeeping facilities. 
SystemProperties Gives access to the system properties store. 
TokenWatcher Helper class that helps you use IBinder objects as reference counted tokens. 
Vibrator Class that operates the vibrator on the device. 

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. 
Build m5-rc15f - 23 Apr 2008 12:29