Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java594 public static String addFunction(String functions, String function) { in addFunction() argument
595 if ("none".equals(functions)) { in addFunction()
598 if (!containsFunction(functions, function)) { in addFunction()
599 if (functions.length() > 0) { in addFunction()
600 functions += ","; in addFunction()
602 functions += function; in addFunction()
604 return functions; in addFunction()
608 public static String removeFunction(String functions, String function) { in removeFunction() argument
609 String[] split = functions.split(","); in removeFunction()
632 public static boolean containsFunction(String functions, String function) { in containsFunction() argument
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java258 String functions = null; in startAccessoryMode() local
261 functions = UsbManager.USB_FUNCTION_ACCESSORY + "," in startAccessoryMode()
264 functions = UsbManager.USB_FUNCTION_ACCESSORY; in startAccessoryMode()
266 functions = UsbManager.USB_FUNCTION_AUDIO_SOURCE; in startAccessoryMode()
269 if (functions != null) { in startAccessoryMode()
271 setCurrentFunctions(functions); in startAccessoryMode()
438 private void setEnabledFunctions(String functions, boolean forceRestart) { in setEnabledFunctions() argument
439 if (DEBUG) Slog.d(TAG, "setEnabledFunctions functions=" + functions + ", " in setEnabledFunctions()
445 if (trySetEnabledFunctions(functions, forceRestart)) { in setEnabledFunctions()
453 if (oldFunctionsApplied && !oldFunctions.equals(functions)) { in setEnabledFunctions()
[all …]
/frameworks/rs/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.cpp288 const map<string, Function*>& functions, in writeSummaryTables() argument
303 for (auto e : functions) { in writeSummaryTables()
627 const auto& functions = specFile.getDocumentedFunctions(); in writeDetailedDocumentationFile() local
629 writeSummaryTables(&file, constants, types, functions, NON_DEPRECATED_ONLY, false); in writeDetailedDocumentationFile()
630 writeSummaryTables(&file, constants, types, functions, DEPRECATED_ONLY, false); in writeDetailedDocumentationFile()
649 if (!functions.empty()) { in writeDetailedDocumentationFile()
651 for (auto i : functions) { in writeDetailedDocumentationFile()
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,
Drs_vector_math.spec20 These functions interpret the input arguments as representation of vectors in
28 functions. Functions with a name starting with<ul>
Drs_debug.spec20 The functions below are intended to be used during application developement.
Drs_io.spec20 These functions are used to:<ul>
/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/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/scriptc/
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
Drs_atomic.rsh22 * To update values shared between multiple threads, use the functions below.
26 * These functions are slower than their non-atomic equivalents, so use
32 * threads. Updating globals should be done with atomic functions. If possible,
Drs_object_info.rsh22 * The functions below can be used to query the characteristics of an Allocation, Element,
43 * - In functions like rsGetElementAt(), "element" means the instantiation of the type,
46 * The functions below let you query the characteristics of the type specificiation.
141 * of an Allocation. See the rsElement* functions below.
234 * functions to explore this complex Element.
/frameworks/native/opengl/libs/GLES_trace/
DDESIGN.txt21 For EGL calls, the trace library provides a bunch of functions that must be explicitly called
22 from the EGL library. These functions are declared in glestrace.h
67 GLES_Trace/src/genapi.py script. The structure of all the functions looks like this:
/frameworks/compile/mclinker/
Dmcld-device-build.mk8 -finline-functions \
/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/base/docs/html/ndk/reference/
Dglobals_w.jd7 <div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs wit…
/frameworks/base/docs/html/ndk/guides/
Dx86.jd51 (1869 of total 2009) of all NEON functions.</li>
53 <li>Redefinition of some functions from ARM NEON to Intel SSE if a 1:1 correspondence exists.</li>
54 <li>Implementation of some ARM NEON functions using Intel SIMD if it will yield a performant result.
56 <li>Implementation of some of the remaining NEON functions using the serial solution, and issuing
67 <li>Avoid using constants with NEON functions. Using constants results in a performance penalty due
70 <li>Try to avoid functions marked as "serially implemented" because they need to store data from
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd50 the table.) The JavaVM provides the "invocation interface" functions,
54 <p>The JNIEnv provides most of the JNI functions. Your native functions all receive a JNIEnv as
76 <code>AttachCurrentThreadAsDaemon</code> functions. Until a thread is
158 <p>The only way to get non-local references is via the functions
198 pointers returned by functions like <code>GetStringUTFChars</code>
215 suitable for use with standard libc string functions. The down side is that you cannot pass
227 string functions return <code>jchar*</code> or <code>jbyte*</code>, which
244 <p>JNI provides functions for accessing the contents of array objects.
294 to get an array, modify it in place, pass pieces to other functions, and
349 <p><strong>You must not call most JNI functions while an exception is pending.</strong>
[all …]
/frameworks/base/tests/utils/SleepUtils/
DREADME10 the service functions from command line. Corresponding to service function
/frameworks/base/docs/html/ndk/samples/
Dsample_teapot.jd23 a collection of native helper functions required for implementing games and
28 <li>Helper functions that are useful but not present in the NDK, such as tap detection.</li>
165 <p>The app calls the following functions in response to various Android
354 //Init helper functions

123456