android.os
Interfaces
OnCancelListener |
Listens for cancellation. |
ProgressListener |
Listener that is called periodically as progress is made. |
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. |
IInterface |
Base class for Binder interfaces. |
IdleHandler |
Callback interface for discovering when a thread is going to block waiting for more messages. |
OnFileDescriptorEventListener |
A listener which is invoked when file descriptor related events occur. |
OutcomeReceiver |
Callback interface intended for use when an asynchronous operation may result in a failure. |
Parcelable |
Interface for classes whose instances can be written to and restored from a |
OnCloseListener |
Callback indicating that a ParcelFileDescriptor has been closed. |
OnThermalStatusChangedListener |
Listener passed to android. |
WakeLockStateListener |
A listener interface to get notified when the wakelock is enabled/disabled. |
ProgressListener |
Interface definition for a callback to be invoked regularly as verification proceeds. |
OnThreadViolationListener |
When # |
OnVmViolationListener |
When # |
Classes
AsyncTask |
AsyncTask was intended to enable proper and easy use of the UI thread. |
BaseBundle |
A mapping from String keys to values of various types. |
BatteryManager |
The BatteryManager class contains strings and constants used for values in the |
Binder |
Base class for a remotable object, the core part of a lightweight remote procedure call mechanism defined by |
BugreportManager |
Class that provides a privileged API to capture and consume bugreports. |
Build |
Information about the current build, extracted from system properties. |
Bundle |
A mapping from String keys to various |
CancellationSignal |
Provides the ability to cancel an operation in progress. |
CombinedVibration |
A CombinedVibration describes a combination of haptic effects to be performed by one or more |
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. |
CpuUsageInfo |
CPU usage information per core. |
Debug |
Provides various debugging methods for Android applications, including tracing and allocation counts. |
DropBoxManager |
Enqueues chunks of data (from various sources -- application crashes, kernel log records, etc.). |
Environment |
Provides access to environment variables. |
FileObserver |
Monitors files (using inotify) to fire an event after files are accessed or changed by any process on the device (including this one). |
FileUtils |
Utility methods useful for working with files. |
Handler |
A Handler allows you to send and process |
HandlerThread | |
HardwarePropertiesManager |
The HardwarePropertiesManager class provides a mechanism of accessing hardware state of a device: CPU, GPU and battery temperatures, CPU usage per core, fan speed, etc. |
LocaleList |
LocaleList is an immutable list of Locales, typically used to keep an ordered list of user preferences for locales. |
Looper |
Class used to run a message loop for a thread. |
MemoryFile |
MemoryFile is a wrapper for |
Message |
Defines a message containing a description and arbitrary data object that can be sent to a |
MessageQueue |
Low-level class holding the list of messages to be dispatched by a |
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 |
ParcelUuid |
This class is a Parcelable wrapper around |
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. |
PerformanceHintManager |
The PerformanceHintManager allows apps to send performance hint to system. |
PersistableBundle |
A mapping from String keys to values of various types. |
PowerManager |
This class lets you query and request control of aspects of the device's power state. |
PowerMonitor |
A PowerMonitor represents either an ODPM rail (on-device power rail monitor) or a modeled energy consumer. |
PowerMonitorReadings |
A collection of energy measurements from Power Monitors. |
Process |
Tools for managing OS processes. |
ProfilingManager |
This class allows the caller to: - Request profiling and listen for results. |
ProfilingResult |
Encapsulates results of a single profiling request operation. |
ProfilingTrigger |
Encapsulates a single profiling trigger. |
ProxyFileDescriptorCallback |
Callback that handles file system requests from ProxyFileDescriptor. |
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.) |
RemoteCallbackList |
Takes care of the grunt work of maintaining a list of remote interfaces, typically for the use of performing callbacks from a |
ResultReceiver |
Generic interface for receiving a callback result from someone. |
SecurityStateManager |
SecurityStateManager provides the functionality to query the security status of the system and platform components. |
SharedMemory |
SharedMemory enables the creation, mapping, and protection control over anonymous shared memory. |
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. |
SystemClock |
Core timekeeping facilities. |
TestLooperManager |
Blocks a looper from executing any messages, and allows the holder of this object to control when and which messages get executed until it is released. |
TokenWatcher |
A TokenWatcher watches a collection of |
Trace |
Writes trace events to the system trace buffer. |
UserHandle |
Representation of a user on the device. |
UserManager |
Manages users and user details on a multi-user system. |
VibrationAttributes |
Encapsulates a collection of attributes describing information about a vibration. |
VibrationEffect |
A VibrationEffect describes a haptic effect to be performed by a |
Vibrator |
Class that operates the vibrator on the device. |
VibratorManager |
Provides access to all vibrators from the device, as well as the ability to run them in a synchronized fashion. |
WorkDuration |
WorkDuration contains the measured time in nano seconds of the workload in each component, see |
WorkSource |
Describes the source of some work that may be done by someone else. |
Exceptions
BadParcelableException |
Exception thrown when a |
DeadObjectException |
The object you are calling has died, because its hosting process no longer exists, or there has been a low-level binder error. |
DeadSystemException |
The core Android system has died and is going through a runtime restart. |
FileUriExposedException |
The exception that is thrown when an application exposes a |
LimitExceededException |
Indicates that the app has exceeded a limit set by the System. |
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. |
ParcelFormatException |
The contents of a Parcel (usually during unmarshalling) does not contain the expected data. |
RemoteException |
Parent exception for all Binder remote-invocation errors Note: not all exceptions from binder services will be subclasses of this. |
TransactionTooLargeException |
The Binder transaction failed because it was too large. |