Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 25 of 34) sorted by relevance

12

/hardware/intel/img/hwcomposer/common/observers/
DVsyncEventObserver.cpp28 mDevice(IDisplayDevice::DEVICE_COUNT), in VsyncEventObserver()
50 mDevice = mDisplayDevice.getType(); in initialize()
88 ALOGTRACE("enabled = %d on device %d", enabled, mDevice); in control()
95 bool ret = mVsyncControl->control(mDevice, enabled); in control()
97 ELOGTRACE("failed to control (%d) vsync on display %d", enabled, mDevice); in control()
122 bool ret = mVsyncControl->wait(mDevice, timestamp); in threadLoop()
124 … WLOGTRACE("failed to wait for vsync on display %d, vsync enabled %d", mDevice, mEnabled); in threadLoop()
DSoftVsyncObserver.cpp30 mDevice(IDisplayDevice::DEVICE_COUNT), in SoftVsyncObserver()
57 mDevice = mDisplayDevice.getType(); in initialize()
DVsyncEventObserver.h42 int mDevice; variable
DSoftVsyncObserver.h39 int mDevice; variable
/hardware/libhardware/tests/camera2/
DCameraFrameTests.cpp68 if (mDevice.get()) { in ~CameraFrameTest()
69 mDevice->waitUntilDrained(); in ~CameraFrameTest()
90 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in TEST_P()
111 ASSERT_EQ(OK, mDevice->capture(tmpRequest)); in TEST_P()
116 ASSERT_EQ(OK, mDevice->waitForNextFrame(CAMERA_FRAME_TIMEOUT)); in TEST_P()
119 ASSERT_EQ(OK, mDevice->getNextResult(&result)); in TEST_P()
DCameraModuleFixture.h49 const CameraMetadata& staticInfo = mDevice->info(); in GetStaticEntry()
79 mDevice.clear(); in TearDown()
136 CreateCamera(mCameraID, &mDevice); in SetUpMixin()
138 ASSERT_TRUE(mDevice != NULL) << "Failed to open device " << mCameraID; in SetUpMixin()
139 ASSERT_EQ(OK, mDevice->initialize(mModule)) in SetUpMixin()
151 sp<CameraDeviceBase> mDevice; member
DCameraMultiStreamTests.cpp180 : mDevice(device), in CameraStream()
210 mDevice->createStream(mNativeWindow, in SetUp()
223 if (mDevice.get()) { in ~CameraStream()
224 mDevice->waitUntilDrained(); in ~CameraStream()
225 mDevice->deleteStream(mStreamId); in ~CameraStream()
236 sp<CameraDeviceBase> mDevice; member
282 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in CreateRequests()
296 ASSERT_EQ(OK, mDevice->createDefaultRequest( in CreateRequests()
315 ASSERT_EQ(OK, mDevice->createDefaultRequest( in CreateRequests()
358 ASSERT_EQ(OK, mDevice->capture(request)); in CaptureBurst()
[all …]
Dcamera2.cpp194 if (mDevice != NULL) { in setUpCamera()
195 closeCameraDevice(&mDevice); in setUpCamera()
198 mDevice = openCameraDevice(mId); in setUpCamera()
199 ASSERT_TRUE(NULL != mDevice) << "Failed to open camera device"; in setUpCamera()
207 res = configureCameraDevice(mDevice, in setUpCamera()
222 res = stream->connectToDevice(mDevice, width, height, format); in setUpStream()
291 while (mDevice->ops->get_in_progress_count(mDevice) > 0) { in waitUntilDrained()
296 mDevice->ops->get_in_progress_count(mDevice), totalTime); in waitUntilDrained()
315 mDevice = NULL; in SetUp()
324 if (mDevice != NULL) { in TearDown()
[all …]
Dcamera2_utils.cpp35 mDevice(NULL), in MetadataQueue()
61 mDevice = d; in setFromConsumerInterface()
76 if (mSignalConsumer && mDevice != NULL) { in enqueue()
81 mDevice->ops->notify_request_queue_not_empty(mDevice); in enqueue()
320 mState(UNINITIALIZED), mDevice(NULL), in StreamAdapter()
364 mDevice = d; in connectToDevice()
440 res = mDevice->ops->register_stream_buffers(mDevice, in connectToDevice()
466 res = mDevice->ops->release_stream(mDevice, mId); in disconnect()
DCameraModuleTests.cpp51 stat = mDevice->initialize(mModule); in initializeDevice()
70 CreateCamera(i, &mDevice); in TEST_F()
73 mDevice.clear(); in TEST_F()
DCameraMetadataTests.cpp68 const CameraMetadata& staticInfo = mDevice->info(); in GetTypeFromStaticTag()
74 const CameraMetadata& staticInfo = mDevice->info(); in GetEntryCountFromStaticTag()
80 const CameraMetadata& staticInfo = mDevice->info(); in HasElementInArrayFromStaticTag()
DCameraBurstTests.cpp87 if (mDevice.get()) { in ~CameraBurstTest()
88 mDevice->waitUntilDrained(); in ~CameraBurstTest()
189 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in TEST_F()
226 ASSERT_EQ(OK, mDevice->capture(tmpRequest)); in TEST_F()
235 ASSERT_EQ(OK, mDevice->waitForNextFrame(CAMERA_FRAME_TIMEOUT)); in TEST_F()
238 ASSERT_EQ(OK, mDevice->getNextResult(&result)); in TEST_F()
590 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in TEST_F()
625 ASSERT_EQ(OK, mDevice->capture(tmpRequest)); in TEST_F()
648 ASSERT_EQ(OK, mDevice->waitForNextFrame(waitLimit)); in TEST_F()
651 ASSERT_EQ(OK, mDevice->getNextResult(&result)); in TEST_F()
DCameraStreamFixture.h96 sp<CameraDeviceBase> device = mDevice; in SetUp()
161 sp<CameraDeviceBase> device = mDevice; in CreateStream()
187 ASSERT_EQ(OK, mDevice->deleteStream(mStreamId)); in DeleteStream()
Dcamera2_utils.h70 camera2_device_t *mDevice; variable
192 camera2_device_t *mDevice; variable
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalCooling.java99 ThermalCoolingDevice mDevice = null; field in ThermalCooling.ThermalParser
127 mDevice = null; in ThermalParser()
241 if (mDevice == null) { in processMetaTag()
246 mDevice.setThrottleValuesList(tempList); in processMetaTag()
278 if (mDevice == null) in processStartElement()
279 mDevice = new ThermalCoolingDevice(); in processStartElement()
318 if (name.equalsIgnoreCase("CDeviceName") && mDevice != null) { in processStartElement()
319 mDevice.setDeviceName(mParser.nextText()); in processStartElement()
320 } else if (name.equalsIgnoreCase("CDeviceID") && mDevice != null) { in processStartElement()
321 mDevice.setDeviceId(Integer.parseInt(mParser.nextText())); in processStartElement()
[all …]
/hardware/libhardware/modules/camera/
DCamera.cpp61 memset(&mDevice, 0, sizeof(mDevice)); in Camera()
62 mDevice.common.tag = HARDWARE_DEVICE_TAG; in Camera()
63 mDevice.common.version = CAMERA_DEVICE_API_VERSION_3_0; in Camera()
64 mDevice.common.close = close_device; in Camera()
65 mDevice.ops = const_cast<camera3_device_ops_t*>(&sOps); in Camera()
66 mDevice.priv = this; in Camera()
89 mDevice.common.module = const_cast<hw_module_t*>(module); in open()
90 *device = &mDevice.common; in open()
100 info->device_version = mDevice.common.version; in getInfo()
DCamera.h68 camera3_device_t mDevice;
/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.cpp225 mDevice = devices; in set()
260 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice); in dump()
279 mDevice = device; in setParameters()
296 param.addInt(key, (int)mDevice); in getParameters()
335 mDevice = devices; in set()
368 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice); in dump()
387 mDevice = device; in setParameters()
404 param.addInt(key, (int)mDevice); in getParameters()
DAudioDumpInterface.h58 uint32_t device() { return mDevice; } in device()
69 uint32_t mDevice; // current device this output is routed to variable
101 uint32_t device() { return mDevice; } in device()
109 uint32_t mDevice; // current device this output is routed to variable
DA2dpAudioInterface.cpp228 mBluetoothEnabled(true), mDevice(0), mClosing(false), mSuspended(false) in A2dpAudioStreamOut()
263 mDevice = device; in set()
402 mDevice = device; in setParameters()
428 param.addInt(key, (int)mDevice); in getParameters()
DAudioPolicyManagerBase.cpp469 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) { in setForceUse()
471 inputDesc->mDevice, newDevice, activeInput); in setForceUse()
472 inputDesc->mDevice = newDevice; in setForceUse()
550 outputDesc->mDevice = mTestDevice; in getOutput()
557 mTestOutputs[mCurOutput] = mpClientInterface->openOutput(0, &outputDesc->mDevice, in getOutput()
621 outputDesc->mDevice = device; in getOutput()
631 &outputDesc->mDevice, in getOutput()
950 inputDesc->mDevice = device; in getInput()
957 &inputDesc->mDevice, in getInput()
997 if (!isVirtualInputDevice(inputDesc->mDevice) && activeInput != 0) { in startInput()
[all …]
DAudioHardwareGeneric.h67 uint32_t mDevice; variable
102 uint32_t mDevice; variable
/hardware/intel/img/hwcomposer/common/planes/
DDisplayPlane.cpp29 mDevice(disp), in DisplayPlane()
336 mDevice = disp; in assignToDevice()
339 if (!drm->getModeInfo(mDevice, mModeInfo)) { in assignToDevice()
343 mPanelOrientation = drm->getPanelOrientation(mDevice); in assignToDevice()
/hardware/intel/img/hwcomposer/common/base/
DHwcLayer.cpp58 mDevice(0), in HwcLayer()
102 mDevice = device; in attachPlane()
116 mDevice = 0; in detachPlane()
DHwcLayer.h97 int mDevice; variable

12