Home
last modified time | relevance | path

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

/external/libmojo/base/android/java/src/org/chromium/base/
DContextUtils.java53 public static void initApplicationContext(Context appContext) { in initApplicationContext() argument
56 if (sApplicationContext != null && sApplicationContext != appContext) { in initApplicationContext()
59 initJavaSideApplicationContext(appContext); in initApplicationContext()
100 public static void initApplicationContextForTests(Context appContext) { in initApplicationContextForTests() argument
101 initJavaSideApplicationContext(appContext); in initApplicationContextForTests()
105 private static void initJavaSideApplicationContext(Context appContext) { in initJavaSideApplicationContext() argument
106 if (appContext == null) { in initJavaSideApplicationContext()
109 sApplicationContext = appContext; in initJavaSideApplicationContext()
112 private static native void nativeInitNativeSideApplicationContext(Context appContext); in nativeInitNativeSideApplicationContext() argument
DPathUtils.java154 public static String getDataDirectory(Context appContext) { in getDataDirectory() argument
163 public static String getDatabaseDirectory(Context appContext) { in getDatabaseDirectory() argument
173 public static String getCacheDirectory(Context appContext) { in getCacheDirectory() argument
179 public static String getThumbnailCacheDirectory(Context appContext) { in getThumbnailCacheDirectory() argument
189 private static String getDownloadsDirectory(Context appContext) { in getDownloadsDirectory() argument
210 private static String getNativeLibraryDirectory(Context appContext) { in getNativeLibraryDirectory() argument
211 ApplicationInfo ai = appContext.getApplicationInfo(); in getNativeLibraryDirectory()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java303 Context appContext) throws InterruptedException { in cameraEventsInvoked() argument
309 appContext, observer); in cameraEventsInvoked()
325 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in cameraCallsAfterStop() argument
331 appContext, observer); in cameraCallsAfterStop()
372 Context appContext) throws InterruptedException { in startStopWithDifferentResolutions() argument
379 appContext, observer); in startStopWithDifferentResolutions()
419 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in startWhileCameraIsAlreadyOpen() argument
427 appContext, observer); in startWhileCameraIsAlreadyOpen()
442 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in startWhileCameraIsAlreadyOpenAndCloseCamera() argument
450 appContext, observer); in startWhileCameraIsAlreadyOpenAndCloseCamera()
[all …]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
DMojoTestCase.java29 Context appContext = getInstrumentation().getTargetContext().getApplicationContext(); in setUp() local
30 ContextUtils.initApplicationContext(appContext); in setUp()
31 LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized(appContext); in setUp()