Methods
Modifier and Type |
Method and Description |
IContentProvider |
acquireExistingProvider(Context c,
String auth,
int userId,
boolean stable) |
IContentProvider |
acquireProvider(Context c,
String auth,
int userId,
boolean stable) |
void |
applyConfigurationToResources(Configuration config) |
static ActivityThread |
currentActivityThread() |
static Application |
currentApplication() |
static String |
currentPackageName() |
Activity |
getActivity(IBinder token) |
Application |
getApplication() |
android.app.ActivityThread.ApplicationThread |
getApplicationThread() |
Configuration |
getConfiguration() |
Instrumentation |
getInstrumentation() |
int |
getIntCoreSetting(String key,
int defaultValue) |
static Intent |
getIntentBeingBroadcast()
Return the Intent that's currently being handled by a
BroadcastReceiver on this thread, or null if none.
|
Looper |
getLooper() |
LoadedApk |
getPackageInfo(ApplicationInfo ai,
CompatibilityInfo compatInfo,
int flags) |
LoadedApk |
getPackageInfo(String packageName,
CompatibilityInfo compatInfo,
int flags) |
LoadedApk |
getPackageInfo(String packageName,
CompatibilityInfo compatInfo,
int flags,
int userId) |
LoadedApk |
getPackageInfoNoCheck(ApplicationInfo ai,
CompatibilityInfo compatInfo) |
static IPackageManager |
getPackageManager() |
String |
getProcessName() |
String |
getProfileFilePath() |
android.app.ContextImpl |
getSystemContext() |
void |
installSystemApplicationInfo(ApplicationInfo info) |
void |
installSystemProviders(List<ProviderInfo> providers) |
boolean |
isProfiling() |
static void |
main(String[] args) |
LoadedApk |
peekPackageInfo(String packageName,
boolean includeCode) |
android.app.ActivityThread.ActivityClientRecord |
performDestroyActivity(IBinder token,
boolean finishing) |
void |
performNewIntents(IBinder token,
List<Intent> intents) |
android.app.ActivityThread.ActivityClientRecord |
performResumeActivity(IBinder token,
boolean clearHide) |
void |
registerOnActivityPausedListener(Activity activity,
OnActivityPausedListener listener) |
boolean |
releaseProvider(IContentProvider provider,
boolean stable) |
void |
requestRelaunchActivity(IBinder token,
List<ResultInfo> pendingResults,
List<Intent> pendingNewIntents,
int configChanges,
boolean notResumed,
Configuration config,
boolean fromServer) |
ActivityInfo |
resolveActivityInfo(Intent intent) |
void |
sendActivityResult(IBinder token,
String id,
int requestCode,
int resultCode,
Intent data) |
Activity |
startActivityNow(Activity parent,
String id,
Intent intent,
ActivityInfo activityInfo,
IBinder token,
Bundle state,
android.app.Activity.NonConfigurationInstances lastNonConfigurationInstances) |
static ActivityThread |
systemMain() |
void |
unregisterOnActivityPausedListener(Activity activity,
OnActivityPausedListener listener) |