Build 1.0_r1(from source)

android.app
Class ActivityThread.PackageInfo

java.lang.Object
  extended by android.app.ActivityThread.PackageInfo
Enclosing class:
ActivityThread

public static final class ActivityThread.PackageInfo
extends Object


Nested Class Summary
(package private) static class ActivityThread.PackageInfo.ReceiverDispatcher
           
(package private) static class ActivityThread.PackageInfo.ServiceDispatcher
           
 
Field Summary
(package private)  int mClientCount
           
 
Constructor Summary
ActivityThread.PackageInfo(ActivityThread activityThread, ApplicationInfo aInfo, ActivityThread mainThread, ClassLoader baseLoader, boolean securityViolation, boolean includeCode)
           
ActivityThread.PackageInfo(ActivityThread activityThread, String name, Context systemContext)
           
 
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
 

Field Detail

mClientCount

int mClientCount
Constructor Detail

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)
Method Detail

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)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature