Home
last modified time | relevance | path

Searched refs:ThreadUtils (Results 1 – 25 of 42) sorted by relevance

12

/external/libchrome/base/android/java/src/org/chromium/base/memory/
DMemoryPressureMonitor.java17 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()
DMemoryPressureUma.java12 import org.chromium.base.ThreadUtils;
61 ThreadUtils.assertOnUiThread(); in initializeInstance()
/external/webrtc/sdk/android/api/org/webrtc/
DSurfaceViewRenderer.java83 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()
DSurfaceEglRenderer.java53 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()
DScreenCapturerAndroid.java125 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in stopCapture()
180 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in changeCaptureFormat()
DSurfaceTextureHelper.java70 return ThreadUtils.invokeAtFrontUninterruptibly(handler, new Callable<SurfaceTextureHelper>() { in create()
240 ThreadUtils.invokeAtFrontUninterruptibly(handler, () -> {
321 ThreadUtils.invokeAtFrontUninterruptibly(handler, () -> {
DYuvConverter.java105 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker();
DVideoFileRenderer.java67 ThreadUtils.invokeAtFrontUninterruptibly(renderThreadHandler, new Runnable() { in VideoFileRenderer()
142 ThreadUtils.awaitUninterruptibly(cleanupBarrier); in release()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCBluetoothManager.java32 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 …]
DAppRTCAudioManager.java29 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()
DAppRTCProximitySensor.java22 import org.webrtc.ThreadUtils;
39 private final ThreadUtils.ThreadChecker threadChecker = new ThreadUtils.ThreadChecker();
DTCPChannelClient.java26 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/
DUserActionTester.java7 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/
DRecordUserAction.java7 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/
DCamera2CapturerTest.java63 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/
DFileUtils.java29 ThreadUtils.assertOnBackgroundThread(); in recursivelyDeleteFile()
47 ThreadUtils.assertOnBackgroundThread(); in batchDeleteFiles()
DThrowUncaughtException.java14 ThreadUtils.postOnUiThread(new Runnable() { in post()
DJavaExceptionReporter.java53 assert ThreadUtils.runningOnUiThread(); in reportStackTrace()
DTraceEvent.java259 ThreadUtils.getUiThreadLooper().setMessageLogging( in setEnabled()
272 ThreadUtils.getUiThreadLooper().setMessageLogging(LooperMonitorHolder.sInstance); in maybeEnableEarlyTracing()
DPowerMonitor.java36 ThreadUtils.assertOnUiThread(); in create()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioTrack.java26 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/
DWebRtcAudioTrack.java26 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/
DTestUiThread.java38 ThreadUtils.setUiThread(Looper.myLooper()); in loop()
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessConnection.java21 import org.chromium.base.ThreadUtils;
469 ThreadUtils.postOnUiThread(() -> MemoryPressureListener.addCallback(callback)); in onServiceConnectedOnLauncherThread()
585 ThreadUtils.postOnUiThread(() -> MemoryPressureListener.removeCallback(callback)); in unbind()
DChildProcessService.java24 import org.chromium.base.ThreadUtils;
155 ThreadUtils.postOnUiThread(() -> {

12