/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | AbstractThreadedDeviceSpecificAction.java | 26 protected IDevice device; field in class:AbstractThreadedDeviceSpecificAction 28 protected AbstractThreadedDeviceSpecificAction(String title, IDevice device) { argument 30 this.device = device; 34 public void setDevice(IDevice device) { argument 35 this.device = device; 40 if (device == null) {
|
/frameworks/av/services/audiopolicy/common/include/ |
H A D | Volume.h | 34 * device categories used for volume curve management. 64 * extract one device relevant for volume control from multiple device selection 66 * @param[in] device for which the volume category is associated 68 * @return subset of device required to limit the number of volume category per device 70 static audio_devices_t getDeviceForVolume(audio_devices_t device) argument 72 if (device == AUDIO_DEVICE_NONE) { 75 device = AUDIO_DEVICE_OUT_SPEAKER; 76 } else if (popcount(device) > 104 device); local 116 getDeviceCategory(audio_devices_t device) argument [all...] |
H A D | policy.h | 35 * A device mask for all audio input devices that are considered "virtual" when evaluating 42 * A device mask for all audio input and output devices where matching inputs/outputs on device 50 * Stub audio output device. Used in policy configuration file on platforms without audio outputs. 55 * Stub audio input device. Used in policy configuration file on platforms without audio inputs. 72 * @return true if given state represents a device in a telephony or VoIP call 80 * Check if the input device given is considered as a virtual device. 82 * @param[in] device to consider 84 * @return true if the device i 86 is_virtual_input_device(audio_devices_t device) argument 104 device_distinguishes_on_address(audio_devices_t device) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadsetClient.aidl | 29 boolean connect(in BluetoothDevice device); 30 boolean disconnect(in BluetoothDevice device); 32 boolean acceptIncomingConnect(in BluetoothDevice device); 33 boolean rejectIncomingConnect(in BluetoothDevice device); 37 int getConnectionState(in BluetoothDevice device); 38 boolean setPriority(in BluetoothDevice device, int priority); 39 int getPriority(in BluetoothDevice device); 41 boolean startVoiceRecognition(in BluetoothDevice device); 42 boolean stopVoiceRecognition(in BluetoothDevice device); 44 List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device); [all...] |
H A D | IBluetoothHeadset.aidl | 28 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); 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 int getBatteryUsageHint(in BluetoothDevice device); [all...] |
H A D | IBluetoothInputDevice.aidl | 28 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 D | IBluetoothPbapClient.aidl | 27 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 D | IBluetoothA2dpSink.aidl | 28 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 D | BluetoothGattServerCallback.java | 27 * Callback indicating when a remote device has been connected or disconnected. 29 * @param device Remote device that has been connected or disconnected. 35 public void onConnectionStateChange(BluetoothDevice device, int status, argument 55 * @param device The remote device that has requested the read operation 60 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, argument 70 * @param device The remote device that has requested the write operation 75 * @param responseNeeded true, if the remote device require 79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument 115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 132 onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) argument 146 onNotificationSent(BluetoothDevice device, int status) argument 158 onMtuChanged(BluetoothDevice device, int mtu) argument [all...] |
H A D | IBluetooth.aidl | 60 boolean createBond(in BluetoothDevice device, in int transport); 61 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData); 62 boolean cancelBondProcess(in BluetoothDevice device); 63 boolean removeBond(in BluetoothDevice device); 64 int getBondState(in BluetoothDevice device); 65 int getConnectionState(in BluetoothDevice device); 67 String getRemoteName(in BluetoothDevice device); 68 int getRemoteType(in BluetoothDevice device); 69 String getRemoteAlias(in BluetoothDevice device); 70 boolean setRemoteAlias(in BluetoothDevice device, i [all...] |
H A D | IBluetoothPbap.aidl | 29 boolean connect(in BluetoothDevice device); 31 boolean isConnected(in BluetoothDevice device);
|
H A D | IBluetoothA2dp.aidl | 28 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 isA2dpPlaying(in BluetoothDevice device);
|
H A D | IBluetoothAvrcpController.aidl | 32 int getConnectionState(in BluetoothDevice device); 33 void sendPassThroughCmd(in BluetoothDevice device, int keyCode, int keyState); 34 BluetoothAvrcpPlayerSettings getPlayerSettings(in BluetoothDevice device); 35 MediaMetadata getMetadata(in BluetoothDevice device); 36 PlaybackState getPlaybackState(in BluetoothDevice device); 38 void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState);
|
H A D | IBluetoothMap.aidl | 29 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 D | IBluetoothSap.aidl | 29 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);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothProfile.java | 38 boolean connect(BluetoothDevice device); argument 40 boolean disconnect(BluetoothDevice device); argument 42 int getConnectionStatus(BluetoothDevice device); argument 44 boolean isPreferred(BluetoothDevice device); argument 46 int getPreferred(BluetoothDevice device); argument 48 void setPreferred(BluetoothDevice device, boolean preferred); argument 52 /** Display order for device profile settings. */ 57 * @param device the Bluetooth device (to distinguish between PAN roles) 59 int getNameResource(BluetoothDevice device); argument 68 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | OppProfile.java | 32 // Order of this profile in device profiles list 43 public boolean connect(BluetoothDevice device) { argument 47 public boolean disconnect(BluetoothDevice device) { argument 51 public int getConnectionStatus(BluetoothDevice device) { argument 55 public boolean isPreferred(BluetoothDevice device) { argument 59 public int getPreferred(BluetoothDevice device) { argument 63 public void setPreferred(BluetoothDevice device, boolean preferred) { argument 78 public int getNameResource(BluetoothDevice device) { argument 82 public int getSummaryResourceForDevice(BluetoothDevice device) { argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | PrinterHashMap.java | 27 public NsdServiceInfo addPrinter(NsdServiceInfo device) { argument 28 return put(getKey(device), device); 30 public NsdServiceInfo removePrinter(NsdServiceInfo device) { argument 31 return remove(getKey(device));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
H A D | PrinterHashMap.java | 27 public NsdServiceInfo addPrinter(NsdServiceInfo device) { argument 28 return put(getKey(device), device); 30 public NsdServiceInfo removePrinter(NsdServiceInfo device) { argument 31 return remove(getKey(device));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | PrinterHashMap.java | 27 public NsdServiceInfo addPrinter(NsdServiceInfo device) { argument 28 return put(getKey(device), device); 31 public NsdServiceInfo removePrinter(NsdServiceInfo device) { argument 32 return remove(getKey(device));
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDeviceList.java | 30 * A class representing a Wi-Fi P2p device list. 53 for (WifiP2pDevice device : devices) { 54 if (device.deviceAddress != null) { 55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); 60 private void validateDevice(WifiP2pDevice device) { argument 61 if (device == null) throw new IllegalArgumentException("Null device"); 62 if (TextUtils.isEmpty(device.deviceAddress)) { 81 * Add/update a device t 86 update(WifiP2pDevice device) argument 92 updateSupplicantDetails(WifiP2pDevice device) argument 138 remove(WifiP2pDevice device) argument [all...] |
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.cpp | 250 uint32_t device = AUDIO_DEVICE_NONE; local 256 device = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER; 261 device = getDeviceForStrategyInt( 265 // while media is playing on a remote device, use the the sonification behavior. 269 device = getDeviceForStrategyInt( 273 if ((device & AUDIO_DEVICE_OUT_SPEAKER) && 275 device |= AUDIO_DEVICE_OUT_SPEAKER_SAFE; 276 device &= ~AUDIO_DEVICE_OUT_SPEAKER; 280 // while media is playing (or has recently played), use the same device 281 device 556 uint32_t device = AUDIO_DEVICE_NONE; local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 237 Device* device = mClosingDevices; local 238 mClosingDevices = device->next; 239 delete device; 252 Device* device = getDeviceLocked(deviceId); local 253 if (device == NULL) return InputDeviceIdentifier(); 254 return device->identifier; 259 Device* device = getDeviceLocked(deviceId); local 260 if (device == NULL) return 0; 261 return device->classes; 266 Device* device local 273 Device* device = getDeviceLocked(deviceId); local 288 Device* device = getDeviceLocked(deviceId); local 315 Device* device = getDeviceLocked(deviceId); local 327 Device* device = getDeviceLocked(deviceId); local 339 Device* device = getDeviceLocked(deviceId); local 354 Device* device = getDeviceLocked(deviceId); local 379 Device* device = getDeviceLocked(deviceId); local 397 Device* device = getDeviceLocked(deviceId); local 417 Device* device = getDeviceLocked(deviceId); local 445 Device* device = getDeviceLocked(deviceId); local 486 Device* device = getDeviceLocked(deviceId); local 506 Device* device = getDeviceLocked(deviceId); local 517 Device* device = getDeviceLocked(deviceId); local 529 Device* device = getDeviceLocked(deviceId); local 533 setLedStateLocked(Device* device, int32_t led, bool on) argument 555 Device* device = getDeviceLocked(deviceId); local 563 Device* device = getDeviceLocked(deviceId); local 573 Device* device = getDeviceLocked(deviceId); local 638 Device* device = getDeviceLocked(deviceId); local 672 Device* device = getDeviceLocked(deviceId); local 695 Device* device = mDevices.valueAt(i); local 713 Device* device = mDevices.valueAt(i); local 747 Device* device = mClosingDevices; local 769 Device* device = mOpeningDevices; local 829 Device* device = mDevices.valueAt(deviceIndex); local 1147 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); local 1406 Device* device = new Device(-1, VIRTUAL_KEYBOARD_ID, String8("<virtual>"), identifier); local 1415 addDeviceLocked(Device* device) argument 1421 loadConfigurationLocked(Device* device) argument 1438 loadVirtualKeyMapLocked(Device* device) argument 1449 loadKeyMapLocked(Device* device) argument 1453 isExternalDeviceLocked(Device* device) argument 1463 deviceHasMicLocked(Device* device) argument 1473 getNextControllerNumberLocked(Device* device) argument 1484 releaseControllerNumberLocked(Device* device) argument 1493 setLedForController(Device* device) argument 1499 hasKeycodeLocked(Device* device, int keycode) const argument 1517 mapLed(Device* device, int32_t led, int32_t* outScanCode) const argument 1533 Device* device = getDeviceByPathLocked(devicePath); local 1548 closeDeviceLocked(Device* device) argument 1684 const Device* device = mDevices.valueAt(i); local [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | ClientUtils.java | 45 public Client findClient(IDevice device, String processName, int processPid) { argument 46 return findClient(device, processName, processPid, defaultTimeout); 53 * @param device The device to communicate with. 59 public Client findClient(IDevice device, String processName, int processPid, int timeout) { argument 60 WaitForClient wfc = new WaitForClient(device, processName, processPid, timeout); 67 public Client[] findAllClients(IDevice device) { argument 68 return findAllClients(device, defaultTimeout); 72 * Retrieve all clients known to the given device. Wait at most the given timeout. 74 * @param device Th 79 findAllClients(IDevice device, int timeout) argument 89 private IDevice device; field in class:ClientUtils.WaitForClient 95 WaitForClient(IDevice device, String processName, int processPid, long timeout) argument 125 searchForClient(IDevice device) argument 179 private IDevice device; field in class:ClientUtils.WaitForClients 182 WaitForClients(IDevice device, long timeout) argument [all...] |
H A D | DeviceUtils.java | 31 * Helper class for some device routines. 46 * Run a command in the shell on the device. 48 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { argument 49 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); 53 * Run a command in the shell on the device. Collects and returns the console output. 55 public static String doShellReturnString(IDevice device, String cmdline, long timeout, argument 58 doShell(device, cmdline, rec, timeout, unit); 63 * Run a command in the shell on the device, directing all output to the given receiver. 65 public static void doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, argument 68 device 77 doAMStart(IDevice device, String name, String activity) argument 102 getBuildType(IDevice device) argument 115 hasPrebuiltBootImage(IDevice device) argument 131 removePreloaded(IDevice device, long preloadedWaitTimeInSeconds) argument 192 enableTracing(IDevice device) argument 252 private IDevice device; field in class:DeviceUtils.WaitForDevice 323 private IDevice device; field in class:DeviceUtils.WaitForDevice.WaitForDeviceListener [all...] |