/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/ |
D | UsbManagerTestLib.java | 57 private void setCurrentFunctions(long functions) { in setCurrentFunctions() argument 58 mUsbManagerMock.setCurrentFunctions(functions); in setCurrentFunctions() 65 private void setCurrentFunctionsSys(long functions) { in setCurrentFunctionsSys() argument 66 mUsbManagerSys.setCurrentFunctions(functions); in setCurrentFunctionsSys() 69 private void testSetGetCurrentFunctions_Matched(long functions) { in testSetGetCurrentFunctions_Matched() argument 70 setCurrentFunctions(functions); in testSetGetCurrentFunctions_Matched() 71 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testSetGetCurrentFunctions_Matched() 74 private void testGetCurrentFunctionsMock_Matched(long functions) { in testGetCurrentFunctionsMock_Matched() argument 76 when(mMockUsbService.getCurrentFunctions()).thenReturn(functions); in testGetCurrentFunctionsMock_Matched() 78 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testGetCurrentFunctionsMock_Matched() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 432 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler() local 434 if ((functions & UsbManager.FUNCTION_ACCESSORY) == 0) { in resetAccessoryHandshakeTimeoutHandler() 451 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local 453 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode() 456 functions |= UsbManager.FUNCTION_AUDIO_SOURCE; in startAccessoryMode() 459 if (functions != UsbManager.FUNCTION_NONE) { in startAccessoryMode() 464 setCurrentFunctions(functions); in startAccessoryMode() 786 protected void updateUsbStateBroadcastIfNeeded(long functions) { in updateUsbStateBroadcastIfNeeded() argument 798 long remainingFunctions = functions; in updateUsbStateBroadcastIfNeeded() 873 long getAppliedFunctions(long functions) { in getAppliedFunctions() argument [all …]
|
D | UsbService.java | 600 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument 602 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setCurrentFunctions() 604 mDeviceManager.setCurrentFunctions(functions); in setCurrentFunctions() 608 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument 609 setCurrentFunctions(UsbManager.usbFunctionsFromString(functions)); in setCurrentFunction() 625 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument 627 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions)); in setScreenUnlockedFunctions() 630 mDeviceManager.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 992 public void setCurrentFunctions(@UsbFunctionMode long functions) { in setCurrentFunctions() argument 994 mService.setCurrentFunctions(functions); in setCurrentFunctions() 1011 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument 1013 mService.setCurrentFunction(functions, usbDataUnlocked); in setCurrentFunction() 1057 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument 1059 mService.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions() 1303 public static boolean areSettableFunctions(long functions) { in areSettableFunctions() argument 1304 return functions == FUNCTION_NONE in areSettableFunctions() 1305 || ((~SETTABLE_FUNCTIONS & functions) == 0 in areSettableFunctions() 1306 && ((Long.bitCount(functions) == 1) in areSettableFunctions() [all …]
|
D | IUsbManager.aidl | 113 void setCurrentFunctions(long functions); in setCurrentFunctions() argument 130 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/base/native/android/ |
D | libandroid_net.map.txt | 8 # These functions have been part of the NDK since API 24. 12 # These functions have been part of the NDK since API 29. 17 # These functions have been part of the NDK since API 31.
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbManagerNoPermTest.java | 84 public void assertSettableFunctions(boolean settable, long functions) { in assertSettableFunctions() argument 86 "areSettableFunctions(" + UsbManager.usbFunctionsToString(functions) + "):", in assertSettableFunctions() 87 settable, UsbManager.areSettableFunctions(functions)); in assertSettableFunctions()
|
/frameworks/compile/slang/tests/F_kernel_noattr/ |
D | stderr.txt.expect | 3 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/ |
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 | 118 void SetupFuncMaps(FunctionTable& functions, char const* const* entries, EGLFuncPointer* curr, in SetupFuncMaps() argument 138 if (functions[func_idx] == nullptr) { in SetupFuncMaps() 142 functions[func_idx] = *curr; in SetupFuncMaps() 145 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/compile/slang/tests/F_invoke_return/ |
D | stderr.txt.expect | 1 invoke_return.rscript: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.rscript:11:5: error: invokable non-static functions are required to return void
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbService.java | 187 private static boolean containsFunction(String functions, String function) { in containsFunction() argument 188 int index = functions.indexOf(function); in containsFunction() 190 if (index > 0 && functions.charAt(index - 1) != ',') return false; in containsFunction() 192 if (charAfter < functions.length() && functions.charAt(charAfter) != ',') return false; in containsFunction()
|
/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::
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rscript | 6 // the pragmas after the functions (backward reference), and the other 7 // test case places the pragmas before the functions (forward
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rscript | 6 // places the pragmas before the functions (forward reference), and 7 // the other test case places the pragmas after the functions
|