Home
last modified time | relevance | path

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

12

/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc132 DCHECK(state != kAtEnd) << "Undefined behavior to dereference end() iterators"; in operator *()
137 DCHECK(state != kAtEnd) << "Undefined behavior to dereference end() iterators"; in operator ->()
206 DCHECK(false) << "Undefined behavior: Cannot increment end() iterator."; in UpdateValues()
210 DCHECK(state == kNormal); in UpdateValues()
604 DCHECK(last.has_value()); in Parent()
605 DCHECK(prev_last.has_value()); in Parent()
740 DCHECK(!parts_stack.empty()); in NormalizePath()
852 DCHECK(state != kUninitialized) << "State must be initialized"; in operator ==()
853 DCHECK(other.state != kUninitialized) << "Other state must be initialized"; in operator ==()
873 DCHECK(cur != end); in operator ==()
[all …]
/system/iorap/src/inode2filename/
Dinode.cc32 DCHECK(out != nullptr); in Parse()
33 DCHECK(error_msg != nullptr); in Parse()
Dinode_resolver.cc78 DCHECK(dependencies_.system_call != nullptr);
83 DCHECK(dependencies_.system_call != nullptr);
85 DCHECK(data_source_ != nullptr);
Ddata_source.cc97 DCHECK(dependencies_.text_cache_filename.has_value()) << "Must have text cache filename"; in TextCacheDataSource()
165 DCHECK(dependencies_.system_call != nullptr);
Dout_of_process_inode_resolver.cc92 DCHECK(stream != nullptr); in ReadOneLine()
93 DCHECK(eof != nullptr); in ReadOneLine()
/system/iorap/src/manager/
Devent_manager.cc165 DCHECK(perfetto_factory_ != nullptr);
173 DCHECK(thread_ != nullptr);
176 DCHECK(io_thread_ != nullptr);
179 DCHECK(async_pool_ != nullptr);
182 DCHECK(version_map_ != nullptr);
230 DCHECK(!IsTracing()); in OnNewEvent()
373 DCHECK(false) << "invalid type: " << event; // binder layer should've rejected this. in OnNewEvent()
439 DCHECK(allowed_readahead_); in StartReadAhead()
440 DCHECK(!IsReadAhead()); in StartReadAhead()
475 DCHECK(allowed_tracing_); in StartTracing()
[all …]
/system/iorap/src/perfetto/
Drx_producer.cc126 DCHECK(consumer_ != nullptr);
214 DCHECK(perfetto_consumer_ != nullptr); in StateChangedSubject()
232 DCHECK(fail_unless) << "Invalid state transition to " << state << " from " << last_state; in DcheckBadStateTransition()
285 DCHECK(deferred_start); in DcheckValidStateTransition()
337 DCHECK(handle_ptr != nullptr); in OnStateChanged()
453 DCHECK(handle_ptr != nullptr); in EmitNext()
622 DCHECK(content != nullptr); in ReadFdToString()
853 DCHECK(perfetto_consumer != nullptr); in CreateTraceStream()
854 DCHECK(reinterpret_cast<volatile const void*>(&trace_config) != nullptr); in CreateTraceStream()
926 DCHECK(false) << "Invalid state: " << state_change; in CollectPerfettoTraceBufferImmediately()
/system/update_engine/common/
Dfake_boot_control.h99 DCHECK(slot < num_slots_); in SetPartitionDevice()
104 DCHECK(slot < num_slots_); in SetSlotBootable()
Dhash_calculator.h58 DCHECK(!raw_hash_.empty()) << "Call Finalize() first"; in raw_hash()
/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/iorap/src/compiler/
Dcompiler.cc358 DCHECK(packet.has_timestamp() == false) in SelectPageCacheFtraceEvents()
489 DCHECK(HasAll()); in GetInodeMap()
494 DCHECK(HasAll()); in GetInodeMap()
499 DCHECK(HasAll()); in GetEvent()
504 DCHECK(HasAll()); in GetEvent()
884 DCHECK(trace_file_proto->mutable_index() != nullptr); in PerformCompilation()
896 DCHECK(entry != nullptr); in PerformCompilation()
912 DCHECK(trace_file_proto->mutable_list() != nullptr); in PerformCompilation()
914 DCHECK(entry != nullptr); in PerformCompilation()
/system/update_engine/
Dshill_proxy.cc38 DCHECK(bus_.get()); in GetServiceForPath()
/system/iorap/include/binder/
Dapp_launch_event.h189 DCHECK(false) << "attempted to write an uninitialized AppLaunchEvent to Parcel"; in writeToParcel()
204 DCHECK(parcel != nullptr); in ReadProto()
234 DCHECK(parcel != nullptr); in ReadNullableProto()
255 DCHECK(parcel != nullptr); in WriteProto()
256 DCHECK(proto != nullptr); in WriteProto()
/system/iorap/src/serialize/
Dprotobuf_io.cc120 DCHECK(false) << "Invalid protobuf size: " << byte_size; in WriteFully()
151 DCHECK(false) << "ProtobufIO:: SerializeToZeroCopyStream failed despite precalculating size"; in WriteFully()
/system/iorap/src/prefetcher/
Dsession_manager.cc100 DCHECK(!FindSession(session->SessionId())) << "session cannot already exist"; in InsertNewSession()
133 DCHECK(FindSession(session_id) == nullptr); in CreateSession()
197 DCHECK(false) << "not supposed to create a regular session for Socket"; in CreateSession()
Dsession.cc134 DCHECK(entry_list_map_[path_id].empty()); in RegisterFilePath()
148 DCHECK(*maybe_fd != nullptr); in UnregisterFilePath()
172 DCHECK(it != end); in UnregisterFilePath()
177 DCHECK(fd_it != path_fd_map_.end()); in UnregisterFilePath()
211 DCHECK(*maybe_fd != nullptr); in ReadAhead()
215 DCHECK(file_name_opt.has_value()); // if one map has it, all maps have it. in ReadAhead()
Dprefetcher_daemon.cc856 DCHECK(file_path.has_value()); in Write()
890 DCHECK(file_path.has_value()); in Write()
1051 DCHECK(false); in StartViaFork()
1124 DCHECK(session_manager_ != nullptr); in Impl()
1142 DCHECK(forked_); in SendCommand()
1193 DCHECK(command.RequiresFd()) << command; in SendCommand()
/system/netd/libnetdutils/include/netdutils/
DOperationLimiter.h53 DCHECK(mCounters.empty()) in ~OperationLimiter()
/system/iorap/src/db/
Dmain.cc193 DCHECK(activity.has_value()); in Main()
212 DCHECK(activity.has_value()); in Main()
Dmodels.h98 DCHECK(db.get() != nullptr); in Prepare()
99 DCHECK(sql != nullptr); in Prepare()
107 DCHECK(db_stmt.CheckOk(rc)) << sql; in Prepare()
238 DCHECK(text != nullptr) << "Column should be marked NOT NULL, otherwise use optional<string>"; in Column()
429 DCHECK(s_singleton_.has_value()); in GetSingleton()
758 DCHECK(package.has_value()); in SelectOrInsert()
/system/iorap/src/common/
Dexpected.h27 DCHECK(reinterpret_cast<volatile decltype(x)>(x) != nullptr)
324 DCHECK(!has_value());
329 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()
/system/update_engine/payload_consumer/
Dfile_descriptor.cc93 DCHECK(request == BLKDISCARD || request == BLKZEROOUT || in BlkIoctl()
/system/core/base/
Dlogging_test.cpp89 TEST(logging, DCHECK) { in TEST() argument
91 ASSERT_DEATH({SuppressAbortUI(); DCHECK(false);}, "DCheck failed: false "); in TEST()
93 DCHECK(true); in TEST()

12