Package android.os
-
Interface Summary Interface Description CancellationSignal.OnCancelListener Listens for cancellation.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.IMessenger MessageQueue.IdleHandler Callback interface for discovering when a thread is going to block waiting for more messages.MessageQueue.OnFileDescriptorEventListener A listener which is invoked when file descriptor related events occur.Parcelable Interface for classes whose instances can be written to and restored from aParcel.Parcelable.ClassLoaderCreator<T> Specialization ofParcelable.Creatorthat allows you to receive the ClassLoader the object is being created in.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.ParcelFileDescriptor.OnCloseListener Callback indicating that a ParcelFileDescriptor has been closed. -
Class Summary Class Description AsyncTask<Params,Progress,Result> AsyncTask enables proper and easy use of the UI thread.BaseBundle A mapping from String values to various types.Bundle A mapping from String values to various Parcelable types.CancellationSignal Provides the ability to cancel an operation in progress.Debug Provides various debugging methods for Android applications, including tracing and allocation counts.Debug.InstructionCount Deprecated. Instruction counting is no longer supported.Debug.MemoryInfo This class is used to retrieved various statistics about the memory mappings for this process.Handler A Handler allows you to send and processMessageand Runnable objects associated with a thread'sMessageQueue.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 aHandler.MessageQueue Low-level class holding the list of messages to be dispatched by aLooper.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.ParcelableParcel Parcelable containing a raw Parcel of data.ParcelFileDescriptor The FileDescriptor returned byParcel.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 callingParcelFileDescriptor.close()for you when the stream is closed.ParcelFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of callingParcelFileDescriptor.close()for you when the stream is closed.PersistableBundle A mapping from String values to various types that can be saved to persistent and later restored.Process Tools for managing OS processes.SystemClock Core timekeeping facilities. -
Enum Summary Enum Description AsyncTask.Status Indicates the current status of the task. -
Exception Summary Exception Description BadParcelableException The object you are calling has died, because its hosting process no longer exists.NetworkOnMainThreadException The exception that is thrown when an application attempts to perform a networking operation on its main thread.OperationCanceledException An exception type that is thrown when an operation in progress is canceled.ParcelFileDescriptor.FileDescriptorDetachedException Exception that indicates that the file descriptor was detached.RemoteException Parent exception for all Binder remote-invocation errors -
Annotation Types Summary Annotation Type Description Debug.DebugProperty Annotation to put on fields you want to set withDebug.setFieldsOn(Class, boolean).MessageQueue.OnFileDescriptorEventListener.Events