OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CameraID
(Results
1 - 3
of
3
) sorted by null
/device/generic/goldfish/camera/
EmulatedCameraHotplugThread.h
48
int
CameraID
;
52
bool addWatch(int
cameraId
);
53
bool removeWatch(int
cameraId
);
54
SubscriberInfo* getSubscriberInfo(int
cameraId
);
59
String8 getFilePath(int
cameraId
) const;
62
bool createFileIfNotExists(int
cameraId
) const;
EmulatedCameraHotplugThread.cpp
77
__FUNCTION__, it->
CameraID
, strerror(errno),
83
__FUNCTION__, it->
CameraID
);
123
int
cameraId
= *it;
124
if (!addWatch(
cameraId
)) {
178
int
cameraId
= getCameraId(event->wd);
180
if (
cameraId
< 0) {
185
String8 filePath = getFilePath(
cameraId
);
201
gEmulatedCameraFactory.onStatusChanged(
cameraId
,
222
String8 EmulatedCameraHotplugThread::getFilePath(int
cameraId
) const {
223
return String8::format(FAKE_HOTPLUG_FILE ".%d",
cameraId
);
[
all
...]
/hardware/libhardware/tests/camera2/
CameraModuleFixture.h
37
CameraModuleFixture(int
CameraID
= -1) {
40
mCameraID =
CameraID
;
86
void CreateCamera(int
cameraID
, /*out*/ sp<CameraDeviceBase> *device) {
88
ASSERT_EQ(OK, mModule->get_camera_info(
cameraID
, &info));
91
"Device version too old for camera " <<
cameraID
<< ". Version: " <<
96
*device = new Camera2Device(
cameraID
);
99
*device = new Camera3Device(
cameraID
);
103
FAIL() << "Device version unknown for camera " <<
cameraID
<< ". Version: " <<
113
int getDeviceVersion(int
cameraId
, status_t* status = NULL) {
116
res = mModule->get_camera_info(
cameraId
, &info)
[
all
...]
Completed in 55 milliseconds