/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
H A D | GLClientState.cpp | 316 static void sClearIndexedBufferBinding(GLuint id, std::vector<GLClientState::BufferBinding>& bindings) { argument 318 if (bindings[i].buffer == id) { 329 void GLClientState::addBuffer(GLuint id) { argument 330 mBufferIds.insert(id); 333 void GLClientState::removeBuffer(GLuint id) { argument 334 mBufferIds.erase(id); 337 bool GLClientState::bufferIdExists(GLuint id) const { 338 return mBufferIds.find(id) != mBufferIds.end(); 341 void GLClientState::unBindBuffer(GLuint id) { argument 342 if (m_arrayBuffer == id) m_arrayBuffe 372 bindBuffer(GLenum target, GLuint id) argument 753 const GLuint* id = (const GLuint*)pid; local 809 addTextureRec(GLuint id, GLenum target) argument [all...] |
H A D | GLClientState.h | 228 void addBuffer(GLuint id); 229 void removeBuffer(GLuint id); 230 bool bufferIdExists(GLuint id) const; 231 void unBindBuffer(GLuint id); 233 int bindBuffer(GLenum target, GLuint id); 435 // Other buffer id's, other targets 498 GLuint id; member in struct:GLClientState::CubeMapDef 506 if (a.id != b.id) return a.id < [all...] |
H A D | GLSharedGroup.cpp | 587 ALOGD("%s: new data %p id %u", __FUNCTION__, data, currId); 598 ShaderProgramData* GLSharedGroup::getShaderProgramDataById(uint32_t id) { argument 600 ShaderProgramData* res = m_shaderPrograms.valueFor(id); 601 ALOGD("%s: id=%u res=%p", __FUNCTION__, id, res); 610 void GLSharedGroup::deleteShaderProgramDataById(uint32_t id) { argument 612 ShaderProgramData* data = m_shaderPrograms.valueFor(id); 614 m_shaderPrograms.removeItemsAt(id); 620 uint32_t id = m_shaderProgramIdMap[shaderProgramName]; local 621 ShaderProgramData* data = m_shaderPrograms.valueFor(id); [all...] |
H A D | TextureSharedData.h | 29 GLuint id; member in struct:TextureRec
|
/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/generic/goldfish-opengl/system/GLESv2_enc/ |
H A D | GL2Encoder.cpp | 412 void GL2Encoder::s_glBindBuffer(void *self, GLenum target, GLuint id) argument 416 ctx->m_state->bindBuffer(target, id); 417 ctx->m_state->addBuffer(id); 419 ctx->m_glBindBuffer_enc(self, target, id);
|
H A D | gl2_enc.cpp | 7420 void glBindTransformFeedback_enc(void *self , GLenum target, GLuint id) argument 7439 memcpy(ptr, &id, 4); ptr += 4; 7494 GLboolean glIsTransformFeedback_enc(void *self , GLuint id) argument 7512 memcpy(ptr, &id, 4); ptr += 4;
|
H A D | gl2_entry.cpp | 304 void glBindTransformFeedback(GLenum target, GLuint id); 307 GLboolean glIsTransformFeedback(GLuint id); 2228 void glBindTransformFeedback(GLenum target, GLuint id) argument 2231 ctx->glBindTransformFeedback(ctx, target, id); 2246 GLboolean glIsTransformFeedback(GLuint id) argument 2249 return ctx->glIsTransformFeedback(ctx, id);
|
/device/generic/goldfish/camera/ |
H A D | EmulatedCameraFactory.cpp | 218 ALOGV("%s: id = %d", __FUNCTION__, camera_id); 228 ALOGE("%s: Camera id %d is out of bounds (%d)", 238 ALOGV("%s: id = %d", __FUNCTION__, camera_id); 246 ALOGE("%s: Camera id %d is out of bounds (%d)", 319 const char* id, uint32_t halVersion, struct hw_device_t** device) { 318 open_legacy(const struct hw_module_t* module, const char* id, uint32_t halVersion, struct hw_device_t** device) argument
|
H A D | EmulatedCameraHotplugThread.cpp | 46 int id = cameraIdArray[i]; local 48 if (createFileIfNotExists(id)) { 49 mSubscribedCameraIds.push_back(id);
|
H A D | EmulatedFakeCamera2.cpp | 496 ALOGE("%s: Unknown stream id %d!", __FUNCTION__, stream_id); 515 ALOGE("%s: Unknown stream id %d!", __FUNCTION__, stream_id); 555 ALOGE("%s: Unknown output stream id %d!", __FUNCTION__, output_stream_id); 594 ALOGE("%s: Unknown reprocess stream id %d!", __FUNCTION__, stream_id); 641 int id = mStreams.keyAt(i); local 645 id, s.width, s.height, s.format, s.stride); 703 bool EmulatedFakeCamera2::ConfigureThread::isStreamInUse(uint32_t id) { argument 708 if ((*mNextBuffers)[i].streamId == (int)id) return true; 1182 bool EmulatedFakeCamera2::ReadoutThread::isStreamInUse(uint32_t id) { argument 1190 if ( (*(mInFlightQueue[i].buffers))[j].streamId == (int)id ) [all...] |
H A D | EmulatedFakeCamera3.cpp | 262 ALOGV("%s: Stream %p (id %zu), type %d, usage 0x%x, format 0x%x", 405 static const int32_t id = 0; local 406 settings.update(ANDROID_REQUEST_ID, &id, 1);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
H A D | JpegCompressor.cpp | 205 bool JpegCompressor::isStreamInUse(uint32_t id) { argument 210 if ( (*mBuffers)[i].streamId == (int)id ) return true;
|
/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,
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
H A D | AccessoryController.java | 14 protected View findViewById(int id) { argument 15 return mHostActivity.findViewById(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/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/firmware/external/freebsd/lib/msun/src/ |
H A D | s_atanf.c | 52 int32_t ix,hx,id; local 65 id = -1; 70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); 72 id = 1; x = (x-one)/(x+one); 76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); 78 id = 3; x = -(float)1.0/x; 87 if (id<0) return x - x*(s1+s2); 89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/device/google/contexthub/firmware/lib/libm/ |
H A D | sf_atan.c | 75 __int32_t ix,hx,id; local 88 id = -1; 93 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); 95 id = 1; x = (x-one)/(x+one); 99 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); 101 id = 3; x = -(float)1.0/x; 110 if (id<0) return x - x*(s1+s2); 112 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/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/bosch_bmp280/ |
H A D | bosch_bmp280.c | 112 uint32_t id; member in struct:BMP280Task 242 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.id); 249 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, cookie, NULL, mTask.id); 254 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, cookie, NULL, mTask.id); 590 osEventUnsubscribe(mTask.id, EVT_APP_START); 638 mTask.id = taskId;
|
/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/leds/ |
H A D | leds_gpio.c | 42 uint32_t id; member in struct:LedsTask 86 osEventUnsubscribe(mTask.id, EVT_APP_START); 101 mTask.id = taskId;
|