Home
last modified time | relevance | path

Searched refs:CHRE_ASSERT (Results 1 – 24 of 24) sorted by relevance

/system/chre/core/include/chre/core/
Drequest_multiplexer_impl.h28 CHRE_ASSERT(index); in addRequest()
29 CHRE_ASSERT(maximalRequestChanged); in addRequest()
43 CHRE_ASSERT(maximalRequestChanged); in updateRequest()
44 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
55 CHRE_ASSERT(maximalRequestChanged); in removeRequest()
56 CHRE_ASSERT(index < mRequests.size()); in removeRequest()
67 CHRE_ASSERT(maximalRequestChanged); in removeAllRequests()
/system/chre/platform/include/chre/platform/
Dassert.h38 #ifndef CHRE_ASSERT
44 #define CHRE_ASSERT(condition) ((void) (condition)) macro
64 CHRE_ASSERT(condition); \
/system/chre/util/include/chre/util/
Dheap_impl.h33 CHRE_ASSERT(index < container.size()); in siftUp()
49 CHRE_ASSERT(index < container.size()); in siftDown()
79 CHRE_ASSERT(container.size() > 0); in push_heap()
87 CHRE_ASSERT(container.size() > 0); in pop_heap()
97 CHRE_ASSERT(index < container.size()); in remove_heap()
Ddynamic_vector_impl.h117 CHRE_ASSERT(index < mSize);
127 CHRE_ASSERT(index < mSize);
180 CHRE_ASSERT(index <= mSize); in prepareInsert()
208 CHRE_ASSERT(owns_data()); in copy_array()
223 CHRE_ASSERT(index < mSize); in erase()
249 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
263 CHRE_ASSERT(array != nullptr || elementCount == 0); in wrap()
289 CHRE_ASSERT(mSize > 0); in front()
295 CHRE_ASSERT(mSize > 0); in front()
301 CHRE_ASSERT(mSize > 0); in back()
[all …]
Dfixed_size_vector_impl.h60 CHRE_ASSERT(!full()); in push_back()
69 CHRE_ASSERT(!full()); in emplace_back()
78 CHRE_ASSERT(index < mSize);
89 CHRE_ASSERT(index < mSize);
99 CHRE_ASSERT(index < mSize); in erase()
113 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
162 CHRE_ASSERT(newSize <= kCapacity); in resize()
Darray_queue_impl.h52 CHRE_ASSERT(mSize > 0); in front()
58 CHRE_ASSERT(mSize > 0); in front()
64 CHRE_ASSERT(index < mSize);
71 CHRE_ASSERT(index < mSize);
207 CHRE_ASSERT(mSize > 0); in pullHead()
Dpriority_queue_impl.h103 CHRE_ASSERT(index < mData.size()); in remove()
/system/chre/core/
Dsensor_request_manager.cc95 CHRE_ASSERT(sensorHandle); in getSensorHandle()
113 CHRE_ASSERT(nanoapp); in setSensorRequest()
189 CHRE_ASSERT(nanoapp); in getSensorInfo()
190 CHRE_ASSERT(info); in getSensorInfo()
254 CHRE_ASSERT(index); in find()
270 CHRE_ASSERT(requestChanged != nullptr); in add()
297 CHRE_ASSERT(requestChanged != nullptr); in remove()
310 CHRE_ASSERT(false); in remove()
324 CHRE_ASSERT(requestChanged != nullptr); in update()
362 CHRE_ASSERT(false); in removeAll()
Devent.cc32 CHRE_ASSERT(mRefCount != 0); in incrementRefCount()
36 CHRE_ASSERT(mRefCount > 0); in decrementRefCount()
Devent_ref_queue.cc33 CHRE_ASSERT(event != nullptr); in push()
44 CHRE_ASSERT(!mQueue.empty()); in pop()
Devent_loop_manager.cc27 CHRE_ASSERT(eventLoop); in validateChreApiCall()
39 CHRE_ASSERT(mEventLoops.empty()); in createEventLoop()
51 CHRE_ASSERT(!mEventLoops.empty()); in deferCallback()
Dsensor_request.cc56 CHRE_ASSERT(false); in getSensorTypeName()
142 CHRE_ASSERT(false); in getUnsignedIntFromSensorType()
167 CHRE_ASSERT(false); in getSensorSampleTypeFromSensorType()
250 CHRE_ASSERT(false); in mergeWith()
Devent_loop.cc33 CHRE_ASSERT(instanceId != nullptr); in findNanoappInstanceIdByAppId()
130 CHRE_ASSERT(!nanoapp.isNull()); in startNanoapp()
197 CHRE_ASSERT(getCurrentEventLoop() == this); in getCurrentNanoapp()
202 CHRE_ASSERT(getCurrentEventLoop() == this); in getNanoappCount()
Dhost_comms_manager.cc34 CHRE_ASSERT(eventLoop); in sendMessageToHostFromCurrentNanoapp()
37 CHRE_ASSERT(currentApp); in sendMessageToHostFromCurrentNanoapp()
77 CHRE_ASSERT(targetEventLoop != nullptr); in deliverNanoappMessageFromHost()
Dtimer_pool.cc34 CHRE_ASSERT(nanoapp); in setTimer()
67 CHRE_ASSERT(nanoapp); in cancelTimer()
Dwifi_request_manager.cc41 CHRE_ASSERT(nanoapp); in configureScanMonitor()
74 CHRE_ASSERT(nanoapp); in requestScan()
/system/chre/platform/linux/include/chre/target_platform/
Dassert.h71 #define CHRE_ASSERT(condition) \ macro
83 #define CHRE_ASSERT(condition) assert(condition) macro
/system/chre/platform/slpi/
Dhost_link.cc247 CHRE_ASSERT(builder != nullptr); in generateMessageFromBuilder()
265 CHRE_ASSERT(buffer != nullptr); in chre_slpi_get_message_to_host()
266 CHRE_ASSERT(bufferLen > 0); in chre_slpi_get_message_to_host()
267 CHRE_ASSERT(messageLen != nullptr); in chre_slpi_get_message_to_host()
319 CHRE_ASSERT(message != nullptr); in chre_slpi_deliver_message_from_host()
320 CHRE_ASSERT(messageLen > 0); in chre_slpi_deliver_message_from_host()
Dplatform_nanoapp.cc104 CHRE_ASSERT(!isLoaded()); in loadFromBuffer()
128 CHRE_ASSERT(!isLoaded()); in loadStatic()
155 CHRE_ASSERT(mAppBinary != nullptr); in openNanoapp()
Dplatform_sensor.cc207 CHRE_ASSERT(eventSize); in allocateLastEvent()
470 CHRE_ASSERT(eventData); in updateLastEvent()
905 CHRE_ASSERT(sensors); in getSensors()
/system/chre/platform/slpi/include/chre/target_platform/
Dassert.h24 #define CHRE_ASSERT(condition) do { \ macro
/system/chre/platform/linux/
Dplatform_sensor.cc34 CHRE_ASSERT(sensors); in getSensors()
/system/chre/platform/shared/
Dchre_api_sensor.cc41 CHRE_ASSERT(info); in chreGetSensorInfo()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h60 #define assert CHRE_ASSERT