Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/parser/
Dlanguage_y.yy105 %type<constraint_t> constraint;
326 for (const auto& constraint : constraints) {
327 const auto& constraint_name = constraint.first;
328 const auto& constraint_value = constraint.second;
329 DEBUG() << "Parent constraint on " << constraint_name;
400 for (const auto& constraint : constraints) {
401 const auto& constraint_name = constraint.first;
402 const auto& constraint_value = constraint.second;
403 DEBUG() << "Parent constraint on " << constraint_name;
536 const auto constraint = $3->find(field->GetName());
[all …]
Dstruct_def.cc273 const auto& constraint = parent_constraints_.find(field->GetName()); in GenDefaultConstructor() local
274 if (constraint != parent_constraints_.end()) { in GenDefaultConstructor()
277 s << std::get<int64_t>(constraint->second) << ";"; in GenDefaultConstructor()
279 s << std::get<std::string>(constraint->second) << ";"; in GenDefaultConstructor()
335 const auto& constraint = parent_constraints_.find(field->GetName()); in GenConstructor() local
336 if (constraint != parent_constraints_.end()) { in GenConstructor()
339 s << std::get<int64_t>(constraint->second); in GenConstructor()
341 s << std::get<std::string>(constraint->second); in GenConstructor()
Dgen_cpp.cc241 auto constraint = packet->parent_constraints_.find("command_op_code"); in generate_cpp_headers_one_file() local
242 if (constraint == packet->parent_constraints_.end()) { in generate_cpp_headers_one_file()
246 out_file << "case " << std::get<std::string>(constraint->second) << ":"; in generate_cpp_headers_one_file()
247 op_codes.erase(std::get<std::string>(constraint->second)); in generate_cpp_headers_one_file()
250 op_codes.erase(std::get<std::string>(constraint->second)); in generate_cpp_headers_one_file()
Dpacket_def.cc325 for (const auto& constraint : parent_constraints_) { in GenValidator() local
326 s << "if (Get" << util::UnderscoreToCamelCase(constraint.first) << "() != "; in GenValidator()
327 const auto& field = parent_->GetParamList().GetField(constraint.first); in GenValidator()
329 s << std::get<int64_t>(constraint.second); in GenValidator()
331 s << std::get<std::string>(constraint.second); in GenValidator()
750 const auto& constraint = parent_constraints_.find(field->GetName()); in GenBuilderConstructor() local
751 if (constraint != parent_constraints_.end()) { in GenBuilderConstructor()
753 s << std::get<int64_t>(constraint->second); in GenBuilderConstructor()
755 s << std::get<std::string>(constraint->second); in GenBuilderConstructor()
Dparent_def.cc504 const auto& constraint = parent_constraints_.find(field->GetName()); in GenInstanceOf() local
505 if (constraint != parent_constraints_.end()) { in GenInstanceOf()
508 s << std::get<int64_t>(constraint->second) << ")"; in GenInstanceOf()
511 s << std::get<std::string>(constraint->second) << ")"; in GenInstanceOf()
578 auto constraint = child->parent_constraints_.find(constraint_name); in FindDescendantsWithConstraint() local
579 if (constraint != child->parent_constraints_.end()) { in FindDescendantsWithConstraint()
580 res.insert(std::pair(child, constraint->second)); in FindDescendantsWithConstraint()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAdapter.java161 protected FilterResults performFiltering(final CharSequence constraint) { in performFiltering() argument
166 if (TextUtils.isEmpty(constraint)) { in performFiltering()
171 final String searchText = constraint.toString(); in performFiltering()
230 protected void publishResults(final CharSequence constraint, final FilterResults results) { in publishResults() argument
231 mCurrentConstraint = constraint; in publishResults()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java606 for (CapturedImageConstraint constraint : mPendingImageCaptureConstraints) {
607 if (!constraint.satisfiesConstraint(captureResult)) {
665 for (CapturedImageConstraint constraint : constraints) {
666 if (!constraint.satisfiesConstraint(captureResult)) {
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java227 sb.append(columnInfo.constraint); in buildCreateSql()
535 final String constraint; field in DvrDatabaseHelper.ColumnInfo
541 ColumnInfo(String name, int type, String constraint) { in ColumnInfo() argument
544 this.constraint = constraint; in ColumnInfo()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java445 protected FilterResults performFiltering(CharSequence constraint) { in getFilter()
447 if (TextUtils.isEmpty(constraint)) { in getFilter()
452 String constraintLowerCase = constraint.toString().toLowerCase(); in getFilter()
469 protected void publishResults(CharSequence constraint, FilterResults results) { in getFilter() argument
471 mLastSearchString = constraint; in getFilter()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DColumnInfo.java80 public Builder addConstraint(@ColumnConstraint int constraint) { in addConstraint() argument
81 mConstraints.add(constraint); in addConstraint()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoDatabase.java180 for (String[] constraint: constraints) { in addToTable()
181 createTable.add(constraint); in addToTable()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockCarouselView.kt361 constraintSet.getConstraint(id)?.let { constraint -> in <lambda>() method
362 val layout = constraint.layout in <lambda>()
364 constraint.layout.mWidth == in <lambda>()
372 constraint.layout.widthMax == in <lambda>()
/packages/modules/AdServices/adservices/apk/
Dbuild.gradle108 implementation 'com.android.support.constraint:constraint-layout:2.0.4'
/packages/modules/NeuralNetworks/runtime/test/
DTestValidateOperations.cpp271 TensorRankMutator(const TensorRankConstraint& constraint, in TensorRankMutator() argument
273 : mApplyToIndexes(applyToIndexes.begin(), applyToIndexes.end()), mConstraint(constraint) {}
721 auto constraint = TensorRankConstraint::Exactly(3); in TEST() local
722 auto validMutationSet = constraint.MutationsWithValidRank({operand}); in TEST()
749 auto constraint = TensorRankConstraint::Exactly(3); in TEST() local
750 auto invalidMutations = constraint.MutationsWithInvalidRank({operand}); in TEST()
775 auto constraint = TensorRankConstraint::AtLeast(1); in TEST() local
777 constraint.MutationsWithValidRank({(OperandTypeWithExtraParams)operand}); in TEST()
801 auto constraint = TensorRankConstraint::AtLeast(2); in TEST() local
803 constraint.MutationsWithInvalidRank({(OperandTypeWithExtraParams)operand}); in TEST()
[all …]
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java281 public void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
/packages/modules/AdServices/shared/libraries/device-side/proto/
Djob_policy.proto52 // Set the battery constraint for the job.
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java1984 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt4036 Landroid/icu/text/PluralRules$Rule;->constraint:Landroid/icu/text/PluralRules$Constraint;
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz