/external/libchrome/base/android/java/src/org/chromium/base/memory/ |
D | MemoryPressureMonitor.java | 17 import org.chromium.base.ThreadUtils; 128 ThreadUtils.assertOnUiThread(); in registerComponentCallbacks() 155 ThreadUtils.assertOnUiThread(); in enablePolling() 168 ThreadUtils.assertOnUiThread(); in disablePolling() 180 ThreadUtils.assertOnUiThread(); in notifyPressure() 197 ThreadUtils.assertOnUiThread(); in getLastReportedPressure() 236 ThreadUtils.postOnUiThreadDelayed(mThrottlingIntervalTask, mThrottlingIntervalMs); in startThrottlingInterval()
|
D | MemoryPressureUma.java | 12 import org.chromium.base.ThreadUtils; 61 ThreadUtils.assertOnUiThread(); in initializeInstance()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | SurfaceViewRenderer.java | 83 ThreadUtils.checkIsOnMainThread(); in init() 136 ThreadUtils.checkIsOnMainThread(); in setEnableHardwareScaler() 152 ThreadUtils.checkIsOnMainThread(); in setScalingType() 159 ThreadUtils.checkIsOnMainThread(); in setScalingType() 191 ThreadUtils.checkIsOnMainThread(); in onMeasure() 200 ThreadUtils.checkIsOnMainThread(); in onLayout() 206 ThreadUtils.checkIsOnMainThread(); in updateSurfaceSize() 240 ThreadUtils.checkIsOnMainThread(); in surfaceCreated()
|
D | SurfaceEglRenderer.java | 53 ThreadUtils.checkIsOnMainThread(); in init() 110 ThreadUtils.checkIsOnMainThread(); in surfaceCreated() 116 ThreadUtils.checkIsOnMainThread(); in surfaceDestroyed() 119 ThreadUtils.awaitUninterruptibly(completionLatch); in surfaceDestroyed() 124 ThreadUtils.checkIsOnMainThread(); in surfaceChanged()
|
D | ScreenCapturerAndroid.java | 125 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in stopCapture() 180 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in changeCaptureFormat()
|
D | SurfaceTextureHelper.java | 70 return ThreadUtils.invokeAtFrontUninterruptibly(handler, new Callable<SurfaceTextureHelper>() { in create() 240 ThreadUtils.invokeAtFrontUninterruptibly(handler, () -> { 321 ThreadUtils.invokeAtFrontUninterruptibly(handler, () -> {
|
D | YuvConverter.java | 105 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker();
|
D | VideoFileRenderer.java | 67 ThreadUtils.invokeAtFrontUninterruptibly(renderThreadHandler, new Runnable() { in VideoFileRenderer() 142 ThreadUtils.awaitUninterruptibly(cleanupBarrier); in release()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCBluetoothManager.java | 32 import org.webrtc.ThreadUtils; 205 ThreadUtils.checkIsOnMainThread(); in AppRTCBluetoothManager() 217 ThreadUtils.checkIsOnMainThread(); in getState() 235 ThreadUtils.checkIsOnMainThread(); in start() 283 ThreadUtils.checkIsOnMainThread(); in stop() 320 ThreadUtils.checkIsOnMainThread(); in startScoAudio() 349 ThreadUtils.checkIsOnMainThread(); in stopScoAudio() 441 ThreadUtils.checkIsOnMainThread(); in updateAudioDeviceState() 448 ThreadUtils.checkIsOnMainThread(); in startTimer() 455 ThreadUtils.checkIsOnMainThread(); in cancelTimer() [all …]
|
D | AppRTCAudioManager.java | 29 import org.webrtc.ThreadUtils; 166 ThreadUtils.checkIsOnMainThread(); in AppRTCAudioManager() 199 ThreadUtils.checkIsOnMainThread(); in start() 297 ThreadUtils.checkIsOnMainThread(); in stop() 357 ThreadUtils.checkIsOnMainThread(); in setDefaultAudioDevice() 379 ThreadUtils.checkIsOnMainThread(); in selectAudioDevice() 389 ThreadUtils.checkIsOnMainThread(); in getAudioDevices() 395 ThreadUtils.checkIsOnMainThread(); in getSelectedAudioDevice() 464 ThreadUtils.checkIsOnMainThread(); in updateAudioDeviceState()
|
D | AppRTCProximitySensor.java | 22 import org.webrtc.ThreadUtils; 39 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker();
|
D | TCPChannelClient.java | 26 import org.webrtc.ThreadUtils; 40 private final ThreadUtils.ThreadChecker executorThreadCheck; 66 executorThreadCheck = new ThreadUtils.ThreadChecker(); in TCPChannelClient()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | UserActionTester.java | 7 import org.chromium.base.ThreadUtils; 21 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in UserActionTester() 30 ThreadUtils.runOnUiThreadBlocking(new Runnable() { in tearDown()
|
/external/libchrome/base/android/java/src/org/chromium/base/metrics/ |
D | RecordUserAction.java | 7 import org.chromium.base.ThreadUtils; 40 if (ThreadUtils.runningOnUiThread()) { in record() 45 ThreadUtils.runOnUiThread(new Runnable() { in record()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | Camera2CapturerTest.java | 63 ThreadUtils.awaitUninterruptibly(startedSignal); in waitToStart() 135 ThreadUtils.awaitUninterruptibly(openDoneSignal); in SimpleCamera2() 152 ThreadUtils.joinUninterruptibly(looperThread); in close()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | FileUtils.java | 29 ThreadUtils.assertOnBackgroundThread(); in recursivelyDeleteFile() 47 ThreadUtils.assertOnBackgroundThread(); in batchDeleteFiles()
|
D | ThrowUncaughtException.java | 14 ThreadUtils.postOnUiThread(new Runnable() { in post()
|
D | JavaExceptionReporter.java | 53 assert ThreadUtils.runningOnUiThread(); in reportStackTrace()
|
D | TraceEvent.java | 259 ThreadUtils.getUiThreadLooper().setMessageLogging( in setEnabled() 272 ThreadUtils.getUiThreadLooper().setMessageLogging(LooperMonitorHolder.sInstance); in maybeEnableEarlyTracing()
|
D | PowerMonitor.java | 36 ThreadUtils.assertOnUiThread(); in create()
|
/external/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioTrack.java | 26 import org.webrtc.ThreadUtils; 70 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker(); 303 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_TRACK_THREAD_JOIN_TIMEOUT_MS)) { in stopPlayout()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 26 import org.webrtc.ThreadUtils; 74 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker(); 333 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_TRACK_THREAD_JOIN_TIMEOUT_MS)) { in stopPlayout()
|
/external/libchrome/base/test/android/java/src/org/chromium/base/ |
D | TestUiThread.java | 38 ThreadUtils.setUiThread(Looper.myLooper()); in loop()
|
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnection.java | 21 import org.chromium.base.ThreadUtils; 469 ThreadUtils.postOnUiThread(() -> MemoryPressureListener.addCallback(callback)); in onServiceConnectedOnLauncherThread() 585 ThreadUtils.postOnUiThread(() -> MemoryPressureListener.removeCallback(callback)); in unbind()
|
D | ChildProcessService.java | 24 import org.chromium.base.ThreadUtils; 155 ThreadUtils.postOnUiThread(() -> {
|