/external/libchrome/libchrome_tools/patch/ |
D | ContextUtils.patch | 1 …base/android/java/src/org/chromium/base/ContextUtils.java b/base/android/java/src/org/chromium/bas… 3 --- a/base/android/java/src/org/chromium/base/ContextUtils.java 4 +++ b/base/android/java/src/org/chromium/base/ContextUtils.java 5 @@ -100,9 +100,10 @@ public class ContextUtils {
|
/external/opencensus-java/api/src/test/java/io/opencensus/tags/unsafe/ |
D | ContextUtilsTest.java | 37 assertThat(ContextUtils.TAG_CONTEXT_KEY.toString()).isEqualTo("opencensus-tag-context-key"); in testContextKeyName() 42 TagContext tags = ContextUtils.TAG_CONTEXT_KEY.get(); in testGetCurrentTagContext_DefaultContext() 49 Context orig = Context.current().withValue(ContextUtils.TAG_CONTEXT_KEY, null).attach(); in testGetCurrentTagContext_ContextSetToNull() 51 TagContext tags = ContextUtils.TAG_CONTEXT_KEY.get(); in testGetCurrentTagContext_ContextSetToNull()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | CurrentSpanUtils.java | 21 import io.opencensus.trace.unsafe.ContextUtils; 37 return ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpan() 93 origContext = Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in ScopeInSpan() 120 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in run() 154 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in call()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/ |
D | CurrentTagContextUtils.java | 22 import io.opencensus.tags.unsafe.ContextUtils; 37 return ContextUtils.TAG_CONTEXT_KEY.get(); in getCurrentTagContext() 63 orig = Context.current().withValue(ContextUtils.TAG_CONTEXT_KEY, tags).attach(); in WithTagContext()
|
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/ |
D | LibraryLoader.java | 24 import org.chromium.base.ContextUtils; 204 loadAlreadyLocked(ContextUtils.getApplicationContext()); in ensureInitialized() 216 preloadNowOverrideApplicationContext(ContextUtils.getApplicationContext()); in preloadNow() 258 loadNowOverrideApplicationContext(ContextUtils.getApplicationContext()); in loadNow() 271 if (mLoaded && appContext != ContextUtils.getApplicationContext()) { in loadNowOverrideApplicationContext() 301 ContextUtils.getAppSharedPreferences() in setDontPrefetchLibrariesOnNextRuns() 315 return ContextUtils.getAppSharedPreferences().getBoolean( in isNotPrefetchingLibraries() 761 if (!ContextUtils.isIsolatedProcess()) { in makeLibraryDirAndSetPermission() 762 File cacheDir = ContextCompat.getCodeCacheDir(ContextUtils.getApplicationContext()); in makeLibraryDirAndSetPermission() 775 ContextCompat.getCodeCacheDir(ContextUtils.getApplicationContext()), LIBRARY_DIR); in getLibraryDir()
|
/external/webrtc/examples/unityplugin/java/src/org/webrtc/ |
D | UnityUtility.java | 26 return Camera2Enumerator.isSupported(ContextUtils.getApplicationContext()); in useCamera2() 48 createCameraCapturer(new Camera2Enumerator(ContextUtils.getApplicationContext())); in LinkCamera() 52 capturer.initialize(surfaceTextureHelper, ContextUtils.getApplicationContext(), in LinkCamera()
|
/external/libchrome/base/android/java/src/org/chromium/base/multidex/ |
D | ChromiumMultiDexInstaller.java | 13 import org.chromium.base.ContextUtils; 63 if (ContextUtils.isIsolatedProcess()) { in shouldInstallMultiDex() 66 String currentProcessName = ContextUtils.getProcessName(); in shouldInstallMultiDex()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/unsafe/ |
D | ContextUtils.java | 34 public final class ContextUtils { class 36 private ContextUtils() {} in ContextUtils() method in ContextUtils
|
/external/webrtc/rtc_base/java/src/org/webrtc/ |
D | ContextUtils.java | 19 public class ContextUtils { class 33 ContextUtils.applicationContext = applicationContext; in initialize()
|
/external/webrtc/test/android/org/webrtc/native_test/ |
D | RTCNativeUnitTest.java | 15 import org.webrtc.ContextUtils; 24 ContextUtils.initialize(activity.getApplicationContext()); in preCreate()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | BuildInfo.java | 58 String hostPackageName = ContextUtils.getApplicationContext().getPackageName(); in getAll() 90 Context appContext = ContextUtils.getApplicationContext(); in BuildInfo() 138 currentResourcesVersion = ContextUtils.getApplicationContext().getString( in BuildInfo() 189 return ContextUtils.getApplicationContext().getApplicationInfo().targetSdkVersion >= 28; in targetsAtLeastP()
|
D | PathUtils.java | 113 Context appContext = ContextUtils.getApplicationContext(); in setPrivateDataDirectorySuffixInternal() 148 assert ContextUtils.getApplicationContext() != null; in setPrivateDataDirectorySuffix() 224 files = ContextUtils.getApplicationContext().getExternalFilesDirs( in getAllPrivateDownloadsDirectories() 246 ApplicationInfo ai = ContextUtils.getApplicationContext().getApplicationInfo(); in getNativeLibraryDirectory()
|
D | ContentUriUtils.java | 114 ContentResolver resolver = ContextUtils.getApplicationContext().getContentResolver(); in getMimeType() 130 ContentResolver resolver = ContextUtils.getApplicationContext().getContentResolver(); in getAssetFileDescriptor() 220 if (!DocumentsContract.isDocumentUri(ContextUtils.getApplicationContext(), uri)) { in isVirtualDocument() 223 ContentResolver contentResolver = ContextUtils.getApplicationContext().getContentResolver(); in isVirtualDocument()
|
D | SysUtils.java | 131 (ActivityManager) ContextUtils.getApplicationContext().getSystemService( in isCurrentlyLowMemory() 178 Context appContext = ContextUtils.getApplicationContext(); in detectLowEndDevice() 181 isLowRam = ((ActivityManager) ContextUtils.getApplicationContext().getSystemService( in detectLowEndDevice()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioManager.java | 23 import org.webrtc.ContextUtils; 176 (AudioManager) ContextUtils.getApplicationContext().getSystemService(Context.AUDIO_SERVICE); in WebRtcAudioManager() 243 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in hasEarpiece() 249 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isLowLatencyOutputSupported() 268 && ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isProAudioSupported()
|
D | WebRtcAudioUtils.java | 26 import org.webrtc.ContextUtils; 198 final Context context = ContextUtils.getApplicationContext(); in logAudioState() 381 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in hasMicrophone()
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/unsafe/ |
D | ContextUtils.java | 34 public final class ContextUtils { class 37 private ContextUtils() {} in ContextUtils() method in ContextUtils
|
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/ |
D | BaseRobolectricTestRunner.java | 14 import org.chromium.base.ContextUtils; 29 ContextUtils.initApplicationContextForTests(RuntimeEnvironment.application); in beforeTest()
|
/external/libchrome/base/test/android/java/src/org/chromium/base/ |
D | ContentUriTestUtils.java | 28 Cursor c = ContextUtils.getApplicationContext().getContentResolver().query( in insertImageIntoMediaStore() 42 Uri uri = ContextUtils.getApplicationContext().getContentResolver().insert( in insertImageIntoMediaStore()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MeasureMapImpl.java | 23 import io.opencensus.tags.unsafe.ContextUtils; 59 record(ContextUtils.TAG_CONTEXT_KEY.get()); in record()
|
/external/libchrome/base/android/java/src/org/chromium/base/memory/ |
D | MemoryPressureUma.java | 11 import org.chromium.base.ContextUtils; 64 ContextUtils.getApplicationContext().registerComponentCallbacks(sInstance); in initializeInstance()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/ |
D | CurrentTagContextUtilsTest.java | 29 import io.opencensus.tags.unsafe.ContextUtils; 58 Context orig = Context.current().withValue(ContextUtils.TAG_CONTEXT_KEY, null).attach(); in testGetCurrentTagContext_ContextSetToNull()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanContextHolder.java | 21 import io.opencensus.trace.unsafe.ContextUtils; 147 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, this.ocSpan); in SpanContext()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancer.java | 26 import io.opencensus.trace.unsafe.ContextUtils; 198 Span span = ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpanContext()
|
/external/webrtc/examples/androidnativeapi/java/org/webrtc/examples/androidnativeapi/ |
D | MainActivity.java | 21 import org.webrtc.ContextUtils; 38 ContextUtils.initialize(getApplicationContext()); in onCreate()
|