Home
last modified time | relevance | path

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

1234

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java405 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local
407 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode()
410 functions |= UsbManager.FUNCTION_AUDIO_SOURCE; in startAccessoryMode()
413 if (functions != UsbManager.FUNCTION_NONE) { in startAccessoryMode()
416 setCurrentFunctions(functions); in startAccessoryMode()
701 protected void updateUsbStateBroadcastIfNeeded(long functions) { in updateUsbStateBroadcastIfNeeded() argument
713 long remainingFunctions = functions; in updateUsbStateBroadcastIfNeeded()
786 long getAppliedFunctions(long functions) { in getAppliedFunctions() argument
787 if (functions == UsbManager.FUNCTION_NONE) { in getAppliedFunctions()
791 return functions | UsbManager.FUNCTION_ADB; in getAppliedFunctions()
[all …]
DUsbService.java462 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
464 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setCurrentFunctions()
466 mDeviceManager.setCurrentFunctions(functions); in setCurrentFunctions()
470 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument
471 setCurrentFunctions(UsbManager.usbFunctionsFromString(functions)); in setCurrentFunction()
487 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument
489 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setScreenUnlockedFunctions()
492 mDeviceManager.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java701 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
703 mService.setCurrentFunctions(functions); in setCurrentFunctions()
720 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument
722 mService.setCurrentFunction(functions, usbDataUnlocked); in setCurrentFunction()
764 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument
766 mService.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions()
898 public static boolean areSettableFunctions(long functions) { in areSettableFunctions() argument
899 return functions == FUNCTION_NONE in areSettableFunctions()
900 || ((~SETTABLE_FUNCTIONS & functions) == 0 && Long.bitCount(functions) == 1); in areSettableFunctions()
910 public static String usbFunctionsToString(long functions) { in usbFunctionsToString() argument
[all …]
DIUsbManager.aidl92 void setCurrentFunctions(long functions); in setCurrentFunctions() argument
103 void setScreenUnlockedFunctions(long functions); in setScreenUnlockedFunctions() argument
/frameworks/rs/script_api/
Drs_allocation_data.spec20 The functions below can be used to get and set the cells that comprise
24 @rsSetElementAt functions.</li>
26 rsAllocationV* functions.</li>
29 The @rsGetElementAt and rsSetElement* functions are somewhat misnamed.
Drs_time.spec20 The functions below can be used to tell the current clock time and the current
21 system up time. It is not recommended to call these functions inside of a kernel.
71 This functions returns the same pointer that is passed as first argument. If the
DGenerateDocumentation.cpp291 const map<string, Function*>& functions, in writeSummaryTables() argument
306 for (auto e : functions) { in writeSummaryTables()
644 const auto& functions = specFile.getDocumentedFunctions(); in writeDetailedDocumentationFile() local
646 writeSummaryTables(&file, constants, types, functions, NON_DEPRECATED_ONLY, false); in writeDetailedDocumentationFile()
647 writeSummaryTables(&file, constants, types, functions, DEPRECATED_ONLY, false); in writeDetailedDocumentationFile()
666 if (!functions.empty()) { in writeDetailedDocumentationFile()
668 for (auto i : functions) { in writeDetailedDocumentationFile()
Drs_allocation_create.spec20 The functions below can be used to create Allocations from a Script.
22 These functions can be called directly or indirectly from an invokable
23 function. If some control-flow path can result in a call to these functions
145 You can also use rsCreateAllocation_<type><width> wrapper functions to directly
Drs_atomic.spec20 To update values shared between multiple threads, use the functions below.
24 These functions are slower than their non-atomic equivalents, so use
30 threads. Updating globals should be done with atomic functions. If possible,
/frameworks/rs/rsov/compiler/spirit/
Dtransformer.cpp55 auto functions = mStreamFunctions->getWords(); in runAndSerialize() local
56 output.insert(output.end(), functions.begin(), functions.end()); in runAndSerialize()
/frameworks/base/native/android/
Dlibandroid_net.map.txt4 # These functions have been part of the NDK since API 24.
8 # These functions have been part of the NDK since API 29.
/frameworks/compile/slang/tests/F_kernel_noattr/
Dstderr.txt.expect3 kernel_noattr.rs:11:5: error: invokable non-static functions are required to return void
4 kernel_noattr.rs:15:5: error: invokable non-static functions are required to return void
/frameworks/base/services/core/java/com/android/server/adb/
DAdbService.java132 private boolean containsFunction(String functions, String function) { in containsFunction() argument
133 int index = functions.indexOf(function); in containsFunction()
135 if (index > 0 && functions.charAt(index - 1) != ',') return false; in containsFunction()
137 if (charAfter < functions.length() && functions.charAt(charAfter) != ',') return false; in containsFunction()
/frameworks/native/opengl/libs/EGL/
DGLES_layers.md14 …layer to use (layer_id) and an entrypoint that can be called to look up functions below the layer.…
22 …n finished. If there is only one layer, next will point directly to the driver for most functions.
27 …function lists and call `AndroidGLESLayer_GetProcAddress` for all known functions. The layer can…
29 … GAPID and RenderDoc) to support Android. That way a layer can look up functions independently (i…
98 Layers must expose the following two functions described above:
104 For a simple layer that just wants to intercept a handful of functions, a passively initialized lay…
135 // Don't return anything for unrecognized functions
196 // Don't return anything for unrecognized functions
204 // functions it cares about
236 …n layering is enabled, GLES 1.x exclusive functions will continue to route to GLES 1.x drivers. B…
Degl_layers.cpp112 void SetupFuncMaps(FunctionTable& functions, char const* const* entries, EGLFuncPointer* curr, in SetupFuncMaps() argument
129 if (functions[func_idx] == nullptr) { in SetupFuncMaps()
131 functions[func_idx] = *curr; in SetupFuncMaps()
133 …(%i), Found entry for functions (%llu)", name, func_idx, (unsigned long long) functions[func_idx]); in SetupFuncMaps()
/frameworks/base/packages/SystemUI/docs/
Dkotlin-in-sysui.md12 - Only use extension functions for keeping complex code locality: Don't use
13 extension functions to add methods to android classes that you always wished
/frameworks/native/vulkan/libvulkan/
Dcode-generator.tmpl474 {{/* Global functions cannot be dispatched at all */}}
477 {{/* VkPhysicalDevice functions that manage device layers */}}
482 {{/* Destroy functions of dispatchable objects */}}
497 // Exported extension functions may be invoked even when their extensions
546 // global functions
565 {{/* hide global functions */}}
569 {{/* redirect intercepted functions */}}
578 {{/* redirect device functions to themselves as a workaround for
734 {{/* Create functions of dispatchable objects */}}
743 {{/* Destroy functions of dispatchable objects */}}
[all …]
/frameworks/compile/slang/tests/F_invoke_return/
Dstderr.txt.expect1 invoke_return.rs:4:5: error: invokable non-static functions are required to return void
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt118 semantics of these callback functions are described in Section 3.9.1 (Cache
121 Cache functions may only be specified once during the lifetime of an
122 EGLDisplay. The <set> and <get> functions may be called at any time and
126 functions from different threads is also allowed.
175 1. How should errors be handled in the callback functions?
208 functions.
/frameworks/compile/slang/tests/F_multi_export_errors/
Dstderr.txt.expect3 multi_export_errors.rs:11:5: error: invokable non-static functions are required to return void
/frameworks/rs/rsov/compiler/
DInlinePreparationPass.cpp46 for (auto &F : M.functions()) { in runOnModule()
DRemoveNonkernelsPass.cpp82 for (auto &F : M.functions()) { in runOnModule()
/frameworks/rs/script_api/include/
Drs_time.rsh22 * The functions below can be used to tell the current clock time and the current
23 * system up time. It is not recommended to call these functions inside of a kernel.
76 * This functions returns the same pointer that is passed as first argument. If the
/frameworks/compile/libbcc/
DREADME.rst115 * **bccGetExportFuncCount** - Get the count of exported functions
117 * **bccGetExportFuncList** - Get the addresses of exported functions
126 * **bccGetFuncCount** - Get the count of functions (including non-exported)
161 The list of the addresses of exported functions.
/frameworks/compile/slang/
DREADME.rst132 llvm-rs-cc automatically exports the "externalizable and defined" functions and
147 to the functions and global variables within a script. In summary,
148 global variables and functions within a script that are not declared
150 to set the data within a script and call its functions.
242 * In terms of a script's global functions, they can be called from Java.
247 threads to complete pending operations. A few special functions can also
270 signature for a graphics root functions is as follows::

1234