Searched refs:CHRE_ASSERT (Results 1 - 25 of 31) sorted by relevance

12

/system/chre/platform/include/chre/platform/
H A Dassert.h28 * CHRE_ASSERT(scalar expression)
38 #ifndef CHRE_ASSERT
39 #error "CHRE_ASSERT must be defined by the target platform's assert.h"
40 #endif // CHRE_ASSERT
44 #define CHRE_ASSERT(condition) ((void) (condition)) macro
64 CHRE_ASSERT(condition); \
/system/chre/platform/slpi/include/chre/target_platform/
H A Dassert.h22 #define CHRE_ASSERT(condition) do { \ macro
/system/chre/apps/spammer/
H A Dspammer.cc47 CHRE_ASSERT(gRunning);
48 CHRE_ASSERT(eventType == kMessageSentEvent);
49 CHRE_ASSERT(data == kMessageSentEventData);
53 CHRE_ASSERT(gRunning);
61 CHRE_ASSERT(gRunning);
62 CHRE_ASSERT(eventType == kRepeatedEvent);
63 CHRE_ASSERT(data == kRepeatedEventData);
90 CHRE_ASSERT(gRunning);
93 CHRE_ASSERT(eventData == kMessageSentEventData);
102 CHRE_ASSERT(eventDat
[all...]
/system/chre/util/include/chre/util/
H A Dcontainer_support.h33 * Provides the CHRE_ASSERT macro that uses chreAbort to abort the nanoapp upon
38 #define CHRE_ASSERT(condition) do { \ macro
47 * by CHRE_ASSERT if the condition is non-zero.
56 CHRE_ASSERT(condition); \
H A Dheap_impl.h33 CHRE_ASSERT(index < container.size());
49 CHRE_ASSERT(index < container.size());
79 CHRE_ASSERT(container.size() > 0);
87 CHRE_ASSERT(container.size() > 0);
97 CHRE_ASSERT(index < container.size());
H A Dfixed_size_vector_impl.h34 CHRE_ASSERT(mSize > 0);
40 CHRE_ASSERT(mSize > 0);
46 CHRE_ASSERT(mSize > 0);
52 CHRE_ASSERT(mSize > 0);
89 CHRE_ASSERT(!full());
98 CHRE_ASSERT(!full());
107 CHRE_ASSERT(index < mSize); function
118 CHRE_ASSERT(index < mSize); function
128 CHRE_ASSERT(index < mSize);
142 CHRE_ASSERT(index
[all...]
H A Ddynamic_vector_impl.h87 CHRE_ASSERT(!empty());
126 CHRE_ASSERT(index < mSize); function
137 CHRE_ASSERT(index < mSize); function
206 CHRE_ASSERT(index <= mSize);
234 CHRE_ASSERT(owns_data());
249 CHRE_ASSERT(index < mSize);
276 CHRE_ASSERT(index0 < mSize && index1 < mSize);
290 CHRE_ASSERT(array != nullptr || elementCount == 0);
316 CHRE_ASSERT(mSize > 0);
322 CHRE_ASSERT(mSiz
[all...]
H A Darray_queue_impl.h52 CHRE_ASSERT(mSize > 0);
58 CHRE_ASSERT(mSize > 0);
64 CHRE_ASSERT(index < mSize); function
71 CHRE_ASSERT(index < mSize);
207 CHRE_ASSERT(mSize > 0);
/system/chre/core/
H A Devent_ref_queue.cc29 CHRE_ASSERT(event != nullptr);
40 CHRE_ASSERT(!mQueue.empty());
H A Dsensor_request_manager.cc88 CHRE_ASSERT(sensorHandle);
106 CHRE_ASSERT(nanoapp);
184 CHRE_ASSERT(info);
258 CHRE_ASSERT(status);
312 CHRE_ASSERT(index);
328 CHRE_ASSERT(requestChanged != nullptr);
329 CHRE_ASSERT(sensor.has_value());
356 CHRE_ASSERT(requestChanged != nullptr);
357 CHRE_ASSERT(sensor.has_value());
370 CHRE_ASSERT(fals
[all...]
H A Dtimer_pool.cc34 CHRE_ASSERT(nanoapp);
69 CHRE_ASSERT(nanoapp);
194 CHRE_ASSERT(insertTimerRequest(cyclicTimerRequest));
H A Dsensor_request.cc71 CHRE_ASSERT(false);
157 CHRE_ASSERT(false);
182 CHRE_ASSERT(false);
291 CHRE_ASSERT(false);
H A Dwwan_request_manager.cc36 CHRE_ASSERT(nanoapp);
/system/chre/core/include/chre/core/
H A Drequest_multiplexer_impl.h28 CHRE_ASSERT(index);
29 CHRE_ASSERT(maximalRequestChanged);
43 CHRE_ASSERT(maximalRequestChanged);
44 CHRE_ASSERT(index < mRequests.size());
55 CHRE_ASSERT(maximalRequestChanged);
56 CHRE_ASSERT(index < mRequests.size());
67 CHRE_ASSERT(maximalRequestChanged);
H A Devent.h48 CHRE_ASSERT(mRefCount != 0);
52 CHRE_ASSERT(mRefCount > 0);
/system/chre/apps/unload_tester/
H A Dunload_tester.cc65 CHRE_ASSERT(gotInfo);
66 CHRE_ASSERT(info.appId == chreGetAppId());
67 CHRE_ASSERT(info.appId == kUnloadTesterAppId);
68 CHRE_ASSERT(info.version == kAppVersion);
69 CHRE_ASSERT(info.instanceId == chreGetInstanceId());
/system/chre/platform/linux/include/chre/target_platform/
H A Dassert.h51 * CHRE_ASSERT and expects it to be called at least once. This allows for
73 #define CHRE_ASSERT(condition) \ macro
85 #define CHRE_ASSERT(condition) assert(condition) macro
/system/chre/platform/linux/
H A Dplatform_nanoapp.cc70 CHRE_ASSERT(!isLoaded());
75 CHRE_ASSERT(!isLoaded());
92 CHRE_ASSERT(false);
99 CHRE_ASSERT(!mFilename.empty());
H A Dplatform_sensor.cc38 CHRE_ASSERT(sensors);
/system/chre/platform/slpi/
H A Dplatform_nanoapp.cc75 CHRE_ASSERT(!isLoaded());
99 CHRE_ASSERT(!isLoaded());
105 CHRE_ASSERT(!isLoaded());
137 CHRE_ASSERT(false);
150 CHRE_ASSERT(mAppBinary != nullptr);
188 CHRE_ASSERT(mFilename != nullptr);
H A Dplatform_log.cc100 CHRE_ASSERT(callback != nullptr);
103 CHRE_ASSERT(mLogFlushPending);
H A Dsmr_helper.cc35 CHRE_ASSERT(!mWaiting);
64 CHRE_ASSERT(!mWaiting);
93 CHRE_ASSERT(!mWaiting);
H A Dhost_link.cc363 CHRE_ASSERT(builder != nullptr);
436 CHRE_ASSERT(buffer != nullptr);
437 CHRE_ASSERT(bufferLen > 0);
438 CHRE_ASSERT(messageLen != nullptr);
503 CHRE_ASSERT(message != nullptr);
504 CHRE_ASSERT(messageLen > 0);
599 CHRE_ASSERT(false);
/system/chre/platform/shared/
H A Dchre_api_sensor.cc42 CHRE_ASSERT(info);
56 CHRE_ASSERT(status);
/system/chre/ash/platform/slpi/
H A Dash.cc88 CHRE_ASSERT(calInfo);
89 CHRE_ASSERT(calRequest);

Completed in 350 milliseconds

12