Context

Page 1 2 3 4 5

public Context createWindowContext(int type, Bundle options) source
public Context createWindowContext(Display display, int type, Bundle options) source
public Context createContextForSplit(String splitName) throws PackageManager.NameNotFoundException source

Each split's code and resources are in the one context of the app.

public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) source
public void sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) source

The receivers of the process take the broadcast, then resultReceiver takes the result last.

public boolean isRestricted() source
public boolean isUiContext() source
public Display getDisplay() source
public int getDisplayId() source
public void registerComponentCallbacks(ComponentCallbacks callback) source
public void unregisterComponentCallbacks(ComponentCallbacks callback) source
public final CharSequence getText(int resId) source
public final String getString(int resId) source
public final String getString(int resId, Object... formatArgs) source
public final int getColor(int id) source
public final android.graphics.drawable.Drawable getDrawable(int id) source
public final android.content.res.ColorStateList getColorStateList(int id) source
public final TypedArray obtainStyledAttributes(int[] attrs) source
public final TypedArray obtainStyledAttributes(int resid, int[] attrs) source
public final TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs) source
public final TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) source
public final <T> T getSystemService(Class<T> serviceClass) source
public void sendBroadcastAsUser(Intent intent, android.os.UserHandle user) source
public boolean bindService(Intent service, int flags, Executor executor, ServiceConnection conn) source
public boolean bindIsolatedService(Intent service, int flags, String instanceName, Executor executor, ServiceConnection conn) source
public void updateServiceGroup(ServiceConnection conn, int group, int importance) empty body source

Page 1 2 3 4 5


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.