Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILDeviceInfo.cpp20 getDeviceFromName(const std::string &deviceName, AMDGPUSubtarget *ptr, in getDeviceFromName() argument
23 if (deviceName.c_str()[2] == '7') { in getDeviceFromName()
24 switch (deviceName.c_str()[3]) { in getDeviceFromName()
32 } else if (deviceName == "cypress") { in getDeviceFromName()
39 } else if (deviceName == "juniper") { in getDeviceFromName()
46 } else if (deviceName == "redwood") { in getDeviceFromName()
53 } else if (deviceName == "cedar") { in getDeviceFromName()
60 } else if (deviceName == "barts" in getDeviceFromName()
61 || deviceName == "turks") { in getDeviceFromName()
68 } else if (deviceName == "cayman") { in getDeviceFromName()
[all …]
/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/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/opencv3/modules/videoio/src/
Dcap_libv4l.cpp311 char* deviceName; member
396 char deviceName[MAX_DEVICE_DRIVER_NAME]; in icvInitCapture_V4L() local
401 sprintf(deviceName, "/dev/video%1d", CameraNumber); in icvInitCapture_V4L()
403 deviceHandle = open(deviceName, O_RDONLY); in icvInitCapture_V4L()
419 static int try_init_v4l(CvCaptureCAM_V4L* capture, char *deviceName) in try_init_v4l() argument
433 capture->deviceHandle = v4l1_open(deviceName, O_RDWR); in try_init_v4l()
463 static int try_init_v4l2(CvCaptureCAM_V4L* capture, char *deviceName) in try_init_v4l2() argument
475 capture->deviceHandle = v4l2_open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); in try_init_v4l2()
665 static int _capture_V4L2 (CvCaptureCAM_V4L *capture, char *deviceName) in _capture_V4L2() argument
669 capture->deviceName = strdup(deviceName); in _capture_V4L2()
[all …]
Dcap_v4l.cpp374 char deviceName[MAX_DEVICE_DRIVER_NAME]; in icvInitCapture_V4L() local
379 sprintf(deviceName, "/dev/video%1d", CameraNumber); in icvInitCapture_V4L()
381 deviceHandle = open(deviceName, O_RDONLY); in icvInitCapture_V4L()
443 static int try_init_v4l(CvCaptureCAM_V4L* capture, char *deviceName) in try_init_v4l() argument
456 capture->deviceHandle = open(deviceName, O_RDWR); in try_init_v4l()
487 static int try_init_v4l2(CvCaptureCAM_V4L* capture, char *deviceName) in try_init_v4l2() argument
498 capture->deviceHandle = open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); in try_init_v4l2()
502 fprintf(stderr, "(DEBUG) try_init_v4l2 open \"%s\": %s\n", deviceName, strerror(errno)); in try_init_v4l2()
512 …fprintf(stderr, "(DEBUG) try_init_v4l2 VIDIOC_QUERYCAP \"%s\": %s\n", deviceName, strerror(errno)); in try_init_v4l2()
522 … fprintf(stderr, "(DEBUG) try_init_v4l2 VIDIOC_G_INPUT \"%s\": %s\n", deviceName, strerror(errno)); in try_init_v4l2()
[all …]
Dcap_gphoto2.cpp139 DigitalCameraCapture(const String &deviceName);
155 int findDevice(const char * deviceName) const;
372 DigitalCameraCapture::DigitalCameraCapture(const String & deviceName) in DigitalCameraCapture() argument
375 int index = findDevice(deviceName.c_str()); in DigitalCameraCapture()
905 int DigitalCameraCapture::findDevice(const char * deviceName) const in findDevice()
910 if (deviceName != 0) in findDevice()
915 if (model != 0 && strstr(model, deviceName)) in findDevice()
1215 Ptr<IVideoCapture> createGPhoto2Capture(const String & deviceName) in createGPhoto2Capture() argument
1217 Ptr<IVideoCapture> capture = makePtr<gphoto2::DigitalCameraCapture>(deviceName); in createGPhoto2Capture()
/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/opencv3/samples/cpp/
Dautofocus.cpp46 const char * deviceName; member
248 GlobalArgs.deviceName = "Nikon"; in parseArguments()
295 GlobalArgs.deviceName = arg; in parseArguments()
312 VideoCapture cap(GlobalArgs.deviceName); in main()
315 cout << "Cannot find device " << GlobalArgs.deviceName << endl; in main()
/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/vulkan-validation-layers/libs/vkjson/
Dvkjson_info.cc117 if (device.properties.deviceName == options.device_name) { in Dump()
131 output_file.assign(out_device->properties.deviceName); in Dump()
156 std::cout << " for device " << out_device->properties.deviceName; in Dump()
/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/webrtc/talk/app/webrtc/objc/public/
DRTCVideoCapturer.h34 + (RTCVideoCapturer *)capturerWithDeviceName:(NSString *)deviceName;
/external/webrtc/webrtc/modules/video_capture/
Dvideo_capture_delay.h29 char * deviceName; member
/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/autotest/client/tests/kvm/deps/
Dwhql_submission_15.cs273 string deviceName = d.GetAttribute("name")[0].ToString(); in Main()
274 Console.WriteLine("Setting parameter value to '{0}'", deviceName); in Main()
276 paramValues.Add(deviceName); in Main()
/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/mesa3d/src/glx/
Ddri2.c267 DRI2Connect(Display * dpy, XID window, char **driverName, char **deviceName) in DRI2Connect() argument
318 *deviceName = Xmalloc(rep.deviceNameLength + 1); in DRI2Connect()
319 if (*deviceName == NULL) { in DRI2Connect()
326 _XReadPad(dpy, *deviceName, rep.deviceNameLength); in DRI2Connect()
327 (*deviceName)[rep.deviceNameLength] = '\0'; in DRI2Connect()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java128 msg.putString("SourceDeviceName", srcDevice.deviceName); in onDnsSdServiceAvailable()
153 msg.putString("SourceDeviceName", srcDevice.deviceName); in onDnsSdTxtRecordAvailable()
315 msg.putString("OwnerName", group.getOwner().deviceName); in parseGroupInfo()
424 return d.deviceName.equals(deviceId) || d.deviceAddress.equals(deviceId); in wifiP2pDeviceMatches()

12