Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java75 private final BenchmarkRunner mRunner = new BenchmarkRunner(); field in UserLifecycleTests
77 public BenchmarkResultsReporter mReporter = new BenchmarkResultsReporter(mRunner);
101 while (mRunner.keepRunning()) { in createAndStartUser()
109 mRunner.pauseTiming(); in createAndStartUser()
111 mRunner.resumeTiming(); in createAndStartUser()
117 while (mRunner.keepRunning()) { in switchUser()
118 mRunner.pauseTiming(); in switchUser()
121 mRunner.resumeTiming(); in switchUser()
125 mRunner.pauseTiming(); in switchUser()
128 mRunner.resumeTiming(); in switchUser()
[all …]
DBenchmarkResultsReporter.java31 private final BenchmarkRunner mRunner; field in BenchmarkResultsReporter
34 mRunner = benchmarkRunner; in BenchmarkResultsReporter()
43 final Bundle stats = mRunner.getStatsToReport(); in apply()
45 mRunner.getStatsToLog()); in apply()
47 mRunner.getAllDurations()); in apply()
/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.java73 private ConnectivityManagerStressTestRunner mRunner; field in WifiStressTest
85 mRunner = (ConnectivityManagerStressTestRunner) getInstrumentation(); in setUp()
86 mReconnectIterations = mRunner.getReconnectIterations(); in setUp()
87 mSsid = mRunner.getReconnectSsid(); in setUp()
88 mPassword = mRunner.getReconnectPassword(); in setUp()
89 mScanIterations = mRunner.getScanIterations(); in setUp()
90 mWifiSleepTime = mRunner.getSleepTime(); in setUp()
91 mWifiOnlyFlag = mRunner.isWifiOnly(); in setUp()
198 Settings.Global.putInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
201 Settings.Global.putInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
[all …]
DWifiApStress.java53 ConnectivityManagerStressTestRunner mRunner = in setUp() local
55 mTotalIterations = mRunner.getSoftApInterations(); in setUp()
56 mWifiOnlyFlag = mRunner.isWifiOnly(); in setUp()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java30 private SyncRunner mRunner; field in AsyncRunner
117 mRunner.close(); in onPostExecute()
174 mRunner = new SyncRunner(mFilterContext, graph, mSchedulerClass); in setGraph()
179 return mRunner != null ? mRunner.getGraph() : null; in getGraph()
191 if (mRunner == null) { in run()
197 mRunTask.execute(mRunner); in run()
217 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/base/cmds/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/support/content/tests/java/android/support/content/
DLoaderQueryRunnerTest.java44 private QueryRunner mRunner; field in LoaderQueryRunnerTest
50 mRunner = new LoaderQueryRunner(mActivity, mActivity.getLoaderManager()); in setUp()
86 mRunner.query(query, mCallback); in testRunsQuery()
DContentPagerTest.java59 private TestQueryRunner mRunner; field in ContentPagerTest
68 mRunner = new TestQueryRunner(); in setUp()
71 mPager = new ContentPager(mResolver, mRunner); in setUp()
351 mRunner.runQuery = false; in testCancelsRunningQueriesOnReset()
359 assertTrue(mRunner.isRunning(query)); in testCancelsRunningQueriesOnReset()
363 assertFalse(mRunner.isRunning(query)); in testCancelsRunningQueriesOnReset()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterGraphEffect.java41 protected GraphRunner mRunner; field in FilterGraphEffect
79 mRunner = new SyncRunner(getFilterContext(), mGraph, mSchedulerClass); in createGraph()
100 mRunner.run(); in apply()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java43 ConnectivityManagerTestRunner mRunner = in setUp() local
45 mSsid = mRunner.getWifiSsid(); in setUp()
46 mPassword = mRunner.getWifiPassword(); in setUp()
47 mWifiOnlyFlag = mRunner.isWifiOnly(); 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java52 MediaPlayerStressTestRunner mRunner = (MediaPlayerStressTestRunner)getInstrumentation(); in setUp() local
53 Bundle arguments = mRunner.getArguments(); in setUp()
DMediaPlayerStreamingStressTest.java57 MediaPlayerStressTestRunner mRunner = (MediaPlayerStressTestRunner)getInstrumentation(); in setUp() local
58 Bundle arguments = mRunner.getArguments(); in setUp()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java61 DownloadManagerTestRunner mRunner = (DownloadManagerTestRunner)getInstrumentation(); in setUp() local
62 externalDownloadUriValue = normalizeUri(mRunner.externalDownloadUriValue); in setUp()
65 externalLargeDownloadUriValue = normalizeUri(mRunner.externalDownloadUriValue); in setUp()
/frameworks/rs/tests/java_api/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.java101 private Thread mRunner; field in Instrumentation
154 if (mRunner != null) { in start()
157 mRunner = new InstrumentationThread("Instr: " + getClass().getName()); in start()
158 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