Home
last modified time | relevance | path

Searched defs:functions (Results 1 – 25 of 57) sorted by relevance

123

/aosp12/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/
H A DUsbManagerTestLib.java57 private void setCurrentFunctions(long functions) { in setCurrentFunctions()
65 private void setCurrentFunctionsSys(long functions) { in setCurrentFunctionsSys()
69 private void testSetGetCurrentFunctions_Matched(long functions) { in testSetGetCurrentFunctions_Matched()
74 private void testGetCurrentFunctionsMock_Matched(long functions) { in testGetCurrentFunctionsMock_Matched()
84 private void testSetCurrentFunctionsMock_Matched(long functions) { in testSetCurrentFunctionsMock_Matched()
98 public void testSetCurrentFunctionsSysEx(long functions) throws Exception { in testSetCurrentFunctionsSysEx()
108 public void testSetCurrentFunctionsEx(long functions) throws Exception { in testSetCurrentFunctionsEx()
/aosp14/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/
H A DUsbManagerTestLib.java65 private void setCurrentFunctions(long functions) { in setCurrentFunctions()
73 private void setCurrentFunctionsSys(long functions) { in setCurrentFunctionsSys()
77 private void testSetGetCurrentFunctions_Matched(long functions) { in testSetGetCurrentFunctions_Matched()
82 private void testGetCurrentFunctionsMock_Matched(long functions) { in testGetCurrentFunctionsMock_Matched()
92 private void testSetCurrentFunctionsMock_Matched(long functions) { in testSetCurrentFunctionsMock_Matched()
107 public void testSetCurrentFunctionsSysEx(long functions) throws Exception { in testSetCurrentFunctionsSysEx()
117 public void testSetCurrentFunctionsEx(long functions) throws Exception { in testSetCurrentFunctionsEx()
/aosp12/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
H A DUsbBackend.java87 public void setCurrentFunctions(long functions) { in setCurrentFunctions()
95 public void setDefaultUsbFunctions(long functions) { in setDefaultUsbFunctions()
99 public boolean areFunctionsSupported(long functions) { in areFunctionsSupported()
164 public static String usbFunctionsToString(long functions) { in usbFunctionsToString()
169 public static long usbFunctionsFromString(String functions) { in usbFunctionsFromString()
200 private boolean areFunctionDisallowed(long functions) { in areFunctionDisallowed()
206 private boolean areFunctionsDisallowedBySystem(long functions) { in areFunctionsDisallowedBySystem()
213 boolean areFunctionsDisallowedByNonAdminUser(long functions) { in areFunctionsDisallowedByNonAdminUser()
H A DUsbDetailsTranscodeMtpController.java63 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh()
93 private static boolean isDeviceInFileTransferMode(long functions, int dataRole) { in isDeviceInFileTransferMode()
H A DUsbConnectionBroadcastReceiver.java60 long functions = UsbManager.FUNCTION_NONE; in onReceive() local
138 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged()
H A DUsbDefaultFragment.java164 long functions = UsbBackend.usbFunctionsFromString(key); in setDefaultKey() local
215 private void refresh(long functions) { in refresh()
H A DUsbDetailsController.java63 protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole); in refresh()
H A DUsbDetailsHeaderController.java50 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh()
H A DUsbDetailsPowerRoleController.java69 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh()
H A DUsbDetailsDataRoleController.java68 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh()
H A DConnectedUsbDeviceUpdater.java121 public static int getSummary(long functions, int power) { in getSummary()
/aosp12/hardware/interfaces/usb/gadget/1.1/default/
H A DUsbGadget.cpp77 static V1_0::Status validateAndSetVidPid(uint64_t functions) { in validateAndSetVidPid()
134 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions()
175 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions()
/aosp12/hardware/interfaces/usb/gadget/1.2/default/
H A DUsbGadget.cpp128 static V1_0::Status validateAndSetVidPid(uint64_t functions) { in validateAndSetVidPid()
191 V1_0::Status UsbGadget::setupFunctions(uint64_t functions, in setupFunctions()
232 Return<void> UsbGadget::setCurrentUsbFunctions(uint64_t functions, in setCurrentUsbFunctions()
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java429 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler() local
448 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local
870 long getAppliedFunctions(long functions) { in getAppliedFunctions()
993 long functions = (Long) msg.obj; in handleMessage() local
1380 long functions) { in dumpFunctions()
1676 protected String applyAdbFunction(String functions) { in applyAdbFunction()
1691 String functions = null; in trySetEnabledFunctions() local
1752 private String getPersistProp(boolean functions) { in getPersistProp()
2047 UsbGadgetCallback(int request, long functions, in UsbGadgetCallback()
2233 public void setCurrentFunctions(long functions) { in setCurrentFunctions()
[all …]
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java452 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler() local
473 long functions = UsbManager.FUNCTION_NONE; in startAccessoryMode() local
976 long getAppliedFunctions(long functions) { in getAppliedFunctions()
1127 long functions = (Long) msg.obj; in handleMessage() local
1544 long functions) { in dumpFunctions()
1875 String functions = null; in trySetEnabledFunctions() local
1935 private String getPersistProp(boolean functions) { in getPersistProp()
1998 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb()
2221 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb()
2376 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb()
[all …]
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
H A DUsbGadgetAidl.java187 UsbGadgetCallback(IndentingPrintWriter pw, int request, long functions, in UsbGadgetCallback()
196 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb()
212 public void getCurrentUsbFunctionsCb(long functions, in getCurrentUsbFunctionsCb()
H A DUsbGadgetHidl.java236 long functions, boolean chargingFunctions) { in UsbGadgetCallback()
243 public void setCurrentUsbFunctionsCb(long functions, in setCurrentUsbFunctionsCb()
250 public void getCurrentUsbFunctionsCb(long functions, in getCurrentUsbFunctionsCb()
H A DUsbGadgetHal.java138 public void setCurrentUsbFunctions(int request, long functions, in setCurrentUsbFunctions()
/aosp12/packages/apps/Car/DebuggingRestrictionController/server/
H A Dfirebase.json2 "functions": { object
/aosp12/packages/apps/Car/DebuggingRestrictionController/server/functions/
H A Dindex.js3 const functions = require('firebase-functions'); constant
/aosp12/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java992 public void setCurrentFunctions(@UsbFunctionMode long functions) { in setCurrentFunctions()
1011 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction()
1057 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions()
1303 public static boolean areSettableFunctions(long functions) { in areSettableFunctions()
1317 public static String usbFunctionsToString(long functions) { in usbFunctionsToString()
1353 public static long usbFunctionsFromString(String functions) { in usbFunctionsFromString()
/aosp12/hardware/interfaces/tests/hash/1.0/default/
H A DHash.cpp15 Return<void> Hash::functions() { in functions() function in android::hardware::tests::hash::V1_0::implementation::Hash
/aosp12/frameworks/base/tests/UsbTests/src/com/android/server/usb/
H A DUsbManagerNoPermTest.java84 public void assertSettableFunctions(boolean settable, long functions) { in assertSettableFunctions()
/aosp14/frameworks/base/tests/UsbTests/src/com/android/server/usb/
H A DUsbManagerNoPermTest.java84 public void assertSettableFunctions(boolean settable, long functions) { in assertSettableFunctions()
/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java1181 public void setCurrentFunctions(@UsbFunctionMode long functions) { in setCurrentFunctions()
1203 public void setCurrentFunction(String functions, boolean usbDataUnlocked) { in setCurrentFunction()
1252 public void setScreenUnlockedFunctions(long functions) { in setScreenUnlockedFunctions()
1765 public static boolean areSettableFunctions(long functions) { in areSettableFunctions()
1779 public static String usbFunctionsToString(long functions) { in usbFunctionsToString()
1818 public static long usbFunctionsFromString(String functions) { in usbFunctionsFromString()

123