/system/chre/std_overrides/ |
D | stdlib_wrapper.cc | 64 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/ |
D | spammer.cc | 49 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/ |
D | assert.h | 31 #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/ |
D | intrusive_list_impl.h | 38 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()
|
D | fixed_size_vector_impl.h | 36 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 …]
|
D | heap_impl.h | 33 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()
|
D | segmented_queue_impl.h | 33 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 …]
|
D | dynamic_vector_impl.h | 96 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()
|
D | array_queue_impl.h | 51 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/ |
D | assert.h | 36 #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/ |
D | assert.h | 37 #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/ |
D | assert.h | 37 #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/ |
D | unload_tester.cc | 68 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/ |
D | event.h | 63 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()
|
D | request_multiplexer_impl.h | 30 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/ |
D | stdlib_wrapper.cc | 22 CHRE_ASSERT(false); in operator delete() 25 CHRE_ASSERT(false); in operator delete()
|
/system/chre/platform/slpi/ |
D | platform_nanoapp.cc | 75 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/ |
D | chre_channel_output.cc | 43 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/ |
D | platform_nanoapp.cc | 84 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/ |
D | qsh_proto_shim.cc | 47 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/ |
D | dynamic_vector_impl.h | 96 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/ |
D | event_ref_queue.cc | 30 CHRE_ASSERT(event != nullptr); in push() 41 CHRE_ASSERT(!mQueue.empty()); in pop()
|
D | sensor_type_helpers.cc | 61 CHRE_ASSERT(eventType != nullptr); in getBiasEventType() 125 CHRE_ASSERT(false); in getLastEventSize() 175 CHRE_ASSERT(false); in getSensorTypeName()
|
/system/chre/util/system/ |
D | debug_dump.cc | 52 CHRE_ASSERT(success); in printVaList() 73 CHRE_ASSERT(mCurrBuff != nullptr); in insertString() 74 CHRE_ASSERT(mBuffPos <= kBuffSize); in insertString()
|
/system/chre/util/ |
D | buffer_base.cc | 31 CHRE_ASSERT(buffer != nullptr || size == 0); in wrap() 40 CHRE_ASSERT(buffer != nullptr || size == 0); in copy_array()
|