Home
last modified time | relevance | path

Searched refs:appContext (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/base/android/java/src/org/chromium/base/
DPathUtils.java50 public static String getDataDirectory(Context appContext) { in getDataDirectory() argument
55 return appContext.getDir(sDataDirectorySuffix, Context.MODE_PRIVATE).getPath(); in getDataDirectory()
62 public static String getDatabaseDirectory(Context appContext) { in getDatabaseDirectory() argument
64 return appContext.getDatabasePath("foo").getParent(); in getDatabaseDirectory()
72 public static String getCacheDirectory(Context appContext) { in getCacheDirectory() argument
73 if (ContextTypes.getInstance().getType(appContext) == ContextTypes.CONTEXT_TYPE_NORMAL) { in getCacheDirectory()
74 return appContext.getCacheDir().getPath(); in getCacheDirectory()
80 return new File(appContext.getDir(sWebappDirectorySuffix, appContext.MODE_PRIVATE), in getCacheDirectory()
89 private static String getDownloadsDirectory(Context appContext) { in getDownloadsDirectory() argument
99 private static String getNativeLibraryDirectory(Context appContext) { in getNativeLibraryDirectory() argument
[all …]
DContextTypes.java82 public static boolean isRunningInWebapp(Context appContext) { in isRunningInWebapp() argument
83 return ContextTypes.getInstance().getType(appContext) in isRunningInWebapp()
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
DShellLayoutTestUtils.java22 private static String getApplicationFilesDirectory(Context appContext) { in getApplicationFilesDirectory() argument
23 return appContext.getFilesDir().getAbsolutePath(); in getApplicationFilesDirectory()
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/
DChromiumTestShellSyncAdapter.java14 public ChromiumTestShellSyncAdapter(Context appContext, Application application) { in ChromiumTestShellSyncAdapter() argument
15 super(appContext, application); in ChromiumTestShellSyncAdapter()
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/
DDeviceTelephonyInfo.java21 Context appContext = context.getApplicationContext(); in DeviceTelephonyInfo() local
22 mTelManager = (TelephonyManager) appContext.getSystemService(Context.TELEPHONY_SERVICE); in DeviceTelephonyInfo()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DShortcutHelper.java43 public static void addShortcut(Context appContext, TabBase tab, String userRequestedTitle) { in addShortcut() argument
48 ActivityManager am = (ActivityManager) appContext.getSystemService( in addShortcut()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DContentViewMiscTest.java60 final MockContext appContext = new MockContext() { in testEnableDisablePlatformNotifications() local
70 return appContext; in testEnableDisablePlatformNotifications()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DBrowserStartupController.java276 Context appContext = mContext.getApplicationContext(); in prepareToStartBrowserProcess() local
282 ContentMain.initApplicationContext(appContext); in prepareToStartBrowserProcess()
/external/chromium_org/testing/android/java/src/org/chromium/native_test/
DChromeNativeTestActivity.java78 private native void nativeRunTests(String filesDir, Context appContext); in nativeRunTests() argument
/external/chromium_org/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/
DContentBrowserTestsActivity.java58 private native void nativeRunTests(String filesDir, Context appContext); in nativeRunTests() argument