/system/core/libprocessgroup/cgrouprc/ |
D | cgroup_controller.cpp | 25 uint32_t ACgroupController_getVersion(const ACgroupController* controller) { in ACgroupController_getVersion() argument 26 CHECK(controller != nullptr); in ACgroupController_getVersion() 27 return controller->version(); in ACgroupController_getVersion() 30 const char* ACgroupController_getName(const ACgroupController* controller) { in ACgroupController_getName() argument 31 CHECK(controller != nullptr); in ACgroupController_getName() 32 return controller->name(); in ACgroupController_getName() 35 const char* ACgroupController_getPath(const ACgroupController* controller) { in ACgroupController_getPath() argument 36 CHECK(controller != nullptr); in ACgroupController_getPath() 37 return controller->path(); in ACgroupController_getPath()
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 193 const format::CgroupController* controller = descriptor.controller(); in SetupCgroup() local 196 if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { in SetupCgroup() 197 LOG(ERROR) << "Failed to create directory for " << controller->name() << " cgroup"; in SetupCgroup() 202 if (controller->version() == 2) { in SetupCgroup() 203 result = mount("none", controller->path(), "cgroup2", MS_NODEV | MS_NOEXEC | MS_NOSUID, in SetupCgroup() 211 if (!strcmp(controller->name(), "cpuset")) { in SetupCgroup() 213 result = mount("none", controller->path(), controller->name(), in SetupCgroup() 217 result = mount("none", controller->path(), "cgroup", MS_NODEV | MS_NOEXEC | MS_NOSUID, in SetupCgroup() 218 controller->name()); in SetupCgroup() 223 PLOG(ERROR) << "Failed to mount " << controller->name() << " cgroup"; in SetupCgroup() [all …]
|
D | cgroup_descriptor.h | 30 const format::CgroupController* controller() const { return &controller_; } in controller() function
|
/system/core/libprocessgroup/ |
D | cgroup_map.cpp | 163 const ACgroupController* controller = ACgroupFile_getController(i); in Print() local 164 LOG(INFO) << "\t" << ACgroupController_getName(controller) << " ver " in Print() 165 << ACgroupController_getVersion(controller) << " path " in Print() 166 << ACgroupController_getPath(controller); in Print() 179 const ACgroupController* controller = ACgroupFile_getController(i); in FindController() local 180 if (name == ACgroupController_getName(controller)) { in FindController() 181 return CgroupController(controller); in FindController()
|
D | task_profiles.cpp | 49 if (!controller()->GetTaskGroup(tid, &subgroup)) { in GetPathForTask() 58 *path = StringPrintf("%s/%s", controller()->path(), file_name_.c_str()); in GetPathForTask() 60 *path = StringPrintf("%s/%s/%s", controller()->path(), subgroup.c_str(), in GetPathForTask() 211 std::string procs_path = controller()->GetProcsFilePath(path_, uid, pid); in ExecuteForProcess() 248 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() 338 auto controller = cg_map.FindController(controller_name); in Load() local 339 if (controller.HasValue()) { in Load() 340 attributes_[name] = std::make_unique<ProfileAttribute>(controller, file_attr); in Load() 367 auto controller = cg_map.FindController(controller_name); in Load() local 368 if (controller.HasValue()) { in Load() [all …]
|
D | cgroup_map.h | 34 explicit CgroupController(const ACgroupController* controller) in CgroupController() argument 35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
|
D | task_profiles.h | 31 ProfileAttribute(const CgroupController& controller, const std::string& file_name) in ProfileAttribute() argument 32 : controller_(controller), file_name_(file_name) {} in ProfileAttribute() 34 const CgroupController* controller() const { return &controller_; } in controller() function 118 const CgroupController* controller() const { return &controller_; } in controller() function
|
D | sched_policy.cpp | 164 auto controller = CgroupMap::GetInstance().FindController(subsys); in getCGroupSubsys() local 166 if (!controller.IsUsable()) return -1; in getCGroupSubsys() 168 if (!controller.GetTaskGroup(tid, &subgroup)) { in getCGroupSubsys()
|
D | processgroup.cpp | 59 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath() local 61 if (!controller.HasValue()) { in CgroupGetControllerPath() 66 *path = controller.path(); in CgroupGetControllerPath() 81 *path = StringPrintf("%s/%s", attr->controller()->path(), attr->file_name().c_str()); in CgroupGetAttributePath()
|
/system/bt/vendor_libs/test_vendor_lib/ |
D | Android.bp | 9 "model/controller/acl_connection.cc", 10 "model/controller/acl_connection_handler.cc", 11 "model/controller/dual_mode_controller.cc", 12 "model/controller/link_layer_controller.cc", 13 "model/controller/security_manager.cc",
|
/system/core/rootdir/ |
D | init.usb.configfs.rc | 23 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 29 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 39 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 45 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 55 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 61 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 71 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 77 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 87 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 94 write /config/usb_gadget/g1/UDC ${sys.usb.controller} [all …]
|
/system/bt/stack/btm/ |
D | btm_devctl.cc | 174 const controller_t* controller = controller_get_interface(); in reset_complete() local 197 l2c_link_processs_num_bufs(controller->get_acl_buffer_count_classic()); in reset_complete() 201 if (controller->supports_ble() && controller->supports_ble_privacy() && in reset_complete() 202 controller->get_ble_resolving_list_max_size() > 0) { in reset_complete() 203 btm_ble_resolving_list_init(controller->get_ble_resolving_list_max_size()); in reset_complete() 210 if (controller->supports_ble()) { in reset_complete() 211 btm_ble_white_list_init(controller->get_ble_white_list_size()); in reset_complete() 212 l2c_link_processs_ble_num_bufs(controller->get_acl_buffer_count_ble()); in reset_complete() 218 for (int i = 0; i <= controller->get_last_features_classic_index(); i++) { in reset_complete() 220 controller->get_features_classic(i)->as_array); in reset_complete()
|
/system/bt/hci/src/ |
D | packet_fragmenter.cc | 49 static const controller_t* controller; variable 74 ? controller->get_acl_data_size_classic() in fragment_and_dispatch() 75 : controller->get_acl_data_size_ble(); in fragment_and_dispatch() 253 controller = controller_get_interface(); in packet_fragmenter_get_interface() 261 controller = controller_interface; in packet_fragmenter_get_test_interface()
|
/system/netd/server/ |
D | ClatdController.h | 42 explicit ClatdController(NetworkController* controller) EXCLUDES(mutex) in ClatdController() argument 43 : mNetCtrl(controller){}; in ClatdController()
|
/system/bt/hci/test/ |
D | packet_fragmenter_test.cc | 297 packet_fragmenter_get_test_interface(&controller, &allocator_malloc); 305 controller.get_acl_data_size_classic = get_acl_data_size_classic; 306 controller.get_acl_data_size_ble = get_acl_data_size_ble; 317 controller_t controller;
|
/system/bt/device/ |
D | Android.bp | 18 "src/controller.cc",
|
D | BUILD.gn | 19 "src/controller.cc",
|
/system/core/libprocessgroup/profiles/ |
D | task_profiles_test.h | 43 EXPECT_FALSE(attribute.controller().empty()) in TEST_P()
|
D | cgroups_test.h | 43 EXPECT_FALSE(cgroup.controller().empty()) in TEST_P()
|
D | cgroups.proto | 29 string controller = 1 [json_name = "Controller"]; field
|
D | task_profiles.proto | 30 string controller = 2 [json_name = "Controller"]; field
|
/system/bt/btif/src/ |
D | btif_sock.cc | 246 const controller_t* controller = controller_get_interface(); in btsock_request_max_tx_data_length() local 247 uint16_t max_len = controller->get_ble_maximum_tx_data_length(); in btsock_request_max_tx_data_length()
|
/system/bt/service/doc/ |
D | IBluetooth.txt | 63 * underlying Bluetooth controller. Returns a string of the form 79 * name that is seen by remote devices during discovery. If the controller has
|
/system/bt/stack/l2cap/ |
D | l2c_link.cc | 1110 const controller_t* controller = controller_get_interface(); in l2c_link_send_to_lower() local 1112 if ((p_buf->len <= controller->get_acl_packet_size_classic() && in l2c_link_send_to_lower() 1115 (p_buf->len <= controller->get_acl_packet_size_ble()))) { in l2c_link_send_to_lower() 1135 acl_data_size = controller->get_acl_data_size_ble(); in l2c_link_send_to_lower() 1139 acl_data_size = controller->get_acl_data_size_classic(); in l2c_link_send_to_lower()
|
/system/bt/stack/bnep/ |
D | bnep_utils.cc | 434 const controller_t* controller = controller_get_interface(); in bnepu_build_bnep_hdr() local 440 if (p_src_addr && *p_src_addr != *controller->get_address()) in bnepu_build_bnep_hdr() 448 if (!p_src_addr) p_src_addr = controller->get_address(); in bnepu_build_bnep_hdr()
|