Searched refs:control (Results 1 - 19 of 19) sorted by relevance

/system/core/adb/daemon/
H A Dusb.h38 int control = -1; member in struct:usb_handle
H A Dusb.cpp259 if (h->control < 0) { // might have already done this before
260 LOG(INFO) << "opening control endpoint " << USB_FFS_ADB_EP0;
261 h->control = adb_open(USB_FFS_ADB_EP0, O_RDWR);
262 if (h->control < 0) {
263 PLOG(ERROR) << "cannot open control endpoint " << USB_FFS_ADB_EP0;
267 ret = adb_write(h->control, &v2_descriptor, sizeof(v2_descriptor));
276 ret = adb_write(h->control, &v1_descriptor, sizeof(v1_descriptor));
283 ret = adb_write(h->control, &strings, sizeof(strings));
338 if (h->control > 0) {
339 adb_close(h->control);
[all...]
/system/core/libcutils/
H A Duevent.c56 char control[CMSG_SPACE(sizeof(struct ucred))]; local
62 control,
63 sizeof(control),
/system/nvram/core/include/nvram/core/
H A Dpersistence.h107 // A helper to simplify checking control flags.
108 bool HasControl(uint32_t control) const {
109 return (controls & (1 << control)) != 0;
/system/core/adb/
H A Djdwp_service.cpp43 named @jdwp-control (@ is a shortcut for "first byte is zero"
47 a connection to @jdwp-control to announce its availability.
50 JDWP thread @jdwp-control
83 JDWP thread @jdwp-control
260 D("ignoring unexpected JDWP %d control socket activity (%d bytes)", proc->pid,
360 /* name of the debug control Unix socket */
361 #define JDWP_CONTROL_NAME "\0jdwp-control"
373 static int jdwp_control_init(JdwpControl* control, const char* sockname, int socknamelen) { argument
381 D("vm debug control socket name too long (%d extra chars)", pathlen + 1 - maxpath);
391 D("could not create vm debug control socke
426 JdwpControl* control = (JdwpControl*)_control; local
[all...]
/system/core/logd/
H A DLogListener.cpp50 alignas(4) char control[CMSG_SPACE(sizeof(struct ucred))]; local
52 NULL, 0, &iov, 1, control, sizeof(control), 0,
/system/bt/stack/include/
H A Davct_api.h53 #define AVCT_DATA_CTRL 0x0001 /* for the control channel */
57 /* Per the AVRC spec, minimum MTU for the control channel */
118 uint8_t control; /* Control role (Control/Target) */ member in struct:__anon928
261 * AVCT_CONNECT_CFM_EVT or AVCT_CONNECT_IND_EVT on control
267 * AVCT_DATA_CTRL for control channel traffic;
H A Davrc_api.h166 /* This is the control callback function. This function passes events
179 tAVRC_CTRL_CBACK* p_ctrl_cback; /* pointer to application control callback */
183 uint8_t control; /* Control role (Control/Target) */ member in struct:__anon947
287 * roles, as determined by the p_ccb->control parameter.
298 * p_ccb->p_ctrl_cback: Pointer to the control callback
308 * p_ccb->control: Control role. This is set to
310 * for control connections or
590 * control block (if using dynamic memory), and initializes the
591 * control block and tracing level.
/system/nvram/client/
H A Dnvram_client.c62 // A table mapping control values to names.
64 nvram_control_t control; member in struct:__anon2467
75 // Returns the string representation of |control|, or NULL if |control| isn't a
76 // valid control value.
77 static const char* ControlToString(nvram_control_t control) { argument
79 if (kControlNameTable[i].control == control) {
87 // Sets |control| to the NV_CONTROL_ value corresponding to the string control
90 StringToControl(const char* name, nvram_control_t* control) argument
[all...]
/system/extras/tests/sdcard/
H A DAndroid.mk15 # Build control file for Bionic's test programs
/system/nvram/core/
H A Dnvram_manager.cpp40 // The bitmask of all supported control flags.
52 for (size_t control = 0; control < sizeof(uint32_t) * 8; ++control) {
53 if (space.HasControl(control)) {
58 (*controls)[controls->size() - 1] = static_cast<nvram_control_t>(control);
226 for (uint32_t control : request.controls) {
227 controls |= (1 << control);
710 // data and potentially violate its access control rules.
/system/bt/stack/avct/
H A Davct_l2c.cc82 AVCT_TRACE_DEBUG("avct_l2c_is_ct control:x%x", p_ccb->cc.control);
83 if (p_ccb->cc.control & AVCT_PASSIVE) {
H A Davct_api.cc21 * This module contains API of the audio/video control transport protocol.
73 /* AVCTP browsing channel uses the same security service as AVCTP control
138 AVCT_TRACE_API("AVCT_CreateConn: %d, control:%d", p_cc->role, p_cc->control);
254 /* the link control block must exist before this function is called as INT.
375 * AVCT_CONNECT_CFM_EVT or AVCT_CONNECT_IND_EVT on control
380 * AVCT_DATA_CTRL for control channel traffic;
/system/bt/stack/avrc/
H A Davrc_api.cc337 /* end fragment. clean the control block */
615 * received AV control messages.
674 if (((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) ||
675 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP))) {
836 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) &&
869 AVRC_TRACE_WARNING("%s %s msg handle:%d, control:%d, cr:%d, opcode:x%x",
871 avrc_cb.ccb[handle].control, cr, opcode);
992 * role, as determined by the p_ccb->control parameter.
1003 * p_ccb->p_ctrl_cback: Pointer to control callback
1013 * p_ccb->control
[all...]
/system/extras/ANRdaemon/
H A DANRdaemon.cpp199 const char* control = (enable?"1":"0"); local
200 ssize_t len = strlen(control);
202 while (write(fd, control, len) != len) {
/system/nvram/core/tests/
H A Dnvram_manager_test.cpp63 for (nvram_control_t control : controls) {
64 mask |= (1 << control);
324 // A request to create a space with an unknown control value should fail.
/system/sepolicy/private/
H A Dfile_contexts97 /dev/loop-control u:object_r:loop_control_device:s0
/system/bt/bta/av/
H A Dbta_av_act.cc200 * Description AVRCP control callback.
331 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT |
402 * Description Check if remote control operation is supported.
578 * Description Send an AVRCP remote control command.
642 * Description Send an AVRCP metadata/advanced control command/response.
1780 /* if we support advance control and peer does not, check their support on
1814 /* if peer remote control service matches ours and USE_RC is true */
2060 * Description deregister complete. free the stream control block.
2072 /* find the stream control block */
2130 /* if no stream control bloc
[all...]
/system/sepolicy/prebuilts/api/26.0/private/
H A Dfile_contexts97 /dev/loop-control u:object_r:loop_control_device:s0

Completed in 1087 milliseconds