Home
last modified time | relevance | path

Searched refs:restrictions (Results 1 – 25 of 592) sorted by relevance

12345678910>>...24

/external/webrtc/call/adaptation/
Dresource_adaptation_processor_unittest.cc50 VideoSourceRestrictions restrictions() const { in restrictions() function in webrtc::__anon744c86d00111::VideoSourceRestrictionsListenerForTesting
65 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() argument
71 restrictions_ = restrictions; in OnVideoSourceRestrictionsUpdated()
116 void RestrictSource(VideoSourceRestrictions restrictions) { in RestrictSource() argument
118 true, restrictions.max_frame_rate().value_or(kDefaultFrameRate), in RestrictSource()
119 restrictions.target_pixels_per_frame().has_value() in RestrictSource()
120 ? restrictions.target_pixels_per_frame().value() in RestrictSource()
121 : restrictions.max_pixels_per_frame().value_or(kDefaultFrameSize)); in RestrictSource()
187 restrictions_listener_.restrictions().max_pixels_per_frame().has_value()); in TEST_F()
198 restrictions_listener_.restrictions().max_frame_rate().has_value()); in TEST_F()
[all …]
Dvideo_stream_adapter.cc79 const VideoSourceRestrictions& restrictions) { in CanDecreaseResolutionTo() argument
81 rtc::dchecked_cast<int>(restrictions.max_pixels_per_frame().value_or( in CanDecreaseResolutionTo()
88 const VideoSourceRestrictions& restrictions) { in CanIncreaseResolutionTo() argument
91 rtc::dchecked_cast<int>(restrictions.max_pixels_per_frame().value_or( in CanIncreaseResolutionTo()
97 const VideoSourceRestrictions& restrictions) { in CanDecreaseFrameRateTo() argument
100 rtc::dchecked_cast<int>(restrictions.max_frame_rate().value_or( in CanDecreaseFrameRateTo()
105 const VideoSourceRestrictions& restrictions) { in CanIncreaseFrameRateTo() argument
107 rtc::dchecked_cast<int>(restrictions.max_frame_rate().value_or( in CanIncreaseFrameRateTo()
162 VideoSourceRestrictions restrictions, in Adaptation() argument
170 restrictions_(std::move(restrictions)), in Adaptation()
[all …]
Dresource_adaptation_processor.cc190 most_limited.counters, most_limited.restrictions); in RemoveLimitationsImposedByResource()
196 << most_limited.restrictions.ToString() << " with counters " in RemoveLimitationsImposedByResource()
285 UpdateResourceLimitations(reason_resource, adaptation.restrictions(), in OnResourceUnderuse()
325 UpdateResourceLimitations(reason_resource, adaptation.restrictions(), in OnResourceOveruse()
363 const VideoSourceRestrictions& restrictions, in UpdateResourceLimitations() argument
366 if (adaptation_limits.restrictions == restrictions && in UpdateResourceLimitations()
370 adaptation_limits = {restrictions, counters}; in UpdateResourceLimitations()
383 VideoSourceRestrictions restrictions, in OnVideoSourceRestrictionsUpdated() argument
Dvideo_stream_adapter.h45 VideoSourceRestrictions restrictions,
89 const VideoSourceRestrictions& restrictions() const;
99 VideoSourceRestrictions restrictions,
159 const VideoSourceRestrictions& restrictions);
171 VideoSourceRestrictions restrictions; member
Dvideo_stream_adapter_unittest.cc113 auto restrictions = adapter_->source_restrictions(); in ApplyAdaptation() local
114 if (restrictions.target_pixels_per_frame().has_value()) { in ApplyAdaptation()
115 RTC_DCHECK(!restrictions.max_pixels_per_frame().has_value() || in ApplyAdaptation()
116 restrictions.max_pixels_per_frame().value() >= in ApplyAdaptation()
117 restrictions.target_pixels_per_frame().value()); in ApplyAdaptation()
118 input_pixels_ = restrictions.target_pixels_per_frame().value(); in ApplyAdaptation()
119 } else if (restrictions.max_pixels_per_frame().has_value()) { in ApplyAdaptation()
120 input_pixels_ = restrictions.max_pixels_per_frame().value(); in ApplyAdaptation()
122 if (restrictions.max_frame_rate().has_value()) { in ApplyAdaptation()
123 input_fps_ = restrictions.max_frame_rate().value(); in ApplyAdaptation()
[all …]
Dresource_adaptation_processor.h81 VideoSourceRestrictions restrictions,
131 const VideoSourceRestrictions& restrictions,
/external/webrtc/pc/
Dsdp_serializer_unittest.cc92 ExpectEqual(expected.restrictions, actual.restrictions); in ExpectEqual()
334 rid_description.restrictions["max-width"] = "1280"; in TEST_F()
335 rid_description.restrictions["max-height"] = "720"; in TEST_F()
344 rid_description.restrictions["max-mbps"] = "108000"; in TEST_F()
345 rid_description.restrictions["max-br"] = "64000"; in TEST_F()
355 rid_description.restrictions["max-width"] = "1280"; in TEST_F()
356 rid_description.restrictions["max-height"] = "720"; in TEST_F()
357 rid_description.restrictions["max-myval"] = ""; in TEST_F()
391 rid_description.restrictions["max-height"] = "720"; in TEST_F()
398 rid_description.restrictions["max-height"] = "720"; in TEST_F()
[all …]
Dsdp_serializer.cc147 if (!rid_description->restrictions.empty()) { in ParseRidPayloadList()
277 const auto& restrictions = rid_description.restrictions; in SerializeRidDescription() local
294 for (const auto& pair : restrictions) { in SerializeRidDescription()
347 std::vector<std::string> restrictions; in DeserializeRidDescription() local
348 rtc::tokenize(tokens[2], kDelimiterSemicolonChar, &restrictions); in DeserializeRidDescription()
351 if (restrictions.empty()) { in DeserializeRidDescription()
356 for (const std::string& restriction : restrictions) { in DeserializeRidDescription()
378 if (rid_description.restrictions.find(parts[0]) != in DeserializeRidDescription()
379 rid_description.restrictions.end()) { in DeserializeRidDescription()
383 rid_description.restrictions[parts[0]] = in DeserializeRidDescription()
/external/webrtc/video/
Dvideo_source_sink_controller_unittest.cc59 EXPECT_EQ(controller.restrictions(), VideoSourceRestrictions()); in TEST()
82 VideoSourceRestrictions restrictions = controller.restrictions(); in TEST() local
84 restrictions.set_max_pixels_per_frame(42u); in TEST()
86 restrictions.set_target_pixels_per_frame(200u); in TEST()
88 restrictions.set_max_frame_rate(30.0); in TEST()
89 controller.SetRestrictions(restrictions); in TEST()
Dvideo_source_sink_controller.cc72 VideoSourceRestrictions VideoSourceSinkController::restrictions() const { in restrictions() function in webrtc::VideoSourceSinkController
100 VideoSourceRestrictions restrictions) { in SetRestrictions() argument
102 restrictions_ = std::move(restrictions); in SetRestrictions()
Dvideo_source_sink_controller.h39 VideoSourceRestrictions restrictions() const;
47 void SetRestrictions(VideoSourceRestrictions restrictions);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java65 Bundle restrictions = new Bundle(); in testGetApplicationRestrictions() local
66 restrictions.putCharSequence("test_key", "test_value"); in testGetApplicationRestrictions()
67 shadowOf(userManager).setApplicationRestrictions(packageName, restrictions); in testGetApplicationRestrictions()
108 Bundle restrictions = userManager.getUserRestrictions(); in getUserRestrictions() local
109 assertThat(restrictions.size()).isEqualTo(1); in getUserRestrictions()
110 assertThat(restrictions.getBoolean(UserManager.ENSURE_VERIFY_APPS)).isTrue(); in getUserRestrictions()
113 restrictions.putBoolean("something", true); in getUserRestrictions()
114 restrictions = userManager.getUserRestrictions(); in getUserRestrictions()
115 assertThat(restrictions.size()).isEqualTo(1); in getUserRestrictions()
127 Bundle restrictions = userManager.getUserRestrictions(); in setUserRestrictions() local
[all …]
DShadowDevicePolicyManagerTest.java249 Bundle restrictions = userManager.getUserRestrictions(); in addUserRestrictionShouldWorkAsIntendedForDeviceOwner() local
250 assertThat(restrictions.getBoolean(restrictionKey)).isTrue(); in addUserRestrictionShouldWorkAsIntendedForDeviceOwner()
266 Bundle restrictions = userManager.getUserRestrictions(); in addUserRestrictionShouldWorkAsIntendedForProfileOwner() local
267 assertThat(restrictions.getBoolean(restrictionKey)).isTrue(); in addUserRestrictionShouldWorkAsIntendedForProfileOwner()
284 Bundle restrictions = userManager.getUserRestrictions(); in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins() local
285 assertThat(restrictions.getBoolean(restrictionKey)).isFalse(); in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins()
496 Bundle restrictions = new Bundle(); in setApplicationRestrictionsShouldWorkAsIntendedForDeviceOwner() local
497 restrictions.putString("key", "value"); in setApplicationRestrictionsShouldWorkAsIntendedForDeviceOwner()
504 devicePolicyManager.setApplicationRestrictions(testComponent, app, restrictions); in setApplicationRestrictionsShouldWorkAsIntendedForDeviceOwner()
518 Bundle restrictions = new Bundle(); in setApplicationRestrictionsShouldWorkAsIntendedForProfileOwner() local
[all …]
/external/ltp/testcases/kernel/security/prot_hsymlinks/
DREADME4 symlinks restrictions.
8 The aim of the tests is to check the restrictions
11 This security restrictions were added in Linux 3.6 and enabled by default,
17 This test enables restrictions and checks following preconditions:
/external/webrtc/media/base/
Drid_description.cc25 restrictions == other.restrictions; in operator ==()
/external/go-cmp/cmp/internal/teststructs/
Dproject4.go93 restrictions pb.Restrictions member
109 func (hq Headquarter) Restrictions() pb.Restrictions { return hq.restrictions }
124 func (hq *Headquarter) SetRestrictions(x pb.Restrictions) { hq.restrictions = x }
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTestCase.cpp2514 } restrictions[] = in checkShaderResourceUsage() local
2532 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(restrictions); ++ndx) in checkShaderResourceUsage()
2533 allOk &= checkLimit(restrictions[ndx].pname, restrictions[ndx].usage, gl, log); in checkShaderResourceUsage()
2544 } restrictions[] = in checkShaderResourceUsage() local
2561 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(restrictions); ++ndx) in checkShaderResourceUsage()
2562 allOk &= checkLimit(restrictions[ndx].pname, restrictions[ndx].usage, gl, log); in checkShaderResourceUsage()
2573 } restrictions[] = in checkShaderResourceUsage() local
2588 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(restrictions); ++ndx) in checkShaderResourceUsage()
2589 allOk &= checkLimit(restrictions[ndx].pname, restrictions[ndx].usage, gl, log); in checkShaderResourceUsage()
2601 } restrictions[] = in checkShaderResourceUsage() local
[all …]
/external/python/cpython2/Tools/msi/
Dcrtlicense.txt15 Distributable Code, you must comply with the restrictions on
39 These restrictions apply only to the Microsoft Distributable Code as
/external/python/cpython3/PC/
Dcrtlicense.txt12 Distributable Code, you must comply with the restrictions on
36 These restrictions apply only to the Microsoft Distributable Code as
/external/libcap/pam_cap/
DLicense25 the GNU LGPL are required INSTEAD OF the above restrictions. (This
27 and the restrictions contained in a BSD-style copyright.)
/external/libcap/doc/values/
D2.txt1 Allows a process to override all DAC restrictions
D3.txt4 doesn't override MAC and DAC restrictions.
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/
DCHANGES17 *) Lifted max restrictions for CPython and Jython as well.
19 *) Lifted max restrictions for pypy versions. Added pypy3 support.
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java97 Bundle restrictions = new Bundle(); in testGetApplicationRestrictions() local
98 restrictions.putCharSequence("test_key", "test_value"); in testGetApplicationRestrictions()
99 shadowOf(userManager).setApplicationRestrictions(packageName, restrictions); in testGetApplicationRestrictions()
157 Bundle restrictions = userManager.getUserRestrictions(); in getUserRestrictions() local
158 assertThat(restrictions.size()).isEqualTo(1); in getUserRestrictions()
159 assertThat(restrictions.getBoolean(UserManager.ENSURE_VERIFY_APPS)).isTrue(); in getUserRestrictions()
162 restrictions.putBoolean("something", true); in getUserRestrictions()
163 restrictions = userManager.getUserRestrictions(); in getUserRestrictions()
164 assertThat(restrictions.size()).isEqualTo(1); in getUserRestrictions()
/external/clang/
DNOTICE48 This file will describe the copyrights, license, and restrictions which apply
58 licenses, and/or restrictions:

12345678910>>...24