Searched refs:appContext (Results 1 – 4 of 4) sorted by relevance
53 public static void initApplicationContext(Context appContext) { in initApplicationContext() argument56 if (sApplicationContext != null && sApplicationContext != appContext) { in initApplicationContext()59 initJavaSideApplicationContext(appContext); in initApplicationContext()100 public static void initApplicationContextForTests(Context appContext) { in initApplicationContextForTests() argument101 initJavaSideApplicationContext(appContext); in initApplicationContextForTests()105 private static void initJavaSideApplicationContext(Context appContext) { in initJavaSideApplicationContext() argument106 if (appContext == null) { in initJavaSideApplicationContext()109 sApplicationContext = appContext; in initJavaSideApplicationContext()112 private static native void nativeInitNativeSideApplicationContext(Context appContext); in nativeInitNativeSideApplicationContext() argument
154 public static String getDataDirectory(Context appContext) { in getDataDirectory() argument163 public static String getDatabaseDirectory(Context appContext) { in getDatabaseDirectory() argument173 public static String getCacheDirectory(Context appContext) { in getCacheDirectory() argument179 public static String getThumbnailCacheDirectory(Context appContext) { in getThumbnailCacheDirectory() argument189 private static String getDownloadsDirectory(Context appContext) { in getDownloadsDirectory() argument210 private static String getNativeLibraryDirectory(Context appContext) { in getNativeLibraryDirectory() argument211 ApplicationInfo ai = appContext.getApplicationInfo(); in getNativeLibraryDirectory()
303 Context appContext) throws InterruptedException { in cameraEventsInvoked() argument309 appContext, observer); in cameraEventsInvoked()325 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in cameraCallsAfterStop() argument331 appContext, observer); in cameraCallsAfterStop()372 Context appContext) throws InterruptedException { in startStopWithDifferentResolutions() argument379 appContext, observer); in startStopWithDifferentResolutions()419 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in startWhileCameraIsAlreadyOpen() argument427 appContext, observer); in startWhileCameraIsAlreadyOpen()442 VideoCapturerAndroid capturer, Context appContext) throws InterruptedException { in startWhileCameraIsAlreadyOpenAndCloseCamera() argument450 appContext, observer); in startWhileCameraIsAlreadyOpenAndCloseCamera()[all …]
29 Context appContext = getInstrumentation().getTargetContext().getApplicationContext(); in setUp() local30 ContextUtils.initApplicationContext(appContext); in setUp()31 LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitialized(appContext); in setUp()