Methods Summary |
---|
protected void | attachBaseContext(Context base)Set the base context for this ContextWrapper. All calls will then be
delegated to the base context. Throws
IllegalStateException if a base context has already been set.
if (mBase != null) {
throw new IllegalStateException("Base context already set");
}
mBase = base;
|
public boolean | bindService(Intent service, ServiceConnection conn, int flags)
return mBase.bindService(service, conn, flags);
|
public boolean | bindServiceAsUser(Intent service, ServiceConnection conn, int flags, android.os.UserHandle user)
return mBase.bindServiceAsUser(service, conn, flags, user);
|
public int | checkCallingOrSelfPermission(java.lang.String permission)
return mBase.checkCallingOrSelfPermission(permission);
|
public int | checkCallingOrSelfUriPermission(android.net.Uri uri, int modeFlags)
return mBase.checkCallingOrSelfUriPermission(uri, modeFlags);
|
public int | checkCallingPermission(java.lang.String permission)
return mBase.checkCallingPermission(permission);
|
public int | checkCallingUriPermission(android.net.Uri uri, int modeFlags)
return mBase.checkCallingUriPermission(uri, modeFlags);
|
public int | checkPermission(java.lang.String permission, int pid, int uid)
return mBase.checkPermission(permission, pid, uid);
|
public int | checkPermission(java.lang.String permission, int pid, int uid, android.os.IBinder callerToken)
return mBase.checkPermission(permission, pid, uid, callerToken);
|
public int | checkUriPermission(android.net.Uri uri, java.lang.String readPermission, java.lang.String writePermission, int pid, int uid, int modeFlags)
return mBase.checkUriPermission(uri, readPermission, writePermission,
pid, uid, modeFlags);
|
public int | checkUriPermission(android.net.Uri uri, int pid, int uid, int modeFlags)
return mBase.checkUriPermission(uri, pid, uid, modeFlags);
|
public int | checkUriPermission(android.net.Uri uri, int pid, int uid, int modeFlags, android.os.IBinder callerToken)
return mBase.checkUriPermission(uri, pid, uid, modeFlags, callerToken);
|
public void | clearWallpaper()
mBase.clearWallpaper();
|
public Context | createApplicationContext(android.content.pm.ApplicationInfo application, int flags)
return mBase.createApplicationContext(application, flags);
|
public Context | createConfigurationContext(android.content.res.Configuration overrideConfiguration)
return mBase.createConfigurationContext(overrideConfiguration);
|
public Context | createDisplayContext(android.view.Display display)
return mBase.createDisplayContext(display);
|
public Context | createPackageContext(java.lang.String packageName, int flags)
return mBase.createPackageContext(packageName, flags);
|
public Context | createPackageContextAsUser(java.lang.String packageName, int flags, android.os.UserHandle user)
return mBase.createPackageContextAsUser(packageName, flags, user);
|
public java.lang.String[] | databaseList()
return mBase.databaseList();
|
public boolean | deleteDatabase(java.lang.String name)
return mBase.deleteDatabase(name);
|
public boolean | deleteFile(java.lang.String name)
return mBase.deleteFile(name);
|
public void | enforceCallingOrSelfPermission(java.lang.String permission, java.lang.String message)
mBase.enforceCallingOrSelfPermission(permission, message);
|
public void | enforceCallingOrSelfUriPermission(android.net.Uri uri, int modeFlags, java.lang.String message)
mBase.enforceCallingOrSelfUriPermission(uri, modeFlags, message);
|
public void | enforceCallingPermission(java.lang.String permission, java.lang.String message)
mBase.enforceCallingPermission(permission, message);
|
public void | enforceCallingUriPermission(android.net.Uri uri, int modeFlags, java.lang.String message)
mBase.enforceCallingUriPermission(uri, modeFlags, message);
|
public void | enforcePermission(java.lang.String permission, int pid, int uid, java.lang.String message)
mBase.enforcePermission(permission, pid, uid, message);
|
public void | enforceUriPermission(android.net.Uri uri, int pid, int uid, int modeFlags, java.lang.String message)
mBase.enforceUriPermission(uri, pid, uid, modeFlags, message);
|
public void | enforceUriPermission(android.net.Uri uri, java.lang.String readPermission, java.lang.String writePermission, int pid, int uid, int modeFlags, java.lang.String message)
mBase.enforceUriPermission(
uri, readPermission, writePermission, pid, uid, modeFlags,
message);
|
public java.lang.String[] | fileList()
return mBase.fileList();
|
public Context | getApplicationContext()
return mBase.getApplicationContext();
|
public android.content.pm.ApplicationInfo | getApplicationInfo()
return mBase.getApplicationInfo();
|
public android.content.res.AssetManager | getAssets()
return mBase.getAssets();
|
public Context | getBaseContext()
return mBase;
|
public java.lang.String | getBasePackageName()
return mBase.getBasePackageName();
|
public java.io.File | getCacheDir()
return mBase.getCacheDir();
|
public java.lang.ClassLoader | getClassLoader()
return mBase.getClassLoader();
|
public java.io.File | getCodeCacheDir()
return mBase.getCodeCacheDir();
|
public ContentResolver | getContentResolver()
return mBase.getContentResolver();
|
public java.io.File | getDatabasePath(java.lang.String name)
return mBase.getDatabasePath(name);
|
public java.io.File | getDir(java.lang.String name, int mode)
return mBase.getDir(name, mode);
|
public android.view.DisplayAdjustments | getDisplayAdjustments(int displayId)
return mBase.getDisplayAdjustments(displayId);
|
public java.io.File | getExternalCacheDir()
return mBase.getExternalCacheDir();
|
public java.io.File[] | getExternalCacheDirs()
return mBase.getExternalCacheDirs();
|
public java.io.File | getExternalFilesDir(java.lang.String type)
return mBase.getExternalFilesDir(type);
|
public java.io.File[] | getExternalFilesDirs(java.lang.String type)
return mBase.getExternalFilesDirs(type);
|
public java.io.File[] | getExternalMediaDirs()
return mBase.getExternalMediaDirs();
|
public java.io.File | getFileStreamPath(java.lang.String name)
return mBase.getFileStreamPath(name);
|
public java.io.File | getFilesDir()
return mBase.getFilesDir();
|
public android.os.Looper | getMainLooper()
return mBase.getMainLooper();
|
public java.io.File | getNoBackupFilesDir()
return mBase.getNoBackupFilesDir();
|
public java.io.File | getObbDir()
return mBase.getObbDir();
|
public java.io.File[] | getObbDirs()
return mBase.getObbDirs();
|
public java.lang.String | getOpPackageName()
return mBase.getOpPackageName();
|
public java.lang.String | getPackageCodePath()
return mBase.getPackageCodePath();
|
public android.content.pm.PackageManager | getPackageManager()
return mBase.getPackageManager();
|
public java.lang.String | getPackageName()
return mBase.getPackageName();
|
public java.lang.String | getPackageResourcePath()
return mBase.getPackageResourcePath();
|
public android.content.res.Resources | getResources()
return mBase.getResources();
|
public SharedPreferences | getSharedPreferences(java.lang.String name, int mode)
return mBase.getSharedPreferences(name, mode);
|
public java.io.File | getSharedPrefsFile(java.lang.String name)
return mBase.getSharedPrefsFile(name);
|
public java.lang.Object | getSystemService(java.lang.String name)
return mBase.getSystemService(name);
|
public Resources.Theme | getTheme()
return mBase.getTheme();
|
public int | getThemeResId()
return mBase.getThemeResId();
|
public int | getUserId()
return mBase.getUserId();
|
public android.graphics.drawable.Drawable | getWallpaper()
return mBase.getWallpaper();
|
public int | getWallpaperDesiredMinimumHeight()
return mBase.getWallpaperDesiredMinimumHeight();
|
public int | getWallpaperDesiredMinimumWidth()
return mBase.getWallpaperDesiredMinimumWidth();
|
public void | grantUriPermission(java.lang.String toPackage, android.net.Uri uri, int modeFlags)
mBase.grantUriPermission(toPackage, uri, modeFlags);
|
public boolean | isRestricted()
return mBase.isRestricted();
|
public java.io.FileInputStream | openFileInput(java.lang.String name)
return mBase.openFileInput(name);
|
public java.io.FileOutputStream | openFileOutput(java.lang.String name, int mode)
return mBase.openFileOutput(name, mode);
|
public android.database.sqlite.SQLiteDatabase | openOrCreateDatabase(java.lang.String name, int mode, android.database.sqlite.SQLiteDatabase.CursorFactory factory)
return mBase.openOrCreateDatabase(name, mode, factory);
|
public android.database.sqlite.SQLiteDatabase | openOrCreateDatabase(java.lang.String name, int mode, android.database.sqlite.SQLiteDatabase.CursorFactory factory, android.database.DatabaseErrorHandler errorHandler)
return mBase.openOrCreateDatabase(name, mode, factory, errorHandler);
|
public android.graphics.drawable.Drawable | peekWallpaper()
return mBase.peekWallpaper();
|
public Intent | registerReceiver(BroadcastReceiver receiver, IntentFilter filter)
return mBase.registerReceiver(receiver, filter);
|
public Intent | registerReceiver(BroadcastReceiver receiver, IntentFilter filter, java.lang.String broadcastPermission, android.os.Handler scheduler)
return mBase.registerReceiver(receiver, filter, broadcastPermission,
scheduler);
|
public Intent | registerReceiverAsUser(BroadcastReceiver receiver, android.os.UserHandle user, IntentFilter filter, java.lang.String broadcastPermission, android.os.Handler scheduler)
return mBase.registerReceiverAsUser(receiver, user, filter, broadcastPermission,
scheduler);
|
public void | removeStickyBroadcast(Intent intent)
mBase.removeStickyBroadcast(intent);
|
public void | removeStickyBroadcastAsUser(Intent intent, android.os.UserHandle user)
mBase.removeStickyBroadcastAsUser(intent, user);
|
public void | revokeUriPermission(android.net.Uri uri, int modeFlags)
mBase.revokeUriPermission(uri, modeFlags);
|
public void | sendBroadcast(Intent intent)
mBase.sendBroadcast(intent);
|
public void | sendBroadcast(Intent intent, java.lang.String receiverPermission)
mBase.sendBroadcast(intent, receiverPermission);
|
public void | sendBroadcast(Intent intent, java.lang.String receiverPermission, int appOp)
mBase.sendBroadcast(intent, receiverPermission, appOp);
|
public void | sendBroadcastAsUser(Intent intent, android.os.UserHandle user)
mBase.sendBroadcastAsUser(intent, user);
|
public void | sendBroadcastAsUser(Intent intent, android.os.UserHandle user, java.lang.String receiverPermission)
mBase.sendBroadcastAsUser(intent, user, receiverPermission);
|
public void | sendOrderedBroadcast(Intent intent, java.lang.String receiverPermission)
mBase.sendOrderedBroadcast(intent, receiverPermission);
|
public void | sendOrderedBroadcast(Intent intent, java.lang.String receiverPermission, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendOrderedBroadcast(intent, receiverPermission,
resultReceiver, scheduler, initialCode,
initialData, initialExtras);
|
public void | sendOrderedBroadcast(Intent intent, java.lang.String receiverPermission, int appOp, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendOrderedBroadcast(intent, receiverPermission, appOp,
resultReceiver, scheduler, initialCode,
initialData, initialExtras);
|
public void | sendOrderedBroadcastAsUser(Intent intent, android.os.UserHandle user, java.lang.String receiverPermission, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver,
scheduler, initialCode, initialData, initialExtras);
|
public void | sendOrderedBroadcastAsUser(Intent intent, android.os.UserHandle user, java.lang.String receiverPermission, int appOp, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver,
scheduler, initialCode, initialData, initialExtras);
|
public void | sendStickyBroadcast(Intent intent)
mBase.sendStickyBroadcast(intent);
|
public void | sendStickyBroadcastAsUser(Intent intent, android.os.UserHandle user)
mBase.sendStickyBroadcastAsUser(intent, user);
|
public void | sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendStickyOrderedBroadcast(intent,
resultReceiver, scheduler, initialCode,
initialData, initialExtras);
|
public void | sendStickyOrderedBroadcastAsUser(Intent intent, android.os.UserHandle user, BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)
mBase.sendStickyOrderedBroadcastAsUser(intent, user, resultReceiver,
scheduler, initialCode, initialData, initialExtras);
|
public void | setTheme(int resid)
mBase.setTheme(resid);
|
public void | setWallpaper(android.graphics.Bitmap bitmap)
mBase.setWallpaper(bitmap);
|
public void | setWallpaper(java.io.InputStream data)
mBase.setWallpaper(data);
|
public void | startActivities(Intent[] intents)
mBase.startActivities(intents);
|
public void | startActivities(Intent[] intents, android.os.Bundle options)
mBase.startActivities(intents, options);
|
public void | startActivitiesAsUser(Intent[] intents, android.os.Bundle options, android.os.UserHandle userHandle)
mBase.startActivitiesAsUser(intents, options, userHandle);
|
public void | startActivity(Intent intent)
mBase.startActivity(intent);
|
public void | startActivity(Intent intent, android.os.Bundle options)
mBase.startActivity(intent, options);
|
public void | startActivityAsUser(Intent intent, android.os.UserHandle user)
mBase.startActivityAsUser(intent, user);
|
public void | startActivityAsUser(Intent intent, android.os.Bundle options, android.os.UserHandle user)
mBase.startActivityAsUser(intent, options, user);
|
public boolean | startInstrumentation(ComponentName className, java.lang.String profileFile, android.os.Bundle arguments)
return mBase.startInstrumentation(className, profileFile, arguments);
|
public void | startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
mBase.startIntentSender(intent, fillInIntent, flagsMask,
flagsValues, extraFlags);
|
public void | startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, android.os.Bundle options)
mBase.startIntentSender(intent, fillInIntent, flagsMask,
flagsValues, extraFlags, options);
|
public ComponentName | startService(Intent service)
return mBase.startService(service);
|
public ComponentName | startServiceAsUser(Intent service, android.os.UserHandle user)
return mBase.startServiceAsUser(service, user);
|
public boolean | stopService(Intent name)
return mBase.stopService(name);
|
public boolean | stopServiceAsUser(Intent name, android.os.UserHandle user)
return mBase.stopServiceAsUser(name, user);
|
public void | unbindService(ServiceConnection conn)
mBase.unbindService(conn);
|
public void | unregisterReceiver(BroadcastReceiver receiver)
mBase.unregisterReceiver(receiver);
|