Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbBackend.java86 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
87 mUsbManager.setCurrentFunctions(functions); in setCurrentFunctions()
94 public void setDefaultUsbFunctions(long functions) { in setDefaultUsbFunctions() argument
95 mUsbManager.setScreenUnlockedFunctions(functions); in setDefaultUsbFunctions()
98 public boolean areFunctionsSupported(long functions) { in areFunctionsSupported() argument
99 if ((!mMidiSupported && (functions & UsbManager.FUNCTION_MIDI) != 0) in areFunctionsSupported()
100 || (!mTetheringSupported && (functions & UsbManager.FUNCTION_RNDIS) != 0)) { in areFunctionsSupported()
103 return !(areFunctionDisallowed(functions) || areFunctionsDisallowedBySystem(functions)); in areFunctionsSupported()
162 public static String usbFunctionsToString(long functions) { in usbFunctionsToString() argument
164 return Long.toBinaryString(functions); in usbFunctionsToString()
[all …]
DConnectedUsbDeviceUpdater.java47 (connected, functions, powerRole, dataRole) -> {
50 ? functions : UsbManager.FUNCTION_NONE, powerRole));
104 public static int getSummary(long functions, int power) { in getSummary() argument
107 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
109 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
111 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
113 } else if (functions == UsbManager.FUNCTION_MIDI) { in getSummary()
119 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
121 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
123 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
[all …]
DUsbConnectionBroadcastReceiver.java61 long functions = UsbManager.FUNCTION_NONE; in onReceive() local
64 functions |= UsbManager.FUNCTION_MTP; in onReceive()
68 functions |= UsbManager.FUNCTION_PTP; in onReceive()
71 functions |= UsbManager.FUNCTION_MIDI; in onReceive()
74 functions |= UsbManager.FUNCTION_RNDIS; in onReceive()
76 mFunctions = functions; in onReceive()
134 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() argument
DUsbDefaultFragment.java118 long functions = UsbBackend.usbFunctionsFromString(key); in setDefaultKey() local
121 if (functions == UsbManager.FUNCTION_RNDIS) { in setDefaultKey()
127 mUsbBackend.setDefaultUsbFunctions(functions); in setDefaultKey()
DUsbDetailsFragment.java51 (connected, functions, powerRole, dataRole) -> {
53 controller.refresh(connected, functions, powerRole, dataRole);
DUsbDetailsFunctionsController.java90 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
103 pref.setChecked(functions == option); in refresh()
DUsbDetailsController.java63 protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole); in refresh() argument
DUsbDetailsHeaderController.java50 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsPowerRoleController.java69 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsDataRoleController.java68 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java86 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
87 mUsbManager.setCurrentFunctions(functions); in setCurrentFunctions()
94 public void setDefaultUsbFunctions(long functions) { in setDefaultUsbFunctions() argument
95 mUsbManager.setScreenUnlockedFunctions(functions); in setDefaultUsbFunctions()
98 public boolean areFunctionsSupported(long functions) { in areFunctionsSupported() argument
99 if ((!mMidiSupported && (functions & UsbManager.FUNCTION_MIDI) != 0) in areFunctionsSupported()
100 || (!mTetheringSupported && (functions & UsbManager.FUNCTION_RNDIS) != 0)) { in areFunctionsSupported()
103 return !(areFunctionDisallowed(functions) || areFunctionsDisallowedBySystem(functions)); in areFunctionsSupported()
162 public static String usbFunctionsToString(long functions) { in usbFunctionsToString() argument
164 return Long.toBinaryString(functions); in usbFunctionsToString()
[all …]
DConnectedUsbDeviceUpdater.java47 (connected, functions, powerRole, dataRole) -> {
50 ? functions : UsbManager.FUNCTION_NONE, powerRole));
104 public static int getSummary(long functions, int power) { in getSummary() argument
107 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
109 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
111 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
113 } else if (functions == UsbManager.FUNCTION_MIDI) { in getSummary()
119 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
121 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
123 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
[all …]
DUsbConnectionBroadcastReceiver.java61 long functions = UsbManager.FUNCTION_NONE; in onReceive() local
64 functions |= UsbManager.FUNCTION_MTP; in onReceive()
68 functions |= UsbManager.FUNCTION_PTP; in onReceive()
71 functions |= UsbManager.FUNCTION_MIDI; in onReceive()
74 functions |= UsbManager.FUNCTION_RNDIS; in onReceive()
76 mFunctions = functions; in onReceive()
134 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() argument
DUsbDefaultFragment.java118 long functions = UsbBackend.usbFunctionsFromString(key); in setDefaultKey() local
121 if (functions == UsbManager.FUNCTION_RNDIS) { in setDefaultKey()
127 mUsbBackend.setDefaultUsbFunctions(functions); in setDefaultKey()
DUsbDetailsFragment.java51 (connected, functions, powerRole, dataRole) -> {
53 controller.refresh(connected, functions, powerRole, dataRole);
DUsbDetailsFunctionsController.java90 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
103 pref.setChecked(functions == option); in refresh()
DUsbDetailsController.java63 protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole); in refresh() argument
DUsbDetailsHeaderController.java50 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsPowerRoleController.java69 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsDataRoleController.java68 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dpointer.md78 …-intuitive, RapidJSON also provides helper functions, which just wrap the member functions with fr…
126 The other functions, including `Create()`, `GetWithDefault()`, `Set()` and `Swap()`, will change th…
136 …y. `Get()` only treats this token as a member name '"-"'. Yet the other functions can resolve this…
149functions have two groups of signature. One group uses `Document& document` as parameter, another …
184 Note that, all resolving functions assumes valid pointer. Resolving with an invalid pointer causes …
Dsax.md94 …e, instead of using class with virtual functions. This paradigm can improve the performance by inl…
98 …the events (function calls) from `Reader`. The handler must contain the following member functions.
126 …s members it first calls `Key()` for the name of member, and then calls functions depending on the…
128 …rray, the `Reader` calls `BeginArary()`. If there is elements, it calls functions according to the…
130 Every handler functions returns a `bool`. Normally it should returns `true`. If the handler encount…
174 …()` to obtain the error states. Actually `Document` uses these `Reader` functions to obtain parse …
/packages/inputmethods/LatinIME/native/dicttoolkit/
DAndroid.bp35 // To suppress compiler warnings for unused variables/functions used for debug features etc.
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile234 # set this tag to YES in order to let doxygen match functions declarations and
269 # the same type (for instance a group of public functions) to be put as a
556 # functions that are documented, but have no documentation for their parameters
663 # (namespaces, classes, functions, etc.) that should be excluded from the
733 # of functions and classes directly in the documentation.
745 # functions referencing it will be listed.
757 # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
1471 # for selected functions only using the \callgraph command.
1479 # graphs for selected functions only using the \callergraph command.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile234 # set this tag to YES in order to let doxygen match functions declarations and
269 # the same type (for instance a group of public functions) to be put as a
556 # functions that are documented, but have no documentation for their parameters
663 # (namespaces, classes, functions, etc.) that should be excluded from the
733 # of functions and classes directly in the documentation.
745 # functions referencing it will be listed.
757 # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
1471 # for selected functions only using the \callgraph command.
1479 # graphs for selected functions only using the \callergraph command.

12