Home
last modified time | relevance | path

Searched refs:mRunner (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java40 private GraphRunner mRunner; field in CameraEffectsRecordingSample
78 mRunner = graphEnvironment.getRunner(graphId, GraphEnvironment.MODE_ASYNCHRONOUS); in createGraph()
83 if (mRunner.isRunning()) { in onPause()
84 mRunner.stop(); in onPause()
92 if (mRunner.isRunning()) {
93 mRunner.stop();
96 mRunner.run();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java74 private ConnectivityManagerStressTestRunner mRunner; field in WifiStressTest
82 mRunner = (ConnectivityManagerStressTestRunner) getInstrumentation(); in setUp()
83 mReconnectIterations = mRunner.mReconnectIterations; in setUp()
84 mSsid = mRunner.mReconnectSsid; in setUp()
85 mPassword = mRunner.mReconnectPassword; in setUp()
86 mScanIterations = mRunner.mScanIterations; in setUp()
87 mWifiSleepTime = mRunner.mSleepTime; in setUp()
88 mWifiOnlyFlag = mRunner.mWifiOnlyFlag; in setUp()
214 int value = Settings.Global.getInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
218 Settings.Global.putInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
[all …]
DWifiApStress.java52 ConnectivityManagerStressTestRunner mRunner = in setUp() local
54 iterations = mRunner.mSoftapIterations; in setUp()
55 mWifiOnlyFlag = mRunner.mWifiOnlyFlag; in setUp()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java38 private SyncRunner mRunner; field in AsyncRunner
125 mRunner.close(); in onPostExecute()
182 mRunner = new SyncRunner(mFilterContext, graph, mSchedulerClass); in setGraph()
187 return mRunner != null ? mRunner.getGraph() : null; in getGraph()
199 if (mRunner == null) { in run()
205 mRunTask.execute(mRunner); in run()
225 mRunner.close(); in close()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java52 private GraphRunner mRunner; field in MffFilterTestCase
72 mRunner = mGraph.getRunner(); in setUp()
73 mRunner.setListener(new Listener() { in setUp()
96 mRunner.stop(); in tearDown()
97 mRunner = null; in tearDown()
119 mRunner.start(mGraph); in process()
133 return new Frame(type, dimensions, mRunner.getFrameManager()); in createFrame()
173 mRunner.stop(); in onFramePushed()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterGraph.java60 GraphRunner mRunner; field in FilterGraph
317 if (mRunner == null) { in attachToRunner()
322 mRunner = runner; in attachToRunner()
323 } else if (mRunner != runner) { in attachToRunner()
349 if (mRunner != null) { in tearDown()
350 mRunner.tearDownGraph(this); in tearDown()
483 if (mRunner == null) { in getRunner()
487 return mRunner; in getRunner()
496 return mRunner != null && mRunner.isRunning(); in isRunning()
DFrameManager.java56 private GraphRunner mRunner; field in FrameManager
274 return mRunner.getContext(); in getContext()
283 return mRunner; in getRunner()
393 mRunner = runner; in FrameManager()
459 if (mRunner.isRunning()) { in assertNotRunning()
466 if (!mRunner.isRunning() || GraphRunner.current() != mRunner) { in assertInGraphRun()
DFilter.java418 return mFilterGraph.mRunner != null ? mFilterGraph.mRunner.getFrameManager() : null; in getFrameManager()
430 return mFilterGraph != null && mFilterGraph.mRunner != null in isRunning()
431 && mFilterGraph.mRunner.isRunning(); in isRunning()
535 mFilterGraph.mRunner.signalWakeUp(); in wakeUp()
548 return mFilterGraph.mRunner.isOpenGLSupported(); in isOpenGLSupported()
DCameraStreamer.java82 protected CameraRunnable mRunner; field in CameraStreamer.CamFrameHandler
100 mRunner = camRunner; in initWithRunner()
202 setupPreviewTexture(mRunner.mCamera); in setupServerFrame()
235 if ((mRunner.mActualFacing == FACING_FRONT) && mRunner.mFlipFront) { in updateShaderTargetRect()
296 setupPreviewTexture(mRunner.mCamera); in setupServerFrame()
308 mRunner.mCamera.setDisplayOrientation(orientation); in onUpdateCameraOrientation()
440 if ((mRunner.mActualFacing == FACING_FRONT) && mRunner.mFlipFront) { in updateShaderTargetRect()
472 mRunner.signalNewFrame();
564 mRunner.signalNewFrame();
572 Camera camera = mRunner.mCamera; in setupServerFrame()
[all …]
DGraphRunner.java669 if (graph.mRunner != this) { in start()
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java59 private UiAutomatorTestRunner mRunner; field in RunTestCommand
140 if (mRunner != null) { in getRunner()
141 return mRunner; in getRunner()
145 mRunner = new UiAutomatorTestRunner(); in getRunner()
146 return mRunner; in getRunner()
165 mRunner = runner; in getRunner()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java53 private AppCompatibilityRunner mRunner; field in AppCompatibility
59 mRunner = (AppCompatibilityRunner) getInstrumentation(); in setUp()
60 assertNotNull("Could not fetch InstrumentationTestRunner.", mRunner); in setUp()
62 mContext = mRunner.getTargetContext(); in setUp()
72 mArgs = mRunner.getBundle(); in setUp()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterGraphEffect.java45 protected GraphRunner mRunner; field in FilterGraphEffect
83 mRunner = new SyncRunner(getFilterContext(), mGraph, mSchedulerClass); in createGraph()
104 mRunner.run(); in apply()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchTest.java47 RsPerfTestRunner mRunner = (RsPerfTestRunner) getInstrumentation(); in setUp() local
48 iterations = mRunner.iterations; in setUp()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java62 private BandwidthTestRunner mRunner; field in BandwidthTest
68 mRunner = (BandwidthTestRunner) getInstrumentation(); in setUp()
69 mSsid = mRunner.mSsid; in setUp()
70 mTestServer = mRunner.mTestServer; in setUp()
71 mContext = mRunner.getTargetContext(); in setUp()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java69 private GraphRunner mRunner; field in SmartCamera
264 mRunner = mGraph.getRunner(); in loadGraph()
285 mRunner.setIsVerbose(true); in runGraph()
286 mRunner.start(mGraph); in runGraph()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java60 WifiAssociationTestRunner mRunner = (WifiAssociationTestRunner)getInstrumentation(); in setUp() local
61 Bundle arguments = mRunner.getArguments(); in setUp()
66 mBand = mRunner.mBand; in setUp()
DConnectivityManagerMobileTest.java45 ConnectivityManagerTestRunner mRunner = in setUp() local
47 mTestAccessPoint = mRunner.mTestSsid; in setUp()
48 mWifiOnlyFlag = mRunner.mWifiOnlyFlag; in setUp()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java52 MediaPlayerStressTestRunner mRunner = (MediaPlayerStressTestRunner)getInstrumentation(); in setUp() local
53 Bundle arguments = mRunner.getArguments(); in setUp()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java64 DownloadManagerTestRunner mRunner = (DownloadManagerTestRunner)getInstrumentation(); in setUp() local
65 externalDownloadUriValue = normalizeUri(mRunner.externalDownloadUriValue); in setUp()
68 externalLargeDownloadUriValue = normalizeUri(mRunner.externalDownloadUriValue); in setUp()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DImageProcessingTest.java53 ImageProcessingTestRunner mRunner = (ImageProcessingTestRunner) getInstrumentation(); in setUp() local
54 mIteration = mRunner.mIteration; in setUp()
/frameworks/base/core/java/android/app/
DInstrumentation.java85 private Thread mRunner; field in Instrumentation
122 if (mRunner != null) { in start()
125 mRunner = new InstrumentationThread("Instr: " + getClass().getName()); in start()
126 mRunner.start(); in start()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java187 mRunner.run(this, args, new Runnable() {
192 bundle.putParcelable("res", new RunResult(mRunner));
223 final TestRunner mRunner = new TestRunner(); field in TestService