Home
last modified time | relevance | path

Searched refs:mErrorServiceConnection (Results 1 – 7 of 7) sorted by relevance

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera1Activity.java34 ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in Camera1Activity
40 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(this); in onCreate()
41 mErrorServiceConnection.start(); in onCreate()
54 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
61 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_EVICTED, in onResume()
65 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, in onResume()
71 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_CONNECT, in onResume()
74 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
90 if (mErrorServiceConnection != null) { in onDestroy()
91 mErrorServiceConnection.stop(); in onDestroy()
[all …]
DCamera2Activity.java41 ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in Camera2Activity
67 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(this); in onCreate()
68 mErrorServiceConnection.start(); in onCreate()
77 mErrorServiceConnection.logAsync(TestConstants.EVENT_ACTIVITY_PAUSED, ""); in onPause()
88 mErrorServiceConnection.logAsync(TestConstants.EVENT_ACTIVITY_RESUMED, in onResume()
96 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
104 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
120 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
139 mErrorServiceConnection.logAsync( in onTopResumedActivityChanged()
142 mErrorServiceConnection.logAsync( in onTopResumedActivityChanged()
[all …]
DSharedCameraActivity.java75 ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in SharedCameraActivity
115 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(this); in onCreate()
116 mErrorServiceConnection.start(); in onCreate()
125 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG in onResume()
142 if (mErrorServiceConnection != null) { in onDestroy()
143 mErrorServiceConnection.stop(); in onDestroy()
144 mErrorServiceConnection = null; in onDestroy()
158 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_CONNECT, mChosenCameraId); in onOpened()
167 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_CONNECT_SHARED_PRIMARY, in onOpenedInSharedMode()
170 mErrorServiceConnection.logAsync( in onOpenedInSharedMode()
[all …]
DMediaRecorderCameraActivity.java48 private ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in MediaRecorderCameraActivity
60 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(this); in onCreate()
61 mErrorServiceConnection.start(); in onCreate()
89 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
105 if (mErrorServiceConnection != null) { in onDestroy()
106 mErrorServiceConnection.stop(); in onDestroy()
107 mErrorServiceConnection = null; in onDestroy()
136 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in surfaceChanged()
153 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_CONNECT, in surfaceChanged()
156 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in surfaceChanged()
DCameraEvictionTest.java79 ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in CameraEvictionTest
162 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(mContext); in setUp()
163 mErrorServiceConnection.start(); in setUp()
175 if (mErrorServiceConnection != null) { in tearDown()
176 mErrorServiceConnection.stop(); in tearDown()
177 mErrorServiceConnection = null; in tearDown()
252 … List<ErrorLoggingService.LogEvent> allEvents = mErrorServiceConnection.getLog(SETUP_TIMEOUT, in testBasicCamera2ActivityEvictionInternal()
312 eventList2 = mErrorServiceConnection.getLog(EVICTION_TIMEOUT); in testBasicCamera2ActivityEvictionInternal()
409 List<ErrorLoggingService.LogEvent> allEvents = mErrorServiceConnection.getLog(SETUP_TIMEOUT, in testCamera2AccessCallbackInSplitMode()
440 allEvents = mErrorServiceConnection.getLog(SETUP_TIMEOUT, in testCamera2AccessCallbackInSplitMode()
[all …]
DSharedCameraTest.java71 private ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in SharedCameraTest
130 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(mContext); in setUp()
131 mErrorServiceConnection.start(); in setUp()
176 if (mErrorServiceConnection != null) { in tearDown()
177 mErrorServiceConnection.stop(); in tearDown()
178 mErrorServiceConnection = null; in tearDown()
391 eventList2 = mErrorServiceConnection.getLog(EVICTION_TIMEOUT); in testCameraDeviceSharingSupported()
724 mErrorServiceConnection.getLog(SETUP_TIMEOUT, expectedEvent); in openSharedCameraJavaClient()
750 mErrorServiceConnection.getLog( in startPreviewJavaClient()
773 mErrorServiceConnection.getLog( in stopPreviewJavaClient()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2OfflineTestActivity.java42 ErrorLoggingService.ErrorServiceConnection mErrorServiceConnection; field in Camera2OfflineTestActivity
48 mErrorServiceConnection = new ErrorLoggingService.ErrorServiceConnection(this); in onCreate()
49 mErrorServiceConnection.start(); in onCreate()
67 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
74 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
81 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_ERROR, TAG + in onResume()
90 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_AVAILABLE, in onResume()
98 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_UNAVAILABLE, in onResume()
106 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_AVAILABLE, in onResume()
114 mErrorServiceConnection.logAsync(TestConstants.EVENT_CAMERA_UNAVAILABLE, in onResume()
[all …]