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 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 | 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, java.lang.String readPermission, java.lang.String writePermission, int pid, int uid, int modeFlags)
return mBase.checkUriPermission(uri, readPermission, writePermission,
pid, uid, modeFlags);
|
public void | clearWallpaper()
mBase.clearWallpaper();
|
public Context | createPackageContext(java.lang.String packageName, int flags)
return mBase.createPackageContext(packageName, flags);
|
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.res.AssetManager | getAssets()
return mBase.getAssets();
|
public Context | getBaseContext()
return mBase;
|
public java.io.File | getCacheDir()
return mBase.getCacheDir();
|
public java.lang.ClassLoader | getClassLoader()
return mBase.getClassLoader();
|
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 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.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.lang.Object | getSystemService(java.lang.String name)
return mBase.getSystemService(name);
|
public Resources.Theme | getTheme()
return mBase.getTheme();
|
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 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.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 void | removeStickyBroadcast(Intent intent)
mBase.removeStickyBroadcast(intent);
|
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 | 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 | sendStickyBroadcast(Intent intent)
mBase.sendStickyBroadcast(intent);
|
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 | startActivity(Intent intent)
mBase.startActivity(intent);
|
public boolean | startInstrumentation(ComponentName className, java.lang.String profileFile, android.os.Bundle arguments)
return mBase.startInstrumentation(className, profileFile, arguments);
|
public ComponentName | startService(Intent service)
return mBase.startService(service);
|
public boolean | stopService(Intent name)
return mBase.stopService(name);
|
public void | unbindService(ServiceConnection conn)
mBase.unbindService(conn);
|
public void | unregisterReceiver(BroadcastReceiver receiver)
mBase.unregisterReceiver(receiver);
|