Home
last modified time | relevance | path

Searched refs:DCHECK (Results 1 – 25 of 29) sorted by relevance

12

/system/iorap/src/manager/
Devent_manager.cc128 DCHECK(perfetto_factory_ != nullptr); in AppLaunchEventState()
131 DCHECK(thread_ != nullptr); in AppLaunchEventState()
134 DCHECK(io_thread_ != nullptr); in AppLaunchEventState()
148 DCHECK(!IsTracing()); in OnNewEvent()
214 DCHECK(false) << "invalid type: " << event; // binder layer should've rejected this. in OnNewEvent()
224 DCHECK(!IsTracing()); in StartTracing()
297 DCHECK(is_tracing_); in MarkPendingTrace()
298 DCHECK(rx_lifetime_.has_value()); in MarkPendingTrace()
324 DCHECK(ready_ != true) << "Cannot Subscribe twice"; in Subscribe()
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc127 DCHECK(state != kAtEnd) << "Undefined behavior to dereference end() iterators"; in operator *()
132 DCHECK(state != kAtEnd) << "Undefined behavior to dereference end() iterators"; in operator ->()
201 DCHECK(false) << "Undefined behavior: Cannot increment end() iterator."; in UpdateValues()
205 DCHECK(state == kNormal); in UpdateValues()
599 DCHECK(last.has_value()); in Parent()
600 DCHECK(prev_last.has_value()); in Parent()
735 DCHECK(!parts_stack.empty()); in NormalizePath()
847 DCHECK(state != kUninitialized) << "State must be initialized"; in operator ==()
848 DCHECK(other.state != kUninitialized) << "Other state must be initialized"; in operator ==()
868 DCHECK(cur != end); in operator ==()
[all …]
/system/iorap/src/inode2filename/
Dinode.cc32 DCHECK(out != nullptr); in Parse()
33 DCHECK(error_msg != nullptr); in Parse()
Dsearch_directories.cc154 DCHECK(found->second.inode == stat_buf.st_ino); in FindAndRemoveInodeInList()
856 DCHECK(mode == SearchMode::kInProcessDirect) << " other modes not implemented yet"; in FindFilenamesFromInodes()
902 DCHECK(mode == SearchMode::kInProcessDirect) << " other modes not implemented yet"; in FindFilenamesFromInodesPair()
/system/iorap/src/perfetto/
Drx_producer.cc126 DCHECK(consumer_ != nullptr);
208 DCHECK(perfetto_consumer_ != nullptr); in StateChangedSubject()
226 DCHECK(fail_unless) << "Invalid state transition to " << state << " from " << last_state; in DcheckBadStateTransition()
279 DCHECK(deferred_start); in DcheckValidStateTransition()
331 DCHECK(handle_ptr != nullptr); in OnStateChanged()
439 DCHECK(handle_ptr != nullptr); in EmitNext()
779 DCHECK(perfetto_consumer != nullptr); in CreateTraceStream()
780 DCHECK(reinterpret_cast<volatile const void*>(&trace_config) != nullptr); in CreateTraceStream()
852 DCHECK(false) << "Invalid state: " << state_change; in CollectPerfettoTraceBufferImmediately()
/system/iorap/include/binder/
Dapp_launch_event.h149 DCHECK(false) << "attempted to write an uninitialized AppLaunchEvent to Parcel"; in writeToParcel()
164 DCHECK(parcel != nullptr); in ReadProto()
194 DCHECK(parcel != nullptr); in ReadNullableProto()
215 DCHECK(parcel != nullptr); in WriteProto()
216 DCHECK(proto != nullptr); in WriteProto()
/system/update_engine/common/
Dfake_boot_control.h107 DCHECK(slot < num_slots_); in SetPartitionDevice()
112 DCHECK(slot < num_slots_); in SetSlotBootable()
Dhash_calculator.h58 DCHECK(!raw_hash_.empty()) << "Call Finalize() first"; in raw_hash()
Dutils.cc498 DCHECK(filename || fd); in MakeTempFile()
936 DCHECK(high_version); in ParseRollbackKeyVersion()
937 DCHECK(low_version); in ParseRollbackKeyVersion()
/system/iorap/tests/src/binder/
Dapp_launch_event_test.cc85 DCHECK(intent_proto != nullptr); in MakeIntentStarted()
101 DCHECK(activity_record_proto != nullptr); in MakeActivityLaunched()
127 DCHECK(activity_record_proto != nullptr); in MakeActivityLaunchFinished()
/system/update_engine/
Dshill_proxy.cc38 DCHECK(bus_.get()); in GetServiceForPath()
Dupdate_attempter.cc1135 DCHECK(system_state_); in UpdateRollbackHappened()
1136 DCHECK(system_state_->payload_state()); in UpdateRollbackHappened()
1137 DCHECK(policy_provider_); in UpdateRollbackHappened()
/system/netd/libnetdutils/include/netdutils/
DOperationLimiter.h53 DCHECK(mCounters.empty()) in ~OperationLimiter()
/system/iorap/src/common/
Dexpected.h27 DCHECK(reinterpret_cast<volatile decltype(x)>(x) != nullptr)
318 DCHECK(!has_value());
323 DCHECK(!has_value());
/system/update_engine/update_manager/
Dreal_time_provider.cc47 DCHECK(success); in GetValue()
Dvariable.h72 DCHECK(observer_list_.empty()) << "Don't destroy the variable without " in ~BaseVariable()
Dupdate_manager-inl.h131 DCHECK(EvalStatus::kAskMeAgainLater != ret); in PolicyRequest()
/system/update_engine/payload_consumer/
Dfile_descriptor.cc93 DCHECK(request == BLKDISCARD || request == BLKZEROOUT || in BlkIoctl()
/system/libbase/
Dlogging_test.cpp100 TEST(logging, DCHECK) { in TEST() argument
102 ASSERT_DEATH({SuppressAbortUI(); DCHECK(false);}, "DCheck failed: false "); in TEST()
104 DCHECK(true); in TEST()
/system/iorap/src/binder/
Diiorap_impl.cc124 DCHECK(service_params_.fake_); in HandleFakeBehavior()
/system/bt/profile/avrcp/
Dconnection_handler.cc213 DCHECK(!connection_cb_.is_null()); in InitiatorControlCb()
301 DCHECK(!connection_cb_.is_null()); in AcceptorControlCb()
/system/core/storaged/
Dstoraged_info.cpp188 DCHECK(nr_days > 0); in update_perf_history()
/system/core/fs_mgr/liblp/
Dbuilder.cpp146 DCHECK(size_ == aligned_size); in ShrinkTo()
597 DCHECK(previous.device_index == current.device_index); in ExtentsToFreeList()
709 DCHECK(sectors_needed * LP_SECTOR_SIZE == space_needed); in GrowPartition()
/system/libbase/include/android-base/
Dlogging.h315 #define DCHECK(x) \ macro
/system/update_engine/payload_generator/
Dpayload_signer.cc404 DCHECK(out_length); in SignatureBlobLength()

12