Home
last modified time | relevance | path

Searched refs:control (Results 1 – 25 of 109) sorted by relevance

12345

/packages/modules/adb/daemon/
Dusb.cpp91 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 …]
Dusb_ffs.cpp254 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/
DPhotoPageBottomControls.java36 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/apps/Launcher3/src/com/android/launcher3/graphics/
DIconShape.java307 float control = r - r * mRadiusRatio;
310 addLeftCurve(cx, cy, r, control, p);
311 addRightCurve(cx, cy, r, control, p);
312 addLeftCurve(cx, cy, -r, -control, p);
313 addRightCurve(cx, cy, -r, -control, p);
317 private void addLeftCurve(float cx, float cy, float r, float control, Path path) {
319 cx - control, cy - r,
320 cx - r, cy - control,
324 private void addRightCurve(float cx, float cy, float r, float control, Path path) {
326 cx - r, cy + control,
[all …]
/packages/services/Car/cpp/evs/sampleDriver/
DVideoCapture.cpp329 int VideoCapture::setParameter(v4l2_control& control) { in setParameter() argument
330 int status = ioctl(mDeviceFd, VIDIOC_S_CTRL, &control); in setParameter()
333 << "id = " << std::hex << control.id; in setParameter()
340 int VideoCapture::getParameter(v4l2_control& control) { in getParameter() argument
341 int status = ioctl(mDeviceFd, VIDIOC_G_CTRL, &control); in getParameter()
345 << " id = " << control.id; in getParameter()
DEvsV4lCamera.cpp396 v4l2_control control = {v4l2cid, value}; in setIntParameter() local
397 if (mVideo.setParameter(control) < 0 || in setIntParameter()
398 mVideo.getParameter(control) < 0) { in setIntParameter()
402 values[0] = control.value; in setIntParameter()
419 v4l2_control control = {v4l2cid, 0}; in getIntParameter() local
420 if (mVideo.getParameter(control) < 0) { in getIntParameter()
425 values[0] = control.value; in getIntParameter()
DVideoCapture.h60 int setParameter(struct v4l2_control& control);
61 int getParameter(struct v4l2_control& control);
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java41 import android.hardware.tetheroffload.control.V1_0.IOffloadControl;
42 import android.hardware.tetheroffload.control.V1_0.NatTimeoutUpdate;
43 import android.hardware.tetheroffload.control.V1_0.NetworkProtocol;
44 import android.hardware.tetheroffload.control.V1_1.ITetheringOffloadCallback;
45 import android.hardware.tetheroffload.control.V1_1.OffloadCallbackEvent;
112 mock(android.hardware.tetheroffload.control.V1_1.IOffloadControl.class); in getOffloadControl()
184 verify((android.hardware.tetheroffload.control.V1_1.IOffloadControl) mIOffloadControl) in testSetDataWarningAndLimit()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java26 import android.hardware.tetheroffload.control.V1_0.IOffloadControl;
27 import android.hardware.tetheroffload.control.V1_0.NatTimeoutUpdate;
28 import android.hardware.tetheroffload.control.V1_0.NetworkProtocol;
29 import android.hardware.tetheroffload.control.V1_0.OffloadCallbackEvent;
30 import android.hardware.tetheroffload.control.V1_1.ITetheringOffloadCallback;
213 hal = android.hardware.tetheroffload.control in getOffloadControl()
498 ((android.hardware.tetheroffload.control.V1_1.IOffloadControl) mOffloadControl) in setDataWarningAndLimit()
626 case android.hardware.tetheroffload.control in handleOnEvent()
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp57 alignas(4) char control[CMSG_SPACE(sizeof(struct ucred))]; in onDataAvailable() local
59 NULL, 0, &iov, 1, control, sizeof(control), 0, in onDataAvailable()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DBasicParameterInt.java72 public void setController(Control control) { in setController() argument
73 mControl = control; in setController()
DBasicParameterStyle.java65 public void setController(Control control) { in setController() argument
66 mControl = control; in setController()
DParameterColor.java80 public void setController(Control control) { in setController() argument
81 mControl = control; in setController()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DVideoCapture.h92 int setParameter(struct v4l2_control& control);
93 int getParameter(struct v4l2_control& control);
/packages/modules/adb/
DSOCKET-ACTIVATION.txt2 allowing the daemon to start automatically when the adb control port
33 control port), even after adb kill-server kills the server.
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses33 other entities that control, are controlled by, or are under common
34 control with that entity. For the purposes of this definition,
35 "control" means (i) the power, direct or indirect, to cause the
73 communication on electronic mailing lists, source code control systems,
215 other entities that control, are controlled by, or are under common
216 control with that entity. For the purposes of this definition,
217 "control" means (i) the power, direct or indirect, to cause the
255 communication on electronic mailing lists, source code control systems,
421 other entities that control, are controlled by, or are under common
422 control with that entity. For the purposes of this definition,
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DTunerCallbackAdapterExt.java162 public void onControlChanged(boolean control) { in onControlChanged() argument
163 mHandler.post(() -> mCallback.onControlChanged(control)); in onControlChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorColorBorder.java100 control(cbRep.getCurrentParam(), mEditControl); in reflectCurrentFilter()
172 control(rep.getCurrentParam(), mEditControl); in selectMenuItem()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/
DLICENSE16 other entities that control, are controlled by, or are under common
17 control with that entity. For the purposes of this definition,
18 "control" means (i) the power, direct or indirect, to cause the
56 communication on electronic mailing lists, source code control systems,
/packages/apps/BasicSmsReceiver/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,
/packages/apps/LegacyCamera/jni/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,
/packages/providers/ContactsProvider/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,
/packages/providers/UserDictionaryProvider/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,
/packages/providers/TelephonyProvider/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,
/packages/providers/BlockedNumberProvider/
DNOTICE29 other entities that control, are controlled by, or are under common
30 control with that entity. For the purposes of this definition,
31 "control" means (i) the power, direct or indirect, to cause the
69 communication on electronic mailing lists, source code control systems,

12345