Home
last modified time | relevance | path

Searched refs:constraints (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp37 #define EXPECT_CONFIG_EQ(constraints, config) \ argument
38 EXPECT_EQ(constraints.configs.size(), 1); \
39 EXPECT_EQ(*constraints.configs.begin(), config); \
40 constraints.configs.clear();
167 diagnostics, &path, &constraints)); in TEST()
171 EXPECT_CONFIG_EQ(constraints, expected_configuration); in TEST()
174 diagnostics, &path, &constraints)); in TEST()
178 EXPECT_CONFIG_EQ(constraints, expected_configuration); in TEST()
181 diagnostics, &path, &constraints)); in TEST()
186 EXPECT_CONFIG_EQ(constraints, expected_configuration); in TEST()
[all …]
DUtil.cpp122 for (const SplitConstraints& constraints : split_constraints) { in AdjustSplitConstraintsForMinSdk() local
124 for (const ConfigDescription& config : constraints.configs) { in AdjustSplitConstraintsForMinSdk()
133 constraint.name = constraints.name; in AdjustSplitConstraintsForMinSdk()
176 const SplitConstraints& constraints) { in GenerateSplitManifest() argument
216 for (const auto &config : constraints.configs) { in GenerateSplitManifest()
232 target_config_str << util::Joiner(constraints.configs, ","); in GenerateSplitManifest()
DUtil.h59 const SplitConstraints& constraints);
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp123 std::vector<SplitConstraints> constraints; in TEST() local
124 constraints.push_back(SplitConstraints{{test::ParseConfigOrDie("mdpi")}}); in TEST()
125 constraints.push_back(SplitConstraints{{test::ParseConfigOrDie("hdpi")}}); in TEST()
126 constraints.push_back(SplitConstraints{{test::ParseConfigOrDie("xhdpi")}}); in TEST()
128 TableSplitter splitter(constraints, TableSplitterOptions{}); in TEST()
214 std::vector<SplitConstraints> constraints; in TEST() local
215 constraints.push_back( in TEST()
217 constraints.push_back( in TEST()
220 TableSplitter splitter(constraints, TableSplitterOptions{}); in TEST()
DTableSplitter.cpp51 explicit SplitValueSelector(const SplitConstraints& constraints) { in SplitValueSelector() argument
52 for (const ConfigDescription& config : constraints.configs) { in SplitValueSelector()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1379 private void addDynamicConstraints(int constraints) { in addDynamicConstraints() argument
1380 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in addDynamicConstraints()
1383 constraints &= ~CONSTRAINT_WITHIN_QUOTA; in addDynamicConstraints()
1390 constraints &= ~CONSTRAINT_CONNECTIVITY; in addDynamicConstraints()
1393 constraints &= ~CONSTRAINT_CONTENT_TRIGGER; in addDynamicConstraints()
1396 mDynamicConstraints |= constraints; in addDynamicConstraints()
1407 private void removeDynamicConstraints(int constraints) { in removeDynamicConstraints() argument
1408 mDynamicConstraints &= ~constraints; in removeDynamicConstraints()
1683 void dumpConstraints(PrintWriter pw, int constraints) { in dumpConstraints() argument
1684 if ((constraints&CONSTRAINT_CHARGING) != 0) { in dumpConstraints()
[all …]
/frameworks/wilhelm/src/itf/
DIPlaybackRate.cpp72 static SLresult IPlaybackRate_SetPropertyConstraints(SLPlaybackRateItf self, SLuint32 constraints) in IPlaybackRate_SetPropertyConstraints() argument
77 if (constraints & ~(SL_RATEPROP_SILENTAUDIO | SL_RATEPROP_STAGGEREDAUDIO | in IPlaybackRate_SetPropertyConstraints()
81 } else if (!(thiz->mCapabilities & constraints)) { in IPlaybackRate_SetPropertyConstraints()
91 constraints); in IPlaybackRate_SetPropertyConstraints()
99 thiz->mProperties = constraints; in IPlaybackRate_SetPropertyConstraints()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java476 @NonNull ParagraphConstraints constraints, in computeLineBreaks() argument
485 constraints.mFirstWidth, in computeLineBreaks()
486 constraints.mFirstWidthLineCount, in computeLineBreaks()
487 constraints.mWidth, in computeLineBreaks()
488 constraints.mVariableTabStops, in computeLineBreaks()
489 constraints.mDefaultTabStop, in computeLineBreaks()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.h75 SLpermille rate, SLuint32 constraints);
DAudioPlayer_to_android.cpp2019 SLuint32 constraints) { in android_audioPlayer_setPlaybackRateAndConstraints() argument
2026 assert(constraints & SL_RATEPROP_NOPITCHCORAUDIO); in android_audioPlayer_setPlaybackRateAndConstraints()
2038 assert(constraints & SL_RATEPROP_NOPITCHCORAUDIO); in android_audioPlayer_setPlaybackRateAndConstraints()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp376 const VsyncPeriodChangeConstraints& constraints, in setActiveConfigWithConstraints() argument
382 hwc2Constraints.desiredTimeNanos = constraints.desiredTimeNanos; in setActiveConfigWithConstraints()
383 hwc2Constraints.seamlessRequired = constraints.seamlessRequired; in setActiveConfigWithConstraints()
397 if (constraints.desiredTimeNanos > now || constraints.seamlessRequired) { in setActiveConfigWithConstraints()
402 outTimeline->newVsyncAppliedTimeNanos = std::max(now, constraints.desiredTimeNanos); in setActiveConfigWithConstraints()
DHWC2.h141 hal::HWConfigId configId, const hal::VsyncPeriodChangeConstraints& constraints,
205 const hal::VsyncPeriodChangeConstraints& constraints,
DHWComposer.cpp658 const hal::VsyncPeriodChangeConstraints& constraints, in setActiveModeWithConstraints() argument
663 constraints, in setActiveModeWithConstraints()
/frameworks/proto_logging/stats/enums/server/job/
Denums.proto27 // Set of constraints that a job potentially needs satisfied before it can run.
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp261 jobject constraints = NULL; in android_drm_DrmManagerClient_getConstraintsFromContent() local
265 constraints = env->NewObject(localRef, ContentValues_constructor); in android_drm_DrmManagerClient_getConstraintsFromContent()
278 env->CallVoidMethod(constraints, ContentValues_putByteArray, in android_drm_DrmManagerClient_getConstraintsFromContent()
285 env->CallVoidMethod(constraints, ContentValues_putString, in android_drm_DrmManagerClient_getConstraintsFromContent()
293 return constraints; in android_drm_DrmManagerClient_getConstraintsFromContent()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp161 const hal::VsyncPeriodChangeConstraints& constraints, in initiateModeChange() argument
169 return mHwComposer.setActiveModeWithConstraints(getPhysicalId(), mode->getHwcId(), constraints, in initiateModeChange()
DDisplayDevice.h177 const hal::VsyncPeriodChangeConstraints& constraints,
DSurfaceFlinger.cpp1264 hal::VsyncPeriodChangeConstraints constraints; in performSetActiveMode() local
1265 constraints.desiredTimeNanos = systemTime(); in performSetActiveMode()
1266 constraints.seamlessRequired = false; in performSetActiveMode()
1270 display->initiateModeChange(mUpcomingActiveMode.modeId, constraints, &outTimeline); in performSetActiveMode()
6479 hal::VsyncPeriodChangeConstraints constraints; in setDesiredDisplayModeSpecsInternal() local
6480 constraints.desiredTimeNanos = systemTime(); in setDesiredDisplayModeSpecsInternal()
6481 constraints.seamlessRequired = false; in setDesiredDisplayModeSpecsInternal()
6484 if (display->initiateModeChange(policy->defaultMode, constraints, &timeline) != NO_ERROR) { in setDesiredDisplayModeSpecsInternal()
/frameworks/base/core/java/android/text/
DStaticLayout.java650 LineBreaker.ParagraphConstraints constraints = in generate()
759 constraints.setWidth(restWidth); in generate()
760 constraints.setIndent(firstWidth, firstWidthLineCount); in generate()
761 constraints.setTabStops(variableTabStops, TAB_INCREMENT); in generate()
764 measuredPara.getMeasuredText(), constraints, mLineCount); in generate()
/frameworks/av/drm/drmserver/
DDrmManager.cpp275 DrmConstraints *constraints = NULL; in getConstraints() local
279 constraints = rDrmEngine.getConstraints(uniqueId, path, action); in getConstraints()
281 if (NULL != constraints) { in getConstraints()
284 return constraints; in getConstraints()
/frameworks/base/packages/SystemUI/docs/
Dbroadcasts.md31 …adcastReceiver` (not declared in `AndroidManifest`) that satisfies the constraints above, use the …
66 * @throws IllegalArgumentException if the filter has other constraints that are not actions or
/frameworks/base/core/proto/android/server/
Djobscheduler.proto360 // Whether or not TimeController will use a non-wakeup alarm for delay constraints.
419 // If the constraints are satisfied, then the controller will mark
525 // If the constraints are satisfied, then the controller will mark
1015 // Dynamic constraints are additional constraints imposed by the system that MUST be met before
1031 // True if dynamic constraints have been satisfied.
/frameworks/av/media/libstagefright/
DUtils.cpp184 const uint8_t constraints = ptr[2]; in parseAvcProfileLevelFromAvcc() local
224 if (profile == 66 && (constraints & 0x40)) { in parseAvcProfileLevelFromAvcc()
226 } else if (profile == 100 && (constraints & 0x0C) == 0x0C) { in parseAvcProfileLevelFromAvcc()
233 codecLevel = (constraints & 0x10) ? OMX_VIDEO_AVCLevel1b : OMX_VIDEO_AVCLevel11; in parseAvcProfileLevelFromAvcc()
/frameworks/compile/libbcc/
DREADME.rst17 design constraints.
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript404 // constraints of nextafter.

12