Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java130 private final BenchmarkRunner mRunner = new BenchmarkRunner(); field in UserLifecycleTests
132 public BenchmarkResultsReporter mReporter = new BenchmarkResultsReporter(mRunner);
180 while (mRunner.keepRunning()) { in createUser()
184 mRunner.pauseTiming(); in createUser()
187 mRunner.resumeTimingForNextIteration(); in createUser()
194 while (mRunner.keepRunning()) { in createUser_realistic()
198 mRunner.pauseTiming(); in createUser_realistic()
202 mRunner.resumeTimingForNextIteration(); in createUser_realistic()
209 while (mRunner.keepRunning()) { in createAndStartUser()
219 mRunner.pauseTiming(); in createAndStartUser()
[all …]
DBenchmarkResultsReporter.java34 private final BenchmarkRunner mRunner; field in BenchmarkResultsReporter
37 mRunner = benchmarkRunner; in BenchmarkResultsReporter()
51 error = mRunner.getErrorOrNull(); in apply()
63 final String summary = getSummaryString(methodName, mRunner.getStatsToLog()); in apply()
64 logSummary(tag, summary, mRunner.getAllDurations()); in apply()
68 stats = mRunner.getStatsToReport(); in apply()
/frameworks/base/core/java/android/window/
DBackAnimationAdapter.java28 private final IBackAnimationRunner mRunner; field in BackAnimationAdapter
31 mRunner = runner; in BackAnimationAdapter()
35 mRunner = IBackAnimationRunner.Stub.asInterface(in.readStrongBinder()); in BackAnimationAdapter()
39 return mRunner; in getRunner()
49 dest.writeStrongInterface(mRunner); in writeToParcel()
/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
86 mRunner = (ConnectivityManagerStressTestRunner) getInstrumentation(); in setUp()
87 mReconnectIterations = mRunner.getReconnectIterations(); in setUp()
88 mSsid = mRunner.getReconnectSsid(); in setUp()
89 mPassword = mRunner.getReconnectPassword(); in setUp()
90 mScanIterations = mRunner.getScanIterations(); in setUp()
91 mWifiSleepTime = mRunner.getSleepTime(); in setUp()
92 mWifiOnlyFlag = mRunner.isWifiOnly(); in setUp()
199 Settings.Global.putInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
202 Settings.Global.putInt(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep()
[all …]
/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/core/java/android/view/
DRemoteAnimationAdapter.java53 private final IRemoteAnimationRunner mRunner; field in RemoteAnimationAdapter
76 mRunner = runner; in RemoteAnimationAdapter()
96 mRunner = IRemoteAnimationRunner.Stub.asInterface(in.readStrongBinder()); in RemoteAnimationAdapter()
104 return mRunner; in getRunner()
157 dest.writeStrongInterface(mRunner); in writeToParcel()
/frameworks/native/libs/input/
DTfLiteMotionPredictor.cpp310 mRunner = mInterpreter->GetSignatureRunner(SIGNATURE_KEY); in TfLiteMotionPredictorModel()
311 LOG_ALWAYS_FATAL_IF(!mRunner, "Failed to find runner for signature '%s'", SIGNATURE_KEY); in TfLiteMotionPredictorModel()
319 if (mRunner->AllocateTensors() != kTfLiteOk) { in allocateTensors()
350 mInputR = findInputTensor(INPUT_R, mRunner); in attachInputTensors()
351 mInputPhi = findInputTensor(INPUT_PHI, mRunner); in attachInputTensors()
352 mInputPressure = findInputTensor(INPUT_PRESSURE, mRunner); in attachInputTensors()
353 mInputTilt = findInputTensor(INPUT_TILT, mRunner); in attachInputTensors()
354 mInputOrientation = findInputTensor(INPUT_ORIENTATION, mRunner); in attachInputTensors()
358 mOutputR = findOutputTensor(OUTPUT_R, mRunner); in attachOutputTensors()
359 mOutputPhi = findOutputTensor(OUTPUT_PHI, mRunner); in attachOutputTensors()
[all …]
/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 …]
/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/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationRunner.java45 private final IRemoteAnimationRunner mRunner; field in BackAnimationRunner
61 mRunner = runner; in BackAnimationRunner()
75 return mRunner; in getRunner()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java44 ConnectivityManagerTestRunner mRunner = in setUp() local
46 mSsid = mRunner.getWifiSsid(); in setUp()
47 mPassword = mRunner.getWifiPassword(); in setUp()
48 mWifiOnlyFlag = mRunner.isWifiOnly(); in setUp()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java64 private BandwidthTestRunner mRunner; field in BandwidthTest
70 mRunner = (BandwidthTestRunner) getInstrumentation(); in setUp()
71 mSsid = mRunner.mSsid; in setUp()
72 mTestServer = mRunner.mTestServer; in setUp()
73 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.java109 private IRecentsAnimationRunner mRunner; field in RecentsAnimationController
392 mRunner = remoteAnimationRunner; in RecentsAnimationController()
565 mRunner.onAnimationStart(mController, appTargets, wallpaperTargets, contentInsets, in startAnimation()
683 if (mRunner != null) { in addTaskToTargets()
696 if (mPendingTaskAppears.isEmpty() || mRunner == null) return; in sendTasksAppeared()
700 mRunner.onTasksAppeared(targets); in sendTasksAppeared()
839 mRunner.onAnimationCanceled(taskIds, snapshots);
854 mRunner.onAnimationCanceled(null /* taskIds */, null /* taskSnapshots */);
971 mRunner = null;
1013 mRunner.asBinder().linkToDeath(this, 0);
[all …]
/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.java56 MediaPlayerStressTestRunner mRunner = (MediaPlayerStressTestRunner)getInstrumentation(); in setUp() local
57 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/native/include/input/
DTfLiteMotionPredictor.h167 tflite::SignatureRunner* mRunner = nullptr; variable
/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()

12