Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java105 private final BenchmarkRunner mRunner = new BenchmarkRunner(); field in UserLifecycleTests
107 public BenchmarkResultsReporter mReporter = new BenchmarkResultsReporter(mRunner);
133 while (mRunner.keepRunning()) { in createUser()
136 mRunner.pauseTiming(); in createUser()
138 mRunner.resumeTiming(); in createUser()
144 while (mRunner.keepRunning()) { in createAndStartUser()
154 mRunner.pauseTiming(); in createAndStartUser()
156 mRunner.resumeTiming(); in createAndStartUser()
165 while (mRunner.keepRunning()) { in startUser()
166 mRunner.pauseTiming(); in startUser()
[all …]
DBenchmarkResultsReporter.java32 private final BenchmarkRunner mRunner; field in BenchmarkResultsReporter
35 mRunner = benchmarkRunner; in BenchmarkResultsReporter()
44 final Bundle stats = mRunner.getStatsToReport(); in apply()
46 mRunner.getStatsToLog()); in apply()
48 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 …]
/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/core/java/android/view/
DRemoteAnimationAdapter.java51 private final IRemoteAnimationRunner mRunner; field in RemoteAnimationAdapter
71 mRunner = runner; in RemoteAnimationAdapter()
84 mRunner = IRemoteAnimationRunner.Stub.asInterface(in.readStrongBinder()); in RemoteAnimationAdapter()
91 return mRunner; in getRunner()
135 dest.writeStrongInterface(mRunner); in writeToParcel()
/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/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.java63 private BandwidthTestRunner mRunner; field in BandwidthTest
69 mRunner = (BandwidthTestRunner) getInstrumentation(); in setUp()
70 mSsid = mRunner.mSsid; in setUp()
71 mTestServer = mRunner.mTestServer; in setUp()
72 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/services/core/java/com/android/server/wm/
DRecentsAnimationController.java100 private IRecentsAnimationRunner mRunner; field in RecentsAnimationController
343 mRunner = remoteAnimationRunner; in RecentsAnimationController()
498 mRunner.onAnimationStart(mController, appTargets, wallpaperTargets, contentInsets, in startAnimation()
517 if (mRunner != null) { in addTaskToTargets()
528 mRunner.onTaskAppeared(target); in addTaskToTargets()
614 mRunner.onAnimationCanceled(taskSnapshot);
626 mRunner.onAnimationCanceled(null /* taskSnapshot */);
724 mRunner = null;
760 mRunner.asBinder().linkToDeath(this, 0);
767 mRunner.asBinder().unlinkToDeath(this, 0);
/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.java107 private Thread mRunner; field in Instrumentation
161 if (mRunner != null) { in start()
164 mRunner = new InstrumentationThread("Instr: " + getClass().getName()); in start()
165 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