Home
last modified time | relevance | path

Searched refs:FATAL (Results 1 – 25 of 72) sorted by relevance

123

/system/extras/verity/fec/
Dimage.cpp70 FATAL("empty file?\n"); in calculate_rounds()
72 FATAL("file size %" PRIu64 " is not a multiple of %u bytes\n", in calculate_rounds()
110 FATAL("failed to read file %s\n", ctx->fec_filename); in file_image_load()
128 FATAL("failed to allocate memory\n"); in file_image_load()
162 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno)); in image_load()
180 FATAL("failed to open file '%s: %s'\n", filename.c_str(), in image_save()
185 FATAL("failed to write to output: %s\n", strerror(errno)); in image_save()
206 FATAL("failed to allocate %u bytes\n", ctx->fec_size); in image_ecc_new()
217 FATAL("failed to open file '%s': %s\n", filename.c_str(), in image_ecc_load()
222 FATAL("failed to seek to header in '%s': %s\n", filename.c_str(), in image_ecc_load()
[all …]
Dmain.cpp78 FATAL("failed to recover [%" PRIu64 ", %" PRIu64 ")\n", in decode_rs()
128 FATAL("invalid value of %s\n", name); in parse_arg()
131 FATAL("value of roots too large (max. %" PRIu64 ")\n", maxval); in parse_arg()
149 FATAL("failed to open input\n"); in get_start()
156 FATAL("no ecc data\n"); in get_start()
164 FATAL("no verity data\n"); in get_start()
177 FATAL("invalid parameters: inplace can only used when decoding\n"); in encode()
181 FATAL("failed to read input\n"); in encode()
185 FATAL("failed to allocate ecc\n"); in encode()
204 FATAL("failed to process input\n"); in encode()
[all …]
/system/extras/verity/
Dbuild_verity_tree.cpp35 #define FATAL(x...) { \ macro
156 FATAL("failed to allocate memory for salt\n"); in main()
163 FATAL("failed to convert salt from hex\n"); in main()
168 FATAL("failed to allocate memory for salt\n"); in main()
171 FATAL("failed to convert salt to bytes\n"); in main()
187 FATAL("invalid value of verity-size\n"); in main()
190 FATAL("invalid value of verity-size\n"); in main()
211 FATAL("failed to get digest\n"); in main()
221 FATAL("failed to allocate memory for salt\n"); in main()
226 FATAL("failed to open /dev/urandom\n"); in main()
[all …]
/system/core/debuggerd/
Dcrash_dump.cpp90 PLOG(FATAL) << "failed to detach from thread " << tid; in ptrace_seize_thread()
98 PLOG(FATAL) << "failed to interrupt thread " << tid; in ptrace_seize_thread()
189 PLOG(FATAL) << "failed to drop capabilities"; in drop_capabilities()
193 PLOG(FATAL) << "failed to set PR_SET_NO_NEW_PRIVS"; in drop_capabilities()
220 PLOG(FATAL) << "failed to set signal mask"; in main()
227 LOG(FATAL) << "invalid main tid: " << argv[1]; in main()
231 LOG(FATAL) << "invalid pseudothread tid: " << argv[2]; in main()
235 LOG(FATAL) << "target died before we could attach (received main tid = " << main_tid << ")"; in main()
240 LOG(FATAL) << "failed to fetch process info for target " << main_tid; in main()
244 LOG(FATAL) << "target info mismatch, expected pid " << target << ", tid " << main_tid in main()
[all …]
/system/core/base/
Dlogging_test.cpp111 static_assert(android::base::severity < android::base::FATAL, "Bad input"); \
113 i <= static_cast<size_t>(android::base::FATAL); \
140 CHECK_WOULD_LOG_ENABLED(FATAL); in TEST()
198 static_assert(arraysize(log_characters) - 1 == android::base::FATAL + 1, in make_log_pattern()
228 android::base::ScopedLogSeverity sls1(android::base::FATAL); \
234 android::base::ScopedLogSeverity sls1(android::base::FATAL); \
308 android::base::ScopedLogSeverity sls1(android::base::FATAL); \
314 android::base::ScopedLogSeverity sls1(android::base::FATAL); \
335 ASSERT_DEATH({SuppressAbortUI(); LOG(FATAL) << "foobar";}, "foobar"); in TEST()
336 ASSERT_DEATH({SuppressAbortUI(); LOG(::android::base::FATAL) << "foobar";}, "foobar"); in TEST()
[all …]
Dlogging.cpp160 [android::base::FATAL] = 2, // KERN_CRIT in KernelLogger()
163 static_assert(arraysize(kLogSeverityToKernelLogLevel) == android::base::FATAL + 1, in KernelLogger()
203 static_assert(arraysize(log_characters) - 1 == FATAL + 1, in StderrLogger()
232 static_assert(arraysize(kLogSeverityToAndroidLogPriority) == FATAL + 1, in operator ()()
310 LOG(FATAL) << "unsupported '" << spec << "' in ANDROID_LOG_TAGS (" << tags in InitLogging()
432 if (data_->GetSeverity() == FATAL) { in ~LogMessage()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc64 LOG_IF(FATAL, !parsing_successful) in ParseSignatureSizes()
67 LOG_IF(FATAL, size != (2048 / 8)) << in ParseSignatureSizes()
111 LOG_IF(FATAL, in_file.empty()) in CalculateHashForSigning()
113 LOG_IF(FATAL, out_hash_file.empty()) in CalculateHashForSigning()
146 LOG_IF(FATAL, in_file.empty()) in SignPayload()
148 LOG_IF(FATAL, out_file.empty()) in SignPayload()
150 LOG_IF(FATAL, payload_signature_file.empty()) in SignPayload()
171 LOG_IF(FATAL, in_file.empty()) in VerifySignedPayload()
173 LOG_IF(FATAL, public_key.empty()) in VerifySignedPayload()
187 LOG_IF(FATAL, old_rootfs.empty()) in ApplyDelta()
[all …]
/system/libhidl/libhidlmemory/
Dmapping.cpp57 LOG(FATAL) << "Could not fetch mapper for " << memory.name() << " shared memory"; in mapMemory()
61 LOG(FATAL) << "IMapper must be a passthrough service."; in mapMemory()
67 LOG(FATAL) << "hidl_memory map returned transport error."; in mapMemory()
/system/core/init/test_service/
Dtest_service.cpp33 LOG(FATAL) << "no status field requested"; in main()
39 LOG(FATAL) << "need even number of command-line arguments"; in main()
45 PLOG(FATAL) << "could not read /proc/self/status"; in main()
/system/connectivity/wificond/tests/integration/
Dscanner_test.cpp42 LOG(FATAL) << "Failed to create client interface"; in InitInterfaceAndReturnScanner()
46 LOG(FATAL) << "Failed to get a valid client interface handler"; in InitInterfaceAndReturnScanner()
50 LOG(FATAL) << "Failed to get a WifiScannerImpl handler"; in InitInterfaceAndReturnScanner()
/system/bt/hci/src/
Dhci_layer_linux.cc116 LOG(FATAL) << "This packet filled buffer, if it have continuation we " in monitor_socket()
147 LOG(FATAL) << "Unexpected event type: " << +type; in monitor_socket()
196 LOG(FATAL) << "HCI interface hci" << +hci_interface << " not found"; in hci_initialize()
205 LOG(FATAL) << "socket bind error " << strerror(errno); in hci_initialize()
210 LOG(FATAL) << "socketpair failed: " << strerror(errno); in hci_initialize()
263 LOG(FATAL) << "Unknown packet type " << event; in hci_transmit()
276 if (ret == -1) LOG(FATAL) << strerror(errno); in hci_transmit()
/system/core/base/include/android-base/
Dlogging.h76 FATAL, enumerator
164 using ::android::base::FATAL; \
239 ::android::base::FATAL, -1).stream() \
249 ::android::base::FATAL, -1).stream() \
271 ::android::base::FATAL, -1).stream() \
286 PLOG(FATAL) << #call << " failed for " << (what); \
301 ? (LOG(FATAL) << "Check failed: " << #x out, dummy) \
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp116 PLOG(FATAL) << "failed to unlink tombstone at " << kTombstoneDirectory << "/" << file_name; in get_tombstone()
122 PLOG(FATAL) << "failed to create tombstone at " << kTombstoneDirectory << "/" << file_name; in get_tombstone()
278 PLOG(FATAL) << "failed to open tombstone directory"; in main()
287 PLOG(FATAL) << "failed to get socket from init"; in main()
295 LOG(FATAL) << "failed to create event_base"; in main()
303 LOG(FATAL) << "failed to create evconnlistener"; in main()
/system/connectivity/wificond/tests/
Dshell_utils.cpp62 LOG(FATAL) << "Failed to create pipe"; in RunShellCommand()
70 LOG(FATAL) << "Failed to fork child for shell command: " << shell_command; in RunShellCommand()
80 LOG(FATAL) << "exec() of child failed " << strerror(errno); in RunShellCommand()
/system/connectivity/wifilogd/
Dmain_loop.cpp47 LOG(FATAL) << "Failed to get control socket: " << std::strerror(errno); in MainLoop()
83 LOG(FATAL) << "Unexpected error: " << std::strerror(err); in ProcessError()
Dos.cpp56 LOG(FATAL) << "Unexpected error: " << std::strerror(errno); in GetTimestamp()
89 LOG(FATAL) << "Unexpected error: " << std::strerror(errno); in Nanosleep()
/system/libhidl/transport/
DServiceManagement.cpp311 LOG(FATAL) << "Cannot register services with passthrough service manager."; in add()
317 LOG(FATAL) << "Cannot getTransport with passthrough service manager."; in getTransport()
322 LOG(FATAL) << "Cannot list services with passthrough service manager."; in list()
328 LOG(FATAL) << "Cannot list services with passthrough service manager."; in listByInterface()
336 LOG(FATAL) << "Cannot register for notifications with passthrough service manager."; in registerForNotifications()
374 LOG(FATAL) << "Cannot call registerPassthroughClient on passthrough service manager. " in registerPassthroughClient()
/system/libhidl/base/
DStatus.cpp142 LOG(FATAL) << "Attempted to retrieve value from failed HIDL call: " << description(); in assertOk()
149 LOG(FATAL) << "Failed HIDL return status not checked: " << description(); in ~return_status()
155 LOG(FATAL) << "Failed HIDL return status not checked: " << description(); in operator =()
DHidlSupport.cpp73 LOG(FATAL) << "Failed to clone native_handle in hidl_handle."; in operator =()
221 LOG(FATAL) << "string size can't exceed 2^32 bytes."; in copyFrom()
255 LOG(FATAL) << "string size can't exceed 2^32 bytes."; in setToExternal()
/system/core/sdcard/
Dsdcard.cpp290 PLOG(FATAL) << "failed to fuse_setup"; in run()
299 PLOG(FATAL) << "failed to fuse_setup"; in run()
313 LOG(FATAL) << "failed to pthread_create"; in run()
317 LOG(FATAL) << "terminated prematurely"; in run()
370 LOG(FATAL) << "failed to sdcardfs_setup"; in run_sdcardfs()
382 LOG(FATAL) << "failed to sdcardfs_setup"; in run_sdcardfs()
/system/core/adb/
Dfdevent.cpp130 LOG(FATAL) << "destroying fde not created by fdevent_create(): " << dump_fde(fde); in fdevent_destroy()
307 LOG(FATAL) << "Failed to read the subproc's fd from " << fd; in fdevent_subproc_event_func()
318 LOG(FATAL) << "subproc_fd(" << subproc_fd << ") != subproc_fde->fd(" << subproc_fde->fd in fdevent_subproc_event_func()
350 PLOG(FATAL) << "cannot create shell-exit socket-pair"; in fdevent_subproc_setup()
/system/core/adb/daemon/
Dmain.cpp133 LOG(FATAL) << "Could not set SELinux context"; in drop_privileges()
140 LOG(FATAL) << "Could not install *smartsocket* listener: " << error; in drop_privileges()
/system/update_engine/
Ddbus_connection.cc38 LOG(FATAL) << "Failed to initialize DBus, aborting."; in DBusConnection()
/system/libhidl/transport/allocator/1.0/default/
Dservice.cpp24 LOG(FATAL) << "Unable to register allocator service: " << status; in main()
/system/extras/iotop/
Dtaskstats.cpp35 LOG(FATAL) << "Failed to allocate netlink socket"; in Open()
40 LOG(FATAL) << nl_geterror(ret) << std::endl << "Unable to open netlink socket (are you root?)"; in Open()
45 …LOG(FATAL) << nl_geterror(family_id) << std::endl << "Unable to determine taskstats family id (doe… in Open()

123