Home
last modified time | relevance | path

Searched refs:cells (Results 1 – 16 of 16) sorted by relevance

/system/chre/apps/test/chqts/src/general_test/
Dwwan_cell_info_test.cc89 uint8_t count, const struct chreWwanCellInfo *cells) const { in validateCellInfo()
93 if (cells[i].reserved != 0) { in validateCellInfo()
96 cells[i].reserved); in validateCellInfo()
99 if ((cells[i].timeStampType != CHRE_WWAN_CELL_TIMESTAMP_TYPE_UNKNOWN) && in validateCellInfo()
100 (cells[i].timeStampType != CHRE_WWAN_CELL_TIMESTAMP_TYPE_ANTENNA) && in validateCellInfo()
101 (cells[i].timeStampType != CHRE_WWAN_CELL_TIMESTAMP_TYPE_MODEM) && in validateCellInfo()
102 (cells[i].timeStampType != CHRE_WWAN_CELL_TIMESTAMP_TYPE_OEM_RIL) && in validateCellInfo()
103 (cells[i].timeStampType != CHRE_WWAN_CELL_TIMESTAMP_TYPE_JAVA_RIL)) { in validateCellInfo()
106 cells[i].timeStampType); in validateCellInfo()
109 if (cells[i].cellInfoType == CHRE_WWAN_CELL_INFO_TYPE_GSM) { in validateCellInfo()
[all …]
Dwwan_cell_info_test.h40 const struct chreWwanCellInfo *cells) const;
/system/chre/chpp/test/
Dwwan_convert_test.cpp82 .cells = kChreCells,
87 .cells = kChreCells,
169 chpp->cells.offset++; in testMalformedCellInfoResultDecoding()
172 chpp->cells.offset--; in testMalformedCellInfoResultDecoding()
174 chpp->cells.length++; in testMalformedCellInfoResultDecoding()
177 chpp->cells.length--; in testMalformedCellInfoResultDecoding()
197 .cells = nullptr, in TEST()
214 EXPECT_EQ(chpp->cells.offset, 0); in TEST()
215 EXPECT_EQ(chpp->cells.length, 0); in TEST()
227 .cells.offset = 0, in TEST()
[all …]
/system/chre/chpp/platform/linux/services/
Dplatform_wwan.c49 result->cells = gSystemApi->memoryAlloc(result->cellInfoCount * in wwanPalRequestCellInfo()
51 CHPP_NOT_NULL(cells); in wwanPalRequestCellInfo()
63 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(result->cells)); in wwanPalReleaseCellInfoResult()
/system/chre/chpp/common/
Dwwan_convert.c266 struct ChppWwanCellInfo *cells = in chppWwanConvertCellInfoResultFromChre() local
268 out->cells.length = in->cellInfoCount * sizeof(struct ChppWwanCellInfo); in chppWwanConvertCellInfoResultFromChre()
269 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()
270 if (out->cells.length > 0 && *vlaOffset + out->cells.length <= payloadSize) { in chppWwanConvertCellInfoResultFromChre()
272 chppWwanConvertCellInfoFromChre(&in->cells[i], &cells[i]); in chppWwanConvertCellInfoResultFromChre()
274 out->cells.offset = *vlaOffset; in chppWwanConvertCellInfoResultFromChre()
275 *vlaOffset += out->cells.length; in chppWwanConvertCellInfoResultFromChre()
277 out->cells.offset = 0; in chppWwanConvertCellInfoResultFromChre()
604 if (in->cells.length == 0) { in chppWwanConvertCellInfoResultToChre()
605 out->cells = NULL; in chppWwanConvertCellInfoResultToChre()
[all …]
/system/chre/chpp/clients/
Dwwan.c376 chre->cells = NULL; in chppWwanGetCellInfoAsyncResult()
385 (uint64_t *)(CHPP_CONST_CAST_POINTER(&chre->cells[i].timeStamp)); in chppWwanGetCellInfoAsyncResult()
522 void *cells = CHPP_CONST_CAST_POINTER(result->cells); in chppWwanClientReleaseCellInfoResult() local
523 CHPP_FREE_AND_NULLIFY(cells); in chppWwanClientReleaseCellInfoResult()
/system/chre/platform/linux/
Dpal_wwan.cc54 result->cells = cell.release(); in sendCellInfoResult()
79 chre::memoryFree(const_cast<struct chreWwanCellInfo *>(&result->cells[i])); in chrePalWwanReleaseCellInfoResult()
/system/chre/chre_api/legacy/v1_3/chre/
Dwwan.h408 const struct chreWwanCellInfo *cells; member
/system/chre/chre_api/legacy/v1_1/chre/
Dwwan.h408 const struct chreWwanCellInfo *cells; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwwan.h408 const struct chreWwanCellInfo *cells; member
/system/chre/chre_api/legacy/v1_4/chre/
Dwwan.h508 const struct chreWwanCellInfo *cells; member
/system/chre/chpp/include/chpp/common/
Dwwan_types.h219 cells; // References cellInfoCount instances of struct ChppOffset member
/system/chre/chre_api/include/chre_api/chre/
Dwwan.h508 const struct chreWwanCellInfo *cells; member
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc337 maxTimestamp = MAX(maxTimestamp, event->cells[i].timeStamp); in handleCellInfoResult()
338 checkTimestamp(event->cells[i].timeStamp, in handleCellInfoResult()
/system/chre/apps/wwan_world/
Dwwan_world.cc148 logChreWwanInfo(&result->cells[i]); in handleCellInfoResult()
/system/chre/chpp/api_parser/
DREADME.md120 "field": "cells",