Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp91 for (auto&& rec : mBuffers) { in forceShutdown()
92 if (rec.inUse) { in forceShutdown()
95 alloc.free(rec.handle); in forceShutdown()
96 rec.handle = nullptr; in forceShutdown()
197 for (auto&& rec : mBuffers) { in doneWithFrame()
198 if (rec.handle == nullptr) { in doneWithFrame()
199 rec.handle = mBuffers[buffer.bufferId].handle; in doneWithFrame()
327 for (auto&& rec : mBuffers) { in increaseAvailableFrames_Locked()
328 if (rec.handle == nullptr) { in increaseAvailableFrames_Locked()
330 rec.handle = memHandle; in increaseAvailableFrames_Locked()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp953 for (const auto &rec : mTranslateTable) { in handleInput() local
954 int64_t v = (message[rec.byteOffset + rec.byteSize - 1] & 0x80) ? -1 : 0; in handleInput()
955 for (int i = static_cast<int>(rec.byteSize) - 1; i >= 0; --i) { in handleInput()
956 v = (v << 8) | message[rec.byteOffset + i]; // HID is little endian in handleInput()
959 switch (rec.type) { in handleInput()
961 if (v > rec.maxValue || v < rec.minValue) { in handleInput()
964 event.data[rec.index] = rec.a * (v + rec.b); in handleInput()
967 if (v > rec.maxValue || v < rec.minValue) { in handleInput()
970 event.u64.data[rec.index] = v + rec.b; in handleInput()
973 event.magnetic.status = (v & 0xFF) + rec.b; in handleInput()
/hardware/ril/libril/
Dril_service.cpp7629 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7631 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
7635 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
7641 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
7642 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
7654 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7656 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
7660 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
7666 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
7667 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
/hardware/ril/reference-ril/
Dril.h1734 } rec; member
/hardware/ril/include/telephony/
Dril.h1734 } rec; member
/hardware/interfaces/radio/1.0/
Dtypes.hal1948 * Note: the Extended Display info rec contains multiple records of the