/system/chre/apps/test/chqts/src/general_test/ |
D | wwan_cell_info_test.cc | 89 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 …]
|
D | wwan_cell_info_test.h | 40 const struct chreWwanCellInfo *cells) const;
|
/system/chre/chpp/test/ |
D | wwan_convert_test.cpp | 82 .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/ |
D | platform_wwan.c | 49 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/ |
D | wwan_convert.c | 266 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/ |
D | wwan.c | 376 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/ |
D | pal_wwan.cc | 54 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/ |
D | wwan.h | 408 const struct chreWwanCellInfo *cells; member
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | wwan.h | 408 const struct chreWwanCellInfo *cells; member
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wwan.h | 408 const struct chreWwanCellInfo *cells; member
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | wwan.h | 508 const struct chreWwanCellInfo *cells; member
|
/system/chre/chpp/include/chpp/common/ |
D | wwan_types.h | 219 cells; // References cellInfoCount instances of struct ChppOffset member
|
/system/chre/chre_api/include/chre_api/chre/ |
D | wwan.h | 508 const struct chreWwanCellInfo *cells; member
|
/system/chre/apps/test/common/chre_stress_test/src/ |
D | chre_stress_test_manager.cc | 337 maxTimestamp = MAX(maxTimestamp, event->cells[i].timeStamp); in handleCellInfoResult() 338 checkTimestamp(event->cells[i].timeStamp, in handleCellInfoResult()
|
/system/chre/apps/wwan_world/ |
D | wwan_world.cc | 148 logChreWwanInfo(&result->cells[i]); in handleCellInfoResult()
|
/system/chre/chpp/api_parser/ |
D | README.md | 120 "field": "cells",
|