Home
last modified time | relevance | path

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

/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()
206 std::vector<SplitConstraints> constraints; in TEST() local
207 constraints.push_back( in TEST()
209 constraints.push_back( in TEST()
212 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/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/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/services/core/java/com/android/server/job/controllers/
DJobStatus.java1283 void dumpConstraints(PrintWriter pw, int constraints) { in dumpConstraints() argument
1284 if ((constraints&CONSTRAINT_CHARGING) != 0) { in dumpConstraints()
1287 if ((constraints& CONSTRAINT_BATTERY_NOT_LOW) != 0) { in dumpConstraints()
1290 if ((constraints& CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()
1293 if ((constraints&CONSTRAINT_TIMING_DELAY) != 0) { in dumpConstraints()
1296 if ((constraints&CONSTRAINT_DEADLINE) != 0) { in dumpConstraints()
1299 if ((constraints&CONSTRAINT_IDLE) != 0) { in dumpConstraints()
1302 if ((constraints&CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()
1305 if ((constraints&CONSTRAINT_CONTENT_TRIGGER) != 0) { in dumpConstraints()
1308 if ((constraints&CONSTRAINT_DEVICE_NOT_DOZING) != 0) { in dumpConstraints()
[all …]
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.h75 SLpermille rate, SLuint32 constraints);
DAudioPlayer_to_android.cpp2014 SLuint32 constraints) { in android_audioPlayer_setPlaybackRateAndConstraints() argument
2021 assert(constraints & SL_RATEPROP_NOPITCHCORAUDIO); in android_audioPlayer_setPlaybackRateAndConstraints()
2033 assert(constraints & SL_RATEPROP_NOPITCHCORAUDIO); in android_audioPlayer_setPlaybackRateAndConstraints()
/frameworks/base/core/proto/android/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/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/base/core/proto/android/server/
Djobscheduler.proto173 // Minimum # of jobs (with no particular constraints) for which the JMS will
235 // Whether or not TimeController will use a non-wakeup alarm for delay constraints.
356 // If the constraints are satisfied, then the controller will mark
456 // If the constraints are satisfied, then the controller will mark
/frameworks/av/media/libstagefright/
DUtils.cpp174 const uint8_t constraints = ptr[2]; in parseAvcProfileLevelFromAvcc() local
214 if (profile == 66 && (constraints & 0x40)) { in parseAvcProfileLevelFromAvcc()
216 } else if (profile == 100 && (constraints & 0x0C) == 0x0C) { in parseAvcProfileLevelFromAvcc()
223 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.
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1074 SLuint32 constraints
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h807 XAuint32 constraints