/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebMediaDeviceInfo.cpp | 38 static PassRefPtr<WebMediaDeviceInfoPrivate> create(const WebString& deviceId, WebMediaDeviceInfo::MediaDeviceKind, const WebString& label, const WebString& groupId); 40 const WebString& deviceId() const { return m_deviceId; } 46 WebMediaDeviceInfoPrivate(const WebString& deviceId, WebMediaDeviceInfo::MediaDeviceKind, const WebString& label, const WebString& groupId); 54 PassRefPtr<WebMediaDeviceInfoPrivate> WebMediaDeviceInfoPrivate::create(const WebString& deviceId, WebMediaDeviceInfo::MediaDeviceKind kind, const WebString& label, const WebString& groupId) 56 return adoptRef(new WebMediaDeviceInfoPrivate(deviceId, kind, label, groupId)); 59 WebMediaDeviceInfoPrivate::WebMediaDeviceInfoPrivate(const WebString& deviceId, WebMediaDeviceInfo::MediaDeviceKind kind, const WebString& label, const WebString& groupId) 60 : m_deviceId(deviceId) 77 void WebMediaDeviceInfo::initialize(const WebString& deviceId, WebMediaDeviceInfo::MediaDeviceKind kind, const WebString& label, const WebString& groupId) 79 m_private = WebMediaDeviceInfoPrivate::create(deviceId, kind, label, groupId); 82 WebString WebMediaDeviceInfo::deviceId() cons [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 170 String deviceId = mTelephonyManager.getDeviceId(); 174 assertGsmDeviceId(deviceId); 180 assertGsmDeviceId(deviceId); 182 assertCdmaDeviceId(deviceId); 203 private static void assertGsmDeviceId(String deviceId) { 206 assertTrue("IMEI device id " + deviceId + " does not match pattern " + imeiPattern, 207 Pattern.matches(imeiPattern, deviceId)); 208 if (deviceId.length() == 15) { 210 assertImeiCheckDigit(deviceId); 214 private static void assertImeiCheckDigit(String deviceId) { [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
MediaDeviceInfo.idl | 36 readonly attribute DOMString deviceId;
|
MediaDeviceInfo.cpp | 44 String MediaDeviceInfo::deviceId() const 46 return m_webMediaDeviceInfo.deviceId();
|
MediaDeviceInfo.h | 40 String deviceId() const;
|
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
InputManagerCompat.java | 97 * @param deviceId The id of the input device that was added. 99 void onInputDeviceAdded(int deviceId); 106 * @param deviceId The id of the input device that changed. 108 void onInputDeviceChanged(int deviceId); 115 * @param deviceId The id of the input device that was removed. 117 void onInputDeviceRemoved(int deviceId);
|
InputManagerV16.java | 59 public void onInputDeviceAdded(int deviceId) { 60 mIDL.onInputDeviceAdded(deviceId); 64 public void onInputDeviceChanged(int deviceId) { 65 mIDL.onInputDeviceChanged(deviceId); 69 public void onInputDeviceRemoved(int deviceId) { 70 mIDL.onInputDeviceRemoved(deviceId);
|
InputManagerV9.java | 132 private void notifyListeners(int why, int deviceId) { 139 DeviceEvent odc = DeviceEvent.getDeviceEvent(why, deviceId, listener);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebMediaDeviceInfo.h | 58 BLINK_PLATFORM_EXPORT void initialize(const WebString& deviceId, MediaDeviceKind, const WebString& label, const WebString& groupId); 62 BLINK_PLATFORM_EXPORT WebString deviceId() const;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
GamepadList.java | 45 public void onInputDeviceChanged(int deviceId) { 46 onInputDeviceChangedImpl(deviceId); 50 public void onInputDeviceRemoved(int deviceId) { 51 onInputDeviceRemovedImpl(deviceId); 55 public void onInputDeviceAdded(int deviceId) { 56 onInputDeviceAddedImpl(deviceId); 123 private void onInputDeviceChangedImpl(int deviceId) {} 125 private void onInputDeviceRemovedImpl(int deviceId) { 127 unregisterGamepad(deviceId); 131 private void onInputDeviceAddedImpl(int deviceId) { [all...] |
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/ |
FullscreenActivity.java | 215 for (int deviceId : deviceIds) { 216 InputDevice dev = InputDevice.getDevice(deviceId); 225 if (!mConnectedDevices.contains(deviceId)) { 226 mConnectedDevices.add(deviceId); 228 mCurrentDeviceId = deviceId; 423 public void onInputDeviceAdded(int deviceId) { 424 Log.d(TAG, "onInputDeviceAdded: " + deviceId); 425 if (!mConnectedDevices.contains(deviceId)) { 426 mConnectedDevices.add(new Integer(deviceId)); 429 mCurrentDeviceId = deviceId; [all...] |
/external/chromium_org/media/video/capture/mac/ |
platform_video_capturing_mac.h | 31 // Sets which capture device to use by name passed as deviceId argument. The 34 // setCaptureHeight:width:frameRate. If |deviceId| is nil, capture is stopped 37 - (BOOL)setCaptureDevice:(NSString*)deviceId;
|
video_capture_device_avfoundation_mac.h | 98 // the deviceId is known, the library objects are created if needed and 99 // connected for the capture, and a by default resolution is set. If deviceId is 103 - (BOOL)setCaptureDevice:(NSString*)deviceId;
|
video_capture_device_qtkit_mac.h | 58 - (BOOL)setCaptureDevice:(NSString*)deviceId;
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
DngCreatorTest.java | 100 String deviceId = mCameraIds[i]; 105 openDevice(deviceId); 144 String dngFilePath = DEBUG_FILE_NAME_BASE + "/camera_basic_" + deviceId + "_" + 151 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + dngFilePath); 154 closeDevice(deviceId); 185 String deviceId = mCameraIds[i]; 192 openDevice(deviceId); 255 String filePath = DEBUG_FILE_NAME_BASE + "/camera_thumb_" + deviceId + "_" + 262 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + filePath); 265 closeDevice(deviceId); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameControllerInput.java | 156 private InputDeviceState getInputDeviceState(int deviceId) { 157 InputDeviceState state = mInputDeviceStates.get(deviceId); 159 final InputDevice device = mInputManager.getInputDevice(deviceId); 164 mInputDeviceStates.put(deviceId, state); 172 public void onInputDeviceAdded(int deviceId) { 173 InputDeviceState state = getInputDeviceState(deviceId); 179 public void onInputDeviceChanged(int deviceId) { 180 InputDeviceState state = mInputDeviceStates.get(deviceId); 182 mInputDeviceStates.remove(deviceId); 183 state = getInputDeviceState(deviceId); [all...] |
/development/samples/ControllerSample/src/com/example/controllersample/ |
GameView.java | 115 for (int deviceId : deviceIds) { 116 InputDevice dev = mInputManager.getInputDevice(deviceId); 122 getShipForId(deviceId); 129 int deviceId = event.getDeviceId(); 130 if (deviceId != -1) { 131 Ship currentShip = getShipForId(deviceId); 143 int deviceId = event.getDeviceId(); 144 if (deviceId != -1) { 145 Ship currentShip = getShipForId(deviceId); [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
gnubbies.js | 91 var deviceId = Number(dev); 92 this.openDevs_[namespace][deviceId].destroy(); 150 var deviceId = deviceToDeviceId(devs[i]); 151 deviceIds.push(deviceId); 152 presentDevs[deviceId.device] = devs[i]; 227 var deviceId = Number(dev); 228 console.warn(namespace + ' device ' + deviceId + 230 this.openDevs_[namespace][deviceId].destroy(); 339 var deviceId = Number(devId); 340 var dev = this.openDevs_[namespace][deviceId]; [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyMotionEvent.java | 114 public MonkeyMotionEvent setDeviceId(int deviceId) { 115 mDeviceId = deviceId;
|
/external/chromium_org/third_party/decklink/mac/include/ |
DeckLinkAPI_v7_9.h | 79 virtual HRESULT GetDeviceID (/* out */ uint16_t *deviceId, /* out */ BMDDeckControlError *error) = 0;
|
DeckLinkAPIDeckControl.h | 197 virtual HRESULT GetDeviceID (/* out */ uint16_t *deviceId, /* out */ BMDDeckControlError *error) = 0;
|
DeckLinkAPI_v8_1.h | 100 virtual HRESULT GetDeviceID (/* out */ uint16_t *deviceId, /* out */ BMDDeckControlError *error) = 0;
|
/cts/suite/cts/utils/ |
get_csv_report.py | 102 deviceId = buildInfo.getAttribute("deviceID") 110 self.addKV("serial", deviceId)
|
/external/chromium_org/content/renderer/media/ |
user_media_client_impl_unittest.cc | 500 EXPECT_FALSE(device->deviceId().isEmpty()); 508 EXPECT_FALSE(device->deviceId().isEmpty()); 516 EXPECT_FALSE(device->deviceId().isEmpty()); 523 EXPECT_FALSE(device->deviceId().isEmpty()); 531 EXPECT_FALSE(device->deviceId().isEmpty());
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
AudioManagerAndroid.java | 374 * @param deviceId Unique device ID (integer converted to string) 381 private boolean setDevice(String deviceId) { 382 if (DEBUG) logd("setDevice: " + deviceId); 391 int intDeviceId = deviceId.isEmpty() ? 392 DEVICE_DEFAULT : Integer.parseInt(deviceId); [all...] |