Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 21 of 21) sorted by relevance

/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera2.cpp190 EmulatedCamera2 *getInstance(const camera2_device_t *d) { in getInstance() function
198 EmulatedCamera2 *ec = getInstance(d); in set_request_queue_src_ops()
204 EmulatedCamera2 *ec = getInstance(d); in notify_request_queue_not_empty()
211 EmulatedCamera2 *ec = getInstance(d); in set_frame_queue_dst_ops()
217 EmulatedCamera2 *ec = getInstance(d); in get_in_progress_count()
222 EmulatedCamera2 *ec = getInstance(d); in flush_captures_in_progress()
229 EmulatedCamera2 *ec = getInstance(d); in construct_default_request()
239 EmulatedCamera2 *ec = getInstance(d); in allocate_stream()
248 EmulatedCamera2 *ec = getInstance(d); in register_stream_buffers()
253 EmulatedCamera2 *ec = getInstance(d); in release_stream()
[all …]
DEmulatedCamera3.cpp180 EmulatedCamera3* getInstance(const camera3_device_t* d) { in getInstance() function
187 EmulatedCamera3* ec = getInstance(d); in initialize()
194 EmulatedCamera3* ec = getInstance(d); in configure_streams()
201 EmulatedCamera3* ec = getInstance(d); in register_stream_buffers()
207 EmulatedCamera3* ec = getInstance(d); in process_capture_request()
213 EmulatedCamera3* ec = getInstance(d); in construct_default_request_settings()
218 EmulatedCamera3* ec = getInstance(d); in dump()
223 EmulatedCamera3* ec = getInstance(d); in flush()
DPreviewWindow.cpp150 res = GrallocModule::getInstance().import(*buffer, &importedBuffer); in onNextFrameAvailable()
159 res = GrallocModule::getInstance().lock(importedBuffer, in onNextFrameAvailable()
181 GrallocModule::getInstance().unlock(importedBuffer); in onNextFrameAvailable()
182 GrallocModule::getInstance().release(importedBuffer); in onNextFrameAvailable()
DGrallocModule.h26 static GrallocModule &getInstance() { in getInstance() function
DEmulatedFakeCamera3.cpp890 res = GrallocModule::getInstance().import(*(destBuf.buffer), in processCaptureRequest()
905 res = GrallocModule::getInstance().lock_ycbcr( in processCaptureRequest()
918 res = GrallocModule::getInstance().lock( in processCaptureRequest()
921 res = GrallocModule::getInstance().lock( in processCaptureRequest()
935 GrallocModule::getInstance().unlock((*sensorBuffers)[i].importedBuffer); in processCaptureRequest()
936 GrallocModule::getInstance().release((*sensorBuffers)[i].importedBuffer); in processCaptureRequest()
2629 GrallocModule::getInstance().unlock(sensorBuffer.importedBuffer); in threadLoop()
2630 GrallocModule::getInstance().release(sensorBuffer.importedBuffer); in threadLoop()
2644 GrallocModule::getInstance().unlock(jpegBuffer.importedBuffer); in onJpegDone()
2645 GrallocModule::getInstance().release(jpegBuffer.importedBuffer); in onJpegDone()
DEmulatedFakeCamera2.cpp1060 res = GrallocModule::getInstance().import(*(b.buffer), &b.importedBuffer); in getBuffers()
1073 res = GrallocModule::getInstance().lock( in getBuffers()
1099 res = GrallocModule::getInstance().import(*(b.buffer), &b.importedBuffer); in getBuffers()
1112 res = GrallocModule::getInstance().lock( in getBuffers()
1379 GrallocModule::getInstance().unlock(b.importedBuffer); in threadLoop()
1380 GrallocModule::getInstance().release(b.importedBuffer); in threadLoop()
1422 GrallocModule::getInstance().unlock(jpegBuffer.importedBuffer); in onJpegDone()
1423 GrallocModule::getInstance().release(jpegBuffer.importedBuffer); in onJpegDone()
1431 GrallocModule::getInstance().unlock(inputBuffer.importedBuffer); in onJpegInputDone()
1432 GrallocModule::getInstance().release(inputBuffer.importedBuffer); in onJpegInputDone()
/device/generic/goldfish/camera/
DEmulatedCamera2.cpp217 EmulatedCamera2* getInstance(const camera2_device_t *d) { in getInstance() function
224 EmulatedCamera2* ec = getInstance(d); in set_request_queue_src_ops()
230 EmulatedCamera2* ec = getInstance(d); in notify_request_queue_not_empty()
236 EmulatedCamera2* ec = getInstance(d); in set_frame_queue_dst_ops()
242 EmulatedCamera2* ec = getInstance(d); in get_in_progress_count()
247 EmulatedCamera2* ec = getInstance(d); in flush_captures_in_progress()
254 EmulatedCamera2* ec = getInstance(d); in construct_default_request()
267 EmulatedCamera2* ec = getInstance(d); in allocate_stream()
276 EmulatedCamera2* ec = getInstance(d); in register_stream_buffers()
283 EmulatedCamera2* ec = getInstance(d); in release_stream()
[all …]
DEmulatedCamera3.cpp188 EmulatedCamera3* getInstance(const camera3_device_t *d) { in getInstance() function
195 EmulatedCamera3* ec = getInstance(d); in initialize()
201 EmulatedCamera3* ec = getInstance(d); in configure_streams()
208 EmulatedCamera3* ec = getInstance(d); in register_stream_buffers()
215 EmulatedCamera3* ec = getInstance(d); in process_capture_request()
221 EmulatedCamera3* ec = getInstance(d); in construct_default_request_settings()
226 EmulatedCamera3* ec = getInstance(d); in dump()
231 EmulatedCamera3* ec = getInstance(d); in flush()
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/
Dgoldfish_vpx_impl.cpp45 auto transport = GoldfishMediaTransport::getInstance(); in sendVpxOperation()
53 auto transport = GoldfishMediaTransport::getInstance(); in vpx_codec_destroy()
63 auto transport = GoldfishMediaTransport::getInstance(); in vpx_codec_dec_init()
111 auto transport = GoldfishMediaTransport::getInstance(); in vpx_codec_get_frame()
137 auto transport = GoldfishMediaTransport::getInstance(); in vpx_codec_flush()
150 auto transport = GoldfishMediaTransport::getInstance(); in vpx_codec_decode()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DMediaH264Decoder.cpp43 auto transport = GoldfishMediaTransport::getInstance(); in initH264Context()
73 auto transport = GoldfishMediaTransport::getInstance(); in resetH264Context()
93 auto transport = GoldfishMediaTransport::getInstance(); in destroyH264Context()
108 auto transport = GoldfishMediaTransport::getInstance(); in decodeFrame()
134 auto transport = GoldfishMediaTransport::getInstance(); in flush()
147 auto transport = GoldfishMediaTransport::getInstance(); in getImage()
185 auto transport = GoldfishMediaTransport::getInstance(); in renderOnHostAndReturnImageMetadata()
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp284 mError = GrallocHalWrapper::getInstance().registerBuffer(mNativeHandle); in GrallocDirectChannel()
290 mError = GrallocHalWrapper::getInstance().lock(mNativeHandle, in GrallocDirectChannel()
317 GrallocHalWrapper::getInstance().unlock(mNativeHandle); in ~GrallocDirectChannel()
320 GrallocHalWrapper::getInstance().unregisterBuffer(mNativeHandle); in ~GrallocDirectChannel()
321 if (!GrallocHalWrapper::getInstance().unregisterImplyDelete()) { in ~GrallocDirectChannel()
331 GrallocHalWrapper::getInstance().isSameMemory(mem->handle, mNativeHandle); in memoryMatches()
Dhubconnection.h54 static HubConnection *getInstance();
Dsensors.cpp48 mHubConnection(HubConnection::getInstance()) { in SensorContext()
Dhubconnection.cpp92 HubConnection *HubConnection::getInstance() in getInstance() function in android::HubConnection
/device/generic/goldfish/gnss/
Dmain.cpp28 auto serviceRegistrar = ::android::hardware::LazyServiceRegistrar::getInstance(); in main()
/device/google/contexthub/lefty/
DLefty.cpp27 Lefty::Lefty() : mHubConnection(HubConnection::getInstance()) { in Lefty()
/device/google/cuttlefish/guest/hals/health/storage/
Dservice.cpp35 auto serviceRegistrar = LazyServiceRegistrar::getInstance(); in main()
/device/generic/goldfish-opengl/system/codecs/omx/common/
Dgoldfish_media_utils.h94 static GoldfishMediaTransport* getInstance();
Dgoldfish_media_utils.cpp143 GoldfishMediaTransport* GoldfishMediaTransport::getInstance() { in getInstance() function in GoldfishMediaTransport
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DBootReporter.java116 String date = df.format(Calendar.getInstance().getTime()); in reportMessage()
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java53 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in update()