android.app
Class ActivityThread
java.lang.Object
android.app.ActivityThread
public final class ActivityThread
- extends Object
|
Method Summary |
static ActivityThread |
currentActivityThread()
|
static String |
currentPackageName()
|
Activity |
getActivity(IBinder token)
|
android.app.ActivityThread.ApplicationThread |
getApplicationThread()
|
Resources.Configuration |
getConfiguration()
|
Instrumentation |
getInstrumentation()
|
Looper |
getLooper()
|
ActivityThread.PackageInfo |
getPackageInfo(ApplicationInfo ai,
int flags)
|
ActivityThread.PackageInfo |
getPackageInfo(String packageName,
int flags)
|
static IPackageManager |
getPackageManager()
|
String |
getProfileFilePath()
|
IContentProvider |
getProvider(Context context,
String name)
|
ApplicationContext |
getSystemContext()
|
void |
handleConfigurationChanged(Resources.Configuration config)
|
void |
installSystemProviders(List providers)
|
boolean |
isProfiling()
|
static void |
main(String[] args)
|
android.app.ActivityThread.ActivityRecord |
performDestroyActivity(IBinder token)
|
android.app.ActivityThread.ActivityRecord |
performResumeActivity(IBinder token,
boolean clearHide)
|
void |
removeProvider(IContentProvider provider)
|
void |
sendActivityResult(IBinder token,
String id,
int requestCode,
int resultCode,
String data,
Bundle map)
|
Activity |
startActivityNow(Activity parent,
String id,
Intent intent,
IBinder token,
Bundle state)
|
static ActivityThread |
systemMain()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityThread
public ActivityThread()
currentActivityThread
public static final ActivityThread currentActivityThread()
currentPackageName
public static final String currentPackageName()
getPackageManager
public static IPackageManager getPackageManager()
getPackageInfo
public final ActivityThread.PackageInfo getPackageInfo(String packageName,
int flags)
getPackageInfo
public final ActivityThread.PackageInfo getPackageInfo(ApplicationInfo ai,
int flags)
getApplicationThread
public android.app.ActivityThread.ApplicationThread getApplicationThread()
getInstrumentation
public Instrumentation getInstrumentation()
getConfiguration
public Resources.Configuration getConfiguration()
isProfiling
public boolean isProfiling()
getProfileFilePath
public String getProfileFilePath()
getLooper
public Looper getLooper()
getSystemContext
public ApplicationContext getSystemContext()
startActivityNow
public final Activity startActivityNow(Activity parent,
String id,
Intent intent,
IBinder token,
Bundle state)
getActivity
public final Activity getActivity(IBinder token)
sendActivityResult
public final void sendActivityResult(IBinder token,
String id,
int requestCode,
int resultCode,
String data,
Bundle map)
performResumeActivity
public final android.app.ActivityThread.ActivityRecord performResumeActivity(IBinder token,
boolean clearHide)
performDestroyActivity
public final android.app.ActivityThread.ActivityRecord performDestroyActivity(IBinder token)
handleConfigurationChanged
public final void handleConfigurationChanged(Resources.Configuration config)
getProvider
public final IContentProvider getProvider(Context context,
String name)
removeProvider
public final void removeProvider(IContentProvider provider)
systemMain
public static final ActivityThread systemMain()
installSystemProviders
public final void installSystemProviders(List providers)
main
public static final void main(String[] args)
Please submit a feedback, bug or feature