Home
last modified time | relevance | path

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

/external/libchrome/base/android/java/src/org/chromium/base/
DContextUtils.java61 public static void initApplicationContext(Context appContext) { in initApplicationContext() argument
64 if (sApplicationContext != null && sApplicationContext != appContext) { in initApplicationContext()
67 initJavaSideApplicationContext(appContext); in initApplicationContext()
98 public static void initApplicationContextForTests(Context appContext) { in initApplicationContextForTests() argument
107 initJavaSideApplicationContext(appContext); in initApplicationContextForTests()
111 private static void initJavaSideApplicationContext(Context appContext) { in initJavaSideApplicationContext() argument
112 if (appContext == null) { in initJavaSideApplicationContext()
115 sApplicationContext = appContext; in initJavaSideApplicationContext()
DBuildInfo.java90 Context appContext = ContextUtils.getApplicationContext(); in BuildInfo() local
91 String hostPackageName = appContext.getPackageName(); in BuildInfo()
92 PackageManager pm = appContext.getPackageManager(); in BuildInfo()
/external/libchrome/libchrome_tools/patch/
DContextUtils.patch9 - if (appContext instanceof Application) {
10 - ApplicationStatus.initialize((Application) appContext);
13 + // if (appContext instanceof Application) {
14 + // ApplicationStatus.initialize((Application) appContext);
16 initJavaSideApplicationContext(appContext);
/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/libtextclassifier/java/com/google/android/textclassifier/
DActionsSuggestionsModel.java82 Object appContext, in suggestActionsWithIntents() argument
90 appContext, in suggestActionsWithIntents()
260 Object appContext, in nativeSuggestActions() argument
DAnnotatorModel.java152 Object appContext, in classifyText() argument
155 annotatorPtr, context, selectionBegin, selectionEnd, options, appContext, deviceLocales); in classifyText()
582 Object appContext, in nativeClassifyText() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowVisualVoicemailSmsTest.java25 private final Context appContext = ApplicationProvider.getApplicationContext(); field in ShadowVisualVoicemailSmsTest
27 new PhoneAccountHandle(new ComponentName(appContext, Object.class), "foo");