Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 25 of 234) sorted by relevance

12345678910

/hardware/interfaces/usb/gadget/1.1/default/
DUsbGadget.cpp77 static V1_0::Status validateAndSetVidPid(uint64_t functions) { in validateAndSetVidPid() argument
80 switch (functions) { in validateAndSetVidPid()
134 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions() argument
140 if (addGenericAndroidFunctions(&monitorFfs, functions, &ffsEnabled, &i) != in setupFunctions()
144 if ((functions & V1_0::GadgetFunction::ADB) != 0) { in setupFunctions()
153 if (callback) callback->setCurrentUsbFunctionsCb(functions, V1_0::Status::SUCCESS); in setupFunctions()
168 functions, pullup ? V1_0::Status::SUCCESS : V1_0::Status::ERROR); in setupFunctions()
175 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions() argument
180 mCurrentUsbFunctions = functions; in setCurrentUsbFunctions()
194 if (functions == static_cast<uint64_t>(V1_0::GadgetFunction::NONE)) { in setCurrentUsbFunctions()
[all …]
DUsbGadget.h77 Return<void> setCurrentUsbFunctions(uint64_t functions,
87 V1_0::Status setupFunctions(uint64_t functions, const sp<V1_0::IUsbGadgetCallback>& callback,
/hardware/interfaces/usb/gadget/1.0/
DIUsbGadgetCallback.hal24 * @param functions list of functions defined by GadgetFunction
26 * @param status SUCCESS when the functions are applied.
31 oneway setCurrentUsbFunctionsCb(bitfield<GadgetFunction> functions,
37 * @param functions list of functions defined by GadgetFunction
39 * @param status FUNCTIONS_APPLIED when list of functions have been
41 * FUNCTIONS_NOT_APPLIED when the functions have not
45 oneway getCurrentUsbFunctionsCb(bitfield<GadgetFunction> functions,
DIUsbGadget.hal27 * @param functions list of functions defined by GadgetFunction to be
34 oneway setCurrentUsbFunctions(bitfield<GadgetFunction> functions,
39 * This function is used to query the USB functions included in the
43 * propagate the current functions list.
/hardware/google/pixel/usb/aidl/
DUsbGadgetAidlUtils.cpp46 Status addGenericAndroidFunctions(MonitorFfs *monitorFfs, uint64_t functions, bool *ffsEnabled, in addGenericAndroidFunctions() argument
48 if (((functions & GadgetFunction::MTP) != 0)) { in addGenericAndroidFunctions()
64 } else if (((functions & GadgetFunction::PTP) != 0)) { in addGenericAndroidFunctions()
82 if ((functions & GadgetFunction::MIDI) != 0) { in addGenericAndroidFunctions()
88 if ((functions & GadgetFunction::ACCESSORY) != 0) { in addGenericAndroidFunctions()
94 if ((functions & GadgetFunction::AUDIO_SOURCE) != 0) { in addGenericAndroidFunctions()
100 if ((functions & GadgetFunction::RNDIS) != 0) { in addGenericAndroidFunctions()
113 if ((functions & GadgetFunction::UVC) != 0) { in addGenericAndroidFunctions()
/hardware/google/pixel/usb/hidl/
DUsbGadgetUtils.cpp44 Status addGenericAndroidFunctions(MonitorFfs *monitorFfs, uint64_t functions, bool *ffsEnabled, in addGenericAndroidFunctions() argument
46 if (((functions & GadgetFunction::MTP) != 0)) { in addGenericAndroidFunctions()
62 } else if (((functions & GadgetFunction::PTP) != 0)) { in addGenericAndroidFunctions()
80 if ((functions & GadgetFunction::MIDI) != 0) { in addGenericAndroidFunctions()
86 if ((functions & GadgetFunction::ACCESSORY) != 0) { in addGenericAndroidFunctions()
92 if ((functions & GadgetFunction::AUDIO_SOURCE) != 0) { in addGenericAndroidFunctions()
98 if ((functions & GadgetFunction::RNDIS) != 0) { in addGenericAndroidFunctions()
/hardware/interfaces/usb/gadget/1.2/default/
DUsbGadget.cpp128 static V1_0::Status validateAndSetVidPid(uint64_t functions) { in validateAndSetVidPid() argument
131 switch (functions) { in validateAndSetVidPid()
191 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions() argument
197 if (addGenericAndroidFunctions(&monitorFfs, functions, &ffsEnabled, &i) != in setupFunctions()
201 if ((functions & V1_2::GadgetFunction::ADB) != 0) { in setupFunctions()
210 if (callback) callback->setCurrentUsbFunctionsCb(functions, V1_0::Status::SUCCESS); in setupFunctions()
225 functions, pullup ? V1_0::Status::SUCCESS : V1_0::Status::ERROR); in setupFunctions()
232 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions() argument
237 mCurrentUsbFunctions = functions; in setCurrentUsbFunctions()
251 if (functions == static_cast<uint64_t>(V1_2::GadgetFunction::NONE)) { in setCurrentUsbFunctions()
[all …]
DUsbGadget.h85 Return<void> setCurrentUsbFunctions(uint64_t functions,
97 V1_0::Status setupFunctions(uint64_t functions, const sp<V1_0::IUsbGadgetCallback>& callback,
/hardware/interfaces/usb/gadget/aidl/default/
DUsbGadget.cpp154 Status UsbGadget::setupFunctions(long functions, in setupFunctions() argument
162 if ((functions & GadgetFunction::ADB) != 0) { in setupFunctions()
166 if ((functions & GadgetFunction::NCM) != 0) { in setupFunctions()
174 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS, in_transactionId); in setupFunctions()
204 ScopedAStatus UsbGadget::setCurrentUsbFunctions(int64_t functions, in setCurrentUsbFunctions() argument
214 mCurrentUsbFunctions = functions; in setCurrentUsbFunctions()
236 if (functions == GadgetFunction::NONE) { in setCurrentUsbFunctions()
240 …ScopedAStatus ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS, in_transactionI… in setCurrentUsbFunctions()
247 status = setupFunctions(functions, callback, timeoutMs, in_transactionId); in setCurrentUsbFunctions()
252 if (functions & GadgetFunction::NCM) { in setCurrentUsbFunctions()
[all …]
DUsbGadget.h92 ScopedAStatus setCurrentUsbFunctions(int64_t functions,
108 Status setupFunctions(long functions, const shared_ptr<IUsbGadgetCallback> &callback,
/hardware/interfaces/usb/gadget/1.2/default/lib/
DUsbGadgetUtils.cpp126 Status addGenericAndroidFunctions(MonitorFfs* monitorFfs, uint64_t functions, bool* ffsEnabled, in addGenericAndroidFunctions() argument
128 if (((functions & GadgetFunction::MTP) != 0)) { in addGenericAndroidFunctions()
141 } else if (((functions & GadgetFunction::PTP) != 0)) { in addGenericAndroidFunctions()
156 if ((functions & GadgetFunction::MIDI) != 0) { in addGenericAndroidFunctions()
161 if ((functions & GadgetFunction::ACCESSORY) != 0) { in addGenericAndroidFunctions()
166 if ((functions & GadgetFunction::AUDIO_SOURCE) != 0) { in addGenericAndroidFunctions()
171 if ((functions & GadgetFunction::RNDIS) != 0) { in addGenericAndroidFunctions()
182 if ((functions & GadgetFunction::NCM) != 0) { in addGenericAndroidFunctions()
/hardware/interfaces/usb/gadget/1.1/default/lib/
DUsbGadgetUtils.cpp126 Status addGenericAndroidFunctions(MonitorFfs* monitorFfs, uint64_t functions, bool* ffsEnabled, in addGenericAndroidFunctions() argument
128 if (((functions & GadgetFunction::MTP) != 0)) { in addGenericAndroidFunctions()
141 } else if (((functions & GadgetFunction::PTP) != 0)) { in addGenericAndroidFunctions()
156 if ((functions & GadgetFunction::MIDI) != 0) { in addGenericAndroidFunctions()
161 if ((functions & GadgetFunction::ACCESSORY) != 0) { in addGenericAndroidFunctions()
166 if ((functions & GadgetFunction::AUDIO_SOURCE) != 0) { in addGenericAndroidFunctions()
171 if ((functions & GadgetFunction::RNDIS) != 0) { in addGenericAndroidFunctions()
/hardware/google/aemu/
DREADME.md3 This is an utility library for common functions used in the Android Emulator.
4 External projects (gfxstream, QEMU) may use to perform C++ functions.
/hardware/interfaces/usb/gadget/aidl/android/hardware/usb/gadget/
DIUsbGadgetCallback.aidl36 void setCurrentUsbFunctionsCb(in long functions, in Status status, long transactionId); in setCurrentUsbFunctionsCb() argument
50 void getCurrentUsbFunctionsCb(in long functions, in Status status, long transactionId); in getCurrentUsbFunctionsCb() argument
/hardware/interfaces/usb/gadget/aidl/aidl_api/android.hardware.usb.gadget/1/android/hardware/usb/gadget/
DIUsbGadgetCallback.aidl37 …oneway void setCurrentUsbFunctionsCb(in long functions, in android.hardware.usb.gadget.Status stat… in setCurrentUsbFunctionsCb() argument
38 …oneway void getCurrentUsbFunctionsCb(in long functions, in android.hardware.usb.gadget.Status stat… in getCurrentUsbFunctionsCb() argument
/hardware/interfaces/usb/gadget/aidl/aidl_api/android.hardware.usb.gadget/current/android/hardware/usb/gadget/
DIUsbGadgetCallback.aidl37 …oneway void setCurrentUsbFunctionsCb(in long functions, in android.hardware.usb.gadget.Status stat… in setCurrentUsbFunctionsCb() argument
38 …oneway void getCurrentUsbFunctionsCb(in long functions, in android.hardware.usb.gadget.Status stat… in getCurrentUsbFunctionsCb() argument
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_debug_marker.adoc42 // Must call extension functions through a function pointer:
73 // Must call extension functions through a function pointer:
141 2) Should the command annotation functions flink:vkCmdDebugMarkerBeginEXT
145 The functions have been expanded to take an optional color which can be used
149 3) Should the functions added in this extension accept an extensible
151 function parameters? If so, which functions?
154 All functions have been modified to take a structure type with extensible
171 ** Changed functions to take extensible structs instead of direct function
DVK_NV_mesh_shader.adoc107 . Should we use existing vkCmdDraw or introduce new functions?
110 *RESOLVED*: Introduce new functions.
112 New functions make it easier to separate from "`programmable primitive
113 shading`" chapter, less "`dual use`" language about existing functions
119 . If new functions, how to name?
DVK_KHR_shader_clock.adoc32 timing functions map to the code:OpReadClockKHR instruction with a scope of
33 code:Device, and the code:clock*ARB() timing functions map to the
DVK_KHR_get_display_properties2.adoc37 2) Should extensible input structs be added for these new functions:
52 3) Should additional display query functions be extended?
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
DREADME.txt45 Get them by calling static functions of VendorGraphicBufferMeta
103 You can still use the default mapper functions in the original GraphicBufferMapper class:
106 Refer to following header if you need to use more mapper functions:
124 You can still use the default allocator functions in the original GraphicBufferAllocator class:
126 Refer to following header if you need to use more mapper functions:
/hardware/interfaces/tests/hash/1.0/default/
DHash.cpp15 Return<void> Hash::functions() { in functions() function in android::hardware::tests::hash::V1_0::implementation::Hash
/hardware/google/gfxstream/common/detector/
DGraphicsDetector.proto33 // Loading GLES functions via EGL's eglGetProcAddress().
37 // Loading GLES functions via GLESv2 library directly.
/hardware/interfaces/radio/deprecated/1.0/
DIOemHookResponse.hal22 * Interface declaring response functions to solicited oem hook requests.
23 * Response functions defined in this interface are as per following convention:
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_xlib_surface/
DplatformCreateSurface_xlib.adoc78 Some Vulkan functions may: send protocol over the specified Xlib
82 Vulkan for the duration of any functions that manipulate such swapchains or
83 their presentable images, and any functions that build or queue command
94 other Xlib functions.

12345678910