Home
last modified time | relevance | path

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

1234

/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/tensorflow/tensorflow/stream_executor/cuda/
Dcudart_stub.cc69 const char *deviceName, int thread_limit, uint3 *tid, uint3 *bid, in __cudaRegisterFunction() argument
72 char *deviceFun, const char *deviceName, in __cudaRegisterFunction()
77 func_ptr(fatCubinHandle, hostFun, deviceFun, deviceName, thread_limit, tid, in __cudaRegisterFunction()
90 const char *deviceName, int ext, in __cudaRegisterVar() argument
94 const char *deviceName, int ext, size_t size, int constant, int global); in __cudaRegisterVar()
97 func_ptr(fatCubinHandle, hostVar, deviceAddress, deviceName, ext, size, in __cudaRegisterVar()
/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/igt-gpu-tools/overlay/x11/
Ddri2.c67 DRI2Connect(Display *dpy, XID window, char **driverName, char **deviceName) in DRI2Connect() argument
105 *deviceName = Xmalloc(rep.deviceNameLength + 1); in DRI2Connect()
106 if (*deviceName == NULL) { in DRI2Connect()
113 _XReadPad(dpy, *deviceName, rep.deviceNameLength); in DRI2Connect()
114 (*deviceName)[rep.deviceNameLength] = '\0'; in DRI2Connect()
/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/OpenCL-CTS/test_conformance/device_partition/
Dtest_device_partition.cpp122 char deviceName[4096] = ""; in create_single_kernel_helper() local
123 error = clGetDeviceInfo(devices[z], CL_DEVICE_NAME, sizeof( deviceName), deviceName, NULL); in create_single_kernel_helper()
124 if (error != CL_SUCCESS || deviceName[0] == '\0') { in create_single_kernel_helper()
153 …CCESS) log_error("Build not successful for device \"%s\", status: %s\n", deviceName, statusString); in create_single_kernel_helper()
156 log_error("Device %d (%s) failed to return a build log\n", z, deviceName); in create_single_kernel_helper()
176 log_error( "Build log for device \"%s\" is: ------------\n", deviceName ); in create_single_kernel_helper()
244 char *deviceName = (char *)alloca(deviceNameSize * (sizeof(char))); in test_device_set() local
245 error = clGetDeviceInfo(devices[i], CL_DEVICE_NAME, deviceNameSize, deviceName, NULL); in test_device_set()
247 log_info("Device %ld is \"%s\".\n", i, deviceName); in test_device_set()
/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_devices.cpp70 char deviceName[4096] = ""; in test_device_set() local
71 error = clGetDeviceInfo(devices[i], CL_DEVICE_NAME, sizeof(deviceName), deviceName, NULL); in test_device_set()
73 log_info("Device %ld is \"%s\".\n", i, deviceName); in test_device_set()
/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);
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/
Dsnapshot_reader.cpp122 m_parsed_device_list[pdev.deviceName] = pdev; // map devices by name in readSnapShot()
256 bool SnapShotReader::getDeviceData(const std::string &deviceName, Parser::Parsed **devData) in getDeviceData() argument
261 it = m_parsed_device_list.find(deviceName); in getDeviceData()
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp910 char deviceName[4096] = ""; in build_program_create_kernel_helper() local
911 error = clGetDeviceInfo(devices[z], CL_DEVICE_NAME, sizeof(deviceName), deviceName, NULL); in build_program_create_kernel_helper()
912 if (error != CL_SUCCESS || deviceName[0] == '\0') in build_program_create_kernel_helper()
948 … log_error("Build not successful for device \"%s\", status: %s\n", deviceName, statusString); in build_program_create_kernel_helper()
963 log_error("Device %d (%s) failed to return a build log\n", z, deviceName); in build_program_create_kernel_helper()
984 log_error("Build log for device \"%s\" is: ------------\n", deviceName); in build_program_create_kernel_helper()
1485 char deviceName[ 512 ], deviceVendor[ 512 ], deviceVersion[ 512 ], cLangVersion[ 512 ]; in printDeviceHeader() local
1488 error = clGetDeviceInfo( device, CL_DEVICE_NAME, sizeof( deviceName ), deviceName, NULL ); in printDeviceHeader()
1501deviceName, deviceVendor, deviceVersion, ( error == CL_SUCCESS ) ? ", CL C Version = " : "", in printDeviceHeader()
/external/tensorflow/tensorflow/go/
Dtensor_handle.go161 func (th *TensorHandle) CopyToDevice(c *Context, deviceName string) (*TensorHandle, error) {
163 n := C.CString(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()
/external/angle/src/libANGLE/renderer/gl/egl/ozone/
DDisplayOzone.cpp435 char deviceName[30]; in initialize() local
439 snprintf(deviceName, sizeof(deviceName), "/dev/dri/card%d", i); in initialize()
440 fd = open(deviceName, O_RDWR | O_CLOEXEC); in initialize()
456 snprintf(deviceName, sizeof(deviceName), "/dev/dri/renderD%d", i); in initialize()
457 fd = open(deviceName, O_RDWR | O_CLOEXEC); in initialize()
/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/objc/public/
DRTCVideoCapturer.h34 + (RTCVideoCapturer *)capturerWithDeviceName:(NSString *)deviceName;
/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/webrtc/modules/video_capture/
Dvideo_capture_delay.h29 char * deviceName; member
/external/webrtc/talk/app/webrtc/objc/
DRTCVideoCapturer.mm41 + (RTCVideoCapturer*)capturerWithDeviceName:(NSString*)deviceName {
42 const std::string& device_name = std::string([deviceName UTF8String]);

1234