Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 84) sorted by relevance

1234

/system/bt/binder/android/bluetooth/
DIBluetoothHeadsetClient.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
39 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
41 List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device); in getCurrentCalls()
42 Bundle getCurrentAgEvents(in BluetoothDevice device); in getCurrentAgEvents()
44 boolean acceptCall(in BluetoothDevice device, int flag); in acceptCall()
[all …]
DIBluetoothA2dp.aidl30 boolean connect(in BluetoothDevice device); in connect()
31 boolean disconnect(in BluetoothDevice device); in disconnect()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setActiveDevice(in BluetoothDevice device); in setActiveDevice()
37 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
38 int getPriority(in BluetoothDevice device); in getPriority()
41 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
42 BluetoothCodecStatus getCodecStatus(in BluetoothDevice device); in getCodecStatus()
43 oneway void setCodecConfigPreference(in BluetoothDevice device, in setCodecConfigPreference()
45 oneway void enableOptionalCodecs(in BluetoothDevice device); in enableOptionalCodecs()
[all …]
DIBluetoothHidHost.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean getProtocolMode(in BluetoothDevice device); in getProtocolMode()
42 boolean virtualUnplug(in BluetoothDevice device); in virtualUnplug()
46 boolean setProtocolMode(in BluetoothDevice device, int protocolMode); in setProtocolMode()
50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize); in getReport()
54 boolean setReport(in BluetoothDevice device, byte reportType, String report); in setReport()
[all …]
DIBluetooth.aidl65 boolean createBond(in BluetoothDevice device, in int transport); in createBond()
66 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData); in createBondOutOfBand()
67 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess()
68 boolean removeBond(in BluetoothDevice device); in removeBond()
69 int getBondState(in BluetoothDevice device); in getBondState()
70 boolean isBondingInitiatedLocally(in BluetoothDevice device); in isBondingInitiatedLocally()
72 int getConnectionState(in BluetoothDevice device); in getConnectionState()
74 String getRemoteName(in BluetoothDevice device); in getRemoteName()
75 int getRemoteType(in BluetoothDevice device); in getRemoteType()
76 String getRemoteAlias(in BluetoothDevice device); in getRemoteAlias()
[all …]
DIBluetoothA2dpSink.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); in getAudioConfig()
34 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
35 int getPriority(in BluetoothDevice device); in getPriority()
36 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
DIBluetoothMapClient.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device,in int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
37 boolean sendMessage(in BluetoothDevice device, in Uri[] contacts, in String message, in sendMessage()
39 boolean getUnreadMessages(in BluetoothDevice device); in getUnreadMessages()
DIBluetoothHearingAid.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setActiveDevice(in BluetoothDevice device); in setActiveDevice()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
42 long getHiSyncId(in BluetoothDevice device); in getHiSyncId()
46 int getDeviceSide(in BluetoothDevice device); in getDeviceSide()
50 int getDeviceMode(in BluetoothDevice device); in getDeviceMode()
DIBluetoothMap.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothSap.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothHidDeviceCallback.aidl23 void onAppStatusChanged(in BluetoothDevice device, boolean registered); in onAppStatusChanged()
24 void onConnectionStateChanged(in BluetoothDevice device, in int state); in onConnectionStateChanged()
25 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize); in onGetReport()
26 void onSetReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data); in onSetReport()
27 void onSetProtocol(in BluetoothDevice device, in byte protocol); in onSetProtocol()
28 void onInterruptData(in BluetoothDevice device, in byte reportId, in byte[] data); in onInterruptData()
29 void onVirtualCableUnplug(in BluetoothDevice device); in onVirtualCableUnplug()
DIBluetoothHeadset.aidl34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
36 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
37 boolean isAudioConnected(in BluetoothDevice device); in isAudioConnected()
38 boolean sendVendorSpecificResultCode(in BluetoothDevice device, in sendVendorSpecificResultCode()
43 boolean connect(in BluetoothDevice device); in connect()
44 boolean disconnect(in BluetoothDevice device); in disconnect()
45 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
46 int getPriority(in BluetoothDevice device); in getPriority()
47 int getAudioState(in BluetoothDevice device); in getAudioState()
[all …]
DIBluetoothPbapClient.aidl27 boolean connect(in BluetoothDevice device); in connect()
28 boolean disconnect(in BluetoothDevice device); in disconnect()
31 int getConnectionState(in BluetoothDevice device); in getConnectionState()
32 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
33 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothHidDevice.aidl30 boolean sendReport(in BluetoothDevice device, in int id, in byte[] data); in sendReport()
31 boolean replyReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data); in replyReport()
32 boolean reportError(in BluetoothDevice device, byte error); in reportError()
33 boolean unplug(in BluetoothDevice device); in unplug()
34 boolean connect(in BluetoothDevice device); in connect()
35 boolean disconnect(in BluetoothDevice device); in disconnect()
38 int getConnectionState(in BluetoothDevice device); in getConnectionState()
DIBluetoothHealth.aidl34 …boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration confi… in connectChannelToSource()
35 … boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in connectChannelToSink()
37 …boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in… in disconnectChannel()
38 …ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguratio… in getMainChannelFd()
41 int getHealthDeviceConnectionState(in BluetoothDevice device); in getHealthDeviceConnectionState()
DIBluetoothPan.aidl30 boolean connect(in BluetoothDevice device); in connect()
31 boolean disconnect(in BluetoothDevice device); in disconnect()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
DIBluetoothAvrcpController.aidl32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 BluetoothAvrcpPlayerSettings getPlayerSettings(in BluetoothDevice device); in getPlayerSettings()
35 void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState); in sendGroupNavigationCmd()
DIBluetoothPbap.aidl29 int getConnectionState(in BluetoothDevice device); in getConnectionState()
30 void disconnect(in BluetoothDevice device); in disconnect()
DIBluetoothSocketManager.aidl30 …@nullable ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in @nullable Par… in connectSocket()
32 void requestMaximumTxDataLength(in BluetoothDevice device); in requestMaximumTxDataLength()
/system/nvram/hal/tests/
Dnvram_hal_test.cc86 ScopedNvramSpace(SafeScopedNvramDevice* device, uint32_t index, uint32_t size) in ScopedNvramSpace()
95 ScopedNvramSpace(SafeScopedNvramDevice* device, in ScopedNvramSpace()
105 ScopedNvramSpace(SafeScopedNvramDevice* device, in ScopedNvramSpace()
137 bool CleanBurnSpaces(SafeScopedNvramDevice* device) { in CleanBurnSpaces()
175 bool GetNextBurnSpace(SafeScopedNvramDevice* device, uint32_t* index) { in GetNextBurnSpace()
204 SafeScopedNvramDevice device; in TEST() local
211 SafeScopedNvramDevice device; in TEST() local
220 SafeScopedNvramDevice device; in TEST() local
230 SafeScopedNvramDevice device; in TEST() local
237 SafeScopedNvramDevice device; in TEST() local
[all …]
/system/nvram/hal/
Dnvram_device_adapter.cpp35 nvram_result_t Execute(const nvram_device_t* device, in Execute()
61 nvram_result_t device_get_total_size_in_bytes(const nvram_device_t* device, in device_get_total_size_in_bytes()
71 nvram_result_t device_get_available_size_in_bytes(const nvram_device_t* device, in device_get_available_size_in_bytes()
81 nvram_result_t device_get_max_space_size_in_bytes(const nvram_device_t* device, in device_get_max_space_size_in_bytes()
91 nvram_result_t device_get_max_spaces(const nvram_device_t* device, in device_get_max_spaces()
101 nvram_result_t device_get_space_list(const nvram_device_t* device, in device_get_space_list()
123 nvram_result_t device_get_space_size(const nvram_device_t* device, in device_get_space_size()
135 nvram_result_t device_get_space_controls(const nvram_device_t* device, in device_get_space_controls()
159 nvram_result_t device_is_space_locked(const nvram_device_t* device, in device_is_space_locked()
173 nvram_result_t device_create_space(const nvram_device_t* device, in device_create_space()
[all …]
/system/nvram/client/
Dnvram_client.c101 static int HandleGetTotalSize(nvram_device_t* device, char* args[]) { in HandleGetTotalSize()
113 static int HandleGetAvailableSize(nvram_device_t* device, char* args[]) { in HandleGetAvailableSize()
126 static int HandleGetMaxSpaceSize(nvram_device_t* device, char* args[]) { in HandleGetMaxSpaceSize()
139 static int HandleGetMaxSpaces(nvram_device_t* device, char* args[]) { in HandleGetMaxSpaces()
151 static int HandleGetSpaceList(nvram_device_t* device, char* args[]) { in HandleGetSpaceList()
183 static int HandleGetSpaceSize(nvram_device_t* device, char* args[]) { in HandleGetSpaceSize()
195 static int HandleGetSpaceControls(nvram_device_t* device, char* args[]) { in HandleGetSpaceControls()
233 static int HandleIsSpaceReadLocked(nvram_device_t* device, char* args[]) { in HandleIsSpaceReadLocked()
247 static int HandleIsSpaceWriteLocked(nvram_device_t* device, char* args[]) { in HandleIsSpaceWriteLocked()
261 static int HandleCreateSpace(nvram_device_t* device, char* args[]) { in HandleCreateSpace()
[all …]
/system/core/libusbhost/
Dusbhost.c364 void usb_device_close(struct usb_device *device) in usb_device_close()
372 struct usb_device *device = calloc(1, sizeof(struct usb_device)); in usb_device_new() local
399 static int usb_device_reopen_writeable(struct usb_device *device) in usb_device_reopen_writeable()
415 int usb_device_get_fd(struct usb_device *device) in usb_device_get_fd()
422 const char* usb_device_get_name(struct usb_device *device) in usb_device_get_name()
427 int usb_device_get_unique_id(struct usb_device *device) in usb_device_get_unique_id()
450 uint16_t usb_device_get_vendor_id(struct usb_device *device) in usb_device_get_vendor_id()
456 uint16_t usb_device_get_product_id(struct usb_device *device) in usb_device_get_product_id()
462 const struct usb_device_descriptor* usb_device_get_device_descriptor(struct usb_device* device) { in usb_device_get_device_descriptor()
466 size_t usb_device_get_descriptors_length(const struct usb_device* device) { in usb_device_get_descriptors_length()
[all …]
/system/core/init/
Dperfboot.py91 def __init__(self, interval, device): argument
170 def disable_dropbox(device): argument
181 def restore_dropbox(device, original_dropbox_max_files): argument
192 def init_perf(device, output, record_list, tags): argument
212 def check_dm_verity_settings(device): argument
243 def filter_event_tags(tags, device): argument
357 def do_iteration(device, interval_adjuster, event_tags_re, end_tag): argument
421 def install_apks(device, apk_dir): argument
/system/core/trusty/keymaster/
Dtrusty_keymaster_main.cpp138 static bool do_operation(TrustyKeymasterDevice* device, keymaster_purpose_t purpose, in do_operation()
172 static bool test_import_rsa(TrustyKeymasterDevice* device) { in test_import_rsa()
209 static bool test_rsa(TrustyKeymasterDevice* device) { in test_rsa()
276 static bool test_import_ecdsa(TrustyKeymasterDevice* device) { in test_import_ecdsa()
313 static bool test_ecdsa(TrustyKeymasterDevice* device) { in test_ecdsa()
380 TrustyKeymasterDevice device(NULL); in main() local
/system/core/adb/client/
Dusb_libusb.cpp156 static std::string get_device_address(libusb_device* device) { in get_device_address()
162 static std::string get_device_serial_path(libusb_device* device) { in get_device_serial_path()
176 static std::string get_device_dev_path(libusb_device* device) { in get_device_dev_path()
193 static void process_device(libusb_device* device) { in process_device()
391 static void device_connected(libusb_device* device) { in device_connected()
412 static void device_disconnected(libusb_device* device) { in device_disconnected()
440 libusb_device* device = pair.second; in hotplug_thread() local
450 static LIBUSB_CALL int hotplug_callback(libusb_context*, libusb_device* device, in hotplug_callback()

1234