Home
last modified time | relevance | path

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

1234

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java231 String functions = null; in startAccessoryMode() local
234 functions = UsbManager.USB_FUNCTION_ACCESSORY + "," in startAccessoryMode()
237 functions = UsbManager.USB_FUNCTION_ACCESSORY; in startAccessoryMode()
239 functions = UsbManager.USB_FUNCTION_AUDIO_SOURCE; in startAccessoryMode()
242 if (functions != null) { in startAccessoryMode()
244 setCurrentFunctions(functions, false); in startAccessoryMode()
271 private static String addFunction(String functions, String function) { in addFunction() argument
272 if ("none".equals(functions)) { in addFunction()
275 if (!containsFunction(functions, function)) { in addFunction()
276 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/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/compile/mclinker/
Dmcld-device-build.mk8 -finline-functions \
/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/base/tests/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/training/enterprise/
Dindex.jd54 that your app functions properly on devices that use <a
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd51 script. Every script contains its own set of kernels, functions, and variables. A script can
63 <li>Some number of invokable functions. An invokable function is a single-threaded RenderScript
113 <li>Some number of static script globals and functions. A static script global is equivalent to a
300 <p>Invoked functions can be launched using the <code>invoke_<em>functionname</em></code> methods
306 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/guide/webapps/
Ddebugging.jd81 You can, however, use the basic text logging functions:</p>
89 <p>Other console functions don't raise errors, but might not behave the same as what you
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_mid_hor.s18 ;-- h264bsdInterpolateMid functions
/frameworks/base/docs/html/training/basics/actionbar/
Dindex.jd38 familiar to users by offering consistency between other Android apps. Key functions include:</p>
/frameworks/base/docs/html/guide/practices/
Dverifying-apps-art.jd102 functions. In runtimes with non-compacting GC, the
103 <code>Get...ArrayElements()</code> functions typically return a reference to the
107 compacting GC is in use, the <code>Get...ArrayElements()</code> functions may
181 <p>In addition, the JNI functions <code>GetFieldID()</code> and
/frameworks/base/docs/html/tools/debugging/
Ddebugging-projects.jd51 <li>Emulator Control - Lets you carry out device functions.</li>
/frameworks/base/docs/html/wear/design/
Duser-interface.jd13 main spaces centered around the core functions of <strong>Suggest</strong> and
/frameworks/rs/scriptc/
Drs_time.rsh20 * This file contains RenderScript functions relating to time and date
/frameworks/base/docs/html/design/patterns/
Dwidgets.jd45 <p>The main purpose of a control widget is to display often used functions that the user can trigge…
83 …<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/training/tv/discovery/
Din-app-search.jd31 is consistent with other search functions on TV and provides features such as voice input.

1234