/device/generic/goldfish/camera/ |
H A D | EmulatedCameraHotplugThread.cpp | 46 int id = cameraIdArray[i]; local 48 if (createFileIfNotExists(id)) { 49 mSubscribedCameraIds.push_back(id);
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
H A D | GLEncoder.cpp | 350 void GLEncoder::s_glBindBuffer(void *self, GLenum target, GLuint id) argument 354 ctx->m_state->bindBuffer(target, id); 356 ctx->m_glBindBuffer_enc(self, target, id);
|
/device/google/contexthub/contexthubhal/ |
H A D | system_comms.cpp | 42 name.id = buf.readU64(); 47 buf.writeU64(name.id); 119 hub_app_name_t res = { .id = le64toh(src.id) }; 125 hub_app_name_t res = { .id = htole64(src.id) }; 559 if (msg->hdr.appId != mHostIfAppName.id) 622 int SystemComm::SessionManager::setup_and_add(int id, Session *session, const hub_message_t *appMsg) argument 631 if (sessions_.count(id) == 0 && !session->isRunning()) { 632 sessions_[id] [all...] |
/device/google/contexthub/firmware/os/core/ |
H A D | timer.c | 43 uint16_t id; /* 0 for disabled */ member in struct:Timer 67 if (mTimers[i].id == timId) 85 ((TimTimerCbkF)taggedPtrToPtr(callInfo))(tim->id, tim->callData); 89 evt->timerId = tim->id; 118 if (!tim->id) 128 tim->id = 0; 185 t->id = timId; 221 return evt->timerId == t->id; 232 t->id = 0; /* this disables it */ 266 tim->id [all...] |
/device/google/contexthub/firmware/os/drivers/hall/ |
H A D | hall.c | 55 uint32_t id; member in struct:SensorTask 209 mTask.id = taskId;
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
H A D | hall_twopole.c | 65 uint32_t id; member in struct:SensorTask 225 mTask.id = taskId;
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
H A D | vsync.c | 73 uint32_t id; member in struct:SensorTask 198 mTask.id = taskId;
|
/device/google/marlin/camera/QCamera2/HAL/ |
H A D | QCameraMuxer.h | 45 uint32_t id; member in struct:qcamera::__anon473 74 uint32_t id; member in struct:qcamera::__anon474 116 // frame id of the Jpeg. this is needed for frame sync between aux 147 const char* id, uint32_t halVersion, struct hw_device_t** device); 150 const char* id,
|
/device/google/marlin/camera/QCamera2/ |
H A D | QCamera2Factory.cpp | 238 const char* id, uint32_t halVersion, struct hw_device_t** device) 246 if (!id) { 247 LOGE("Invalid camera id"); 251 rc = gQCameraMuxer->open_legacy(module, id, halVersion, device); 253 rc = gQCamera2Factory->openLegacy(atoi(id), halVersion, device); 319 LOGI("Camera id %d API version %d", 385 LOGI("Open camera id %d API version %d", 410 LOGE("Device version for camera id %d invalid %d", 433 const struct hw_module_t *module, const char *id, 442 if (!id) { 237 open_legacy(const struct hw_module_t* module, const char* id, uint32_t halVersion, struct hw_device_t** device) argument 432 camera_device_open( const struct hw_module_t *module, const char *id, struct hw_device_t **hw_device) argument [all...] |
/device/linaro/bootloader/arm-trusted-firmware/common/auth/polarssl/ |
H A D | polarssl.c | 480 * The id parameter will indicate the expected format of the object 485 static int polarssl_mod_verify(unsigned int id, uintptr_t obj, size_t len) argument 489 switch (id) {
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/ |
H A D | gic_v2.c | 41 unsigned int gicd_read_igroupr(unsigned int base, unsigned int id) argument 43 unsigned n = id >> IGROUPR_SHIFT; 47 unsigned int gicd_read_isenabler(unsigned int base, unsigned int id) argument 49 unsigned n = id >> ISENABLER_SHIFT; 53 unsigned int gicd_read_icenabler(unsigned int base, unsigned int id) argument 55 unsigned n = id >> ICENABLER_SHIFT; 59 unsigned int gicd_read_ispendr(unsigned int base, unsigned int id) argument 61 unsigned n = id >> ISPENDR_SHIFT; 65 unsigned int gicd_read_icpendr(unsigned int base, unsigned int id) argument 67 unsigned n = id >> ICPENDR_SHIF 71 gicd_read_isactiver(unsigned int base, unsigned int id) argument 77 gicd_read_icactiver(unsigned int base, unsigned int id) argument 83 gicd_read_ipriorityr(unsigned int base, unsigned int id) argument 89 gicd_read_itargetsr(unsigned int base, unsigned int id) argument 95 gicd_read_icfgr(unsigned int base, unsigned int id) argument 101 gicd_read_cpendsgir(unsigned int base, unsigned int id) argument 107 gicd_read_spendsgir(unsigned int base, unsigned int id) argument 117 gicd_write_igroupr(unsigned int base, unsigned int id, unsigned int val) argument 123 gicd_write_isenabler(unsigned int base, unsigned int id, unsigned int val) argument 129 gicd_write_icenabler(unsigned int base, unsigned int id, unsigned int val) argument 135 gicd_write_ispendr(unsigned int base, unsigned int id, unsigned int val) argument 141 gicd_write_icpendr(unsigned int base, unsigned int id, unsigned int val) argument 147 gicd_write_isactiver(unsigned int base, unsigned int id, unsigned int val) argument 153 gicd_write_icactiver(unsigned int base, unsigned int id, unsigned int val) argument 159 gicd_write_ipriorityr(unsigned int base, unsigned int id, unsigned int val) argument 165 gicd_write_itargetsr(unsigned int base, unsigned int id, unsigned int val) argument 171 gicd_write_icfgr(unsigned int base, unsigned int id, unsigned int val) argument 177 gicd_write_cpendsgir(unsigned int base, unsigned int id, unsigned int val) argument 183 gicd_write_spendsgir(unsigned int base, unsigned int id, unsigned int val) argument 192 gicd_get_igroupr(unsigned int base, unsigned int id) argument 200 gicd_set_igroupr(unsigned int base, unsigned int id) argument 208 gicd_clr_igroupr(unsigned int base, unsigned int id) argument 216 gicd_set_isenabler(unsigned int base, unsigned int id) argument 223 gicd_set_icenabler(unsigned int base, unsigned int id) argument 230 gicd_set_ispendr(unsigned int base, unsigned int id) argument 237 gicd_set_icpendr(unsigned int base, unsigned int id) argument 244 gicd_set_isactiver(unsigned int base, unsigned int id) argument 251 gicd_set_icactiver(unsigned int base, unsigned int id) argument 262 gicd_set_ipriorityr(unsigned int base, unsigned int id, unsigned int pri) argument 286 gicd_set_itargetsr(unsigned int base, unsigned int id, unsigned int target) argument [all...] |
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
H A D | opteed_main.c | 95 static uint64_t opteed_sel1_interrupt_handler(uint32_t id, argument 109 assert(plat_ic_get_interrupt_type(id) == INTR_TYPE_S_EL1);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
H A D | pystate.c | 387 Returns the number of tstates modified (normally 1, but 0 if `id` didn't
388 match any known thread id). Can be called with exc=NULL to clear an
392 PyThreadState_SetAsyncExc(long id, PyObject *exc) {
argument 405 if (p->thread_id == id) {
467 * if t's frame isn't NULL, map t's id to its frame
475 PyObject *id;
local 480 id = PyInt_FromLong(t->thread_id);
481 if (id == NULL)
483 stat = PyDict_SetItem(result, id, (PyObject *)frame);
484 Py_DECREF(id);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | pystate.c | 385 Returns the number of tstates modified (normally 1, but 0 if `id` didn't
386 match any known thread id). Can be called with exc=NULL to clear an
390 PyThreadState_SetAsyncExc(long id, PyObject *exc) {
argument 403 if (p->thread_id == id) {
465 * if t's frame isn't NULL, map t's id to its frame
473 PyObject *id;
local 478 id = PyInt_FromLong(t->thread_id);
479 if (id == NULL)
481 stat = PyDict_SetItem(result, id, (PyObject *)frame);
482 Py_DECREF(id);
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/ |
H A D | blkif.h | 545 UINT64 id; /* private guest value, echoed in resp */
member in struct:blkif_request 560 UINT64 id; /* private guest value, echoed in resp */
member in struct:blkif_request_discard 570 UINT64 id; /* private guest value, echoed in resp */
member in struct:blkif_request_indirect 581 UINT64 id; /* copied from request */
member in struct:blkif_response
|
/device/google/contexthub/contexthubhal/test/ |
H A D | main.cpp | 29 __be64 beAppId = htobe64(appId.id); 30 uint32_t seqId = appId.id & NANOAPP_VENDOR_ALL_APPS; 38 os << "#" << std::hex << appId.id; 99 static int contextHubCallback(uint32_t id, const hub_message_t *msg, void *cookie) argument 102 hub->onMessage(id, msg); 137 int sendMessage(uint32_t id, const hub_message_t &msg) { argument 138 return (mMod != nullptr) ? mMod->send_message(id, &msg) : 0; 141 int sendMessage(uint32_t id, hub_app_name_t app, uint32_t typ, void *data, uint32_t len) { argument 148 return sendMessage(id, msg); 151 Client *getClientById(size_t id) { retur argument [all...] |
/device/google/contexthub/util/nanoapp_cmd/ |
H A D | nanoapp_cmd.c | 77 uint64_t id; member in struct:App 203 sscanf(line, "app: %d id: %" PRIx64 " ver: %" PRIx32 " size: %" PRIx32 "\n", &currApp->num, &currApp->id, &currApp->version, &currApp->size); 217 if (apps[i].id == appId) {
|
/device/google/marlin/camera/QCamera2/HAL/wrapper/ |
H A D | QualcommCamera.cpp | 68 id: CAMERA_HARDWARE_MODULE_ID, 127 const struct hw_module_t* module, const char* id, 133 if(module && id && hw_device) { 135 int cameraId = atoi(id); 126 camera_device_open( const struct hw_module_t* module, const char* id, struct hw_device_t** hw_device) argument
|
/device/google/marlin/dataservices/rmnetctl/src/ |
H A D | librmnetctl.c | 87 * @details Increments the transaction id for each message sent to the kernel. 773 uint32_t id, 805 request.vnd.id = id; 819 uint32_t id, 823 return rmnet_new_vnd_prefix(hndl, id, error_code, new_vnd, 0); 827 uint32_t id, 843 request.vnd.id = id; 873 uint32_t id, 772 rmnet_new_vnd_prefix(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd, const char *prefix) argument 818 rmnet_new_vnd(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd) argument 826 rmnet_get_vnd_name(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, char *buf, uint32_t buflen) argument 872 rmnet_add_del_vnd_tc_flow(rmnetctl_hndl_t *hndl, uint32_t id, uint32_t map_flow_id, uint32_t tc_flow_id, uint8_t set_flow, uint16_t *error_code) argument [all...] |
/device/huawei/angler/camera/QCamera2/HAL/wrapper/ |
H A D | QualcommCamera.cpp | 68 id: CAMERA_HARDWARE_MODULE_ID, 127 const struct hw_module_t* module, const char* id, 133 if(module && id && hw_device) { 135 int cameraId = atoi(id); 126 camera_device_open( const struct hw_module_t* module, const char* id, struct hw_device_t** hw_device) argument
|
/device/huawei/angler/dataservices/rmnetctl/src/ |
H A D | librmnetctl.c | 84 * @details Increments the transaction id for each message sent to the kernel. 745 uint32_t id, 777 request.vnd.id = id; 791 uint32_t id, 795 return rmnet_new_vnd_prefix(hndl, id, error_code, new_vnd, 0); 799 uint32_t id, 815 request.vnd.id = id; 838 uint32_t id, 744 rmnet_new_vnd_prefix(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd, const char *prefix) argument 790 rmnet_new_vnd(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd) argument 798 rmnet_get_vnd_name(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, char *buf, uint32_t buflen) argument 837 rmnet_add_del_vnd_tc_flow(rmnetctl_hndl_t *hndl, uint32_t id, uint32_t map_flow_id, uint32_t tc_flow_id, uint8_t set_flow, uint16_t *error_code) argument [all...] |
/device/lge/bullhead/camera/QCamera2/HAL/wrapper/ |
H A D | QualcommCamera.cpp | 68 id: CAMERA_HARDWARE_MODULE_ID, 127 const struct hw_module_t* module, const char* id, 133 if(module && id && hw_device) { 135 int cameraId = atoi(id); 126 camera_device_open( const struct hw_module_t* module, const char* id, struct hw_device_t** hw_device) argument
|
/device/lge/bullhead/dataservices/rmnetctl/src/ |
H A D | librmnetctl.c | 85 * @details Increments the transaction id for each message sent to the kernel. 746 uint32_t id, 778 request.vnd.id = id; 792 uint32_t id, 796 return rmnet_new_vnd_prefix(hndl, id, error_code, new_vnd, 0); 800 uint32_t id, 816 request.vnd.id = id; 839 uint32_t id, 745 rmnet_new_vnd_prefix(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd, const char *prefix) argument 791 rmnet_new_vnd(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, uint8_t new_vnd) argument 799 rmnet_get_vnd_name(rmnetctl_hndl_t *hndl, uint32_t id, uint16_t *error_code, char *buf, uint32_t buflen) argument 838 rmnet_add_del_vnd_tc_flow(rmnetctl_hndl_t *hndl, uint32_t id, uint32_t map_flow_id, uint32_t tc_flow_id, uint8_t set_flow, uint16_t *error_code) argument [all...] |
/device/generic/goldfish/fingerprint/ |
H A D | fingerprint.c | 148 //the last one is for authenticator id 159 ALOGE("Failed to open emulator storage file to save authenticator id"); 167 ALOGE("Failed while writing authenticator id in emulator storage"); 170 ALOGD("Save authenticator id (0x%" PRIx64 ")", authenid); 179 ALOGE("Could not load authenticator id from storage at %s; " 190 ALOGW("Corrupt emulator authenticator id storage (read %d)", na); 192 ALOGD("Read authenticator id (0x%" PRIx64 ")", *pauthenid); 249 ALOGD("----------------> %s auth id %" PRIx64 "----------------->", __FUNCTION__, authenticator_id); 267 // firs time, create an authenticator id 339 // fingerprint id, authenticato 805 fingerprint_open(const hw_module_t* module, const char __unused *id, hw_device_t** device) argument [all...] |
/device/generic/goldfish/sensors/ |
H A D | sensors_qemu.c | 90 int id; } _sensorIds[MAX_NUM_SENSORS] = member in struct:__anon65 98 _sensorIdToName( int id ) 102 if (id == _sensorIds[nn].id) 117 return _sensorIds[nn].id; 207 * id, and sets |*event| accordingly. On failure, i.e. if there are no 885 .id = SENSORS_HARDWARE_MODULE_ID,
|