Home
last modified time | relevance | path

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

1234

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java406 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local
408 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode()
411 functions |= UsbManager.FUNCTION_AUDIO_SOURCE; in startAccessoryMode()
414 if (functions != UsbManager.FUNCTION_NONE) { in startAccessoryMode()
417 setCurrentFunctions(functions); in startAccessoryMode()
702 protected void updateUsbStateBroadcastIfNeeded(long functions) { in updateUsbStateBroadcastIfNeeded() argument
714 long remainingFunctions = functions; in updateUsbStateBroadcastIfNeeded()
789 long getAppliedFunctions(long functions) { in getAppliedFunctions() argument
790 if (functions == UsbManager.FUNCTION_NONE) { in getAppliedFunctions()
794 return functions | UsbManager.FUNCTION_ADB; in getAppliedFunctions()
[all …]
DUsbService.java465 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
467 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setCurrentFunctions()
469 mDeviceManager.setCurrentFunctions(functions); in setCurrentFunctions()
473 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument
474 setCurrentFunctions(UsbManager.usbFunctionsFromString(functions)); in setCurrentFunction()
490 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument
492 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setScreenUnlockedFunctions()
495 mDeviceManager.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java745 public void setCurrentFunctions(@UsbFunctionMode long functions) { in setCurrentFunctions() argument
747 mService.setCurrentFunctions(functions); in setCurrentFunctions()
764 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument
766 mService.setCurrentFunction(functions, usbDataUnlocked); in setCurrentFunction()
810 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument
812 mService.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions()
944 public static boolean areSettableFunctions(long functions) { in areSettableFunctions() argument
945 return functions == FUNCTION_NONE in areSettableFunctions()
946 || ((~SETTABLE_FUNCTIONS & functions) == 0 && Long.bitCount(functions) == 1); in areSettableFunctions()
956 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/compile/slang/tests/F_kernel_noattr/
Dstderr.txt.expect3 kernel_noattr.rscript:11:5: error: invokable non-static functions are required to return void
4 kernel_noattr.rscript:15:5: error: invokable non-static functions are required to return void
/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/native/android/
Dlibandroid_net.map.txt8 # These functions have been part of the NDK since API 24.
12 # These functions have been part of the NDK since API 29.
/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/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_invoke_return/
Dstderr.txt.expect1 invoke_return.rscript:4:5: error: invokable non-static functions are required to return void
/frameworks/base/services/core/java/com/android/server/adb/
DAdbService.java186 private static boolean containsFunction(String functions, String function) { in containsFunction() argument
187 int index = functions.indexOf(function); in containsFunction()
189 if (index > 0 && functions.charAt(index - 1) != ',') return false; in containsFunction()
191 if (charAfter < functions.length() && functions.charAt(charAfter) != ',') return false; in containsFunction()
/frameworks/compile/slang/tests/F_multi_export_errors/
Dstderr.txt.expect3 multi_export_errors.rscript:11:5: error: invokable non-static functions are required to return void
/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::
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript6 // places the pragmas before the functions (forward reference), and
7 // the other test case places the pragmas after the functions
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript6 // the pragmas after the functions (backward reference), and the other
7 // test case places the pragmas before the functions (forward
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rscript21 // This test case places the pragmas after the functions (backward
23 // functions (forward reference).

1234