Searched refs:device (Results 1 - 25 of 166) sorted by relevance

1234567

/system/bt/binder/android/bluetooth/
H A DIBluetoothHidHost.aidl28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
38 boolean getProtocolMode(in BluetoothDevice device);
42 boolean virtualUnplug(in BluetoothDevice device);
46 boolean setProtocolMode(in BluetoothDevice device, int protocolMode);
50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize);
54 boolean setReport(in BluetoothDevice device, byt
[all...]
H A DIBluetoothHeadsetClient.aidl29 boolean connect(in BluetoothDevice device);
30 boolean disconnect(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device, int priority);
36 int getPriority(in BluetoothDevice device);
38 boolean startVoiceRecognition(in BluetoothDevice device);
39 boolean stopVoiceRecognition(in BluetoothDevice device);
41 List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device);
42 Bundle getCurrentAgEvents(in BluetoothDevice device);
44 boolean acceptCall(in BluetoothDevice device, in
[all...]
H A DIBluetoothHearingAid.aidl28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setActiveDevice(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device, int priority);
36 int getPriority(in BluetoothDevice device);
42 long getHiSyncId(in BluetoothDevice device);
46 int getDeviceSide(in BluetoothDevice device);
50 int getDeviceMode(in BluetoothDevice device);
H A DIBluetoothA2dp.aidl30 boolean connect(in BluetoothDevice device);
31 boolean disconnect(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setActiveDevice(in BluetoothDevice device);
37 boolean setPriority(in BluetoothDevice device, int priority);
38 int getPriority(in BluetoothDevice device);
41 boolean isA2dpPlaying(in BluetoothDevice device);
42 BluetoothCodecStatus getCodecStatus(in BluetoothDevice device);
43 oneway void setCodecConfigPreference(in BluetoothDevice device,
45 oneway void enableOptionalCodecs(in BluetoothDevice device);
[all...]
H A DIBluetoothPbapClient.aidl27 boolean connect(in BluetoothDevice device);
28 boolean disconnect(in BluetoothDevice device);
31 int getConnectionState(in BluetoothDevice device);
32 boolean setPriority(in BluetoothDevice device, int priority);
33 int getPriority(in BluetoothDevice device);
H A DIBluetoothA2dpSink.aidl28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
32 int getConnectionState(in BluetoothDevice device);
33 BluetoothAudioConfig getAudioConfig(in BluetoothDevice device);
34 boolean setPriority(in BluetoothDevice device, int priority);
35 int getPriority(in BluetoothDevice device);
36 boolean isA2dpPlaying(in BluetoothDevice device);
H A DIBluetoothHidDeviceCallback.aidl23 void onAppStatusChanged(in BluetoothDevice device, boolean registered);
24 void onConnectionStateChanged(in BluetoothDevice device, in int state);
25 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize);
26 void onSetReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data);
27 void onSetProtocol(in BluetoothDevice device, in byte protocol);
28 void onInterruptData(in BluetoothDevice device, in byte reportId, in byte[] data);
29 void onVirtualCableUnplug(in BluetoothDevice device);
H A DIBluetooth.aidl65 boolean createBond(in BluetoothDevice device, in int transport);
66 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData);
67 boolean cancelBondProcess(in BluetoothDevice device);
68 boolean removeBond(in BluetoothDevice device);
69 int getBondState(in BluetoothDevice device);
70 boolean isBondingInitiatedLocally(in BluetoothDevice device);
72 int getConnectionState(in BluetoothDevice device);
74 String getRemoteName(in BluetoothDevice device);
75 int getRemoteType(in BluetoothDevice device);
76 String getRemoteAlias(in BluetoothDevice device);
[all...]
H A DIBluetoothHeadset.aidl34 int getConnectionState(in BluetoothDevice device);
35 boolean startVoiceRecognition(in BluetoothDevice device);
36 boolean stopVoiceRecognition(in BluetoothDevice device);
37 boolean isAudioConnected(in BluetoothDevice device);
38 boolean sendVendorSpecificResultCode(in BluetoothDevice device,
43 boolean connect(in BluetoothDevice device);
44 boolean disconnect(in BluetoothDevice device);
45 boolean setPriority(in BluetoothDevice device, int priority);
46 int getPriority(in BluetoothDevice device);
47 int getAudioState(in BluetoothDevice device);
[all...]
H A DIBluetoothMapClient.aidl29 boolean connect(in BluetoothDevice device);
30 boolean disconnect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device,in int priority);
36 int getPriority(in BluetoothDevice device);
37 boolean sendMessage(in BluetoothDevice device, in Uri[] contacts, in String message,
39 boolean getUnreadMessages(in BluetoothDevice device);
H A DIBluetoothMap.aidl29 boolean connect(in BluetoothDevice device);
30 boolean disconnect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device, int priority);
36 int getPriority(in BluetoothDevice device);
H A DIBluetoothSap.aidl29 boolean connect(in BluetoothDevice device);
30 boolean disconnect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device, int priority);
36 int getPriority(in BluetoothDevice device);
H A DIBluetoothHidDevice.aidl30 boolean sendReport(in BluetoothDevice device, in int id, in byte[] data);
31 boolean replyReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data);
32 boolean reportError(in BluetoothDevice device, byte error);
33 boolean unplug(in BluetoothDevice device);
34 boolean connect(in BluetoothDevice device);
35 boolean disconnect(in BluetoothDevice device);
38 int getConnectionState(in BluetoothDevice device);
H A DIBluetoothPan.aidl30 boolean connect(in BluetoothDevice device);
31 boolean disconnect(in BluetoothDevice device);
34 int getConnectionState(in BluetoothDevice device);
H A DIBluetoothPbap.aidl29 int getConnectionState(in BluetoothDevice device);
30 void disconnect(in BluetoothDevice device);
H A DIBluetoothHealth.aidl34 boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);
35 boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config,
37 boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, int id);
38 ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);
41 int getHealthDeviceConnectionState(in BluetoothDevice device);
/system/core/libusbhost/include/usbhost/
H A Dusbhost.h64 /* Callback indicating that initial device discovery is done.
91 * added_cb will be called immediately for each existing USB device,
92 * and subsequently each time a new device is added.
103 /* Creates a usb_device object for a USB device */
106 /* Releases all resources associated with the USB device */
107 void usb_device_close(struct usb_device *device);
109 /* Creates a usb_device object for already open USB device */
113 int usb_device_get_fd(struct usb_device *device);
115 /* Returns the name for the USB device, which is the same as
118 const char* usb_device_get_name(struct usb_device *device);
[all...]
/system/nvram/hal/tests/
H A Dnvram_hal_test.cc86 ScopedNvramSpace(SafeScopedNvramDevice* device, uint32_t index, uint32_t size) argument
87 : ScopedNvramSpace(device,
95 ScopedNvramSpace(SafeScopedNvramDevice* device, argument
99 : ScopedNvramSpace(device,
105 ScopedNvramSpace(SafeScopedNvramDevice* device, argument
110 : device_(device),
137 bool CleanBurnSpaces(SafeScopedNvramDevice* device) { argument
147 if (device->GetSpaceList(&space_index_list) != NV_RESULT_SUCCESS) {
153 if (device->IsSpaceLocked(index, &write_lock, &read_lock) !=
159 nvram_result_t result = device
175 GetNextBurnSpace(SafeScopedNvramDevice* device, uint32_t* index) argument
[all...]
/system/extras/tests/bootloader/
H A Dhaltest.py20 # Note: In order to run these tests, the device must be able to boot
21 # from all slots on the device.
25 self.bootctl = bootctl.Bootctl(self.device)
30 self.device.root()
31 self.device.wait()
47 self.device.root()
48 self.device.wait()
54 self.device.reboot()
55 self.device.wait()
56 self.device
[all...]
/system/gatekeeper/tests/
H A Dgatekeeper_device_test.cpp32 gatekeeper_device_initialize(&device);
36 gatekeeper_close(device);
51 gatekeeper_device_t *device; member in class:GateKeeperDeviceTest
63 ret = device->enroll(device, 400, NULL, 0, NULL, 0, password_payload, password_len,
70 ret = device->verify(device, 400, 0, password_handle, password_handle_length,
87 ret = device->enroll(device, 400, NULL, 0, NULL, 0, password_payload, password_len,
93 ret = device
[all...]
/system/connectivity/wificond/
H A Druntests.sh34 adb wait-for-device
36 adb wait-for-device
43 adb wait-for-device
45 adb wait-for-device
/system/connectivity/wifilogd/
H A Druntests.sh33 adb wait-for-device
35 adb wait-for-device
42 adb wait-for-device
44 adb wait-for-device
/system/tools/hidl/c2hal/test/
H A Dsimple.h36 * Common methods of the simple device.
73 struct simple_t** device) {
75 FORGROUND_COLOR, (struct simple_t**)device);
78 static inline int hideColor(struct simple_t* device) { argument
79 return device->common.close(&device->common);
72 showColor(const struct hw_module_t* module, struct simple_t** device) argument
/system/nvram/client/
H A Dnvram_client.c101 static int HandleGetTotalSize(nvram_device_t* device, char* args[]) { argument
104 nvram_result_t result = device->get_total_size_in_bytes(device, &total_size);
113 static int HandleGetAvailableSize(nvram_device_t* device, char* args[]) { argument
117 device->get_available_size_in_bytes(device, &available_size);
126 static int HandleGetMaxSpaceSize(nvram_device_t* device, char* args[]) { argument
130 device->get_max_space_size_in_bytes(device, &max_space_size);
139 static int HandleGetMaxSpaces(nvram_device_t* device, cha argument
151 HandleGetSpaceList(nvram_device_t* device, char* args[]) argument
183 HandleGetSpaceSize(nvram_device_t* device, char* args[]) argument
195 HandleGetSpaceControls(nvram_device_t* device, char* args[]) argument
233 HandleIsSpaceReadLocked(nvram_device_t* device, char* args[]) argument
247 HandleIsSpaceWriteLocked(nvram_device_t* device, char* args[]) argument
261 HandleCreateSpace(nvram_device_t* device, char* args[]) argument
288 HandleDeleteSpace(nvram_device_t* device, char* args[]) argument
294 HandleDisableCreate(nvram_device_t* device, char* args[]) argument
299 HandleWriteSpace(nvram_device_t* device, char* args[]) argument
305 HandleReadSpace(nvram_device_t* device, char* args[]) argument
331 HandleEnableWriteLock(nvram_device_t* device, char* args[]) argument
337 HandleEnableReadLock(nvram_device_t* device, char* args[]) argument
[all...]
/system/core/libusbhost/
H A Dusbhost.c203 D("Created device discovery thread\n");
290 D("new device %s\n", path);
293 D("gone device %s\n", path);
330 /* Hack around waiting for permissions to be set on the USB device node.
364 void usb_device_close(struct usb_device *device) argument
366 close(device->fd);
367 free(device);
372 struct usb_device *device = calloc(1, sizeof(struct usb_device)); local
379 length = read(fd, device->desc, sizeof(device
399 usb_device_reopen_writeable(struct usb_device *device) argument
415 usb_device_get_fd(struct usb_device *device) argument
422 usb_device_get_name(struct usb_device *device) argument
427 usb_device_get_unique_id(struct usb_device *device) argument
450 usb_device_get_vendor_id(struct usb_device *device) argument
456 usb_device_get_product_id(struct usb_device *device) argument
462 usb_device_get_device_descriptor(struct usb_device* device) argument
466 usb_device_get_descriptors_length(const struct usb_device* device) argument
470 usb_device_get_raw_descriptors(const struct usb_device* device) argument
488 usb_device_get_string_ucs2(struct usb_device* device, int id, int timeout, void** ucs2_out, size_t* response_size) argument
537 usb_device_get_string(struct usb_device* device, int id, int timeout) argument
558 usb_device_get_manufacturer_name(struct usb_device *device, int timeout) argument
564 usb_device_get_product_name(struct usb_device *device, int timeout) argument
570 usb_device_get_version(struct usb_device *device) argument
576 usb_device_get_serial(struct usb_device *device, int timeout) argument
582 usb_device_is_writeable(struct usb_device *device) argument
587 usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) argument
604 usb_device_claim_interface(struct usb_device *device, unsigned int interface) argument
609 usb_device_release_interface(struct usb_device *device, unsigned int interface) argument
614 usb_device_connect_kernel_driver(struct usb_device *device, unsigned int interface, int connect) argument
625 usb_device_set_configuration(struct usb_device *device, int configuration) argument
630 usb_device_set_interface(struct usb_device *device, unsigned int interface, unsigned int alt_setting) argument
640 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument
666 usb_device_bulk_transfer(struct usb_device *device, int endpoint, void* buffer, unsigned int length, unsigned int timeout) argument
682 usb_device_reset(struct usb_device *device) argument
[all...]

Completed in 235 milliseconds

1234567