/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceShutdownListener.java | 17 package com.android.camera.device; 20 * Listen to full shutdown events of a single device and api combination. 24 * This should be called once, and only once, when a single device
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
Configuration.java | 17 package com.android.hierarchyviewer.device;
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
CtsRootDeviceSetup.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 32 * for setting up a device for CTS testing. 34 * This class is NOT intended for 'official' CTS runs against a production device as the steps 50 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 55 CLog.i("Setting up %s to run CTS tests", device.getSerialNumber()); 61 if (!device.enableAdbRoot()) { 63 "Failed to set root on device %s.", device.getSerialNumber())); 67 SettingsToggler.setSecureInt(device, "mock_location", 1) [all...] |
/device/asus/fugu/ |
full_fugu.mk | 16 $(call inherit-product, device/asus/fugu/device.mk) 17 $(call inherit-product, device/google/atv/products/atv_base.mk)
|
/external/libmtp/src/ |
playlist-spl.h | 28 void spl_to_playlist_t(LIBMTP_mtpdevice_t* device, PTPObjectInfo *oi, 30 int playlist_t_to_spl(LIBMTP_mtpdevice_t *device, 32 int update_spl_playlist(LIBMTP_mtpdevice_t *device,
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetooth.aidl | 58 boolean createBond(in BluetoothDevice device, in int transport); 59 boolean cancelBondProcess(in BluetoothDevice device); 60 boolean removeBond(in BluetoothDevice device); 61 int getBondState(in BluetoothDevice device); 62 int getConnectionState(in BluetoothDevice device); 64 String getRemoteName(in BluetoothDevice device); 65 int getRemoteType(in BluetoothDevice device); 66 String getRemoteAlias(in BluetoothDevice device); 67 boolean setRemoteAlias(in BluetoothDevice device, in String name); 68 int getRemoteClass(in BluetoothDevice device); [all...] |
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);
|
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);
|
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);
|
/system/core/include/usbhost/ |
usbhost.h | 64 /* 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...] |
/device/common/ |
populate-new-device.sh | 19 echo "Need a manufacturer name and a device name" 23 mkdir -p device/$1/$2 24 mkdir -p device/$1/$2-kernel 27 cat > device/$1/$2/vendorsetup.sh << EOF 47 cat > device/$1/$2/AndroidProducts.mk << EOF 67 cat > device/$1/$2/full_$2.mk << EOF 84 \$(call inherit-product, device/$1/$2/device.mk) 93 cat > device/$1/$2/device.mk << EO [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 32 public WifiP2pDevice device; field in class:WifiP2pPeer 41 device = dev; 48 if (TextUtils.isEmpty(device.deviceName)) { 49 setTitle(device.deviceAddress); 51 setTitle(device.deviceName); 72 if (device.status != other.device.status) { 73 return device.status < other.device.status ? -1 : 1; 77 if (device.deviceName != null) [all...] |
/frameworks/native/services/inputflinger/ |
EventHub.cpp | 145 // --- EventHub::Device --- 147 EventHub::Device::Device(int fd, int32_t id, const String8& path, 163 EventHub::Device::~Device() { 169 void EventHub::Device::close() { 237 Device* device = mClosingDevices; local 238 mClosingDevices = device->next; 239 delete device; 252 Device* device = getDeviceLocked(deviceId); local 259 Device* device = getDeviceLocked(deviceId); local 266 Device* device = getDeviceLocked(deviceId); 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 444 Device* device = getDeviceLocked(deviceId); local 472 Device* device = getDeviceLocked(deviceId); local 492 Device* device = getDeviceLocked(deviceId); local 503 Device* device = getDeviceLocked(deviceId); local 515 Device* device = getDeviceLocked(deviceId); local 541 Device* device = getDeviceLocked(deviceId); local 549 Device* device = getDeviceLocked(deviceId); local 559 Device* device = getDeviceLocked(deviceId); local 624 Device* device = getDeviceLocked(deviceId); local 658 Device* device = getDeviceLocked(deviceId); local 681 Device* device = mDevices.valueAt(i); local 699 Device* device = mDevices.valueAt(i); local 733 Device* device = mClosingDevices; local 755 Device* device = mOpeningDevices; local 815 Device* device = mDevices.valueAt(deviceIndex); local 1133 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); local 1383 Device* device = new Device(-1, VIRTUAL_KEYBOARD_ID, String8("<virtual>"), identifier); local 1510 Device* device = getDeviceByPathLocked(devicePath); local 1661 const Device* device = mDevices.valueAt(i); local [all...] |
/external/libmtp/examples/ |
trexist.c | 3 * Example program to check if a certain track exists on the device. 33 LIBMTP_mtpdevice_t *device; local 56 device = LIBMTP_Get_First_Device(); 57 if (device == NULL) { 58 printf("No devices. Connect/replug device and try again.\n"); 62 printf("%s\n", LIBMTP_Track_Exists(device, id) ? "Yes" : "No"); 64 LIBMTP_Release_Device(device);
|
getplaylist.c | 3 * Example program that lists the abstract playlists on the device. 26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) 35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); 41 LIBMTP_Dump_Errorstack(device); 42 LIBMTP_Clear_Errorstack(device); 51 LIBMTP_mtpdevice_t *device; local 75 device = LIBMTP_Get_First_Device(); 76 if (device == NULL) { 77 printf("No devices. Connect/replug device and try again.\n"); 81 playlist = LIBMTP_Get_Playlist(device,id); [all...] |
playlists.c | 3 * Example program to list the playlists on a device. 25 static void dump_plinfo(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) 38 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); 44 LIBMTP_Dump_Errorstack(device); 45 LIBMTP_Clear_Errorstack(device); 52 LIBMTP_mtpdevice_t *device; local 58 device = LIBMTP_Get_First_Device(); 59 if (device == NULL) { 65 playlists = LIBMTP_Get_Playlist_List(device); 72 dump_plinfo(device, pl) [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.h | 49 bool detect(int device); 50 bool setDrmMode(int device, drmModeModeInfo& value); 51 bool setRefreshRate(int device, int hz); 59 bool isConnected(int device); 60 bool setDpmsMode(int device, int mode); 62 bool getModeInfo(int device, drmModeModeInfo& mode); 63 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height); 64 bool getDisplayResolution(int device, uint32_t& width, uint32_t& height); 66 int getPanelOrientation(int device); 68 drmModeModeInfoPtr detectAllConfigs(int device, int *modeCount) [all...] |
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
BluetoothMidiService.java | 38 BluetoothDevice bluetoothDevice = (BluetoothDevice)intent.getParcelableExtra("device"); 44 BluetoothMidiDevice device; local 46 device = mDeviceServerMap.get(bluetoothDevice); 47 if (device == null) { 48 device = new BluetoothMidiDevice(this, bluetoothDevice, this); 51 return device.getBinder(); 56 void deviceClosed(BluetoothDevice device) { 58 mDeviceServerMap.remove(device);
|
/hardware/ti/omap4xxx/camera/ |
CameraHal_Module.cpp | 39 hw_device_t** device); 40 static int camera_device_close(hw_device_t* device); 75 int camera_set_preview_window(struct camera_device * device, 83 if(!device) 86 ti_dev = (ti_camera_device_t*) device; 93 void camera_set_callbacks(struct camera_device * device, 104 if(!device) 107 ti_dev = (ti_camera_device_t*) device; 112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) 118 if(!device) [all...] |
/hardware/libhardware/modules/local_time/ |
local_time_hw.c | 32 struct local_time_hw_device device; member in struct:stub_local_time_device 61 static int ltdev_close(hw_device_t *device) 63 free(device); 68 hw_device_t** device) 81 ltdev->device.common.tag = HARDWARE_DEVICE_TAG; 82 ltdev->device.common.version = 0; 83 ltdev->device.common.module = (struct hw_module_t *) module; 84 ltdev->device.common.close = ltdev_close; 86 ltdev->device.get_local_time = ltdev_get_local_time; 87 ltdev->device.get_local_freq = ltdev_get_local_freq [all...] |
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
Utils.java | 25 import com.android.tradefed.device.DeviceNotAvailableException; 26 import com.android.tradefed.device.ITestDevice; 36 public static void runDeviceTests(ITestDevice device, String packageName) 38 runDeviceTests(device, packageName, null, null, USER_OWNER); 41 public static void runDeviceTests(ITestDevice device, String packageName, int userId) 43 runDeviceTests(device, packageName, null, null, userId); 46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName) 48 runDeviceTests(device, packageName, testClassName, null, USER_OWNER); 51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, 53 runDeviceTests(device, packageName, testClassName, null, userId) [all...] |
/art/tools/ |
libcore_failures.txt | 20 modes: [device], 26 modes: [device], 34 modes: [device], 50 modes: [device], 68 modes: [device], 83 modes: [device], 87 description: "Needs the newest cat version on the device", 89 modes: [device], 107 modes_variants: [[device,X64]], 124 description: "Needs kernel updates on host/device", [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.h | 45 bool detect(int device); 46 bool setDrmMode(int device, drmModeModeInfo& value); 47 bool setRefreshRate(int device, int hz); 55 bool isConnected(int device); 56 bool setDpmsMode(int device, int mode); 58 bool getModeInfo(int device, drmModeModeInfo& mode); 59 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height); 61 int getPanelOrientation(int device); 62 drmModeModeInfoPtr detectAllConfigs(int device, int *modeCount); 69 // map device type to output index, return -1 if not mappe [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewManager.java | 20 import com.android.hierarchyviewer.device.Window; 21 import com.android.hierarchyviewer.device.DeviceBridge; 30 public static void invalidate(IDevice device, Window window, String params) { 31 sendCommand("INVALIDATE", device, window, params); 34 public static void requestLayout(IDevice device, Window window, String params) { 35 sendCommand("REQUEST_LAYOUT", device, window, params); 38 public static void outputDisplayList(IDevice device, Window window, String params) { 39 sendCommand("OUTPUT_DISPLAYLIST", device, window, params); 42 private static void sendCommand(String command, IDevice device, Window window, String params) { 49 DeviceBridge.getDeviceLocalPort(device))); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpSinkStateMachine.java | 84 // mCurrentDevice is the device connected before the state changes 85 // mTargetDevice is the device to be connected 86 // mIncomingDevice is the device connecting to us, valid only in Pending state 97 // Connecting to a device, Pending 99 // Disconnecting device, Connecting to new device 102 // Disconnecting device Pending 183 BluetoothDevice device = (BluetoothDevice) message.obj; local 184 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING, 187 if (!connectA2dpNative(getByteAddress(device)) ) { 308 BluetoothDevice device = (BluetoothDevice) message.obj; local 494 BluetoothDevice device = (BluetoothDevice) message.obj; local 515 BluetoothDevice device = (BluetoothDevice) message.obj; local 751 BluetoothDevice device = null; field in class:A2dpSinkStateMachine.StackEvent [all...] |