/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pDeviceList.java | 35 private Collection<WifiP2pDevice> mDevices; 38 mDevices = new ArrayList<WifiP2pDevice>(); 44 mDevices = source.getDeviceList(); 50 mDevices = new ArrayList<WifiP2pDevice>(); 52 mDevices.add(device); 58 if (mDevices.isEmpty()) return false; 59 mDevices.clear(); 66 for (WifiP2pDevice d : mDevices) { 79 mDevices.add(device); 85 return mDevices.remove(device) [all...] |
/cts/tools/host/test/com/android/cts/ |
DeviceManagerTests.java | 56 dm.mDevices.add(d1); 57 dm.mDevices.add(d2); 58 dm.mDevices.add(d3); 102 dm.mDevices.add(d1); 103 dm.mDevices.add(d2); 104 dm.mDevices.add(d3); 121 dm.mDevices.add(d1); 122 dm.mDevices.add(d2); 123 dm.mDevices.add(d3); 145 dm.mDevices.add(d1) [all...] |
/cts/tools/host/src/com/android/cts/ |
DeviceManager.java | 43 ArrayList<TestDevice> mDevices; 48 mDevices = new ArrayList<TestDevice>(); 87 if (num > mDevices.size()) { 89 + mDevices.size() + " is less than the specified number(" 94 while (index < mDevices.size() && deviceList.size() != num) { 95 td = mDevices.get(index); 114 return mDevices.toArray(new TestDevice[mDevices.size()]); 124 for (TestDevice td : mDevices) { 140 mDevices.add(td) [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 56 // mDevices contains all MtpDevices that have been seen by our client, 58 // mDevices is also used for synchronization in this class. 59 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); 70 synchronized (mDevices) { 71 MtpDevice mtpDevice = mDevices.get(deviceName); 84 mDevices.remove(deviceName); 180 mDevices.put(usbDevice.getDeviceName(), mtpDevice); 203 synchronized (mDevices) { 216 synchronized (mDevices) { 229 synchronized (mDevices) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 56 // mDevices contains all MtpDevices that have been seen by our client, 58 // mDevices is also used for synchronization in this class. 59 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); 77 synchronized (mDevices) { 78 MtpDevice mtpDevice = mDevices.get(deviceName); 91 mDevices.remove(deviceName); 199 mDevices.put(usbDevice.getDeviceName(), mtpDevice); 228 synchronized (mDevices) { 241 synchronized (mDevices) { 254 synchronized (mDevices) { [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbHostManager.java | 57 private final HashMap<String,UsbDevice> mDevices = new HashMap<String,UsbDevice>(); 113 if (mDevices.get(deviceName) != null) { 114 Slog.w(TAG, "device already on mDevices list: " + deviceName); 156 mDevices.put(deviceName, device); 164 UsbDevice device = mDevices.remove(deviceName); 187 for (String name : mDevices.keySet()) { 188 devices.putParcelable(name, mDevices.get(name)); 199 UsbDevice device = mDevices.get(deviceName); 201 // if it is not in mDevices, it either does not exist or is blacklisted 213 for (String name : mDevices.keySet()) [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
DeviceMonitor.java | 58 private final ArrayList<Device> mDevices = new ArrayList<Device>(); 129 synchronized (mDevices) { 130 return mDevices.toArray(new Device[mDevices.size()]); 228 synchronized (mDevices) { 229 for (int n = mDevices.size() - 1; n >= 0; n--) { 230 Device device = mDevices.get(0); 337 synchronized (mDevices) { 347 for (int d = 0 ; d < mDevices.size() ;) { 348 Device device = mDevices.get(d) [all...] |
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioHardware.h | 119 uint32_t devices() { return mDevices; } 128 uint32_t mDevices;
|
AudioHardware.cpp | 169 mDevices(0), mChannels(AUDIO_HW_OUT_CHANNELS), mSampleRate(AUDIO_HW_OUT_SAMPLERATE), 182 mDevices = devices;
|
/hardware/msm7k/libaudio/ |
AudioHardware.h | 181 uint32_t devices() { return mDevices; } 190 uint32_t mDevices; 220 uint32_t devices() { return mDevices; } 233 uint32_t mDevices;
|
AudioHardware.cpp | 661 mHardware(0), mFd(-1), mStartCount(0), mRetryCount(0), mStandby(true), mDevices(0) 693 mDevices = devices; 837 mDevices = device; 838 LOGV("set output routing %x", mDevices); 856 LOGV("get routing %x", mDevices); 857 param.addInt(key, (int)mDevices); 876 mAcoustics((AudioSystem::audio_in_acoustics)0), mDevices(0) 959 mDevices = devices; 1017 if (set(mHardware, mDevices, &mFormat, &mChannels, &mSampleRate, mAcoustics) != NO_ERROR) { [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
AudioHardware.h | 258 uint32_t devices() { return mDevices; } 267 uint32_t mDevices; 294 uint32_t devices() { return mDevices; } 307 uint32_t mDevices;
|
AudioHardware.cpp | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDeviceHandler.java | 65 private List<LayoutDevice> mDevices = new ArrayList<LayoutDevice>(); 75 return mDevices; 87 mDevices.add(mCurrentDevice);
|
/frameworks/base/services/input/ |
EventHub.cpp | 514 ssize_t index = mDevices.indexOfKey(deviceId); 515 return index >= 0 ? mDevices.valueAt(index) : NULL; 519 for (size_t i = 0; i < mDevices.size(); i++) { 520 Device* device = mDevices.valueAt(i); 629 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); 636 Device* device = mDevices.valueAt(deviceIndex); [all...] |
InputReader.cpp | 254 for (size_t i = 0; i < mDevices.size(); i++) { 255 delete mDevices.valueAt(i); 358 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); 360 mDevices.add(deviceId, device); 370 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); 372 device = mDevices.valueAt(deviceIndex); 373 mDevices.removeItemsAt(deviceIndex, 1); 447 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); 453 InputDevice* device = mDevices.valueAt(deviceIndex); 463 for (size_t i = 0; i < mDevices.size(); i++) [all...] |
EventHub.h | 338 KeyedVector<int32_t, Device*> mDevices;
|
InputReader.h | 376 KeyedVector<int32_t, InputDevice*> mDevices; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
DeviceChooserDialog.java | 673 private IDevice[] mDevices; 676 mDevices = AndroidDebugBridge.getBridge().getDevices(); 680 if (mDevices != null) { 681 for (IDevice d : mDevices) { 693 mDevices = null;
|
/frameworks/base/services/input/tests/ |
InputReader_test.cpp | 295 KeyedVector<int32_t, Device*> mDevices; 301 for (size_t i = 0; i < mDevices.size(); i++) { 302 delete mDevices.valueAt(i); 311 mDevices.add(deviceId, device); 317 delete mDevices.valueFor(deviceId); 318 mDevices.removeItem(deviceId); 427 ssize_t index = mDevices.indexOfKey(deviceId); 428 return index >= 0 ? mDevices.valueAt(index) : NULL; [all...] |
/prebuilt/common/ddmlib/ |
ddmlib-prebuilt.jar | |