/frameworks/native/services/inputflinger/tests/ |
D | InputProcessor_test.cpp | 61 std::unique_ptr<InputProcessorInterface> mProcessor; member in android::InputProcessorTest 63 void SetUp() override { mProcessor = std::make_unique<InputProcessor>(mTestListener); } in SetUp() 74 mProcessor->notifyConfigurationChanged(args); in TEST_F() 87 mProcessor->notifyKey(args); in TEST_F() 97 mProcessor->notifyMotion(motionArgs); in TEST_F() 109 mProcessor->notifySwitch(args); in TEST_F() 122 mProcessor->notifyDeviceReset(args); in TEST_F() 129 mProcessor->setMotionClassifierEnabled(true); in TEST_F() 133 mProcessor->setMotionClassifierEnabled(false); in TEST_F() 140 mProcessor->setMotionClassifierEnabled(true); in TEST_F() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | SpatializerPoseController.cpp | 105 mProcessor(createHeadTrackingProcessor(HeadTrackingProcessor::Options{ in SpatializerPoseController() 170 mProcessor->setPosePredictorType(posePredictorType); 219 mProcessor->recenter(true /* recenterHead */, false /* recenterScreen */, __func__); in setHeadSensor() 256 mProcessor->recenter(false /* recenterHead */, true /* recenterScreen */, __func__); in setScreenSensor() 261 mProcessor->setDesiredMode(mode); in setDesiredMode() 266 mProcessor->setScreenToStagePose(screenToStage); in setScreenToStagePose() 271 mProcessor->setDisplayOrientation(physicalToLogicalAngle); in setDisplayOrientation() 291 mProcessor->calculate(elapsedRealtimeNano()); in calculate_l() 292 headToStage = mProcessor->getHeadToStagePose(); in calculate_l() 293 mode = mProcessor->getActualMode(); in calculate_l() [all …]
|
D | SpatializerPoseController.h | 124 std::unique_ptr<media::HeadTrackingProcessor> mProcessor; variable
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | TestBase.java | 88 mRS = ipact.mProcessor.mRS; in createBaseTest() 90 mInPixelsAllocation = ipact.mProcessor.mInPixelsAllocation; in createBaseTest() 91 mInPixelsAllocation2 = ipact.mProcessor.mInPixelsAllocation2; in createBaseTest() 92 if (ipact.mProcessor.mOutDisplayAllocation1 == null) { in createBaseTest() 93 mOutPixelsAllocation = ipact.mProcessor.mOutDisplayAllocationIO; in createBaseTest() 95 mOutPixelsAllocation = ipact.mProcessor.mOutDisplayAllocation1; in createBaseTest()
|
D | ImageProcessingActivity2.java | 127 synchronized(mProcessor) { in run() 133 mProcessor.notifyAll(); in run() 135 mProcessor.mHandler.sendMessage(Message.obtain()); in run() 575 public Processor mProcessor; field in ImageProcessingActivity2 582 mProcessor.mHandler.sendMessage(Message.obtain()); in changeTest() 609 mProcessor.update(); in onProgressChanged() 696 mProcessor.exit(); in onPause() 744 mProcessor = new Processor(RenderScript.create(this), mDisplayViewIO, !mDemoMode); in startProcessor() 747 mProcessor = new Processor(RenderScript.create(this), !mDemoMode); in startProcessor() 750 mProcessor.mTest = changeTest(mTestList[0], true); in startProcessor() [all …]
|
D | Blend.java | 49 act.mProcessor.update();
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 51 ViewfinderProcessor mProcessor; field in CameraView 144 mProcessor = new ViewfinderProcessor(mRS, outputSize); in resume() 152 mProcessor.close(); in pause() 161 if (mProcessor == null || mPreviewSurface == null) return; in setupProcessor() 162 mProcessor.setOutputSurface(mPreviewSurface); in setupProcessor() 163 mProcessingNormalSurface = mProcessor.getInputSurface(); in setupProcessor() 299 mProcessor.changeEffectMode(); in changeEffectMode() 324 return mProcessor.getMode(); in getEffect() 345 if (mProcessor==null) { in getFps() 348 return mProcessor.getmFps(); in getFps()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionForwardProcessor.java | 41 private final IPreviewImageProcessorImpl mProcessor; field in CameraExtensionForwardProcessor 55 mProcessor = processor; in CameraExtensionForwardProcessor() 107 mProcessor.onOutputSurface(mIntermediateSurface, mOutputSurfaceFormat); in initializePipeline() 109 mProcessor.onImageFormatUpdate(CameraExtensionCharacteristics.PROCESSING_INPUT_FORMAT); in initializePipeline() 114 mProcessor.onResolutionUpdate(sz); in initializePipeline() 122 mProcessor.process(image, totalCaptureResult.getNativeMetadata(), in process()
|
D | CameraExtensionJpegProcessor.java | 55 private final ICaptureProcessorImpl mProcessor; field in CameraExtensionJpegProcessor 78 mProcessor = processor; in CameraExtensionJpegProcessor() 203 mProcessor.process(captureBundle, captureCallback, isPostviewRequested); in process() 256 mProcessor.onOutputSurface(mOutputSurface, mCaptureFormat); in initializePipeline() 267 mProcessor.onOutputSurface(mYuvReader.getSurface(), mFormat); in initializePipeline() 269 mProcessor.onResolutionUpdate(mResolution, mPostviewResolution); in initializePipeline() 270 mProcessor.onImageFormatUpdate(ImageFormat.YUV_420_888); in initializePipeline() 279 mProcessor.onPostviewOutputSurface(mPostviewOutputSurface); in initializePostviewPipeline() 289 mProcessor.onPostviewOutputSurface(mPostviewYuvReader.getSurface()); in initializePostviewPipeline() 291 mProcessor.onResolutionUpdate(mResolution, mPostviewResolution); in initializePostviewPipeline() [all …]
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 66 mProcessor = new Processor(RenderScript.create(this), !mDemoMode); in prepareInstrumentationTest() 230 public Processor mProcessor; field in BlasBenchmark 255 if (mProcessor != null) { in onPause() 256 mProcessor.exit(); in onPause() 286 mProcessor = new Processor(RenderScript.create(this), !mDemoMode); in onResume() 288 mProcessor.mTest = changeTest(mTestList[0], true); in onResume() 290 mProcessor.start(); in onResume()
|
D | TestBase.java | 40 mRS = ipact.mProcessor.mRS; in createBaseTest()
|
D | BlasTest.java | 72 mResult = mActivity.mProcessor.getInstrumentationResult(mTestName); in run()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | TestBase.java | 89 mRS = ipact.mProcessor.mRS; in createBaseTest() 91 mInPixelsAllocation = ipact.mProcessor.mInPixelsAllocation; in createBaseTest() 92 mInPixelsAllocation2 = ipact.mProcessor.mInPixelsAllocation2; in createBaseTest() 93 mOutPixelsAllocation = ipact.mProcessor.mOutPixelsAllocation; in createBaseTest()
|
D | ImageProcessingActivityJB.java | 134 synchronized(mProcessor) { in run() 140 mProcessor.notifyAll(); in run() 536 public Processor mProcessor; field in ImageProcessingActivityJB 566 mProcessor.update(); in onProgressChanged() 652 if (mProcessor != null) { in onPause() 653 mProcessor.exit(); in onPause() 654 mProcessor = null; in onPause() 700 mProcessor = new Processor(RenderScript.create(this), mDisplayView, !mDemoMode); in startProcessor() 704 mProcessor.mTest = changeTest(mTestList[0], true); in startProcessor() 770 mProcessor.setSurface(new Surface(surface)); in onSurfaceTextureAvailable() [all …]
|
D | ImageProcessingTest.java | 68 if (mActivity.mProcessor != null) { in tearDown() 69 mActivity.mProcessor.exit(); in tearDown() 70 mActivity.mProcessor = null; in tearDown() 82 mResult = mActivity.mProcessor.getInstrumentationResult(mTestName); in run()
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 150 mProcessor = std::make_unique<InputProcessor>(*mTracingStages.back()); in InputManager() 152 std::make_unique<TracedInputListener>("InputProcessor", *mProcessor)); in InputManager() 215 return *mProcessor; in getProcessor() 233 mProcessor->monitor(); in monitor() 247 mProcessor->dump(dump); in dump()
|
D | InputManager.h | 153 std::unique_ptr<InputProcessorInterface> mProcessor; variable
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraView.java | 51 ViewfinderProcessor mProcessor; field in CameraView 145 mProcessor = new ViewfinderProcessor(mRS, outputSize); in resume() 161 if (mProcessor == null || mPreviewSurface == null) return; in setupProcessor() 162 mProcessor.setOutputSurface(mPreviewSurface); in setupProcessor() 163 mProcessingNormalSurface = mProcessor.getInputSurface(); in setupProcessor() 337 return mProcessor.getmFps(); in getFps()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | AggregatedPowerStatsConfig.java | 75 private PowerStatsProcessor mProcessor = NO_OP_PROCESSOR; field in AggregatedPowerStatsConfig.PowerComponent 109 mProcessor = processor; in setProcessor() 144 return mProcessor; in getProcessor()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 55 protected final ShortcutRequestPinProcessor mProcessor; field in ShortcutRequestPinProcessor.PinItemRequestInner 64 mProcessor = processor; in PinItemRequestInner() 89 return mProcessor.isCallerUid(mLauncherUid); in isCallerValid() 132 mProcessor.sendResultIntent(mResultIntent, extras); in accept() 211 return mProcessor.directPinShortcut(this); in tryAccept()
|
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/ |
D | HdrPreviewExtenderImpl.java | 102 return mProcessor; in getProcessor() 113 private HdrPreviewProcessor mProcessor = new HdrPreviewProcessor(); field in HdrPreviewExtenderImpl 240 mProcessor.close(); in onDeInit()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | CpuPowerStatsProcessorTest.java | 81 private CpuPowerStatsProcessor mProcessor; field in CpuPowerStatsProcessorTest 90 mProcessor = new CpuPowerStatsProcessor( in setup() 131 mProcessor.finish(mStats, 10_000); in powerProfileModel() 176 mProcessor.finish(mStats, 10_000); in energyConsumerModel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest9.java | 55 private ShortcutRequestPinProcessor mProcessor; field in ShortcutManagerTest9 60 mProcessor = mService.getShortcutRequestPinProcessorForTest(); in initService()
|
D | ShortcutManagerTest8.java | 71 private ShortcutRequestPinProcessor mProcessor; field in ShortcutManagerTest8 76 mProcessor = mService.getShortcutRequestPinProcessorForTest(); in initService() 100 actual = mProcessor.getRequestPinConfirmationActivity(USER_0, in testIsRequestPinShortcutSupported() 108 actual = mProcessor.getRequestPinConfirmationActivity(USER_10, in testIsRequestPinShortcutSupported() 116 actual = mProcessor.getRequestPinConfirmationActivity(USER_P0, in testIsRequestPinShortcutSupported() 143 actual = mProcessor.getRequestPinConfirmationActivity(USER_10, in testIsRequestPinShortcutSupported() 151 assertNull(mProcessor.getRequestPinConfirmationActivity(USER_0, in testIsRequestPinShortcutSupported() 153 assertNull(mProcessor.getRequestPinConfirmationActivity(USER_P0, in testIsRequestPinShortcutSupported()
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 2345 private final PreviewImageProcessorImpl mProcessor; 2349 mProcessor = processor; 2355 mProcessor.onOutputSurface(surface, imageFormat); 2360 mProcessor.onResolutionUpdate(new android.util.Size(size.width, size.height)); 2365 mProcessor.onImageFormatUpdate(imageFormat); 2372 mProcessor.process(new ExtensionImage(image), 2376 mProcessor.process(new ExtensionImage(image), 2385 private final RequestUpdateProcessorImpl mProcessor; 2390 mProcessor = processor; 2396 mProcessor.onOutputSurface(surface, imageFormat); [all …]
|