android.app
Class ActivityThread.PackageInfo
java.lang.Object
android.app.ActivityThread.PackageInfo
- Enclosing class:
- ActivityThread
public static final class ActivityThread.PackageInfo
- extends Object
|
Method Summary |
IIntentReceiver |
forgetReceiverDispatcher(Context context,
BroadcastReceiver r)
|
IServiceConnection |
forgetServiceDispatcher(Context context,
ServiceConnection c)
|
String |
getAppDir()
|
AssetManager |
getAssets(ActivityThread mainThread)
|
ClassLoader |
getClassLoader()
|
String |
getDataDir()
|
File |
getDataDirFile()
|
String |
getPackageName()
|
IIntentReceiver |
getReceiverDispatcher(BroadcastReceiver r,
Context context,
Handler handler,
Instrumentation instrumentation,
boolean registered)
|
String |
getResDir()
|
Resources |
getResources(ActivityThread mainThread)
|
IServiceConnection |
getServiceDispatcher(ServiceConnection c,
Context context,
Handler handler,
int flags)
|
boolean |
isSecurityViolation()
|
Application |
makeApplication()
|
void |
removeContextRegistrations(Context context,
String who,
String what)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mClientCount
int mClientCount
ActivityThread.PackageInfo
public ActivityThread.PackageInfo(ActivityThread activityThread,
ApplicationInfo aInfo,
ActivityThread mainThread,
ClassLoader baseLoader,
boolean securityViolation,
boolean includeCode)
ActivityThread.PackageInfo
public ActivityThread.PackageInfo(ActivityThread activityThread,
String name,
Context systemContext)
getPackageName
public String getPackageName()
isSecurityViolation
public boolean isSecurityViolation()
getClassLoader
public ClassLoader getClassLoader()
getAppDir
public String getAppDir()
getResDir
public String getResDir()
getDataDir
public String getDataDir()
getDataDirFile
public File getDataDirFile()
getAssets
public AssetManager getAssets(ActivityThread mainThread)
getResources
public Resources getResources(ActivityThread mainThread)
makeApplication
public Application makeApplication()
removeContextRegistrations
public void removeContextRegistrations(Context context,
String who,
String what)
getReceiverDispatcher
public IIntentReceiver getReceiverDispatcher(BroadcastReceiver r,
Context context,
Handler handler,
Instrumentation instrumentation,
boolean registered)
forgetReceiverDispatcher
public IIntentReceiver forgetReceiverDispatcher(Context context,
BroadcastReceiver r)
getServiceDispatcher
public final IServiceConnection getServiceDispatcher(ServiceConnection c,
Context context,
Handler handler,
int flags)
forgetServiceDispatcher
public final IServiceConnection forgetServiceDispatcher(Context context,
ServiceConnection c)
Please submit a feedback, bug or feature