/system/core/fs_mgr/libvbmeta/ |
D | writer.cpp | 23 using android::base::ErrnoError; 47 return ErrnoError() << __PRETTY_FUNCTION__ << " lseek failed"; in WritePrimaryVBMetaTable() 51 return ErrnoError() << "Failed to write primary vbmeta table at offset " << offset; in WritePrimaryVBMetaTable() 59 return ErrnoError() << __PRETTY_FUNCTION__ << " lseek failed"; in WriteBackupVBMetaTable() 63 return ErrnoError() << "Failed to write backup vbmeta table at offset " << offset; in WriteBackupVBMetaTable() 71 return ErrnoError() << __PRETTY_FUNCTION__ << " lseek failed"; in WriteVBMetaImage() 75 return ErrnoError() << "Failed to write vbmeta image at offset " << offset; in WriteVBMetaImage()
|
D | utility.cpp | 25 using android::base::ErrnoError; 35 return ErrnoError() << "Couldn't get the file size"; in GetFileSize()
|
D | reader.cpp | 21 using android::base::ErrnoError; 63 return ErrnoError() << "Couldn't read super vbmeta header at offset " << offset; in ReadVBMetaTable() 76 return ErrnoError() << "Couldn't read super vbmeta descriptors at offset " in ReadVBMetaTable() 99 return ErrnoError() << "Couldn't read vbmeta image at offset " << offset; in ReadVBMetaImage()
|
D | builder.cpp | 26 using android::base::ErrnoError; 64 return ErrnoError() << "Couldn't open vbmeta image file " << file; in ReadVBMetaImageFromFile() 78 return ErrnoError() << "Couldn't read vbmeta image file " << file; in ReadVBMetaImageFromFile()
|
/system/core/init/ |
D | service_utils.cpp | 52 return ErrnoError() << "Could not open namespace at " << path; in EnterNamespace() 55 return ErrnoError() << "Could not setns() namespace at " << path; in EnterNamespace() 70 return ErrnoError() << "Could not remount(/) recursively as MS_SLAVE"; in SetUpMountNamespace() 77 return ErrnoError() << "Could not umount(/proc)"; in SetUpMountNamespace() 80 return ErrnoError() << "Could not mount(/proc)"; in SetUpMountNamespace() 85 return ErrnoError() << "Could not umount(/sys)"; in SetUpMountNamespace() 88 return ErrnoError() << "Could not mount(/sys)"; in SetUpMountNamespace() 96 return ErrnoError() << "Could not set name"; in SetUpPidNamespace() 101 return ErrnoError() << "Could not fork init inside the PID namespace"; in SetUpPidNamespace() 187 return ErrnoError() << "Failed to open file '" << name << "'"; in Create() [all …]
|
D | epoll.cpp | 36 return ErrnoError() << "epoll_create1 failed"; in Open() 55 Result<void> result = ErrnoError() << "epoll_ctl failed to add fd"; in RegisterHandler() 64 return ErrnoError() << "epoll_ctl failed to remove fd"; in UnregisterHandler() 82 return ErrnoError() << "epoll_wait failed"; in Wait()
|
D | builtins.cpp | 289 return ErrnoError() << "setenv() failed"; in do_export() 307 if (s < 0) return ErrnoError() << "opening socket failed"; in do_ifup() 310 return ErrnoError() << "ioctl(..., SIOCGIFFLAGS, ...) failed"; in do_ifup() 316 return ErrnoError() << "ioctl(..., SIOCSIFFLAGS, ...) failed"; in do_ifup() 335 if (fd == -1) return ErrnoError() << "open(\"" << filename << "\") failed"; in do_insmod() 338 if (rc == -1) return ErrnoError() << "finit_module for \"" << filename << "\" failed"; in do_insmod() 379 return ErrnoError() << "lstat() failed on " << options.target; in make_dir_with_options() 385 return ErrnoError() << "lstat() failed on new " << options.target; in make_dir_with_options() 395 return ErrnoError() << "lchown failed on " << options.target; in make_dir_with_options() 402 return ErrnoError() << "fchmodat() failed on " << options.target; in make_dir_with_options() [all …]
|
D | security.cpp | 60 return ErrnoError() << "Failed to open /dev/hw_random"; in MixHwrngIntoLinuxRngAction() 66 return ErrnoError() << "Failed to open /dev/urandom"; in MixHwrngIntoLinuxRngAction() 75 return ErrnoError() << "Failed to read from /dev/hw_random"; in MixHwrngIntoLinuxRngAction() 82 return ErrnoError() << "Failed to write to /dev/urandom"; in MixHwrngIntoLinuxRngAction()
|
D | proto_utils.h | 37 return ErrnoError(); in ReadMessage() 56 return ErrnoError() << "send() failed to send message contents"; in SendMessage()
|
D | util.cpp | 73 if (!pwd) return ErrnoError() << "getpwnam failed"; in DecodeUid() 80 if (errno) return ErrnoError() << "strtoul failed"; in DecodeUid() 95 return ErrnoError() << "setsockcreatecon(\"" << socketcon << "\") failed"; in CreateSocket() 101 return ErrnoError() << "Failed to open socket '" << name << "'"; in CreateSocket() 112 return ErrnoError() << "Failed to unlink old socket '" << name << "'"; in CreateSocket() 123 return ErrnoError() << "Failed to set SO_PASSCRED '" << name << "'"; in CreateSocket() 138 return ErrnoError() << "Failed to bind socket '" << name << "'"; in CreateSocket() 142 return ErrnoError() << "Failed to lchown socket '" << addr.sun_path << "'"; in CreateSocket() 145 return ErrnoError() << "Failed to fchmodat socket '" << addr.sun_path << "'"; in CreateSocket() 161 return ErrnoError() << "open() failed"; in ReadFile() [all …]
|
D | firmware_handler.cpp | 77 return ErrnoError() << "Socketpair() for stdout failed"; in RunExternalHandler() 83 return ErrnoError() << "Socketpair() for stderr failed"; in RunExternalHandler() 90 return ErrnoError() << "fork() failed"; in RunExternalHandler() 126 return ErrnoError() << "waitpid() failed"; in RunExternalHandler() 131 return ErrnoError() << "ReadFdToString() for stdout failed"; in RunExternalHandler()
|
D | persistent_properties.cpp | 59 return ErrnoError() << "Unable to open persistent property directory \"" in LoadLegacyPersistentProperties() 178 return ErrnoError() << "Could not open temporary properties file"; in WritePersistentPropertyFile() 185 return ErrnoError() << "Unable to write file contents"; in WritePersistentPropertyFile() 203 return ErrnoError() << "Unable to open persistent properties directory for fsync()"; in WritePersistentPropertyFile()
|
D | result.h | 24 using android::base::ErrnoError;
|
D | mount_namespace.cpp | 89 return ErrnoError() << "Could not create mount point " << mount_path; in MountDir() 92 return ErrnoError() << "Could not bind mount " << path << " to " << mount_path; in MountDir() 291 return ErrnoError() << "Failed to switch to " << ns_name << " mount namespace."; in SwitchToMountNamespaceIfNeeded()
|
D | reboot.cpp | 209 return ErrnoError() << "Failed to call '/system/bin/vdc " << system << " " << cmd << "'"; in CallVdc() 464 return ErrnoError() << "Failed to read " << ZRAM_BACK_DEV; in KillZramBackingDevice() 474 return ErrnoError() << "zram_backing_dev: swapoff (" << backing_dev << ")" in KillZramBackingDevice() 492 return ErrnoError() << "zram_backing_dev: open(" << backing_dev << ")" in KillZramBackingDevice() 497 return ErrnoError() << "zram_backing_dev: loop_clear (" << backing_dev << ")" in KillZramBackingDevice() 551 return ErrnoError() << "Failed to call '/system/bin/apexd --unmount-all'"; in UnmountAllApexes()
|
/system/apex/apexd/ |
D | apexd_loop.cpp | 82 return ErrnoError() << "Failed to open " << sysfs_device; in configureReadAhead() 88 return ErrnoError() << "Failed to write to " << sysfs_device; in configureReadAhead() 102 return ErrnoError() << "Failed to open loop-control"; in preAllocateLoopDevices() 114 return ErrnoError() << "Failed LOOP_CTL_ADD"; in preAllocateLoopDevices() 134 return ErrnoError() << "Failed to open loop-control"; in createLoopDevice() 139 return ErrnoError() << "Failed LOOP_CTL_GET_FREE"; in createLoopDevice() 165 return ErrnoError() << "Failed to open " << target; in createLoopDevice() 182 return ErrnoError() << "Failed to open " << device; in createLoopDevice() 189 return ErrnoError() << "Failed to LOOP_SET_FD"; in createLoopDevice() 198 return ErrnoError() << "Failed to LOOP_SET_STATUS64"; in createLoopDevice() [all …]
|
D | apexd_utils.h | 41 using android::base::ErrnoError; 74 return ErrnoError() << "Unable to fork"; in ForkAndRun() 134 return ErrnoError() << "Could not mkdir " << path; in createDirIfNeeded() 137 return ErrnoError() << "Could not stat " << path; in createDirIfNeeded() 148 return ErrnoError() << "Could not chmod " << path; in createDirIfNeeded() 161 return ErrnoError() << "Failed to delete " << file; in DeleteDirContent() 181 return ErrnoError() << "Failed to stat " << path; in get_path_inode() 223 return ErrnoError() << "wait for '" << path << "' timed out and took " << t; in WaitForFile()
|
D | apexd_private.cpp | 29 using android::base::ErrnoError; 73 return ErrnoError() << "Could not create mountpoint " << target; in BindMount() 90 return ErrnoError() << "Could not bind-mount " << source << " to " << target; in BindMount()
|
D | apexd_verity.cpp | 32 using android::base::ErrnoError; 65 return ErrnoError() << "Failed to open " << apex.GetPath(); in GenerateHashTree() 83 return ErrnoError() << "Failed to seek"; in GenerateHashTree() 122 return ErrnoError() << "Failed to open " << hashtree_file; in CalculateRootDigest() 128 return ErrnoError() << "Failed to read " << block_size << " bytes from " in CalculateRootDigest()
|
D | apexd.cpp | 79 using android::base::ErrnoError; 316 return ErrnoError() << "Failed to unlink " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles() 333 return ErrnoError() << "Can't open " << verity_device; in readVerityDevice() 340 return ErrnoError() << "Can't verify " << verity_device << "; corrupted?"; in readVerityDevice() 379 return ErrnoError() << "Could not create mount point " << mountPoint; in MountPackageImpl() 388 return ErrnoError() << mountPoint << " is not empty"; in MountPackageImpl() 493 return ErrnoError() << "Mounting failed for package " << full_path; in MountPackageImpl() 512 return ErrnoError() << "Failed to unlink " << hashtree_file; in VerifyAndTempMountPackage() 532 return ErrnoError() << "Failed to unmount directory " << data.mount_point; in Unmount() 803 return ErrnoError() << "Failed to backup " << apex_file->GetPath(); in BackupActivePackages() [all …]
|
D | apex_file.cpp | 161 return ErrnoError() << "Couldn't seek to AVB footer"; in getAvbFooter() 166 return ErrnoError() << "Couldn't read AVB footer"; in getAvbFooter() 259 return ErrnoError() << "Couldn't read AVB meta-data"; in verifyVbMeta() 319 return ErrnoError() << "Failed to open " << GetPath(); in VerifyApexVerity()
|
D | apex_shim.cpp | 33 using android::base::ErrnoError; 93 return ErrnoError() << "Failed to read " << file_path; in GetAllowedHashes()
|
/system/linkerconfig/ |
D | main.cc | 45 using android::base::ErrnoError; 157 return ErrnoError() << "Failed to open file " << file_path; in WriteConfigurationToFile() 167 return ErrnoError() << "Failed to write content to " << file_path; in WriteConfigurationToFile() 179 return ErrnoError() << "Failed to update permission of " << file_path; in UpdatePermission() 250 return ErrnoError() << "Failed to create directory " << dir_path; in GenerateApexConfiguration()
|
/system/core/fs_mgr/libfs_avb/ |
D | util.h | 31 using android::base::ErrnoError;
|
/system/libbase/ |
D | result_test.cpp | 113 Result<void> result = ErrnoError() << "failure" << 1; in TEST() 125 Result<void> result = ErrnoError(); in TEST() 170 Result<void> result = ErrnoError() << error_text; in TEST() 352 Result<int> result2 = ErrnoError() << "Failed" << SetErrnoToTwo<char>; in TEST()
|