Home
last modified time | relevance | path

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

123

/system/chre/std_overrides/
Dstdlib_wrapper.cc64 CHRE_ASSERT(false); in realloc()
91 CHRE_ASSERT(false); in operator delete()
95 CHRE_ASSERT(false); in operator delete()
99 CHRE_ASSERT(false); in operator delete()
104 CHRE_ASSERT(false); in operator delete()
108 CHRE_ASSERT(false); in operator delete[]()
112 CHRE_ASSERT(false); in operator delete[]()
116 CHRE_ASSERT(false); in operator delete[]()
121 CHRE_ASSERT(false); in operator delete[]()
127 CHRE_ASSERT(false); in operator new[]()
[all …]
/system/chre/apps/spammer/
Dspammer.cc49 CHRE_ASSERT(gRunning); in messageSentEventFreeCallback()
50 CHRE_ASSERT(eventType == kMessageSentEvent); in messageSentEventFreeCallback()
51 CHRE_ASSERT(data == kMessageSentEventData); in messageSentEventFreeCallback()
58 CHRE_ASSERT(gRunning); in messageFreeCallback()
66 CHRE_ASSERT(gRunning); in repeatedEventFreeCallback()
67 CHRE_ASSERT(eventType == kRepeatedEvent); in repeatedEventFreeCallback()
68 CHRE_ASSERT(data == kRepeatedEventData); in repeatedEventFreeCallback()
94 CHRE_ASSERT(gRunning); in nanoappHandleEvent()
97 CHRE_ASSERT(eventData == kMessageSentEventData); in nanoappHandleEvent()
106 CHRE_ASSERT(eventData == kRepeatedEventData); in nanoappHandleEvent()
[all …]
/system/chre/platform/include/chre/platform/
Dassert.h31 #define CHRE_ASSERT(condition) \ macro
40 #define CHRE_ASSERT(condition) ((void)(condition)) macro
47 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != nullptr)
49 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != NULL)
67 CHRE_ASSERT(condition); \
81 #define CHRE_ASSERT_IF_NOT_TEST(condition) CHRE_ASSERT(condition)
/system/chre/util/include/chre/util/
Dintrusive_list_impl.h38 CHRE_ASSERT(mSize > 0); in front()
44 CHRE_ASSERT(mSize > 0); in front()
50 CHRE_ASSERT(mSize > 0); in unlink_front()
56 CHRE_ASSERT(mSize > 0); in back()
62 CHRE_ASSERT(mSize > 0); in back()
68 CHRE_ASSERT(mSize > 0); in unlink_back()
74 CHRE_ASSERT(mSize > 0); in unlink_node()
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()
99 CHRE_ASSERT(!full()); in push_back()
108 CHRE_ASSERT(!full()); in emplace_back()
116 CHRE_ASSERT(!empty()); in pop_back()
122 CHRE_ASSERT(index < mSize);
133 CHRE_ASSERT(index < mSize);
[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()
Dsegmented_queue_impl.h33 CHRE_ASSERT(kMaxBlockCount >= kStaticBlockCount); in SegmentedQueue()
34 CHRE_ASSERT(kStaticBlockCount > 0); in SegmentedQueue()
35 CHRE_ASSERT(kMaxBlockCount * kBlockSize < SIZE_MAX); in SegmentedQueue()
94 CHRE_ASSERT(index < mSize);
102 CHRE_ASSERT(index < mSize);
109 CHRE_ASSERT(!empty()); in back()
116 CHRE_ASSERT(!empty()); in back()
123 CHRE_ASSERT(!empty()); in front()
130 CHRE_ASSERT(!empty()); in front()
137 CHRE_ASSERT(!empty()); in pop_front()
[all …]
Ddynamic_vector_impl.h96 CHRE_ASSERT(!empty()); in pop_back()
146 CHRE_ASSERT(index < mSize);
153 CHRE_ASSERT(index < mSize);
244 CHRE_ASSERT(index <= mSize); in prepareInsert()
271 CHRE_ASSERT(index < mSize); in erase()
306 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
319 CHRE_ASSERT(mSize > 0); in front()
325 CHRE_ASSERT(mSize > 0); in front()
331 CHRE_ASSERT(mSize > 0); in back()
337 CHRE_ASSERT(mSize > 0); in back()
Darray_queue_impl.h51 CHRE_ASSERT(mSize > 0); in front()
57 CHRE_ASSERT(mSize > 0); in front()
63 CHRE_ASSERT(mSize > 0); in back()
69 CHRE_ASSERT(mSize > 0); in back()
76 CHRE_ASSERT(index < mSize);
83 CHRE_ASSERT(index < mSize);
258 CHRE_ASSERT(mSize > 0); in pullHead()
267 CHRE_ASSERT(mSize > 0); in pullTail()
/system/chre/util/include/chre/util/host/
Dassert.h36 #define CHRE_ASSERT(condition) assert(condition) macro
38 #define CHRE_ASSERT(condition) ((void)(condition)) macro
42 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != nullptr)
44 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != NULL)
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/nanoapp/
Dassert.h37 #define CHRE_ASSERT(condition) \ macro
46 #define CHRE_ASSERT(condition) ((void)(condition)) macro
50 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != nullptr)
52 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != NULL)
/system/chre/util/include/chre/util/nanoapp/
Dassert.h37 #define CHRE_ASSERT(condition) \ macro
46 #define CHRE_ASSERT(condition) ((void)(condition)) macro
50 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != nullptr)
52 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != NULL)
/system/chre/apps/unload_tester/
Dunload_tester.cc68 CHRE_ASSERT(gotInfo); in nanoappStart()
69 CHRE_ASSERT(info.appId == chreGetAppId()); in nanoappStart()
70 CHRE_ASSERT(info.appId == kUnloadTesterAppId); in nanoappStart()
71 CHRE_ASSERT(info.version == kAppVersion); in nanoappStart()
72 CHRE_ASSERT(info.instanceId == chreGetInstanceId()); in nanoappStart()
/system/chre/core/include/chre/core/
Devent.h63 CHRE_ASSERT(targetInstanceId_ != kSystemInstanceId); in eventType()
64 CHRE_ASSERT(targetAppGroupMask_ > 0); in eventType()
80 CHRE_ASSERT(systemEventCallback_ != nullptr); in Event()
85 CHRE_ASSERT(mRefCount != 0); in incrementRefCount()
89 CHRE_ASSERT(mRefCount > 0); in decrementRefCount()
Drequest_multiplexer_impl.h30 CHRE_ASSERT(maximalRequestChanged); in addRequest()
46 CHRE_ASSERT(maximalRequestChanged); in addRequest()
60 CHRE_ASSERT(maximalRequestChanged); in updateRequest()
61 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
73 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
85 CHRE_ASSERT(index < mRequests.size()); in removeRequest()
/system/chre/platform/tinysys/
Dstdlib_wrapper.cc22 CHRE_ASSERT(false); in operator delete()
25 CHRE_ASSERT(false); in operator delete()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc75 CHRE_ASSERT(!isLoaded()); in setAppInfo()
97 CHRE_ASSERT(!isLoaded()); in reserveBuffer()
122 CHRE_ASSERT(!isLoaded()); in copyNanoappFragment()
139 CHRE_ASSERT(!isLoaded()); in loadStatic()
174 CHRE_ASSERT(false); in openNanoapp()
192 CHRE_ASSERT(mAppBinary != nullptr); in openNanoappFromBuffer()
209 CHRE_ASSERT(mAppFilename != nullptr); in openNanoappFromFile()
/system/chre/util/pigweed/
Dchre_channel_output.cc43 CHRE_ASSERT(targetInstanceId != 0); in sendToNanoapp()
73 CHRE_ASSERT(nanoappInstanceId <= kRpcNanoappMaxId); in setClient()
92 CHRE_ASSERT(instanceId <= kRpcNanoappMaxId); in setServer()
111 CHRE_ASSERT(mEndpointId != CHRE_HOST_ENDPOINT_UNSPECIFIED); in Send()
/system/chre/platform/linux/
Dplatform_nanoapp.cc84 CHRE_ASSERT(!isLoaded()); in loadFromFile()
89 CHRE_ASSERT(!isLoaded()); in loadStatic()
106 CHRE_ASSERT(false); in openNanoapp()
113 CHRE_ASSERT(!mFilename.empty()); in openNanoappFromFile()
/system/chre/platform/slpi/qsh/
Dqsh_proto_shim.cc47 CHRE_ASSERT(nanoappInstId != nullptr); in getCurrentNanoappInstanceId()
75 CHRE_ASSERT(event == nullptr); in postEventFromQsh()
82 CHRE_ASSERT(event != nullptr); in postEventFromQsh()
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Ddynamic_vector_impl.h96 CHRE_ASSERT(!empty()); in pop_back()
146 CHRE_ASSERT(index < mSize);
153 CHRE_ASSERT(index < mSize);
244 CHRE_ASSERT(index <= mSize); in prepareInsert()
271 CHRE_ASSERT(index < mSize); in erase()
306 CHRE_ASSERT(index0 < mSize && index1 < mSize); in swap()
319 CHRE_ASSERT(mSize > 0); in front()
325 CHRE_ASSERT(mSize > 0); in front()
331 CHRE_ASSERT(mSize > 0); in back()
337 CHRE_ASSERT(mSize > 0); in back()
/system/chre/core/
Devent_ref_queue.cc30 CHRE_ASSERT(event != nullptr); in push()
41 CHRE_ASSERT(!mQueue.empty()); in pop()
Dsensor_type_helpers.cc61 CHRE_ASSERT(eventType != nullptr); in getBiasEventType()
125 CHRE_ASSERT(false); in getLastEventSize()
175 CHRE_ASSERT(false); in getSensorTypeName()
/system/chre/util/system/
Ddebug_dump.cc52 CHRE_ASSERT(success); in printVaList()
73 CHRE_ASSERT(mCurrBuff != nullptr); in insertString()
74 CHRE_ASSERT(mBuffPos <= kBuffSize); in insertString()
/system/chre/util/
Dbuffer_base.cc31 CHRE_ASSERT(buffer != nullptr || size == 0); in wrap()
40 CHRE_ASSERT(buffer != nullptr || size == 0); in copy_array()

123