/aosp12/frameworks/native/libs/ui/tests/ |
H A D | Rect_test.cpp | 185 Rect intersection; in TEST() local 188 intersection.makeInvalid(); in TEST() 190 EXPECT_EQ(Rect(10, 20, 50, 60), intersection); in TEST() 194 intersection.makeInvalid(); in TEST() 196 EXPECT_EQ(insideRect, intersection); in TEST() 199 intersection.makeInvalid(); in TEST() 201 EXPECT_EQ(insideRect, intersection); in TEST() 204 intersection.makeInvalid(); in TEST() 206 EXPECT_TRUE(intersection.isEmpty()); in TEST() 210 intersection.makeInvalid(); in TEST() [all …]
|
/aosp12/frameworks/av/media/libaudiofoundation/include/media/ |
H A D | AudioContainers.h | 46 std::vector<T> intersection; in Intersection() local 49 std::back_inserter(intersection)); in Intersection() 50 return intersection; in Intersection() 55 std::set<T> intersection; in SetIntersection() local 58 std::inserter(intersection, intersection.begin())); in SetIntersection() 59 return intersection; in SetIntersection()
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | FloatRect.h | 34 FloatRect intersection = { in intersect() local 42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect() 45 return intersection; in intersect()
|
/aosp12/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | FloatRect.h | 34 FloatRect intersection = { in intersect() local 42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect() 45 return intersection; in intersect()
|
/aosp12/frameworks/native/include/ui/ |
H A D | FloatRect.h | 34 FloatRect intersection = { in intersect() local 42 if (intersection.getWidth() < 0 || intersection.getHeight() < 0) { in intersect() 45 return intersection; in intersect()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/tests/apitest/ |
H A D | auto-generate-resources.py | 208 intersection = removed_resources.intersection(mapping) 209 if len(intersection) > 0: 210 … print('Usage of removed resources detected\n'+ '\n'.join(map(lambda x: str(x), intersection)))
|
/aosp12/bionic/tools/versioner/src/ |
H A D | versioner.cpp | 274 std::vector<T> intersection; in Intersection() local 275 std::set_intersection(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(intersection)); in Intersection() 276 return intersection; in Intersection() 298 auto intersection = Intersection(compilation_types, inline_def_it.second); in checkSymbol() local 299 if (!intersection.empty()) { in checkSymbol() 302 fprintf(stderr, " declarations visible in: %s\n", Join(intersection, ", ").c_str()); in checkSymbol()
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | partition_cow_creator.cpp | 62 auto intersection = Intersect(partition_extent.get(), e); in HasExtent() local 63 if (intersection != nullptr && intersection->num_sectors() == e->num_sectors()) { in HasExtent()
|
/aosp12/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
H A D | config_update_utils.cpp | 473 set<int64_t> intersection; in determineMetricUpdateStatus() local 476 inserter(intersection, intersection.begin())); in determineMetricUpdateStatus() 477 if (intersection.size() > 0) { in determineMetricUpdateStatus() 483 inserter(intersection, intersection.begin())); in determineMetricUpdateStatus() 484 if (intersection.size() > 0) { in determineMetricUpdateStatus() 489 replacedStates.end(), inserter(intersection, intersection.begin())); in determineMetricUpdateStatus() 490 if (intersection.size() > 0) { in determineMetricUpdateStatus()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | SystemVibrator.java | 318 int intersection = ~0; in capabilitiesIntersection() local 320 intersection &= info.getCapabilities(); in capabilitiesIntersection() 322 return intersection; in capabilitiesIntersection()
|
/aosp12/frameworks/minikin/libs/minikin/ |
H A D | MeasuredText.cpp | 295 const Range targetRange = Range::intersection(runRange, range); in buildLayout() 316 run->getBounds(textBuf, Range::intersection(runRange, range), layoutPieces); in getBounds() 332 run->getExtent(textBuf, Range::intersection(runRange, range), layoutPieces); in getExtent()
|
H A D | FontCollection.cpp | 550 FamilyMatchResult intersection = in itemize() local 552 if (intersection.empty()) { in itemize() 555 lastFamilyIndices = intersection; in itemize()
|
/aosp12/frameworks/base/test-runner/src/android/test/ |
H A D | MoreAsserts.java | 226 Set<Object> intersection = new HashSet<Object>(expected); in assertEquals() local 227 intersection.retainAll(actual); in assertEquals() 232 + "\nIntersection: " + intersection); in assertEquals()
|
/aosp12/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 296 Vector<String16> intersection; in listServices() local 298 protoServices.end(), std::back_inserter(intersection)); in listServices() 299 services = std::move(intersection); in listServices()
|
/aosp12/build/soong/scripts/hiddenapi/ |
H A D | generate_hiddenapi_lists.py | 90 HAS_NO_API_LIST_ASSIGNED = lambda api, flags: not FLAGS_API_LIST_SET.intersection(flags) 230 return api_subset.intersection(self.filter_apis(HAS_NO_API_LIST_ASSIGNED))
|
/aosp12/packages/apps/Car/tests/tools/rro/ |
H A D | generate-overlays.py | 59 resources = resources.intersection(
|
/aosp12/bionic/libc/tools/ |
H A D | check-symbols-glibc.py | 250 for symbol in sorted((posix.intersection(glibc)).difference(bionic)):
|
/aosp12/build/make/ |
H A D | help.sh | 39 Build the intersection of the two given arguments
|
/aosp12/frameworks/minikin/include/minikin/ |
H A D | Range.h | 76 inline static Range intersection(const Range& left, const Range& right) { in intersection() function
|
/aosp12/system/sepolicy/tests/ |
H A D | policy.py | 60 violators = TypesFc.intersection(TypesPol) 113 violators = systemProps.intersection(vendorProps)
|
/aosp12/packages/services/Car/car-lib/src/android/car/navigation/ |
H A D | navigation_state.proto | 133 // Slight left turn at an intersection, from 10 (included) to 45 (excluded) 136 // Slight right turn at an intersection, from 10 (included) to 45 (excluded) 140 // Regular left turn at an intersection, from 45 (included) to 135 143 // Regular right turn at an intersection, from 45 (included) to 135 147 // Sharp left turn at an intersection, from 135 (included) to 175 (excluded) 150 // Sharp right turn at an intersection, from 135 (included) to 175
|
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | luts_for_speedup_f32.rsh | 62 // A lookup table that pre-computes x coordinate of the intersection between a
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 2169 Set<Integer> intersection = new HashSet<>(a); in intersectionAudioDeviceTypes() local 2170 intersection.retainAll(b); in intersectionAudioDeviceTypes() 2171 return intersection; in intersectionAudioDeviceTypes()
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | HWC2On1Adapter.cpp | 1824 std::set<android_color_mode_t> intersection; in populateColorModes() local 1828 std::inserter(intersection, intersection.begin())); in populateColorModes() 1829 std::swap(intersection, mColorModes); in populateColorModes()
|
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
H A D | HWC2On1Adapter.cpp | 1729 std::set<android_color_mode_t> intersection; in populateColorModes() local 1733 std::inserter(intersection, intersection.begin())); in populateColorModes() 1734 std::swap(intersection, mColorModes); in populateColorModes()
|