Home
last modified time | relevance | path

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

12

/system/chre/apps/spammer/
Dspammer.cc47 CHRE_ASSERT(gRunning); in messageSentEventFreeCallback()
48 CHRE_ASSERT(eventType == kMessageSentEvent); in messageSentEventFreeCallback()
49 CHRE_ASSERT(data == kMessageSentEventData); in messageSentEventFreeCallback()
53 CHRE_ASSERT(gRunning); in messageFreeCallback()
61 CHRE_ASSERT(gRunning); in repeatedEventFreeCallback()
62 CHRE_ASSERT(eventType == kRepeatedEvent); in repeatedEventFreeCallback()
63 CHRE_ASSERT(data == kRepeatedEventData); in repeatedEventFreeCallback()
90 CHRE_ASSERT(gRunning); in nanoappHandleEvent()
93 CHRE_ASSERT(eventData == kMessageSentEventData); in nanoappHandleEvent()
102 CHRE_ASSERT(eventData == kRepeatedEventData); in nanoappHandleEvent()
[all …]
/system/chre/core/include/chre/core/
Drequest_multiplexer_impl.h29 CHRE_ASSERT(index); in addRequest()
30 CHRE_ASSERT(maximalRequestChanged); in addRequest()
44 CHRE_ASSERT(maximalRequestChanged); in updateRequest()
45 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
56 CHRE_ASSERT(maximalRequestChanged); in removeRequest()
57 CHRE_ASSERT(index < mRequests.size()); in removeRequest()
68 CHRE_ASSERT(maximalRequestChanged); in removeAllRequests()
Devent.h48 CHRE_ASSERT(mRefCount != 0); in incrementRefCount()
52 CHRE_ASSERT(mRefCount > 0); in decrementRefCount()
Dsensor_request_manager.h239 CHRE_ASSERT(!mSensor.has_value()); in setSensor()
290 CHRE_ASSERT(isSensorSupported()); in getSamplingStatus()
305 CHRE_ASSERT(isSensorSupported()); in getThreeAxisBias()
Dtimer_pool.h63 CHRE_ASSERT(nanoapp != nullptr); in setNanoappTimer()
96 CHRE_ASSERT(nanoapp != nullptr); in cancelNanoappTimer()
/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/
Dfixed_size_vector_impl.h36 CHRE_ASSERT(mSize > 0); in back()
42 CHRE_ASSERT(mSize > 0); in back()
48 CHRE_ASSERT(mSize > 0); in front()
54 CHRE_ASSERT(mSize > 0); in front()
91 CHRE_ASSERT(!full()); in push_back()
100 CHRE_ASSERT(!full()); in emplace_back()
108 CHRE_ASSERT(!empty()); in pop_back()
115 CHRE_ASSERT(index < mSize);
126 CHRE_ASSERT(index < mSize);
136 CHRE_ASSERT(index < mSize); in erase()
[all …]
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.h96 CHRE_ASSERT(!empty()); in pop_back()
146 CHRE_ASSERT(index < mSize);
153 CHRE_ASSERT(index < mSize);
241 CHRE_ASSERT(index <= mSize); in prepareInsert()
268 CHRE_ASSERT(index < mSize); in erase()
303 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
316 CHRE_ASSERT(mSize > 0); in front()
322 CHRE_ASSERT(mSize > 0); in front()
328 CHRE_ASSERT(mSize > 0); in back()
334 CHRE_ASSERT(mSize > 0); in back()
Darray_queue_impl.h50 CHRE_ASSERT(mSize > 0); in front()
56 CHRE_ASSERT(mSize > 0); in front()
62 CHRE_ASSERT(mSize > 0); in back()
68 CHRE_ASSERT(mSize > 0); in back()
74 CHRE_ASSERT(index < mSize);
81 CHRE_ASSERT(index < mSize);
255 CHRE_ASSERT(mSize > 0); in pullHead()
264 CHRE_ASSERT(mSize > 0); in pullTail()
/system/chre/apps/unload_tester/
Dunload_tester.cc65 CHRE_ASSERT(gotInfo); in nanoappStart()
66 CHRE_ASSERT(info.appId == chreGetAppId()); in nanoappStart()
67 CHRE_ASSERT(info.appId == kUnloadTesterAppId); in nanoappStart()
68 CHRE_ASSERT(info.version == kAppVersion); in nanoappStart()
69 CHRE_ASSERT(info.instanceId == chreGetInstanceId()); in nanoappStart()
/system/chre/platform/linux/
Dplatform_nanoapp.cc68 CHRE_ASSERT(!isLoaded()); in loadFromFile()
73 CHRE_ASSERT(!isLoaded()); in loadStatic()
90 CHRE_ASSERT(false); in openNanoapp()
97 CHRE_ASSERT(!mFilename.empty()); in openNanoappFromFile()
/system/chre/util/include/chre/util/nanoapp/
Dassert.h37 #define CHRE_ASSERT(condition) do { \ macro
45 #define CHRE_ASSERT(condition) ((void) (condition)) macro
/system/chre/platform/slpi/
Dplatform_nanoapp.cc39 CHRE_ASSERT(eventType); in rewriteToChreEventType()
175 CHRE_ASSERT(!isLoaded()); in setAppInfo()
194 CHRE_ASSERT(!isLoaded()); in reserveBuffer()
218 CHRE_ASSERT(!isLoaded()); in copyNanoappFragment()
235 CHRE_ASSERT(!isLoaded()); in loadStatic()
269 CHRE_ASSERT(false); in openNanoapp()
287 CHRE_ASSERT(mAppBinary != nullptr); in openNanoappFromBuffer()
305 CHRE_ASSERT(mAppFilename != nullptr); in openNanoappFromFile()
/system/chre/core/
Devent_ref_queue.cc29 CHRE_ASSERT(event != nullptr); in push()
40 CHRE_ASSERT(!mQueue.empty()); in pop()
Dsensor_request_manager.cc107 CHRE_ASSERT(sensorHandle); in getSensorHandle()
125 CHRE_ASSERT(nanoapp); in setSensorRequest()
220 CHRE_ASSERT(info); in getSensorInfo()
296 CHRE_ASSERT(status); in getSensorSamplingStatus()
342 CHRE_ASSERT(bias != nullptr); in getThreeAxisBias()
536 CHRE_ASSERT(index); in find()
552 CHRE_ASSERT(requestChanged != nullptr); in add()
553 CHRE_ASSERT(isSensorSupported()); in add()
580 CHRE_ASSERT(requestChanged != nullptr); in remove()
581 CHRE_ASSERT(isSensorSupported()); in remove()
[all …]
Dsensor_type.cc80 CHRE_ASSERT(false); in getSensorTypeName()
205 CHRE_ASSERT(false); in getUnsignedIntFromSensorType()
271 CHRE_ASSERT(false); in getSensorSampleTypeFromSensorType()
323 CHRE_ASSERT(eventType != nullptr); in getSensorBiasEventType()
Dtimer_pool.cc191 CHRE_ASSERT(!mTimerRequests.empty()); in popTimerRequestLocked()
203 CHRE_ASSERT(index < mTimerRequests.size()); in removeTimerRequestLocked()
240 CHRE_ASSERT(insertTimerRequestLocked(cyclicTimerRequest)); in handleExpiredTimersAndScheduleNextLocked()
/system/chre/platform/linux/include/chre/target_platform/
Dassert.h73 #define CHRE_ASSERT(condition) \ macro
85 #define CHRE_ASSERT(condition) assert(condition) macro
/system/chre/util/
Dbuffer_base.cc31 CHRE_ASSERT(buffer != nullptr || size == 0); in wrap()
40 CHRE_ASSERT(buffer != nullptr || size == 0); in copy_array()
/system/chre/platform/shared/
Dchre_api_sensor.cc55 CHRE_ASSERT(sensorType); in rewriteToBigImageSensorType()
72 CHRE_ASSERT(sensorType); in rewriteToChreSensorType()
116 CHRE_ASSERT(info); in chreGetSensorInfo()
140 CHRE_ASSERT(status); in chreGetSensorSamplingStatus()
/system/chre/platform/slpi/see/
Dsee_helper.cc169 CHRE_ASSERT(msg); in encodeSnsStdAttrReq()
170 CHRE_ASSERT(msgLen); in encodeSnsStdAttrReq()
209 CHRE_ASSERT(msg); in encodeSnsSuidReq()
210 CHRE_ASSERT(msgLen); in encodeSnsSuidReq()
258 CHRE_ASSERT(msg); in encodeSnsResamplerConfig()
259 CHRE_ASSERT(msgLen); in encodeSnsResamplerConfig()
305 CHRE_ASSERT(msg); in encodeSnsStdSensorConfig()
306 CHRE_ASSERT(msgLen); in encodeSnsStdSensorConfig()
338 CHRE_ASSERT(msgBuffer); in encodeSnsRemoteProcSensorConfig()
339 CHRE_ASSERT(msgLen); in encodeSnsRemoteProcSensorConfig()
[all …]
Dsee_cal_helper.cc52 CHRE_ASSERT(biasData != nullptr); in getBias()
94 CHRE_ASSERT(false); in configureCalUpdates()
219 CHRE_ASSERT(false); in getDataTypeForCalSensorIndex()
/system/chre/platform/slpi/include/chre/target_platform/
Dassert.h22 #define CHRE_ASSERT(condition) do { \ macro
/system/chre/ash/platform/slpi/smgr/
Dash.cc88 CHRE_ASSERT(calInfo); in populateCalRequest()
89 CHRE_ASSERT(calRequest); in populateCalRequest()

12