Searched defs:functions (Results 1 - 8 of 8) sorted by path

/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java86 * USB is not configued, MTP function is enabled, and all the other functions are disabled.
196 * Used for compatibility with old init scripts to indicate no functions vs. charging function.
637 * USB functions represent interfaces which are published to the host to access
657 * Sets the current USB functions when in device mode.
659 * USB functions represent interfaces which are published to the host to access
662 * This method is intended to select among primary USB functions. The system may
663 * automatically activate additional functions such as {@link #USB_FUNCTION_ADB}
673 * @param functions the USB function(s) to set, as a bitwise mask.
678 public void setCurrentFunctions(long functions) { argument
680 mService.setCurrentFunctions(functions);
696 setCurrentFunction(String functions, boolean usbDataUnlocked) argument
740 setScreenUnlockedFunctions(long functions) argument
865 areSettableFunctions(long functions) argument
877 usbFunctionsToString(long functions) argument
910 usbFunctionsFromString(String functions) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java107 * The name of the xml file in which screen unlocked functions are stored.
112 * The SharedPreference setting per user that stores the screen unlocked functions between
127 "/sys/class/android_usb/android0/functions";
159 // We often get rapid connect/disconnect events when enabling USB functions,
420 long functions = UsbManager.FUNCTION_NONE;
422 functions |= UsbManager.FUNCTION_ACCESSORY;
425 functions |= UsbManager.FUNCTION_AUDIO_SOURCE;
428 if (functions != UsbManager.FUNCTION_NONE) {
431 setCurrentFunctions(functions);
504 * May also contain vendor-specific default functions fo
721 updateUsbStateBroadcastIfNeeded(long functions) argument
793 getAppliedFunctions(long functions) argument
1039 isUsbDataTransferActive(long functions) argument
1271 dumpFunctions(DualDumpOutputStream dump, String idName, long id, long functions) argument
1332 setEnabledFunctions(long functions, boolean forceRestart) argument
1547 applyAdbFunction(String functions) argument
1623 getPersistProp(boolean functions) argument
1636 addFunction(String functions, String function) argument
1649 removeFunction(String functions, String function) argument
1672 containsFunction(String functions, String function) argument
1856 UsbGadgetCallback(int request, long functions, boolean chargingFunctions) argument
1864 setCurrentUsbFunctionsCb(long functions, int status) argument
1885 getCurrentUsbFunctionsCb(long functions, int status) argument
1934 setEnabledFunctions(long functions, boolean forceRestart) argument
2017 setCurrentFunctions(long functions) argument
2042 setScreenUnlockedFunctions(long functions) argument
[all...]
H A DUsbService.java398 public void setCurrentFunctions(long functions) { argument
400 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions));
402 mDeviceManager.setCurrentFunctions(functions);
406 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { argument
407 setCurrentFunctions(UsbManager.usbFunctionsFromString(functions));
423 public void setScreenUnlockedFunctions(long functions) { argument
425 Preconditions.checkArgument(UsbManager.areSettableFunctions(functions));
428 mDeviceManager.setScreenUnlockedFunctions(functions);
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
H A DUsbHandlerTest.java101 protected void setEnabledFunctions(long functions, boolean force) { argument
102 mCurrentFunctions = functions;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/rs/rsov/compiler/spirit/
H A Dtransformer.cpp42 // After the functions are transformed, serialize the other sections to
55 auto functions = mStreamFunctions->getWords(); local
56 output.insert(output.end(), functions.begin(), functions.end());
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp149 /* Some functions (like max) have changed implementations but not their
291 const map<string, Function*>& functions,
306 for (auto e : functions) {
644 const auto& functions = specFile.getDocumentedFunctions(); local
646 writeSummaryTables(&file, constants, types, functions, NON_DEPRECATED_ONLY, false);
647 writeSummaryTables(&file, constants, types, functions, DEPRECATED_ONLY, false);
666 if (!functions.empty()) {
668 for (auto i : functions) {
289 writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, const map<string, Type*>& types, const map<string, Function*>& functions, DeprecatedSelector deprecatedSelector, bool labelAsHeader) argument

Completed in 202 milliseconds