/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 24 memset(name_, 0, sizeof(name_)); in CgroupController() 36 strncpy(name_, name.c_str(), sizeof(name_) - 1); in CgroupController() 37 name_[sizeof(name_) - 1] = '\0'; in CgroupController() 51 return name_; in name()
|
/system/core/init/ |
D | ueventd_parser_test.cpp | 27 EXPECT_EQ(expected.name_, test.name_); in TestSubsystems() 28 EXPECT_EQ(expected.devname_source_, test.devname_source_) << expected.name_; in TestSubsystems() 29 EXPECT_EQ(expected.dir_name_, test.dir_name_) << expected.name_; in TestSubsystems() 33 EXPECT_EQ(expected.name_, test.name_); in TestPermissions() 34 EXPECT_EQ(expected.perm_, test.perm_) << expected.name_; in TestPermissions() 35 EXPECT_EQ(expected.uid_, test.uid_) << expected.name_; in TestPermissions() 36 EXPECT_EQ(expected.gid_, test.gid_) << expected.name_; in TestPermissions() 37 EXPECT_EQ(expected.prefix_, test.prefix_) << expected.name_; in TestPermissions() 38 EXPECT_EQ(expected.wildcard_, test.wildcard_) << expected.name_; in TestPermissions()
|
D | devices.h | 50 const std::string& name() const { return name_; } in name() 53 std::string name_; 87 Subsystem(const std::string& name) : name_(name) {} in Subsystem() 89 : name_(name), devname_source_(source), dir_name_(dir_name) {} in Subsystem() 101 bool operator==(const std::string& string_name) const { return name_ == string_name; } 104 std::string name_;
|
D | descriptors.cpp | 38 : name_(name), type_(type), uid_(uid), gid_(gid), perm_(perm), context_(context) { in DescriptorInfo() 45 return os << " descriptors " << info.name_ << " " << info.type_ << " " << std::oct << info.perm_; in operator <<() 49 return name_ == other.name_ && type_ == other.type_ && key() == other.key(); in operator ==() 59 std::string publishedName = key() + name_; in CreateAndPublish()
|
D | service.cpp | 145 if (prctl(PR_SET_NAME, name_.c_str()) == -1) { in SetUpPidNamespace() 227 : name_(name), in Service() 252 std::string prop_name = "init.svc." + name_; in NotifyStateChange() 257 std::string boottime_property = "ro.boottime." + name_; in NotifyStateChange() 270 LOG(INFO) << "Sending signal " << signal << " to service '" << name_ << "' (pid " << pid_ in KillProcessGroup() 296 PLOG(FATAL) << "prctl(PR_GET_SECUREBITS) failed for " << name_; in SetProcessAttributes() 300 PLOG(FATAL) << "prctl(PR_SET_SECUREBITS) failed for " << name_; in SetProcessAttributes() 305 if (setpgid(0, getpid()) == -1) PLOG(ERROR) << "setpgid failed for " << name_; in SetProcessAttributes() 309 PLOG(FATAL) << "setgid failed for " << name_; in SetProcessAttributes() 313 PLOG(FATAL) << "setgroups failed for " << name_; in SetProcessAttributes() [all …]
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_common.h | 192 std::string name_; member 196 : id_(id), name_(name), browsable_(browsable) { in MediaPlayerItem() 197 if (name_.size() > MAX_FIELD_LEN) { in MediaPlayerItem() 198 name_.resize(MAX_FIELD_LEN); in MediaPlayerItem() 218 size_t size() const { return kHeaderSize() + name_.size(); } in size() 225 std::string name_; member 232 name_(name) { in FolderItem() 233 if (name_.size() > MAX_FIELD_LEN) { in FolderItem() 234 name_.resize(MAX_FIELD_LEN); in FolderItem() 252 size_t size() const { return kHeaderSize() + name_.size(); } in size() [all …]
|
/system/tools/aidl/tests/ |
D | simple_parcelable.cpp | 30 : name_(name.c_str(), name.length()), in SimpleParcelable() 34 status_t status = parcel->writeString16(name_); in writeToParcel() 43 status_t status = parcel->readString16(&name_); in readFromParcel() 51 return StringPrintf("%s(%d)", String8(name_).string(), number_); in toString()
|
D | simple_parcelable.h | 55 return (lhs.name_ == rhs.name_) && (lhs.number_ == rhs.number_); 63 String16 name_;
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 59 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice() 63 : dm_(other.dm_), name_(other.name_), valid_(other.valid_) { in TempDevice() 68 dm_.DeleteDevice(name_); in ~TempDevice() 76 return dm_.DeleteDevice(name_); in Destroy() 96 if (!dm_.GetDmDevicePathByName(name_, &device_path)) { in path() 101 const std::string& name() const { return name_; } in name() 108 name_ = other.name_; in operator =() 116 std::string name_; member in TempDevice
|
/system/core/libmeminfo/libdmabufinfo/include/dmabufinfo/ |
D | dmabufinfo.h | 33 : inode_(inode), size_(size), count_(count), exporter_(exporter), name_(name) { in DmaBuffer() 57 const std::string& name() const { return name_; } in name() 59 void SetName(const std::string& name) { name_ = name; } in SetName() 64 return (inode_ == rhs.inode()) && (size_ == rhs.size()) && (name_ == rhs.name()) && 74 std::string name_; member
|
/system/linkerconfig/modules/ |
D | section.cc | 41 writer.WriteLine("[%s]", name_.c_str()); in WriteConfig() 67 writer.SetPrefix("dir." + name_ + " = "); in WriteBinaryPaths() 77 return name_; in GetName()
|
D | namespace.cc | 43 std::make_shared<Link>(name_, target_namespace, allow_all_shared_libs); in CreateLink() 55 writer.SetPrefix("namespace." + name_ + "."); in WriteConfig()
|
/system/bt/gd/os/linux_generic/ |
D | thread.cc | 35 : name_(name), in Thread() 77 return name_; in GetThreadName() 81 return "Thread " + name_; in ToString()
|
/system/tools/aidl/ |
D | ast_cpp.cpp | 45 : name_(name), in ClassDecl() 51 : name_(name), in ClassDecl() 57 to->Write("class %s ", name_.c_str()); in Write() 80 to->Write("}; // class %s\n", name_.c_str()); in Write() 156 : name_(name), in ConstructorDecl() 167 to->Write("%s", name_.c_str()); in Write() 178 : name_(name), in MacroDecl() 182 to->Write("%s", name_.c_str()); in Write() 195 name_(name), in MethodDecl() 211 to->Write("%s %s", return_type_.c_str(), name_.c_str()); in Write() [all …]
|
D | aidl_language.h | 145 const string& GetName() const { return name_; } in GetName() 146 string ToString() const { return "@" + name_; } in ToString() 152 const string name_; variable 273 std::string GetName() const { return name_; } in GetName() 287 std::string name_; variable 378 const std::string& GetName() const { return name_; } in GetName() 392 const std::string name_; variable 418 const std::string& GetName() const { return name_; } in GetName() 450 std::string name_; variable 497 const std::string& GetName() const { return name_; }; in GetName() [all …]
|
/system/testing/gtest_extras/ |
D | Test.cpp | 38 name_(suite_name_ + test_name_), in Test() 54 printf(" %s\n", name_.c_str()); in PrintGtestFormat() 69 printf(" %s", name_.c_str()); in PrintGtestFormat() 102 printf(" %s", name_.c_str()); in Print()
|
D | Test.h | 65 const std::string& name() const { return name_; } in name() 88 std::string name_; variable
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_remote_device_props.cc | 33 parcel->writeString16(String16(name_.c_str(), name_.size())); in writeToParcel() 63 name_ = String8(name).string(); in readFromParcel()
|
/system/update_engine/update_manager/ |
D | variable.h | 69 LOG(WARNING) << "Variable " << name_ << " deleted with " in ~BaseVariable() 77 const std::string& GetName() const { return name_; } in GetName() 140 : name_(name), in BaseVariable() 165 const std::string name_; variable
|
/system/extras/simpleperf/ |
D | command.h | 34 : name_(name), short_help_string_(short_help_string), long_help_string_(long_help_string) { in Command() 41 return name_; in Name() 77 const std::string name_;
|
/system/bt/service/common/bluetooth/ |
D | remote_device_props.h | 37 const std::string& name() const { return name_; } in name() 45 std::string name_;
|
/system/linkerconfig/include/linkerconfig/ |
D | section.h | 32 Section(const std::string& name) : name_(name) { in Section() 44 const std::string name_;
|
D | namespace.h | 33 : is_isolated_(is_isolated), is_visible_(is_visible), name_(name) { in is_isolated_() 80 const std::string name_; variable
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 54 explicit DmBlockDevice(struct dm_name_list* d) : name_(d->name), dev_(d->dev){}; in DmBlockDevice() 57 const std::string& name() const { return name_; } in name() 67 std::string name_;
|
/system/extras/libperfmgr/ |
D | Node.cc | 32 : name_(std::move(name)), in Node() 64 return name_; in GetName()
|