/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 405 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 …]
|
D | UsbService.java | 462 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/ |
D | UsbManager.java | 701 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 …]
|
D | IUsbManager.aidl | 92 void setCurrentFunctions(long functions); in setCurrentFunctions() argument 103 void setScreenUnlockedFunctions(long functions); in setScreenUnlockedFunctions() argument
|
/frameworks/rs/script_api/ |
D | rs_allocation_data.spec | 20 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.
|
D | rs_time.spec | 20 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
|
D | GenerateDocumentation.cpp | 291 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()
|
D | rs_allocation_create.spec | 20 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
|
D | rs_atomic.spec | 20 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/ |
D | transformer.cpp | 55 auto functions = mStreamFunctions->getWords(); in runAndSerialize() local 56 output.insert(output.end(), functions.begin(), functions.end()); in runAndSerialize()
|
/frameworks/base/native/android/ |
D | libandroid_net.map.txt | 4 # 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/ |
D | stderr.txt.expect | 3 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/ |
D | AdbService.java | 132 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/ |
D | GLES_layers.md | 14 …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…
|
D | egl_layers.cpp | 112 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/ |
D | kotlin-in-sysui.md | 12 - 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/ |
D | code-generator.tmpl | 474 {{/* 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/ |
D | stderr.txt.expect | 1 invoke_return.rs:4:5: error: invokable non-static functions are required to return void
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_blob_cache.txt | 118 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/ |
D | stderr.txt.expect | 3 multi_export_errors.rs:11:5: error: invokable non-static functions are required to return void
|
/frameworks/rs/rsov/compiler/ |
D | InlinePreparationPass.cpp | 46 for (auto &F : M.functions()) { in runOnModule()
|
D | RemoveNonkernelsPass.cpp | 82 for (auto &F : M.functions()) { in runOnModule()
|
/frameworks/rs/script_api/include/ |
D | rs_time.rsh | 22 * 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/ |
D | README.rst | 115 * **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/ |
D | README.rst | 132 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::
|