Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 58) sorted by relevance

123

/system/core/libprocessgroup/cgrouprc/
Dcgroup_controller.cpp25 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 uint32_t ACgroupController_getFlags(const ACgroupController* controller) { in ACgroupController_getFlags() argument
31 CHECK(controller != nullptr); in ACgroupController_getFlags()
32 return controller->flags(); in ACgroupController_getFlags()
35 const char* ACgroupController_getName(const ACgroupController* controller) { in ACgroupController_getName() argument
36 CHECK(controller != nullptr); in ACgroupController_getName()
37 return controller->name(); in ACgroupController_getName()
40 const char* ACgroupController_getPath(const ACgroupController* controller) { in ACgroupController_getPath() argument
[all …]
/system/bt/stack/btm/
Dbtm_devctl.cc176 const controller_t* controller = controller_get_interface(); in reset_complete() local
199 l2c_link_processs_num_bufs(controller->get_acl_buffer_count_classic()); in reset_complete()
206 if (controller->supports_ble() && controller->supports_ble_privacy() && in reset_complete()
207 controller->get_ble_resolving_list_max_size() > 0) { in reset_complete()
208 btm_ble_resolving_list_init(controller->get_ble_resolving_list_max_size()); in reset_complete()
215 if (controller->supports_ble()) { in reset_complete()
216 btm_ble_white_list_init(controller->get_ble_white_list_size()); in reset_complete()
217 l2c_link_processs_ble_num_bufs(controller->get_acl_buffer_count_ble()); in reset_complete()
272 const controller_t* controller = controller_get_interface(); in decode_controller_support() local
278 if (controller->supports_3_slot_packets()) in decode_controller_support()
[all …]
/system/bt/gd/l2cap/internal/
Dle_credit_based_channel_data_controller_test.cc76 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F() local
77 controller.OnCredit(10); in TEST_F()
79 controller.OnSdu(CreateSdu({'a', 'b', 'c', 'd'})); in TEST_F()
80 auto next_packet = controller.GetNextPacket(); in TEST_F()
96 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F() local
97 controller.OnCredit(10); in TEST_F()
98 controller.SetMps(4); in TEST_F()
101 controller.OnSdu(CreateSdu({'a', 'b', 'c', 'd'})); in TEST_F()
102 auto next_packet = controller.GetNextPacket(); in TEST_F()
114 next_packet = controller.GetNextPacket(); in TEST_F()
[all …]
Denhanced_retransmission_mode_channel_data_controller_test.cc78 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
80 controller.OnSdu(CreateSdu({'a', 'b', 'c', 'd'})); in TEST_F()
81 auto next_packet = controller.GetNextPacket(); in TEST_F()
101 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
106 controller.OnPdu(base_view); in TEST_F()
118 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
124 controller.OnPdu(base_view); in TEST_F()
128 controller.OnPdu(base_view); in TEST_F()
132 controller.OnPdu(base_view); in TEST_F()
144 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
[all …]
Dbasic_mode_channel_data_controller_test.cc75 BasicModeDataController controller{1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
77 controller.OnSdu(CreateSdu({'a', 'b', 'c', 'd'})); in TEST_F()
78 auto next_packet = controller.GetNextPacket(); in TEST_F()
91 BasicModeDataController controller{1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F() local
93 controller.OnPdu(base_view); in TEST_F()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp233 const format::CgroupController* controller = descriptor.controller(); in SetupCgroup() local
236 if (controller->version() == 2) { in SetupCgroup()
238 if (!strcmp(controller->name(), CGROUPV2_CONTROLLER_NAME)) { in SetupCgroup()
241 if (!Mkdir(controller->path(), 0, "", "")) { in SetupCgroup()
242 LOG(ERROR) << "Failed to create directory for " << controller->name() << " cgroup"; in SetupCgroup()
246 result = mount("none", controller->path(), "cgroup2", MS_NODEV | MS_NOEXEC | MS_NOSUID, in SetupCgroup()
250 if (!ChangeDirModeAndOwner(controller->path(), descriptor.mode(), descriptor.uid(), in SetupCgroup()
252 LOG(ERROR) << "Failed to create directory for " << controller->name() << " cgroup"; in SetupCgroup()
255 LOG(ERROR) << "restored ownership for " << controller->name() << " cgroup"; in SetupCgroup()
258 if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { in SetupCgroup()
[all …]
Dcgroup_descriptor.h30 const format::CgroupController* controller() const { return &controller_; } in controller() function
/system/core/libprocessgroup/
Dcgroup_map.cpp174 const ACgroupController* controller = ACgroupFile_getController(i); in Print() local
176 LOG(INFO) << "\t" << ACgroupController_getName(controller) << " ver " in Print()
177 << ACgroupController_getVersion(controller) << " path " in Print()
178 << ACgroupController_getPath(controller) << " flags " in Print()
179 << ACgroupController_getFlags(controller); in Print()
181 LOG(INFO) << "\t" << ACgroupController_getName(controller) << " ver " in Print()
182 << ACgroupController_getVersion(controller) << " path " in Print()
183 << ACgroupController_getPath(controller); in Print()
197 const ACgroupController* controller = ACgroupFile_getController(i); in FindController() local
198 if (name == ACgroupController_getName(controller)) { in FindController()
[all …]
Dtask_profiles.cpp47 void ProfileAttribute::Reset(const CgroupController& controller, const std::string& file_name) { in Reset() argument
48 controller_ = controller; in Reset()
54 if (!controller()->GetTaskGroup(tid, &subgroup)) { in GetPathForTask()
63 *path = StringPrintf("%s/%s", controller()->path(), file_name_.c_str()); in GetPathForTask()
65 *path = StringPrintf("%s/%s/%s", controller()->path(), subgroup.c_str(), in GetPathForTask()
209 std::string procs_path = controller()->GetProcsFilePath(path_, uid, pid); in ExecuteForProcess()
246 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask()
388 auto controller = cg_map.FindController(controller_name); in Load() local
389 if (controller.HasValue()) { in Load()
392 attributes_[name] = std::make_unique<ProfileAttribute>(controller, file_attr); in Load()
[all …]
Dtask_profiles.h31 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
36 void Reset(const CgroupController& controller, const std::string& file_name);
121 const CgroupController* controller() const { return &controller_; } in controller() function
Dcgroup_map.h34 explicit CgroupController(const ACgroupController* controller) in CgroupController() argument
35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
Dsched_policy.cpp156 auto controller = CgroupMap::GetInstance().FindController(subsys); in getCGroupSubsys() local
158 if (!controller.IsUsable()) return -1; in getCGroupSubsys()
160 if (!controller.GetTaskGroup(tid, &subgroup)) { in getCGroupSubsys()
Dprocessgroup.cpp59 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/
DAndroid.bp12 "model/controller/acl_connection.cc",
13 "model/controller/acl_connection_handler.cc",
14 "model/controller/dual_mode_controller.cc",
15 "model/controller/le_advertiser.cc",
16 "model/controller/link_layer_controller.cc",
17 "model/controller/security_manager.cc",
/system/core/rootdir/
Dinit.usb.configfs.rc23 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/gd/facade/
Dread_only_property_server.cc26 ReadOnlyPropertyService(hci::Controller* controller) : controller_(controller) {} in ReadOnlyPropertyService() argument
/system/bt/hci/src/
Dpacket_fragmenter.cc49 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()
250 controller = controller_get_interface(); in packet_fragmenter_get_interface()
258 controller = controller_interface; in packet_fragmenter_get_test_interface()
/system/bt/gd/hci/facade/
Dcontroller_facade.cc41 …ControllerFacadeService(Controller* controller, ::bluetooth::os::Handler*) : controller_(controlle… in ControllerFacadeService() argument
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_can.te1 # CAN controller
/system/sepolicy/public/
Dhal_can.te1 # CAN controller
/system/bt/main/shim/
DAndroid.bp7 "controller.cc",
/system/netd/server/
DClatdController.h42 explicit ClatdController(NetworkController* controller) EXCLUDES(mutex) in ClatdController() argument
43 : mNetCtrl(controller){}; in ClatdController()
/system/bt/hci/test/
Dpacket_fragmenter_test.cc297 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/
DAndroid.bp18 "src/controller.cc",
/system/bt/gd/hci/acl_manager/
Dle_impl.h47 …le_impl(HciLayer* hci_layer, Controller* controller, os::Handler* handler, RoundRobinScheduler* ro… in le_impl()
49 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler), in le_impl()
52 controller_ = controller; in le_impl()
59 controller->GetControllerMacAddress(), in le_impl()
60 controller->GetControllerLeConnectListSize(), in le_impl()
61 controller->GetControllerLeResolvingListSize()); in le_impl()

123