Class of snx.android.app · ContextImpl.java
public final class ContextImpl extends Context
ContextImpl ← Context
The base context of the application and of each component, as Android's ContextImpl: the app's resources and theme, its folders under the data root, its preferences and databases, and the in-process system services.
Page 1 2
public ContextImpl(Resources resources, boolean deviceProtected) sourcepublic void setOuter(Context outer) sourceThe context this one is the base of (the Application, an Activity): system services see it.
public AssetManager getAssets() sourcepublic Resources getResources() sourcepublic PackageManager getPackageManager() sourcepublic ContentResolver getContentResolver() sourcepublic Looper getMainLooper() sourcepublic Context getApplicationContext() sourcepublic void setTheme(int resid) sourcepublic Resources.Theme getTheme() sourcepublic ClassLoader getClassLoader() sourcepublic String getPackageName() sourcepublic ApplicationInfo getApplicationInfo() sourcepublic String getPackageResourcePath() sourcepublic String getPackageCodePath() sourcepublic File getDataDir() sourcepublic File getFilesDir() sourcepublic File getNoBackupFilesDir() sourcepublic File getCacheDir() sourcepublic File getCodeCacheDir() sourcepublic File getExternalFilesDir(String type) sourcepublic File[] getExternalFilesDirs(String type) sourcepublic File getObbDir() sourcepublic File[] getObbDirs() sourcepublic File getExternalCacheDir() sourcepublic File[] getExternalCacheDirs() sourcepublic File[] getExternalMediaDirs() sourcepublic File getFileStreamPath(String name) sourcepublic FileInputStream openFileInput(String name) throws FileNotFoundException sourcepublic FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException sourcepublic boolean deleteFile(String name) sourcepublic String[] fileList() sourcepublic File getDir(String name, int mode) sourcepublic File getDatabasePath(String name) sourcepublic SQLiteDatabase openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) sourcepublic SQLiteDatabase openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) sourcepublic boolean moveDatabaseFrom(Context sourceContext, String name) sourcepublic boolean deleteDatabase(String name) sourcepublic String[] databaseList() sourcePage 1 2
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.