/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 48 * maps memory from the given device 50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0); 76 status_t setDevice(const char* device) { argument 78 mDevice = device; 86 int flags = 0, const char* device = NULL);
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | LocalDisplayAdapter.java | 70 LocalDisplayDevice device = mDevices.get(builtInDisplayId); 71 if (device == null) { 73 device = new LocalDisplayDevice(displayToken, builtInDisplayId, mTempPhys); 74 mDevices.put(builtInDisplayId, device); 75 sendDisplayDeviceEventLocked(device, DISPLAY_DEVICE_EVENT_ADDED); 76 } else if (device.updatePhysicalDisplayInfoLocked(mTempPhys)) { 78 sendDisplayDeviceEventLocked(device, DISPLAY_DEVICE_EVENT_CHANGED); 81 LocalDisplayDevice device = mDevices.get(builtInDisplayId); 82 if (device != null) { 85 sendDisplayDeviceEventLocked(device, DISPLAY_DEVICE_EVENT_REMOVE [all...] |
H A D | DisplayAdapter.java | 101 * Sends a display device event to the display adapter listener asynchronously. 104 final DisplayDevice device, final int event) { 108 mListener.onDisplayDeviceEvent(device, event); 126 public void onDisplayDeviceEvent(DisplayDevice device, int event); argument 103 sendDisplayDeviceEventLocked( final DisplayDevice device, final int event) argument
|
H A D | WifiDisplayController.java | 116 // The device to which we want to connect, or null if we want to be disconnected. 119 // The device to which we are currently connecting, or null if we have already connected 123 // The device to which we are currently connected, which means we have an active P2P group. 212 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) { 213 pw.println(" " + describeWifiP2pDevice(device)); 222 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) { 223 if (device.deviceAddress.equals(address)) { 224 connect(device); 359 for (WifiP2pDevice device : peers.getDeviceList()) { 361 Slog.d(TAG, " " + describeWifiP2pDevice(device)); 398 connect(final WifiP2pDevice device) argument 810 getPortNumber(WifiP2pDevice device) argument 819 isWifiDisplay(WifiP2pDevice device) argument 830 describeWifiP2pDevice(WifiP2pDevice device) argument 838 createWifiDisplay(WifiP2pDevice device) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealth.java | 38 * <p> How to connect to a health device which is acting in the source role. 44 * <li> Pair with the remote device. This currently needs to be done manually 46 * <li> Connect to a health device using {@link #connectChannelToSource}. Some 64 * Health Profile Source Role - the health device. 69 * Health Profile Sink Role the device talking to the health device. 222 * Connect to a health device which has the {@link #SOURCE_ROLE}. 228 * @param device The remote Bluetooth device. 233 public boolean connectChannelToSource(BluetoothDevice device, argument 262 connectChannelToSink(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelType) argument 291 disconnectChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId) argument 320 getMainChannelFd(BluetoothDevice device, BluetoothHealthAppConfiguration config) argument 352 getConnectionState(BluetoothDevice device) argument 439 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument 541 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothPan.java | 57 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 58 * <li> {@link #EXTRA_LOCAL_ROLE} - Which local role the remote device is 77 * The local role of the PAN profile that the remote device is bound to. 84 * The local device is acting as a Network Access Point. 90 * The local device is acting as a PAN User. 193 * Initiate connection to a profile of the remote bluetooth device. 196 * device is already connected or Bluetooth is not turned on. 205 * @param device Remote Bluetooth Device 210 public boolean connect(BluetoothDevice device) { argument 211 if (DBG) log("connect(" + device 251 disconnect(BluetoothDevice device) argument 303 getConnectionState(BluetoothDevice device) argument 361 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | IBluetoothHealthCallback.aidl | 30 in BluetoothDevice device, int prevState, int newState, in
|
H A D | BluetoothProfile.java | 35 * Bluetooth device. 43 * Bluetooth device. 112 * Default priority when not set or when the device is unpaired 149 * @param device Remote bluetooth device. 154 public int getConnectionState(BluetoothDevice device); argument
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 80 /* returns true if the USB device should not be accessible by applications */ 111 Slog.w(TAG, "device already on mDevices list: " + deviceName); 146 // a device does not set bNumEndpoints correctly 151 UsbDevice device = new UsbDevice(deviceName, vendorID, productID, 153 mDevices.put(deviceName, device); 154 getCurrentSettings().deviceAttached(device); 158 /* Called from JNI in monitorUsbHostBus to report USB device removal */ 161 UsbDevice device = mDevices.remove(deviceName); 162 if (device != null) { 163 getCurrentSettings().deviceDetached(device); [all...] |
H A D | UsbSettingsManager.java | 80 // Temporary mapping USB device name to list of UIDs with permissions for the device 95 // This class is used to describe a USB device. 104 // USB device or interface class (or -1 for unspecified) 106 // USB device subclass (or -1 for unspecified) 108 // USB device protocol (or -1 for unspecified) 119 public DeviceFilter(UsbDevice device) { argument 120 mVendorId = device.getVendorId(); 121 mProductId = device.getProductId(); 122 mClass = device 183 matches(UsbDevice device) argument 538 packageMatchesLocked(ResolveInfo info, String metaDataName, UsbDevice device, UsbAccessory accessory) argument 575 getDeviceMatchesLocked(UsbDevice device, Intent intent) argument 604 deviceAttached(UsbDevice device) argument 625 deviceDetached(UsbDevice device) argument 662 resolveActivity(Intent intent, ArrayList<ResolveInfo> matches, String defaultPackage, UsbDevice device, UsbAccessory accessory) argument 853 hasPermission(UsbDevice device) argument 873 checkPermission(UsbDevice device) argument 915 requestPermission(UsbDevice device, String packageName, PendingIntent pi) argument 954 setDevicePackage(UsbDevice device, String packageName) argument 990 grantDevicePermission(UsbDevice device, int uid) argument [all...] |
/frameworks/compile/mclinker/lib/ADT/ |
H A D | Android.mk | 18 # For the device
|
/frameworks/compile/mclinker/ |
H A D | mcld.mk | 6 MCLD_DEVICE_BUILD_MK := $(MCLD_ROOT_PATH)/mcld-device-build.mk
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | DeviceDisconnectedReceiver.java | 45 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 46 String deviceName = device.getDeviceName(); 49 // close our activity if the device it is displaying is disconnected
|
H A D | CameraBrowser.java | 83 MtpDevice device = mDeviceList.get(position); 84 MtpDeviceInfo info = device.getDeviceInfo(); 119 intent.putExtra("device", mDeviceList.get(position).getDeviceName()); 127 public void deviceAdded(MtpDevice device) { argument 128 Log.d(TAG, "deviceAdded: " + device.getDeviceName()); 133 public void deviceRemoved(MtpDevice device) { argument 134 Log.d(TAG, "deviceRemoved: " + device.getDeviceName());
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pUpnpServiceInfo.java | 58 * @param device a string representation of this device in the following format, 62 * e.g) urn:schemas-upnp-org:device:MediaServer:1 71 String device, List<String> services) { 72 if (uuid == null || device == null) { 73 throw new IllegalArgumentException("uuid or device cannnot be null"); 81 info.add(createSupplicantQuery(uuid, device)); 70 newInstance(String uuid, String device, List<String> services) argument
|
H A D | WifiP2pUpnpServiceResponse.java | 62 * <li>"uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:device: 77 * @param dev source device 141 * @param device source device. 147 int transId, WifiP2pDevice device, byte[] data) { 149 return new WifiP2pUpnpServiceResponse(status, transId, device, null); 153 return new WifiP2pUpnpServiceResponse(status, transId, device, data); 146 newInstance(int status, int transId, WifiP2pDevice device, byte[] data) argument
|
/frameworks/base/services/jni/ |
H A D | com_android_server_UsbHostManager.cpp | 58 struct usb_device *device = usb_device_open(devname); local 59 if (!device) { 68 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); 70 uint16_t vendorId = usb_device_get_vendor_id(device); 71 uint16_t productId = usb_device_get_product_id(device); 76 usb_descriptor_iter_init(device, &iter); 99 usb_device_close(device); 101 // handle generic device notification 148 struct usb_device* device = usb_device_open(deviceNameStr); local 151 if (!device) [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbManager.java | 50 * Broadcast Action: A sticky broadcast for USB state change events when in device mode. 79 * Broadcast Action: A broadcast for USB device attached event. 81 * This intent is sent when a USB device is attached to the USB bus when in host mode. 84 * for the attached device 91 * Broadcast Action: A broadcast for USB device detached event. 93 * This intent is sent when a USB device is detached from the USB bus when in host mode. 96 * for the detached device 201 * containing the UsbDevice object for the device. 204 public static final String EXTRA_DEVICE = "device"; 234 * USB device nam 262 openDevice(UsbDevice device) argument 324 hasPermission(UsbDevice device) argument 369 requestPermission(UsbDevice device, PendingIntent pi) argument [all...] |
H A D | UsbDeviceConnection.java | 26 * This class is used for sending and receiving data and control messages to a USB device. 42 public UsbDeviceConnection(UsbDevice device) { argument 43 mDevice = device; 51 * Releases all system resources related to the device. 54 * to retrieve a new instance to reestablish communication with the device. 61 * Returns the native file descriptor for the device, or 62 * -1 if the device is not opened. 63 * This is intended for passing to native code to access the device. 72 * Returns the raw USB descriptors for the device. 105 * Performs a control transaction on endpoint zero for this device [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroup.java | 175 /** Check whether this device is the group owner of the created p2p group */ 181 public void setOwner(WifiP2pDevice device) { argument 182 mOwner = device; 196 public void addClient(WifiP2pDevice device) { argument 198 if (client.equals(device)) return; 200 mClients.add(device); 209 public boolean removeClient(WifiP2pDevice device) { argument 210 return mClients.remove(device); 218 /** @hide Returns {@code true} if the device is part of the group */ 219 public boolean contains(WifiP2pDevice device) { argument [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 66 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument 74 int fd = open(device, open_flags); 75 ALOGE_IF(fd<0, "error opening %s: %s", device, strerror(errno)); 80 mDevice = device; 94 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) argument 103 mDevice = device;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 237 * Some streams alias to different streams according to device category (phone or tablet) or 239 * mStreamVolumeAlias contains the default aliases for a voice capable device (phone) and 240 * STREAM_VOLUME_ALIAS_NON_VOICE for a non voice capable device (tablet).*/ 331 // Broadcast receiver for device connections intent broadcasts 340 // Forced device usage for communications 358 // Bluetooth headset device 498 // Register for device connection intent broadcasts. 515 Log.v(TAG, "monitoring device orientation"); 597 pw.println("\nStream volumes (device: index)"); 664 // sanity check in case the settings are restored from a device wit 1117 setStreamVolumeInt(int streamType, int index, int device, boolean force, boolean lastAudible) argument 2575 setWiredDeviceConnectionState(int device, int state, String name) argument 2587 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument 2635 getSettingNameForDevice(boolean lastAudible, int device) argument 2742 applyDeviceVolume(int device) argument 2768 adjustIndex(int deltaIndex, int device) argument 2775 setIndex(int index, int device, boolean lastAudible) argument 2814 getIndex(int device, boolean lastAudible) argument 2829 setLastAudibleIndex(int index, int device) argument 2849 adjustLastAudibleIndex(int deltaIndex, int device) argument 3096 setDeviceVolume(VolumeStreamState streamState, int device) argument 3136 persistVolume(VolumeStreamState streamState, int persistType, int device) argument 3587 handleDeviceConnection(boolean connected, int device, String params) argument 3618 checkSendBecomingNoisyIntent(int device, int state) argument 3646 sendDeviceConnectionIntent(int device, int state, String name) argument 3699 onSetWiredDeviceConnectionState(int device, int state, String name) argument 5918 checkSafeMediaVolume(int streamType, int index, int device) argument [all...] |
/frameworks/av/include/media/ |
H A D | IAudioPolicyService.h | 43 virtual status_t setDeviceConnectionState(audio_devices_t device, 46 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device, 76 audio_devices_t device) = 0; 79 audio_devices_t device) = 0;
|
/frameworks/compile/libbcc/ |
H A D | libbcc.mk | 34 LIBBCC_DEVICE_BUILD_MK := $(LIBBCC_ROOT_PATH)/libbcc-device-build.mk
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 139 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument 142 int status = check_AudioSystem_Command(AudioSystem::setDeviceConnectionState(static_cast <audio_devices_t>(device), 150 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument 153 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), 191 jint device) 196 (audio_devices_t)device)); 203 jint device) 208 (audio_devices_t)device) 187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 200 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument
|