Home
last modified time | relevance | path

Searched refs:mCollector (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java282 mCollector.expectEquals("AWB mode in result and request should be same", in takePictureTestByCamera()
288 mCollector.expectEquals("AWB regions in result and request should be same", in takePictureTestByCamera()
326 mCollector.expectEquals("AE mode in result and request should be same", in takePictureTestByCamera()
333 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
348 mCollector.expectEquals("AF mode in result and request should be same", in takePictureTestByCamera()
354 mCollector.expectMeteringRegionsAreSimilar( in takePictureTestByCamera()
484 Rational[] neutralColorPoint = mCollector.expectKeyValueNotNull("NeutralColorPoint", in verifyRawCaptureResult()
487 mCollector.expectEquals("NeutralColorPoint length", empty.length, in verifyRawCaptureResult()
489 mCollector.expectNotEquals("NeutralColorPoint cannot be all zeroes, ", empty, in verifyRawCaptureResult()
491 mCollector.expectValuesGreaterOrEqual("NeutralColorPoint", neutralColorPoint, in verifyRawCaptureResult()
[all …]
DCamera2CaptureRequestTest.java237 mCollector.expectKeyValueEquals( in autoAeMultipleCapturesThenTestLock()
249 mCollector.expectKeyValueEquals( in autoAeMultipleCapturesThenTestLock()
251 mCollector.expectKeyValueEquals( in autoAeMultipleCapturesThenTestLock()
387 mCollector.expectTrue("Exposture time is invalid for AE manaul control test, request: " in validateExposureTime()
402 mCollector.expectTrue("Sensitivity is invalid for AE manaul control test, request: " in validateSensitivity()
421 mCollector.expectTrue(String.format("Frame duration (%d) should be longer than exposure" in validateFrameDurationForCapture()
437 mCollector.expectInRange(String.format("Pipeline depth must be in the range of [%d, %d]", in validatePipelineDepth()
DCamera2RecordingTest.java225 mCollector.expectTrue("Unable to find the fixed frame rate fps range for " + in constrainedHighSpeedRecording()
564 mCollector.addMessage("Video size " + videoSz.toString() + " for profile ID " + in videoSnapshotTestByCamera()
733 mCollector.expectLessOrEqual( in videoSnapshotTestByCamera()
1025 mCollector.expectTrue(
1045 mCollector.expectTrue(
DCamera2ReprocessCaptureTest.java354 mCollector.expectImageProperties("testReprocessMixedBurst", reprocessedImage, in testReprocessMixedBurst()
413 mCollector.expectImageProperties("testReprocessBurst", reprocessedImage, in testReprocessBurst()
474 mCollector.expectImageProperties("testReprocess", reprocessedImage, in testReprocess()
699 setJpegKeys(builder, EXIF_TEST_DATA[i], testThumbnailSizes[i], mCollector); in testReprocessJpegExif()
715 testThumbnailSizes[i], EXIF_TEST_DATA[i], mStaticInfo, mCollector); in testReprocessJpegExif()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsCollectorTest.java62 private PowerStatsCollector mCollector; field in PowerStatsCollectorTest
69 mCollector = new PowerStatsCollector(mHandler, 60000, mock(PowerStatsUidResolver.class), in setup()
77 mCollector.addConsumer(stats -> mCollectedStats = stats); in setup()
78 mCollector.setEnabled(true); in setup()
84 mCollector.schedule(); in throttlePeriod()
91 mCollector.schedule(); // Should be throttled in throttlePeriod()
98 mCollector.schedule(); in throttlePeriod()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java35 private FrameStatsCollector mCollector; field in CollectorThread
107 mAttachedWindow.removeOnFrameMetricsAvailableListener(mCollector); in attachToWindow()
111 window.addOnFrameMetricsAvailableListener(mCollector, new Handler(getLooper())); in attachToWindow()
117 mAttachedWindow.removeOnFrameMetricsAvailableListener(mCollector); in detachFromWindow()
127 mCollector = new FrameStatsCollector(); in onLooperPrepared()
/frameworks/native/services/inputflinger/
DInputManager.cpp145 mCollector = std::make_unique<InputDeviceMetricsCollector>(*mTracingStages.back()); in InputManager()
147 std::make_unique<TracedInputListener>("MetricsCollector", *mCollector)); in InputManager()
219 return *mCollector; in getMetricsCollector()
235 mCollector->monitor(); in monitor()
250 mCollector->dump(dump); in dump()
DInputManager.h155 std::unique_ptr<InputDeviceMetricsCollectorInterface> mCollector; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java71 @Mock private AppCollector mCollector; field in DiskStatsLoggingServiceTest
96 task.setAppCollector(mCollector); in testEmptyLog()
135 when(mCollector.getPackageStats(anyLong())).thenReturn(apps); in testPopulatedLogTask()
138 task.setAppCollector(mCollector); in testPopulatedLogTask()
164 when(mCollector.getPackageStats(anyInt())).thenReturn(null); in testDontCrashOnPackageStatsTimeout()
167 task.setAppCollector(mCollector); in testDontCrashOnPackageStatsTimeout()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java129 private AppCollector mCollector; field in DiskStatsLoggingService.LogRunnable
140 mCollector = collector; in setAppCollector()
174 List<PackageStats> stats = mCollector.getPackageStats(TIMEOUT_MILLIS); in run()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationDebug.java58 private final DomainVerificationCollector mCollector; field in DomainVerificationDebug
61 mCollector = collector; in DomainVerificationDebug()
173 ArraySet<String> declaredDomains = mCollector.collectValidAutoVerifyDomains(pkg); in printState()
198 final ArraySet<String> invalidDomains = mCollector.collectInvalidAutoVerifyDomains(pkg); in printState()
234 ArraySet<String> allWebDomains = mCollector.collectAllWebDomains(pkg); in printState()
DDomainVerificationService.java145 private final DomainVerificationCollector mCollector; field in DomainVerificationService
175 mCollector = new DomainVerificationCollector(platformCompat, systemConfig); in DomainVerificationService()
176 mSettings = new DomainVerificationSettings(mCollector); in DomainVerificationService()
178 mDebug = new DomainVerificationDebug(mCollector); in DomainVerificationService()
378 ArraySet<String> domains = mCollector.collectValidAutoVerifyDomains(pkg); in getDomainVerificationInfo()
499 mCollector.collectValidAutoVerifyDomains(pkg); in setDomainVerificationStatusInternal()
526 validDomains = mCollector.collectValidAutoVerifyDomains(pkg); in setDomainVerificationStatusInternal()
529 validDomains.retainAll(mCollector.collectValidAutoVerifyDomains(pkg)); in setDomainVerificationStatusInternal()
728 domains == null ? mCollector.collectAllWebDomains(pkg) : domains; in setDomainVerificationUserSelectionInternal()
730 validDomains.retainAll(mCollector.collectAllWebDomains(pkg)); in setDomainVerificationUserSelectionInternal()
[all …]
DDomainVerificationSettings.java48 private final DomainVerificationCollector mCollector; field in DomainVerificationSettings
78 mCollector = collector; in DomainVerificationSettings()
223 ? Collections.emptySet() : mCollector.collectValidAutoVerifyDomains(pkg); in mergePkgState()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/
DDomainVerificationProxyV1.java74 private final DomainVerificationCollector mCollector; field in DomainVerificationProxyV1
94 mCollector = collector; in DomainVerificationProxyV1()
291 ArraySet<String> domains = mCollector.collectValidAutoVerifyDomains(pkg); in buildHostsString()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java116 protected CameraErrorCollector mCollector; field in Camera2SurfaceViewTestCase
170 mCollector = new CameraErrorCollector(); in setUp()
191 mCollector.verify(); in tearDown()
607 mCollector.setCameraId(cameraId); in openDevice()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java77 private final CameraErrorCollector mCollector; field in StaticMetadata
183 mCollector = collector; in StaticMetadata()
2411 mCollector.addMessage(failureCause); in failKeyCheck()