Home
last modified time | relevance | path

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

1234

/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java223 String functions = null; in startAccessoryMode() local
226 functions = UsbManager.USB_FUNCTION_ACCESSORY + "," in startAccessoryMode()
229 functions = UsbManager.USB_FUNCTION_ACCESSORY; in startAccessoryMode()
231 functions = UsbManager.USB_FUNCTION_AUDIO_SOURCE; in startAccessoryMode()
234 if (functions != null) { in startAccessoryMode()
236 setCurrentFunctions(functions, false); in startAccessoryMode()
263 private static String addFunction(String functions, String function) { in addFunction() argument
264 if ("none".equals(functions)) { in addFunction()
267 if (!containsFunction(functions, function)) { in addFunction()
268 if (functions.length() > 0) { in addFunction()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java404 String functions = SystemProperties.get(property, ""); in propertyContainsFunction() local
405 int index = functions.indexOf(function); in propertyContainsFunction()
407 if (index > 0 && functions.charAt(index - 1) != ',') return false; in propertyContainsFunction()
409 if (charAfter < functions.length() && functions.charAt(charAfter) != ',') return false; in propertyContainsFunction()
433 String functions = SystemProperties.get("persist.sys.usb.config", ""); in getDefaultFunction() local
434 int commaIndex = functions.indexOf(','); in getDefaultFunction()
436 return functions.substring(0, commaIndex); in getDefaultFunction()
438 return functions; in getDefaultFunction()
/frameworks/compile/mclinker/
Dmcld-device-build.mk9 -finline-functions \
10 -fno-inline-functions-called-once \
/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/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/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/testing/uiautomator/utils/SleepUtils/
DREADME10 the service functions from command line. Corresponding to service function
/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/docs/html/guide/topics/renderscript/
Dcompute.jd51 script. Every script contains its own set of kernels, functions, and variables. A script can
61 <li>Some number of invokable functions. An invokable function is a single-threaded RenderScript
111 <li>Some number of static script globals and functions. A static script global is equivalent to a
299 <p>Invoked functions can be launched using the <code>invoke_<em>functionname</em></code> methods
305 android.renderscript.Allocation}. These functions will synchronize with asynchronous kernel and
Dadvanced.jd56 <p class="note"><strong>Note:</strong> The standard C functions in the NDK must be
75 <li>A large collection of math functions with both scalar and vector typed overloaded versions
77 are available as well as atomic arithmetic and comparison functions.</li>
85 <li>Logging functions</li>
88 <p>See the RenderScript runtime API reference for more information on the available functions.
106 <li>Non-static functions</li>
161 interruption and increases efficiency. If functions were allowed to have return values, the call
544 For simple arrays there are <code>copyFrom()</code> functions that take an array from the
/frameworks/base/docs/html/training/basics/actionbar/
Dindex.jd37 familiar to users by offering consistency between other Android apps. Key functions include:</p>
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_mid_hor.s18 ;-- h264bsdInterpolateMid functions
/frameworks/base/docs/html/guide/webapps/
Ddebugging.jd71 You can, however, use the basic text logging functions:</p>
79 <p>Other console functions don't raise errors, but might not behave the same as what you
/frameworks/base/docs/html/tools/debugging/
Ddebugging-projects.jd51 <li>Emulator Control - Lets you carry out device functions.</li>
/frameworks/rs/scriptc/
Drs_time.rsh20 * This file contains RenderScript functions relating to time and date
/frameworks/base/docs/html/design/patterns/
Dwidgets.jd44 <p>The main purpose of a control widget is to display often used functions that the user can trigge…
82 …<li>Generative functions: These are the functions that allow the user to create new content for an…
Dselection.jd24 contextual actions and selection management functions for selected data into a new element called
/frameworks/base/docs/html/tools/help/
Dgltracer.jd86 <li>On the connected device, exercise the functions of your application you want to trace.</li>
/frameworks/base/docs/html/training/tv/
Dunsupported-features-tv.jd99 deactivate or activate specific functions in the application based on runtime device type detection.
/frameworks/wilhelm/doc/
DDoxyfile224 # set this tag to YES in order to let doxygen match functions declarations and
259 # the same type (for instance a group of public functions) to be put as a
553 # functions that are documented, but have no documentation for their parameters
630 # (namespaces, classes, functions, etc.) that should be excluded from the
703 # of functions and classes directly in the documentation.
715 # functions referencing it will be listed.
727 # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
1544 # for selected functions only using the \callgraph command.
1552 # graphs for selected functions only using the \callergraph command.
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt124 A "library" means a collection of software functions and/or data
126 (which use some of those functions and data) to form executables.
261 functions (ten lines or less in length), then the use of the object
301 rather than copying library functions into the executable, and (2)

1234