Searched refs:appContext (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ContextUtils.java | 61 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()
|
D | BuildInfo.java | 90 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/ |
D | ContextUtils.patch | 9 - 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/ |
D | VideoCapturerAndroidTestFixtures.java | 303 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/jni/com/google/android/textclassifier/ |
D | ActionsSuggestionsModel.java | 82 Object appContext, in suggestActionsWithIntents() argument 90 appContext, in suggestActionsWithIntents() 269 Object appContext, in nativeSuggestActions() argument
|
D | AnnotatorModel.java | 168 Object appContext, in classifyText() argument 171 annotatorPtr, context, selectionBegin, selectionEnd, options, appContext, resourcesLocale); in classifyText() 812 Object appContext, in nativeClassifyText() argument
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | HostActivity.java | 183 Context appContext = getApplicationContext(); in onStart() local 186 (WifiManager) appContext.getSystemService(Context.WIFI_SERVICE)); in onStart() 191 (PowerManager) appContext.getSystemService(Context.POWER_SERVICE)); in onStart()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowVisualVoicemailSmsTest.java | 25 private final Context appContext = ApplicationProvider.getApplicationContext(); field in ShadowVisualVoicemailSmsTest 27 new PhoneAccountHandle(new ComponentName(appContext, Object.class), "foo");
|