Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java87 public void setCurrentFunctions(long functions) { in setCurrentFunctions() argument
88 mUsbManager.setCurrentFunctions(functions); in setCurrentFunctions()
95 public void setDefaultUsbFunctions(long functions) { in setDefaultUsbFunctions() argument
96 mUsbManager.setScreenUnlockedFunctions(functions); in setDefaultUsbFunctions()
99 public boolean areFunctionsSupported(long functions) { in areFunctionsSupported() argument
100 if ((!mMidiSupported && (functions & UsbManager.FUNCTION_MIDI) != 0) in areFunctionsSupported()
101 || (!mTetheringSupported && (functions & UsbManager.FUNCTION_RNDIS) != 0)) { in areFunctionsSupported()
104 return !(areFunctionDisallowed(functions) || areFunctionsDisallowedBySystem(functions) in areFunctionsSupported()
105 || areFunctionsDisallowedByNonAdminUser(functions)); in areFunctionsSupported()
164 public static String usbFunctionsToString(long functions) { in usbFunctionsToString() argument
[all …]
DUsbDefaultFragment.java72 (connected, functions, powerRole, dataRole) -> {
75 + functions + ", defaultFunctions : " + defaultFunctions
85 mCurrentFunctions = functions;
86 refresh(functions);
87 mUsbBackend.setDefaultUsbFunctions(functions);
164 long functions = UsbBackend.usbFunctionsFromString(key); in setDefaultKey() local
167 if (functions == UsbManager.FUNCTION_RNDIS || functions == UsbManager.FUNCTION_NCM) { in setDefaultKey()
170 mCurrentFunctions = functions; in setDefaultKey()
174 mCurrentFunctions = functions; in setDefaultKey()
175 mUsbBackend.setDefaultUsbFunctions(functions); in setDefaultKey()
[all …]
DConnectedUsbDeviceUpdater.java58 (connected, functions, powerRole, dataRole) -> {
61 ? functions : UsbManager.FUNCTION_NONE, powerRole));
121 public static int getSummary(long functions, int power) { in getSummary() argument
124 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
126 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
128 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
130 } else if (functions == UsbManager.FUNCTION_MIDI) { in getSummary()
136 if (functions == UsbManager.FUNCTION_MTP) { in getSummary()
138 } else if (functions == UsbManager.FUNCTION_RNDIS) { in getSummary()
140 } else if (functions == UsbManager.FUNCTION_PTP) { in getSummary()
[all …]
DUsbConnectionBroadcastReceiver.java60 long functions = UsbManager.FUNCTION_NONE; in onReceive() local
63 functions |= UsbManager.FUNCTION_MTP; in onReceive()
67 functions |= UsbManager.FUNCTION_PTP; in onReceive()
70 functions |= UsbManager.FUNCTION_MIDI; in onReceive()
73 functions |= UsbManager.FUNCTION_RNDIS; in onReceive()
76 functions |= UsbManager.FUNCTION_ACCESSORY; in onReceive()
79 functions |= UsbManager.FUNCTION_NCM; in onReceive()
81 mFunctions = functions; in onReceive()
138 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() argument
DUsbDetailsTranscodeMtpController.java63 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
73 connected && isDeviceInFileTransferMode(functions, dataRole)); in refresh()
93 private static boolean isDeviceInFileTransferMode(long functions, int dataRole) { in isDeviceInFileTransferMode() argument
94 return dataRole == DATA_ROLE_DEVICE && ((functions & UsbManager.FUNCTION_MTP) != 0 in isDeviceInFileTransferMode()
95 || (functions & UsbManager.FUNCTION_PTP) != 0); in isDeviceInFileTransferMode()
DUsbDetailsFunctionsController.java100 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
102 Log.d(TAG, "refresh() connected : " + connected + ", functions : " + functions in refresh()
117 if (isAccessoryMode(functions)) { in refresh()
119 } else if (functions == UsbManager.FUNCTION_NCM) { in refresh()
122 pref.setChecked(functions == option); in refresh()
DUsbDetailsFragment.java53 (connected, functions, powerRole, dataRole) -> {
55 controller.refresh(connected, functions, powerRole, dataRole);
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/Car/DebuggingRestrictionController/server/functions/
Dindex.js3 const functions = require('firebase-functions'); constant
10 exports.requestAccessToken = functions.https.onCall((data, context) => {
12 throw new functions.https.HttpsError('failed-precondition', 'Unauthorized user');
20 functions.logger.log("Payload: ", payload);
21 const config = functions.config().api_config;
30 functions.logger.log("Signed Token: ", token);
D.eslintrc.json110 // Prefer using arrow functions for callbacks
/packages/apps/Car/DebuggingRestrictionController/server/
DHOW_TO.md18 +- functions/ # Directory containing the function code
35 …[https://firebase.google.com/docs/functions/get-started](https://firebase.google.com/docs/function…
44 * Deploy the config file by running `firebase functions:config:set
47 …ttps://firebase.google.com/docs/functions/manage-functions](hhttps://firebase.google.com/docs/func…
/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 …
Dfeatures.md16 * Use template and inline functions to reduce function call overheads.
/packages/services/Car/service/src/com/android/car/telemetry/proto/
Dtelemetry.proto41 // A script that is executed in devices. Must contain all the handler functions
43 // The script functions must be `pure` functions.
/packages/apps/Car/DebuggingRestrictionController/libs/
DAndroid.bp6 name: "drc-lib-firebase-functions-19.2.0",
7 aars: ["firebase-functions-19.2.0.aar"],
/packages/modules/DnsResolver/
Dcbindgen.toml16 item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions", "constant…
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/
DTokenViewModel.java27 import com.google.firebase.functions.FirebaseFunctions;
/packages/apps/Car/DebuggingRestrictionController/
DAndroid.bp39 "drc-lib-firebase-functions-19.2.0",
/packages/apps/Car/DebuggingRestrictionController/app/
Dbuild.gradle71 implementation 'com.google.firebase:firebase-functions'
/packages/inputmethods/LatinIME/native/dicttoolkit/
DAndroid.bp44 // To suppress compiler warnings for unused variables/functions used for debug features etc.
/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