/packages/modules/adb/daemon/ |
D | usb.cpp | 91 struct iocb control = {}; member 94 TransferId id() const { return TransferId::from_value(control.aio_data); } in id() 144 UsbFfsConnection(unique_fd control, unique_fd read, unique_fd write, in UsbFfsConnection() 149 control_fd_(std::move(control)), in UsbFfsConnection() 466 block->control.aio_data = static_cast<uint64_t>(TransferId::read(id)); in PrepareReadBlock() 467 block->control.aio_buf = reinterpret_cast<uintptr_t>(block->payload.data()); in PrepareReadBlock() 468 block->control.aio_nbytes = block->payload.size(); in PrepareReadBlock() 474 block.control.aio_rw_flags = 0; in CreateReadBlock() 475 block.control.aio_lio_opcode = IOCB_CMD_PREAD; in CreateReadBlock() 476 block.control.aio_reqprio = 0; in CreateReadBlock() [all …]
|
D | usb_ffs.cpp | 254 unique_fd control, bulk_out, bulk_in; in open_functionfs() local 276 control.reset(adb_open(USB_FFS_ADB_EP0, O_RDWR)); in open_functionfs() 277 if (control < 0) { in open_functionfs() 282 if (adb_write(control.get(), &v2_descriptor, sizeof(v2_descriptor)) < 0) { in open_functionfs() 291 if (adb_write(control.get(), &v1_descriptor, sizeof(v1_descriptor)) < 0) { in open_functionfs() 297 if (adb_write(control.get(), &strings, sizeof(strings)) < 0) { in open_functionfs() 317 *out_control = std::move(control); in open_functionfs()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPageBottomControls.java | 36 public boolean canDisplayBottomControl(int control); in canDisplayBottomControl() argument 37 public void onBottomControlClicked(int control); in onBottomControlClicked() argument 110 for (View control : mControlsVisible.keySet()) { in refresh() 111 Boolean prevVisibility = mControlsVisible.get(control); in refresh() 112 boolean curVisibility = mDelegate.canDisplayBottomControl(control.getId()); in refresh() 115 control.clearAnimation(); in refresh() 116 control.startAnimation(getControlAnimForVisibility(curVisibility)); in refresh() 118 control.setVisibility(curVisibility ? View.VISIBLE : View.INVISIBLE); in refresh() 119 mControlsVisible.put(control, curVisibility); in refresh()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHalHidlImpl.java | 27 import android.hardware.tetheroffload.control.V1_0.IOffloadControl; 28 import android.hardware.tetheroffload.control.V1_0.NatTimeoutUpdate; 29 import android.hardware.tetheroffload.control.V1_0.NetworkProtocol; 30 import android.hardware.tetheroffload.control.V1_0.OffloadCallbackEvent; 31 import android.hardware.tetheroffload.control.V1_1.ITetheringOffloadCallback; 63 @NonNull IOffloadControl control, @NonNull Handler handler, @NonNull SharedLog log) { in OffloadHalHidlImpl() argument 66 mIOffloadControl = control; in OffloadHalHidlImpl() 199 ((android.hardware.tetheroffload.control.V1_1.IOffloadControl) mIOffloadControl) in setDataWarningAndLimit() 296 IOffloadControl control = null; in getIOffloadHal() local 299 control = android.hardware.tetheroffload.control in getIOffloadHal() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconShape.java | 363 float control = r - r * mRadiusRatio; 366 addLeftCurve(cx, cy, r, control, p); 367 addRightCurve(cx, cy, r, control, p); 368 addLeftCurve(cx, cy, -r, -control, p); 369 addRightCurve(cx, cy, -r, -control, p); 373 private void addLeftCurve(float cx, float cy, float r, float control, Path path) { 375 cx - control, cy - r, 376 cx - r, cy - control, 380 private void addRightCurve(float cx, float cy, float r, float control, Path path) { 382 cx - r, cy + control, [all …]
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/qc/ |
D | DisplaySwitcher.java | 66 for (DistantDisplayQcItem control : controls) { in getQCItem() 67 Icon icon = Icon.createWithBitmap(drawableToBitmap(control.getIcon())); in getQCItem() 69 .setTitle(control.getTitle()) in getQCItem() 72 controlElement.setActionHandler(control.getActionHandler()); in getQCItem()
|
/packages/modules/Bluetooth/system/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 50 std::bitset<8> control; in GetControlField() local 51 control |= frame_type; in GetControlField() 52 control.set(4, pf); in GetControlField() 53 return static_cast<uint8_t>(control.to_ulong()); in GetControlField() 110 std::vector<uint8_t> CreateRfcommPacket(uint8_t address, uint8_t control, in CreateRfcommPacket() argument 116 result.push_back(control); in CreateRfcommPacket() 132 if (GetFrameTypeFromControlField(control) == RFCOMM_UIH) { in CreateRfcommPacket()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHalHidlImplTest.java | 37 import android.hardware.tetheroffload.control.V1_0.IOffloadControl; 38 import android.hardware.tetheroffload.control.V1_0.NatTimeoutUpdate; 39 import android.hardware.tetheroffload.control.V1_0.NetworkProtocol; 40 import android.hardware.tetheroffload.control.V1_1.ITetheringOffloadCallback; 41 import android.hardware.tetheroffload.control.V1_1.OffloadCallbackEvent; 90 android.hardware.tetheroffload.control.V1_1.IOffloadControl.class); in createAndInitOffloadHal() 190 ((android.hardware.tetheroffload.control.V1_1.IOffloadControl in doTestSetDataWarningAndLimit() 194 }).when((android.hardware.tetheroffload.control.V1_1.IOffloadControl) mIOffloadControlMock) in doTestSetDataWarningAndLimit() 197 verify((android.hardware.tetheroffload.control.V1_1.IOffloadControl) mIOffloadControlMock) in doTestSetDataWarningAndLimit()
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | VideoCapture.cpp | 308 int VideoCapture::setParameter(v4l2_control& control) { in setParameter() argument 309 int status = ioctl(mDeviceFd, VIDIOC_S_CTRL, &control); in setParameter() 311 PLOG(ERROR) << "Failed to program a parameter value " << "id = " << std::hex << control.id; in setParameter() 317 int VideoCapture::getParameter(v4l2_control& control) { in getParameter() argument 318 int status = ioctl(mDeviceFd, VIDIOC_G_CTRL, &control); in getParameter() 321 << " id = " << control.id; in getParameter()
|
D | VideoCapture.h | 59 int setParameter(struct v4l2_control& control); 60 int getParameter(struct v4l2_control& control);
|
D | EvsV4lCamera.cpp | 382 v4l2_control control = {v4l2cid, value}; in setIntParameter() local 383 if (mVideo.setParameter(control) < 0 || mVideo.getParameter(control) < 0) { in setIntParameter() 387 values[0] = control.value; in setIntParameter() 402 v4l2_control control = {v4l2cid, 0}; in getIntParameter() local 403 if (mVideo.getParameter(control) < 0) { in getIntParameter() 408 values[0] = control.value; in getIntParameter()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | VideoCapture.cpp | 308 int VideoCapture::setParameter(v4l2_control& control) { in setParameter() argument 309 int status = ioctl(mDeviceFd, VIDIOC_S_CTRL, &control); in setParameter() 311 PLOG(ERROR) << "Failed to program a parameter value " << "id = " << std::hex << control.id; in setParameter() 317 int VideoCapture::getParameter(v4l2_control& control) { in getParameter() argument 318 int status = ioctl(mDeviceFd, VIDIOC_G_CTRL, &control); in getParameter() 321 << " id = " << control.id; in getParameter()
|
D | EvsV4lCamera.cpp | 331 v4l2_control control = {v4l2cid, value}; in setIntParameter() local 332 if (mVideo.setParameter(control) < 0 || mVideo.getParameter(control) < 0) { in setIntParameter() 337 (*effectiveValue)[0] = control.value; in setIntParameter() 348 v4l2_control control = {v4l2cid, 0}; in getIntParameter() local 349 if (mVideo.getParameter(control) < 0) { in getIntParameter() 355 (*value)[0] = control.value; in getIntParameter()
|
/packages/apps/Settings/aconfig/accessibility/ |
D | accessibility_flags.aconfig | 23 description: "Allows users to control hearing aid preset in the Bluetooth device details page." 30 …description: "Allows users to control hearing aid volume offset in the Bluetooth device details pa… 54 description: "Allows users to control color contrast in the Accessibility settings page."
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallControlTest.java | 60 CallControl control = new CallControl(CALL_ID_1, mICallControl); in testGetCallId() local 61 assertEquals(CALL_ID_1, control.getCallId().toString()); in testGetCallId()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/ |
D | VideoCapture.h | 59 int setParameter(struct v4l2_control& control); 60 int getParameter(struct v4l2_control& control);
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | reactor.cc | 207 auto control = eventfd_write(control_fd_, kStopReactor); in Stop() local 208 log::assert_that(control != -1, "assert failed: control != -1"); in Stop() 286 auto control = eventfd_write(control_fd_, kWaitForIdle); in WaitForIdle() local 287 log::assert_that(control != -1, "assert failed: control != -1"); in WaitForIdle()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | BasicParameterInt.java | 72 public void setController(Control control) { in setController() argument 73 mControl = control; in setController()
|
D | BasicParameterStyle.java | 65 public void setController(Control control) { in setController() argument 66 mControl = control; in setController()
|
D | ParameterColor.java | 80 public void setController(Control control) { in setController() argument 81 mControl = control; in setController()
|
/packages/services/Car/car-lib/src/android/car/app/ |
D | CarTaskViewHostAidlToImplAdapter.java | 60 public void notifySurfaceCreated(SurfaceControl control) { in notifySurfaceCreated() argument 61 mCarTaskViewHost.notifySurfaceCreated(control); in notifySurfaceCreated()
|
/packages/modules/StatsD/statsd/src/socket/ |
D | StatsSocketListener.cpp | 65 alignas(4) char control[CMSG_SPACE(sizeof(struct ucred))]; in onDataAvailable() local 67 NULL, 0, &iov, 1, control, sizeof(control), 0, in onDataAvailable()
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | VideoCapture.h | 89 int setParameter(struct v4l2_control& control); 90 int getParameter(struct v4l2_control& control);
|
/packages/modules/adb/ |
D | SOCKET-ACTIVATION.txt | 2 allowing the daemon to start automatically when the adb control port 33 control port), even after adb kill-server kills the server.
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_api.cc | 703 if (((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) || in avrc_msg_cback() 704 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP))) { in avrc_msg_cback() 877 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && in avrc_msg_cback() 911 handle, avrc_cb.ccb[handle].control, cr, opcode); in avrc_msg_cback() 1086 cc.control = p_ccb->control; /* Control role (Control/Target) */ in AVRC_Open() 1097 log::verbose("role: {}, control:{} status:{}, handle:{}", cc.role, cc.control, in AVRC_Open()
|