Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/external/autotest/client/site_tests/graphics_dEQP/expectations/rogue/
DdEQP-GLES2.capability.NotSupported.bz2 ... 1dEQP-GLES2.capability.extensions.compressed_texture_formats.GL_AMD_compressed_3DC_texture 2dEQP-GLES2
/external/webrtc/webrtc/modules/video_capture/ios/
Ddevice_info_ios_objc.mm55 webrtc::VideoCaptureCapability capability;
60 capability.width = 352;
61 capability.height = 288;
62 capability.maxFPS = 30;
63 capability.expectedCaptureDelay =
65 capability.rawType = webrtc::kVideoNV12;
66 capability.codecType = webrtc::kVideoCodecUnknown;
67 capability.interlaced = false;
69 capability.width = 640;
70 capability.height = 480;
[all …]
Drtc_video_capture_ios_objc.mm136 - (BOOL)startCaptureWithCapability:(const VideoCaptureCapability&)capability {
143 if (capability.maxFPS < 0 || capability.maxFPS > 60) {
148 if (capability.width > 1920 || capability.height > 1080) {
153 if (capability.width > 1280 || capability.height > 720) {
158 if (capability.width > 640 || capability.height > 480) {
163 if (capability.width > 352 || capability.height > 288) {
166 } else if (capability.width < 0 || capability.height < 0) {
170 _capability = capability;
221 // Find the largest supported framerate less than capability maxFPS.
Ddevice_info_ios.mm65 VideoCaptureCapability capability =
67 capabilityVector.push_back(capability);
129 VideoCaptureCapability& capability) {
140 capability = cap;
Dvideo_capture_ios.mm76 const VideoCaptureCapability& capability) {
77 capability_ = capability;
79 if (![capture_device_ startCaptureWithCapability:capability]) {
/external/webrtc/webrtc/modules/video_capture/
Ddevice_info_impl.cc77 VideoCaptureCapability& capability) in GetCapability() argument
116 capability = _captureCapabilities[deviceCapabilityNumber]; in GetCapability()
164 VideoCaptureCapability& capability = _captureCapabilities[tmp]; in GetBestMatchedCapability() local
166 const int32_t diffWidth = capability.width - requested.width; in GetBestMatchedCapability()
167 const int32_t diffHeight = capability.height - requested.height; in GetBestMatchedCapability()
168 const int32_t diffFrameRate = capability.maxFPS - requested.maxFPS; in GetBestMatchedCapability()
199 && (capability.rawType == requested.rawType in GetBestMatchedCapability()
200 || capability.rawType == kVideoI420 in GetBestMatchedCapability()
201 || capability.rawType == kVideoYUY2 in GetBestMatchedCapability()
202 || capability.rawType == kVideoYV12)) in GetBestMatchedCapability()
[all …]
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c348 static void v1_update(capng_act_t action, unsigned int capability, __u32 *data) in v1_update() argument
351 *data |= MASK(capability); in v1_update()
353 *data &= ~(MASK(capability)); in v1_update()
356 static void update_effective(capng_act_t action, unsigned int capability, in update_effective() argument
360 m.data.v3[idx].effective |= MASK(capability); in update_effective()
362 m.data.v3[idx].effective &= ~(MASK(capability)); in update_effective()
365 static void update_permitted(capng_act_t action, unsigned int capability, in update_permitted() argument
369 m.data.v3[idx].permitted |= MASK(capability); in update_permitted()
371 m.data.v3[idx].permitted &= ~(MASK(capability)); in update_permitted()
374 static void update_inheritable(capng_act_t action, unsigned int capability, in update_inheritable() argument
[all …]
Dcap-ng.h55 int capng_update(capng_act_t action, capng_type_t type,unsigned int capability);
57 unsigned int capability, ...);
70 int capng_have_capability(capng_type_t which, unsigned int capability);
78 const char *capng_capability_to_name(unsigned int capability);
Dlookup_table.c107 const char *capng_capability_to_name(unsigned int capability) in capng_capability_to_name() argument
109 if (!cap_valid(capability)) in capng_capability_to_name()
113 CAP_NG_CAPABILITY_NAMES, capability); in capng_capability_to_name()
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc150 void SetExpectedCapability(VideoCaptureCapability capability) { in SetExpectedCapability() argument
152 capability_= capability; in SetExpectedCapability()
170 VideoCaptureCapability capability() { in capability() function in TestVideoCaptureCallback
263 VideoCaptureCapability capability) { in StartCapture() argument
264 ASSERT_EQ(0, capture_module->StartCapture(capability)); in StartCapture()
269 EXPECT_EQ(capability.width, resulting_capability.width); in StartCapture()
270 EXPECT_EQ(capability.height, resulting_capability.height); in StartCapture()
292 VideoCaptureCapability capability; in TEST_F() local
294 device_info_->GetCapability(module->CurrentDeviceName(), 0, capability); in TEST_F()
296 capability.width = kTestWidth; in TEST_F()
[all …]
/external/webrtc/webrtc/modules/video_capture/windows/
Ddevice_info_ds.cc529 VideoCaptureCapabilityWindows capability; in CreateCapabilityMap() local
537 capability.directShowCapabilityIndex = tmp; in CreateCapabilityMap()
538 capability.width = h->bmiHeader.biWidth; in CreateCapabilityMap()
539 capability.height = h->bmiHeader.biHeight; in CreateCapabilityMap()
547 capability.directShowCapabilityIndex = tmp; in CreateCapabilityMap()
548 capability.width = h->bmiHeader.biWidth; in CreateCapabilityMap()
549 capability.height = h->bmiHeader.biHeight; in CreateCapabilityMap()
550 capability.interlaced = h->dwInterlaceFlags in CreateCapabilityMap()
562 size.cx = capability.width; in CreateCapabilityMap()
563 size.cy = capability.height; in CreateCapabilityMap()
[all …]
Dvideo_capture_ds.cc154 const VideoCaptureCapability& capability) in StartCapture() argument
158 if (capability != _requestedCapability) in StartCapture()
162 if (SetCameraOutput(capability) != 0) in StartCapture()
216 VideoCaptureCapability capability; in SetCameraOutput() local
224 capability)) < 0) in SetCameraOutput()
229 if (capability.maxFPS > requestedCapability.maxFPS) in SetCameraOutput()
231 capability.maxFPS = requestedCapability.maxFPS; in SetCameraOutput()
232 } else if (capability.maxFPS <= 0) in SetCameraOutput()
234 capability.maxFPS = 30; in SetCameraOutput()
237 _captureDelay = capability.expectedCaptureDelay; in SetCameraOutput()
[all …]
/external/clang/test/Sema/
Dattr-capabilities.c3 typedef int __attribute__((capability("role"))) ThreadRole;
8 union __attribute__((capability("mutex"))) MutexUnion { int a; char* b; };
9 typedef union { int a; char* b; } __attribute__((capability("mutex"))) MutexUnion2;
12 struct __attribute__((capability("wrong"))) IncorrectName {}; // expected-warning {{invalid capabil…
14 int Test1 __attribute__((capability("test1"))); // expected-error {{'capability' attribute only ap…
20 struct __attribute__((capability(12))) Test3 {}; // expected-error {{'capability' attribute require…
23 struct __attribute__((capability)) Test5 {}; // expected-error {{'capability' attribute takes one a…
/external/tlsdate/
Dapparmor-profile15 capability sys_time,
16 capability setgid,
17 capability setuid,
18 capability sys_chroot,
76 capability sys_time,
77 capability setgid,
78 capability setuid,
79 capability sys_chroot,
133 capability sys_time,
134 capability setgid,
[all …]
/external/webrtc/webrtc/modules/video_capture/linux/
Dvideo_capture_linux.cc123 const VideoCaptureCapability& capability) in StartCapture() argument
127 if (capability.width == _currentWidth && in StartCapture()
128 capability.height == _currentHeight && in StartCapture()
129 _captureVideoType == capability.rawType) in StartCapture()
156 if (capability.width > 640 || capability.height > 480) { in StartCapture()
209 video_fmt.fmt.pix.width = capability.width; in StartCapture()
210 video_fmt.fmt.pix.height = capability.height; in StartCapture()
248 if (streamparms.parm.capture.capability == V4L2_CAP_TIMEPERFRAME) { in StartCapture()
253 streamparms.parm.capture.timeperframe.denominator = capability.maxFPS; in StartCapture()
259 _currentFrameRate = capability.maxFPS; in StartCapture()
/external/clang/docs/
DThreadSafetyAnalysis.rst103 read/write the data) unless it has the *capability* to do so.
106 methods to acquire and release the capability. The name of the object serves
107 to identify the capability. The most common example is a mutex. For example,
109 to acquire the capability to access data that is protected by ``mu``. Similarly,
110 calling ``mu.Unlock()`` releases that capability.
112 A thread may hold a capability either *exclusively* or *shared*. An exclusive
113 capability can be held by only one thread at a time, while a shared capability
121 security keys, a thread cannot make copy of a capability, nor can it destroy
122 one. A thread can only release a capability to another thread, or acquire one
130 by calculating an approximation of that set, called the *capability
[all …]
/external/tpm2/
DTpmFail.c45 TPM_CAP capability; // Always TPM_CAP_TPM_PROPERTIES member
191 UINT32 capability; in TpmFailureMode() local
228 || (UINT32_Unmarshal(&capability, &inRequest, in TpmFailureMode()
231 || (capability != TPM_CAP_TPM_PROPERTIES) in TpmFailureMode()
267 marshalSize += MarshalUint32(capability, &buffer, &bufferSize); in TpmFailureMode()
DGetCapability.c28 out->capabilityData.capability = in->capability; in TPM2_GetCapability()
30 switch(in->capability) in TPM2_GetCapability()
/external/libcap/libcap/
Dlibcap.h39 # error Kernel <linux/capability.h> does not support library
44 # warning Kernel <linux/capability.h> does not support 64-bit capabilities
57 # error Kernel <linux/capability.h> v3 does not match library
66 # error Kernel <linux/capability.h> does not match library
DMakefile54 cap_names.list.h: Makefile $(KERNEL_HEADERS)/linux/capability.h
56 …r/A-Z/a-z/; print "{\"$$tok\",$$val},\n"; } }' $(KERNEL_HEADERS)/linux/capability.h | fgrep -v 0x …
75 install -m 0644 include/sys/capability.h $(FAKEROOT)$(INCDIR)/sys
/external/selinux/sepolgen/tests/
Daudit.txt1 …} for pid=8132 comm="sh" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
3 …d=8133 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
4 …d=8133 comm="vpnc-script" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
6 …d=8134 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
7 …d=8134 comm="vpnc-script" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
9 …} for pid=8144 comm="sh" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
10 …} for pid=8144 comm="sh" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
12 …d=8145 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
13 …d=8145 comm="vpnc-script" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
15 …d=8146 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r…
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_plugin.py30 capability = ['google-oauth2', 's3'] variable in OAuth2Auth
49 capability = ['google-oauth2', 's3'] variable in OAuth2ServiceAccountAuth
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dplugin.py47 capability = [] variable in Plugin
54 if c not in cls.capability:
/external/autotest/client/site_tests/graphics_dEQP/
Dcontrol.gles2.capability7 NAME = 'graphics_dEQP.gles2.capability'
21 job.run_test('graphics_dEQP', opts = args + ['filter=dEQP-GLES2.capability',
Dcontrol.gles2.capability.NotPass7 NAME = 'graphics_dEQP.gles2.capability.NotPass'
22 job.run_test('graphics_dEQP', opts = args + ['filter=dEQP-GLES2.capability',

12345678910>>...13