Home
last modified time | relevance | path

Searched refs:arraySize (Results 1 – 5 of 5) sorted by relevance

/system/chre/platform/shared/sensor_pal/
Dplatform_sensor_manager.cc60 uint32_t arraySize; in getSensors() local
62 if (!mSensorApi->getSensors(&palSensors, &arraySize) || arraySize == 0) { in getSensors()
64 } else if (!sensors.reserve(arraySize)) { in getSensors()
67 for (uint32_t i = 0; i < arraySize; i++) { in getSensors()
/system/chre/platform/linux/
Dpal_sensor.cc82 uint32_t *arraySize) { in chrePalSensorApiGetSensors() argument
86 if (arraySize != nullptr) { in chrePalSensorApiGetSensors()
87 *arraySize = ARRAY_SIZE(gSensors); in chrePalSensorApiGetSensors()
/system/chre/pal/tests/src/
Dsensor_pal_impl_test.cc165 uint32_t arraySize; in TEST_F() local
167 EXPECT_TRUE(gApi->getSensors(&sensors, &arraySize)); in TEST_F()
168 EXPECT_EQ(arraySize, 1); in TEST_F()
/system/chre/pal/include/chre/pal/
Dsensor.h212 uint32_t *arraySize);
/system/chre/platform/shared/
Dnanoapp_loader.cc500 size_t arraySize = 0; in getProgramHeaderArraySize() local
502 arraySize = elfHeader->e_phnum; in getProgramHeaderArraySize()
505 return arraySize; in getProgramHeaderArraySize()