Home
last modified time | relevance | path

Searched refs:deviceName (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTest.java124 String deviceName = CameraEnumerationAndroid.getNameOfFrontFacingDevice(); in testStartFrontFacingVideoCapturer() local
126 VideoCapturerAndroid.create(deviceName, null); in testStartFrontFacingVideoCapturer()
139 String deviceName = CameraEnumerationAndroid.getNameOfBackFacingDevice(); in testStartBackFacingVideoCapturer() local
141 VideoCapturerAndroid.create(deviceName, null); in testStartBackFacingVideoCapturer()
175 final String deviceName = CameraEnumerationAndroid.getDeviceName(0); in testCameraCallsAfterStop() local
176 final VideoCapturerAndroid capturer = VideoCapturerAndroid.create(deviceName, null); in testCameraCallsAfterStop()
185 final String deviceName = CameraEnumerationAndroid.getDeviceName(0); in testCameraCallsAfterStopUsingTextures() local
186 final VideoCapturerAndroid capturer = VideoCapturerAndroid.create(deviceName, null, in testCameraCallsAfterStopUsingTextures()
215 String deviceName = CameraEnumerationAndroid.getDeviceName(0); in testStartStopWithDifferentResolutions() local
217 VideoCapturerAndroid.create(deviceName, null); in testStartStopWithDifferentResolutions()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInputDevice.java10 private String deviceName; field in ShadowInputDevice
12 public static InputDevice makeInputDeviceNamed(String deviceName) { in makeInputDeviceNamed() argument
15 shadowInputDevice.setDeviceName(deviceName); in makeInputDeviceNamed()
21 return deviceName; in getName()
24 public void setDeviceName(String deviceName) { in setDeviceName() argument
25 this.deviceName = deviceName; in setDeviceName()
/external/rmi4utils/rmi4update/
Dmain.cpp105 char *deviceName = NULL; in main() local
131 deviceName = optarg; in main()
151 if (!deviceName) { in main()
155 rc = GetFirmwareProps(deviceName, props); in main()
177 if (deviceName) { in main()
178 rc = UpdateDevice(image, force, performLockdown, deviceName); in main()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DVideoCapturer.java37 public static VideoCapturer create(String deviceName) { in create() argument
38 Object capturer = nativeCreateVideoCapturer(deviceName); in create()
67 private static native Object nativeCreateVideoCapturer(String deviceName); in nativeCreateVideoCapturer() argument
/external/rmi4utils/f54test/
Dmain.cpp105 char *deviceName = NULL; in main() local
126 deviceName = optarg; in main()
150 if (deviceName) { in main()
151 rc = RunF54Test(deviceName, reportType, continuousMode, noReset); in main()
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.cc163 int32_t AudioMixerManagerLinuxALSA::OpenSpeaker(char* deviceName) in OpenSpeaker() argument
166 "AudioMixerManagerLinuxALSA::OpenSpeaker(name=%s)", deviceName); in OpenSpeaker()
213 GetControlName(controlName, deviceName); in OpenSpeaker()
256 int32_t AudioMixerManagerLinuxALSA::OpenMicrophone(char *deviceName) in OpenMicrophone() argument
260 deviceName); in OpenMicrophone()
315 GetControlName(controlName, deviceName); in OpenMicrophone()
1292 char* deviceName) const in GetControlName()
1297 char* pos1 = strchr(deviceName, ':'); in GetControlName()
1298 char* pos2 = strchr(deviceName, ','); in GetControlName()
1302 pos2 = &deviceName[strlen(deviceName)]; in GetControlName()
[all …]
Daudio_mixer_manager_alsa_linux.h27 int32_t OpenSpeaker(char* deviceName);
28 int32_t OpenMicrophone(char* deviceName);
63 void GetControlName(char *controlName, char* deviceName) const;
Daudio_device_alsa_linux.cc1056 char deviceName[kAdmMaxDeviceNameSize] = {0}; in InitPlayout() local
1057 GetDevicesInfo(2, true, _outputDeviceIndex, deviceName, in InitPlayout()
1061 " InitPlayout open (%s)", deviceName); in InitPlayout()
1065 deviceName, in InitPlayout()
1076 deviceName, in InitPlayout()
1213 char deviceName[kAdmMaxDeviceNameSize] = {0}; in InitRecording() local
1214 GetDevicesInfo(2, false, _inputDeviceIndex, deviceName, in InitRecording()
1218 "InitRecording open (%s)", deviceName); in InitRecording()
1221 deviceName, in InitRecording()
1233 deviceName, in InitRecording()
/external/webrtc/webrtc/modules/video_capture/ios/
Ddevice_info_ios.mm95 NSString* deviceName = [DeviceInfoIosObjC deviceNameForIndex:deviceNumber];
100 strncpy(deviceNameUTF8, [deviceName UTF8String], deviceNameUTF8Length);
168 std::string deviceName(deviceUniqueIdUTF8);
170 _capabilitiesMap.find(deviceName);
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/
Dvideo_capture_qtkit_info_objc.mm79 DefaultName:(char*)deviceName
103 memset(deviceName, 0, deviceNameLength);
109 successful = [tempString getCString:(char*)deviceName
113 memset(deviceName, 0, deviceNameLength);
Dvideo_capture_qtkit_info_objc.h53 DefaultName:(char*)deviceName
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c732 Str255 deviceName; in Snd_SPBSignInDevice() local
735 PyMac_GetStr255, deviceName)) in Snd_SPBSignInDevice()
738 deviceName); in Snd_SPBSignInDevice()
765 Str255 deviceName; in Snd_SPBGetIndexedDevice() local
771 deviceName, in Snd_SPBGetIndexedDevice()
775 PyMac_BuildStr255, deviceName, in Snd_SPBGetIndexedDevice()
784 Str255 deviceName; in Snd_SPBOpenDevice() local
788 PyMac_GetStr255, deviceName, in Snd_SPBOpenDevice()
791 _err = SPBOpenDevice(deviceName, in Snd_SPBOpenDevice()
/external/mesa3d/src/glx/
Ddri2.c269 DRI2Connect(Display * dpy, XID window, char **driverName, char **deviceName) in DRI2Connect() argument
320 *deviceName = malloc(rep.deviceNameLength + 1); in DRI2Connect()
321 if (*deviceName == NULL) { in DRI2Connect()
328 _XReadPad(dpy, *deviceName, rep.deviceNameLength); in DRI2Connect()
329 (*deviceName)[rep.deviceNameLength] = '\0'; in DRI2Connect()
Ddri2.h59 char **driverName, char **deviceName);
Ddri2_glx.c1207 char *driverName = NULL, *loader_driverName, *deviceName, *tmp; in dri2CreateScreen() local
1223 &driverName, &deviceName)) { in dri2CreateScreen()
1230 psc->fd = loader_open_device(deviceName); in dri2CreateScreen()
1347 free(deviceName); in dri2CreateScreen()
1374 free(deviceName); in dri2CreateScreen()
/external/tensorflow/tensorflow/go/
Dtensor_handle.go161 func (th *TensorHandle) CopyToDevice(c *Context, deviceName string) (*TensorHandle, error) {
163 n := C.CString(deviceName)
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DMockStatic.java94 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in spyStatic() local
112 assertEquals(deviceName, Settings.Global.getString(resolver, DEVICE_NAME)); in spyStatic()
138 String deviceName = Settings.Global.getString(resolver, DEVICE_NAME); in mockStatic() local
155 assertEquals(deviceName, Settings.Global.getString(resolver, DEVICE_NAME)); in mockStatic()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java351 private static int lookupDeviceName(String deviceName) { in lookupDeviceName() argument
352 Logging.d(TAG, "lookupDeviceName: " + deviceName); in lookupDeviceName()
353 if (deviceName == null || android.hardware.Camera.getNumberOfCameras() == 0) { in lookupDeviceName()
356 if (deviceName.isEmpty()) { in lookupDeviceName()
360 if (deviceName.equals(CameraEnumerationAndroid.getDeviceName(i))) { in lookupDeviceName()
/external/webrtc/talk/app/webrtc/objc/
DRTCVideoCapturer.mm41 + (RTCVideoCapturer*)capturerWithDeviceName:(NSString*)deviceName {
42 const std::string& device_name = std::string([deviceName UTF8String]);
/external/webrtc/talk/app/webrtc/objc/public/
DRTCVideoCapturer.h34 + (RTCVideoCapturer *)capturerWithDeviceName:(NSString *)deviceName;
/external/rmi4utils/rmidevice/
Dhiddevice.cpp688 bool HIDDevice::LookupHidDeviceName(int bus, int vendorId, int productId, std::string & deviceName) in LookupHidDeviceName() argument
703 deviceName = devDirEntry->d_name; in LookupHidDeviceName()
713 bool HIDDevice::FindHidRawFile(std::string & deviceName, std::string & hidrawFile) in FindHidRawFile() argument
720 snprintf(hidrawDir, PATH_MAX, "/sys/bus/hid/devices/%s/hidraw", deviceName.c_str()); in FindHidRawFile()
Dhiddevice.h81 static bool LookupHidDeviceName(int bus, int vendorId, int productId, std::string &deviceName);
/external/webrtc/webrtc/modules/video_capture/
Dvideo_capture_delay.h29 char * deviceName; member
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java148 msg.putString("SourceDeviceName", srcDevice.deviceName); in onDnsSdServiceAvailable()
173 msg.putString("SourceDeviceName", srcDevice.deviceName); in onDnsSdTxtRecordAvailable()
365 msg.putString("OwnerName", group.getOwner().deviceName); in parseGroupInfo()
553 return d.deviceName.equals(deviceId) || d.deviceAddress.equals(deviceId); in wifiP2pDeviceMatches()
/external/swiftshader/tests/VulkanUnitTests/
Dunittests.cpp119 …EXPECT_EQ(strncmp(physicalDeviceProperties.deviceName, "SwiftShader Device", VK_MAX_PHYSICAL_DEVIC… in TEST_F()

12