/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/ |
D | UsbManagerTestLib.java | 65 private void setCurrentFunctions(long functions) { in setCurrentFunctions() argument 66 mUsbManagerMock.setCurrentFunctions(functions); in setCurrentFunctions() 73 private void setCurrentFunctionsSys(long functions) { in setCurrentFunctionsSys() argument 74 mUsbManagerSys.setCurrentFunctions(functions); in setCurrentFunctionsSys() 77 private void testSetGetCurrentFunctions_Matched(long functions) { in testSetGetCurrentFunctions_Matched() argument 78 setCurrentFunctions(functions); in testSetGetCurrentFunctions_Matched() 79 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testSetGetCurrentFunctions_Matched() 82 private void testGetCurrentFunctionsMock_Matched(long functions) { in testGetCurrentFunctionsMock_Matched() argument 84 when(mMockUsbService.getCurrentFunctions()).thenReturn(functions); in testGetCurrentFunctionsMock_Matched() 86 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testGetCurrentFunctionsMock_Matched() [all …]
|
/frameworks/libs/binary_translation/jni/ |
D | jni_trampolines.cc | 178 using PFN_callee = decltype(std::declval<JNIEnv>().functions->RegisterNatives); in DoTrampoline_JNIEnv_RegisterNatives() 183 ret = (arg_env->functions)->RegisterNatives(arg_env, arg_clazz, arg_methods, arg_n); in DoTrampoline_JNIEnv_RegisterNatives() 189 using PFN_callee = decltype(std::declval<JNIEnv>().functions->GetJavaVM); in DoTrampoline_JNIEnv_GetJavaVM() 195 ret = (arg_env->functions)->GetJavaVM(arg_env, &host_vm); in DoTrampoline_JNIEnv_GetJavaVM() 202 using PFN_callee = decltype(std::declval<JNIEnv>().functions->CallStaticVoidMethodV); in DoTrampoline_JNIEnv_CallStaticVoidMethodV() 211 (arg_0->functions)->CallStaticVoidMethodA(arg_0, arg_1, arg_2, arg_3); in DoTrampoline_JNIEnv_CallStaticVoidMethodV() 222 using PFN_callee = decltype(std::declval<JavaVM>().functions->DestroyJavaVM); in DoJavaVMTrampoline_DestroyJavaVM() 227 ret = (arg_java_vm->functions)->DestroyJavaVM(arg_java_vm); in DoJavaVMTrampoline_DestroyJavaVM() 232 using PFN_callee = decltype(std::declval<JavaVM>().functions->AttachCurrentThread); in DoJavaVMTrampoline_AttachCurrentThread() 238 ret = (arg_java_vm->functions)->AttachCurrentThread(arg_java_vm, &env, arg_args); in DoJavaVMTrampoline_AttachCurrentThread() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 459 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler() local 461 if ((functions & UsbManager.FUNCTION_ACCESSORY) == 0) { in resetAccessoryHandshakeTimeoutHandler() 479 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local 481 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode() 484 if (functions != UsbManager.FUNCTION_NONE) { in startAccessoryMode() 489 setCurrentFunctions(functions, operationId); in startAccessoryMode() 906 protected void updateUsbStateBroadcastIfNeeded(long functions) { in updateUsbStateBroadcastIfNeeded() argument 918 long remainingFunctions = functions; in updateUsbStateBroadcastIfNeeded() 1102 long getAppliedFunctions(long functions) { in getAppliedFunctions() argument 1103 if (functions == UsbManager.FUNCTION_NONE) { in getAppliedFunctions() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
D | UsbGadgetAidl.java | 183 UsbGadgetCallback(IndentingPrintWriter pw, int request, long functions, in UsbGadgetCallback() argument 187 mFunctions = functions; in UsbGadgetCallback() 192 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb() argument 196 + " ,functions:" + functions + " ,status:" + status in setCurrentUsbFunctionsCb() 200 + " ,functions:" + functions + " ,status:" + status in setCurrentUsbFunctionsCb() 203 mDeviceManager.setCurrentUsbFunctionsCb(functions, status, in setCurrentUsbFunctionsCb() 208 public void getCurrentUsbFunctionsCb(long functions, in getCurrentUsbFunctionsCb() argument 212 + " ,functions:" + functions + " ,status:" + status in getCurrentUsbFunctionsCb() 216 + " ,functions:" + functions + " ,status:" + status in getCurrentUsbFunctionsCb() 219 mDeviceManager.getCurrentUsbFunctionsCb(functions, status); in getCurrentUsbFunctionsCb()
|
D | UsbGadgetHidl.java | 232 long functions, boolean chargingFunctions) { in UsbGadgetCallback() argument 234 mFunctions = functions; in UsbGadgetCallback() 239 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb() argument 241 mDeviceManager.setCurrentUsbFunctionsCb(functions, status, in setCurrentUsbFunctionsCb() 246 public void getCurrentUsbFunctionsCb(long functions, in getCurrentUsbFunctionsCb() argument 248 mDeviceManager.getCurrentUsbFunctionsCb(functions, status); in getCurrentUsbFunctionsCb()
|
D | UsbGadgetHal.java | 75 public void setCurrentUsbFunctions(int request, long functions, in setCurrentUsbFunctions() argument
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 1186 public void setCurrentFunctions(@UsbFunctionMode long functions) { in setCurrentFunctions() argument 1189 mService.setCurrentFunctions(functions, operationId); in setCurrentFunctions() 1192 + functions + ", opId:" + operationId, e); in setCurrentFunctions() 1208 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction() argument 1211 mService.setCurrentFunction(functions, usbDataUnlocked, operationId); in setCurrentFunction() 1214 + functions + ", opId:" + operationId, e); in setCurrentFunction() 1257 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions() argument 1259 mService.setScreenUnlockedFunctions(functions); in setScreenUnlockedFunctions() 1785 public static boolean areSettableFunctions(long functions) { in areSettableFunctions() argument 1786 return functions == FUNCTION_NONE in areSettableFunctions() [all …]
|
D | IUsbManager.aidl | 131 void setCurrentFunctions(long functions, int operationId); in setCurrentFunctions() argument 152 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 LL-NDK since API 24. 12 # These functions have been part of the LL-NDK since API 29. 17 # These functions have been part of the LL-NDK since API 31. 21 # These functions have been part of the LL-NDK since API 33.
|
/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/libs/binary_translation/kernel_api/tools/ |
D | README.md | 26 `__do_sys_*` functions, see "Extract system calls parameters"). 40 `__do_sys_foo` functions are usually inlined and do not exist in symbols table. However, DWARF 41 should still have these functions. 47 Extract the list of `__do_sys_*` functions for arch: 51 Use `dwarf_reader` to get .json API info for these functions:
|
/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/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/base/services/core/java/com/android/server/adb/ |
D | AdbService.java | 190 private static boolean containsFunction(String functions, String function) { in containsFunction() argument 191 int index = functions.indexOf(function); in containsFunction() 193 if (index > 0 && functions.charAt(index - 1) != ',') return false; in containsFunction() 195 if (charAfter < functions.length() && functions.charAt(charAfter) != ',') return false; in containsFunction()
|