Home
last modified time | relevance | path

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

12345

/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 …]
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()
40 int getSupportedFeatures(in BluetoothDevice device); in getSupportedFeatures()
DIBluetooth.aidl71 boolean createBond(in BluetoothDevice device, in int transport); in createBond()
72 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData); in createBondOutOfBand()
73 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess()
74 boolean removeBond(in BluetoothDevice device); in removeBond()
75 int getBondState(in BluetoothDevice device); in getBondState()
76 boolean isBondingInitiatedLocally(in BluetoothDevice device); in isBondingInitiatedLocally()
78 int getConnectionState(in BluetoothDevice device); in getConnectionState()
80 String getRemoteName(in BluetoothDevice device); in getRemoteName()
81 int getRemoteType(in BluetoothDevice device); in getRemoteType()
82 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()
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()
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()
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()
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()
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()
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 …]
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()
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()
/system/core/adb/
Dbenchmark_device.py26 def lock_min(device): argument
34 def lock_max(device): argument
42 def unlock(device): argument
61 def benchmark_sink(device=None, size_mb=100): argument
80 def benchmark_source(device=None, size_mb=100): argument
96 def benchmark_push(device=None, file_size_mb=100): argument
115 def benchmark_pull(device=None, file_size_mb=100): argument
133 def benchmark_shell(device=None, file_size_mb=100): argument
/system/core/fastboot/device/
Dcommands.cpp58 static void GetAllVars(FastbootDevice* device, const std::string& name, in GetAllVars()
81 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GetVarHandler()
133 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args) { in EraseHandler()
152 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args) { in OemCmdHandler()
170 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args) { in DownloadHandler()
198 bool FlashHandler(FastbootDevice* device, const std::vector<std::string>& args) { in FlashHandler()
215 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args) { in SetActiveHandler()
253 bool ShutDownHandler(FastbootDevice* device, const std::vector<std::string>& /* args */) { in ShutDownHandler()
261 bool RebootHandler(FastbootDevice* device, const std::vector<std::string>& /* args */) { in RebootHandler()
269 bool RebootBootloaderHandler(FastbootDevice* device, const std::vector<std::string>& /* args */) { in RebootBootloaderHandler()
[all …]
Dvariables.cpp80 bool GetVariant(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetVariant()
101 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper()
122 bool GetBatterySoCOk(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetBatterySoCOk()
151 bool GetOffModeChargeState(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetOffModeChargeState()
173 bool GetBatteryVoltage(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetBatteryVoltage()
184 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetCurrentSlot()
191 bool GetSlotCount(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetSlotCount()
202 bool GetSlotSuccessful(FastbootDevice* device, const std::vector<std::string>& args, in GetSlotSuccessful()
226 bool GetSlotUnbootable(FastbootDevice* device, const std::vector<std::string>& args, in GetSlotUnbootable()
262 bool GetHasSlot(FastbootDevice* device, const std::vector<std::string>& args, in GetHasSlot()
[all …]
Dutility.cpp51 bool OpenLogicalPartition(FastbootDevice* device, const std::string& partition_name, in OpenLogicalPartition()
71 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle) { in OpenPartition()
114 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists()
147 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions()
203 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata()
218 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name) { in GetSuperSlotSuffix()
/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

12345