/frameworks/av/services/audioflinger/tests/ |
H A D | run_all_unit_tests.sh | 8 echo "waiting for device" 9 adb root && adb wait-for-device remount
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | IHdmiInputChangeListener.aidl | 23 * the input change event coming from other device. 28 void onChanged(in HdmiDeviceInfo device);
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiService.java | 46 BluetoothMidiDevice device; 52 device = mDeviceServerMap.get(bluetoothDevice); 53 if (device == null) { 54 device = new BluetoothMidiDevice(BluetoothMidiService.this, 56 mDeviceServerMap.put(bluetoothDevice, device); 59 return device.getBinder(); 64 void deviceClosed(BluetoothDevice device) { argument 66 mDeviceServerMap.remove(device);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDeviceManager.java | 54 public void onDeviceNameUpdated(BluetoothDevice device) { argument 55 CachedBluetoothDevice cachedDevice = findDevice(device); 63 * if this device isn't in the cache. Use {@link #addDevice} 67 * @param device the address of the Bluetooth device 68 * @return the cached device object for this device, or null if it has 71 public CachedBluetoothDevice findDevice(BluetoothDevice device) { argument 73 if (cachedDevice.getDevice().equals(device)) { 83 * @param device th 86 addDevice(LocalBluetoothAdapter adapter, LocalBluetoothProfileManager profileManager, BluetoothDevice device) argument 104 getName(BluetoothDevice device) argument 138 onBtClassChanged(BluetoothDevice device) argument 145 onUuidChanged(BluetoothDevice device) argument [all...] |
H A D | PanProfile.java | 42 // Tethering direction for each device 48 // Order of this profile in device profiles list 85 public boolean connect(BluetoothDevice device) { argument 93 return mService.connect(device); 96 public boolean disconnect(BluetoothDevice device) { argument 98 return mService.disconnect(device); 101 public int getConnectionStatus(BluetoothDevice device) { argument 105 return mService.getConnectionState(device); 108 public boolean isPreferred(BluetoothDevice device) { argument 112 public int getPreferred(BluetoothDevice device) { argument 116 setPreferred(BluetoothDevice device, boolean preferred) argument 128 getNameResource(BluetoothDevice device) argument 136 getSummaryResourceForDevice(BluetoothDevice device) argument 159 setLocalRole(BluetoothDevice device, int role) argument 163 isLocalRoleNap(BluetoothDevice device) argument [all...] |
H A D | PbapServerProfile.java | 42 // Order of this profile in device profiles list 45 // The UUIDs indicate that remote device might access pbap server 84 public boolean connect(BluetoothDevice device) { argument 90 public boolean disconnect(BluetoothDevice device) { argument 95 public int getConnectionStatus(BluetoothDevice device) { argument 99 if (mService.isConnected(device)) 105 public boolean isPreferred(BluetoothDevice device) { argument 109 public int getPreferred(BluetoothDevice device) { argument 113 public void setPreferred(BluetoothDevice device, boolean preferred) { argument 125 public int getNameResource(BluetoothDevice device) { argument 129 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | HeadsetProfile.java | 55 // Order of this profile in device profiles list 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); 70 // we may add a new device here, but generally this should not happen 71 if (device == null) { 72 Log.w(TAG, "HeadsetProfile found new device: " + nextDevice); 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 75 device.onProfileStateChanged(HeadsetProfile.this, 77 device.refresh(); 113 public boolean connect(BluetoothDevice device) { argument 118 Log.d(TAG,"Not disconnecting device 124 disconnect(BluetoothDevice device) argument 143 getConnectionStatus(BluetoothDevice device) argument 156 isPreferred(BluetoothDevice device) argument 161 getPreferred(BluetoothDevice device) argument 166 setPreferred(BluetoothDevice device, boolean preferred) argument 193 getNameResource(BluetoothDevice device) argument 197 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | MapProfile.java | 56 // Order of this profile in device profiles list 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); 70 // we may add a new device here, but generally this should not happen 71 if (device == null) { 72 Log.w(TAG, "MapProfile found new device: " + nextDevice); 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 75 device.onProfileStateChanged(MapProfile.this, 77 device.refresh(); 114 public boolean connect(BluetoothDevice device) { argument 119 public boolean disconnect(BluetoothDevice device) { argument 132 getConnectionStatus(BluetoothDevice device) argument 142 isPreferred(BluetoothDevice device) argument 147 getPreferred(BluetoothDevice device) argument 152 setPreferred(BluetoothDevice device, boolean preferred) argument 179 getNameResource(BluetoothDevice device) argument 183 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | SapProfile.java | 54 // Order of this profile in device profiles list 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); 69 // we may add a new device here, but generally this should not happen 70 if (device == null) { 71 Log.w(TAG, "SapProfile found new device: " + nextDevice); 72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 74 device.onProfileStateChanged(SapProfile.this, 76 device.refresh(); 112 public boolean connect(BluetoothDevice device) { argument 120 return mService.connect(device); 123 disconnect(BluetoothDevice device) argument 136 getConnectionStatus(BluetoothDevice device) argument 145 isPreferred(BluetoothDevice device) argument 150 getPreferred(BluetoothDevice device) argument 155 setPreferred(BluetoothDevice device, boolean preferred) argument 182 getNameResource(BluetoothDevice device) argument 186 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); argument 72 Log.w(TAG, "Invalid filter type " + filterType + " for device picker"); 79 public boolean matches(BluetoothDevice device) { argument 86 public boolean matches(BluetoothDevice device) { argument 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; 93 public boolean matches(BluetoothDevice device) { argument 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; 102 public boolean matches(BluetoothDevice device) { argument 103 return matches(device.getUuids(), device [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pProvDiscEvent.java | 37 public WifiP2pDevice device; field in class:WifiP2pProvDiscEvent 43 device = new WifiP2pDevice(); 71 device = new WifiP2pDevice(); 72 device.deviceAddress = tokens[1]; 81 sbuf.append(device);
|
H A D | WifiP2pDevice.java | 27 * A class representing a Wi-Fi p2p device 37 * The device name is a user friendly string to identify a Wi-Fi p2p device 42 * The device MAC address uniquely identifies a Wi-Fi p2p device 47 * Primary device type identifies the type of device. For example, an application 50 * for the full list of standard device types supported. 55 * Secondary device type is an optional attribute that can be provided by a device i 271 update(WifiP2pDevice device) argument 277 updateSupplicantDetails(WifiP2pDevice device) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHealth.aidl | 34 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);
|
H A D | BluetoothHeadsetClient.java | 467 * Connects to remote device. 471 * device automatically and will process the new one. 473 * @param device a remote device we want connect to 479 public boolean connect(BluetoothDevice device) { argument 480 if (DBG) log("connect(" + device + ")"); 482 isValidDevice(device)) { 484 return mService.connect(device); 495 * Disconnects remote device 497 * @param device 503 disconnect(BluetoothDevice device) argument 568 getConnectionState(BluetoothDevice device) argument 588 setPriority(BluetoothDevice device, int priority) argument 610 getPriority(BluetoothDevice device) argument 638 startVoiceRecognition(BluetoothDevice device) argument 665 stopVoiceRecognition(BluetoothDevice device) argument 685 getCurrentCalls(BluetoothDevice device) argument 706 getCurrentAgEvents(BluetoothDevice device) argument 732 acceptCall(BluetoothDevice device, int flag) argument 755 holdCall(BluetoothDevice device) argument 782 rejectCall(BluetoothDevice device) argument 812 terminateCall(BluetoothDevice device, int index) argument 842 enterPrivateMode(BluetoothDevice device, int index) argument 871 explicitCallTransfer(BluetoothDevice device) argument 895 redial(BluetoothDevice device) argument 920 dial(BluetoothDevice device, String number) argument 945 dialMemory(BluetoothDevice device, int location) argument 970 sendDTMF(BluetoothDevice device, byte code) argument 997 getLastVoiceTagNumber(BluetoothDevice device) argument 1014 acceptIncomingConnect(BluetoothDevice device) argument 1030 rejectIncomingConnect(BluetoothDevice device) argument 1048 getAudioState(BluetoothDevice device) argument 1116 getCurrentAgFeatures(BluetoothDevice device) argument 1157 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothInputDevice.java | 57 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 295 * Initiate connection to a profile of the remote bluetooth device. 300 * device is already connected or Bluetooth is not turned on. 309 * @param device Remote Bluetooth Device 314 public boolean connect(BluetoothDevice device) { argument 315 if (DBG) log("connect(" + device + ")"); 316 if (mService != null && isEnabled() && isValidDevice(device)) { 318 return mService.connect(device); 332 * Bluetooth device is not in connected state etc. When this API returns, 337 * <p> If the disconnection is initiated by a remote device, th 354 disconnect(BluetoothDevice device) argument 405 getConnectionState(BluetoothDevice device) argument 434 setPriority(BluetoothDevice device, int priority) argument 465 getPriority(BluetoothDevice device) argument 502 isValidDevice(BluetoothDevice device) argument 520 virtualUnplug(BluetoothDevice device) argument 546 getProtocolMode(BluetoothDevice device) argument 570 setProtocolMode(BluetoothDevice device, int protocolMode) argument 597 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument 623 setReport(BluetoothDevice device, byte reportType, String report) argument 648 sendData(BluetoothDevice device, String report) argument [all...] |
H A D | BluetoothSap.java | 55 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 210 * Get the currently connected remote Bluetooth device (PCE). 211 * @return The remote Bluetooth device, or null if not in connected or 230 * Returns true if the specified Bluetooth device is connected. 235 public boolean isConnected(BluetoothDevice device) { argument 236 if (VDBG) log("isConnected(" + device + ")"); 239 return mService.isConnected(device); 253 public boolean connect(BluetoothDevice device) { argument 254 if (DBG) log("connect(" + device + ")" + "not supported for SAPS"); 261 * @param device Remot 266 disconnect(BluetoothDevice device) argument 327 getConnectionState(BluetoothDevice device) argument 352 setPriority(BluetoothDevice device, int priority) argument 378 getPriority(BluetoothDevice device) argument 423 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothA2dp.java | 45 * <p> Android only supports one connected Bluetooth A2dp device at a time. 61 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 83 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 102 * A2DP sink device is streaming music. This state can be one of 109 * A2DP sink device is NOT streaming music. This state can be one of 209 * Initiate connection to a profile of the remote bluetooth device. 216 * device is already connected or Bluetooth is not turned on. 225 * @param device Remote Bluetooth Device 230 public boolean connect(BluetoothDevice device) { argument 231 if (DBG) log("connect(" + device 271 disconnect(BluetoothDevice device) argument 323 getConnectionState(BluetoothDevice device) argument 353 setPriority(BluetoothDevice device, int priority) argument 386 getPriority(BluetoothDevice device) argument 475 isA2dpPlaying(BluetoothDevice device) argument 495 shouldSendVolumeKeys(BluetoothDevice device) argument 557 isValidDevice(BluetoothDevice device) argument [all...] |
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 77 static void send_string(struct usb_device *device, int index, const char* string) { argument 78 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 92 struct usb_device *device = usb_device_open(devname); local 93 if (!device) { 98 vendorId = usb_device_get_vendor_id(device); 99 productId = usb_device_get_product_id(device); 109 printf("Found android device in accessory mode\n"); 110 sDevice = device; 112 usb_descriptor_iter_init(device, &iter); 133 if (usb_device_claim_interface(device, int [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 44 * and notifies the application when the MTP device list changes. 57 // so we can inform when the device has been detached. 114 * Called when a new device has been added 116 * @param device the new device that was added 118 public void deviceAdded(MtpDevice device); argument 121 * Called when a new device has been removed 123 * @param device the device that was removed 125 public void deviceRemoved(MtpDevice device); argument 135 isCamera(UsbDevice device) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreSet.java | 38 * Identifier of the device whose data this is. This will be as unique as 41 public String device; field in class:RestoreSet 57 device = _dev; 69 out.writeString(device); 86 device = in.readString();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothController.java | 34 void connect(CachedBluetoothDevice device); argument 35 void disconnect(CachedBluetoothDevice device); argument
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | usb.c | 78 static void send_string(struct usb_device *device, int index, const char* string) { argument 79 usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 91 struct usb_device *device = usb_device_open(devname); local 92 if (!device) { 97 vendorId = usb_device_get_vendor_id(device); 98 productId = usb_device_get_product_id(device); 103 fprintf(stderr, "Found android device in accessory mode\n"); 104 current_device = device; 116 usb_descriptor_iter_init(device, &iter); 137 if (usb_device_claim_interface(device, int 211 struct usb_device* device = NULL; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 102 for (CastDevice device : devices) { 103 if (device.state == CastDevice.STATE_CONNECTED) { 105 state.label = getDeviceName(device); 106 } else if (device.state == CastDevice.STATE_CONNECTING) { 132 private String getDeviceName(CastDevice device) { argument 133 return device.name != null ? device.name 210 // if we are connected, simply show that device 211 for (CastDevice device : devices) { 212 if (device [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 30 FrameProcessorBase::FrameProcessorBase(wp<CameraDeviceBase> device) : argument 32 mDevice(device), 34 sp<CameraDeviceBase> cameraDevice = device.promote(); 104 sp<CameraDeviceBase> device; local 106 device = mDevice.promote(); 107 if (device == 0) return false; 110 res = device->waitForNextFrame(kWaitDuration); 112 processNewFrames(device); 121 void FrameProcessorBase::processNewFrames(const sp<CameraDeviceBase> &device) { argument 126 ALOGV("%s: Camera %d: Process new frames", __FUNCTION__, device 160 processSingleFrame(CaptureResult &result, const sp<CameraDeviceBase> &device) argument 167 processListeners(const CaptureResult &result, const sp<CameraDeviceBase> &device) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 51 fingerprint_device_t *device; member in struct:android::__anon1053 141 int ret = gContext.device->enroll(gContext.device, 148 uint64_t ret = gContext.device->pre_enroll(gContext.device); 155 int ret = gContext.device->cancel(gContext.device); 161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); 167 int ret = gContext.device 219 hw_device_t *device = NULL; local [all...] |