/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | NotifUiAdjustment.kt | 56 second: List<Notification.Action> 58 first === second -> false 59 first.size != second.size -> true 69 first === second -> false 71 else -> !first.sameAs(second) 76 second: Array<RemoteInput>? 78 first === second -> false 80 first.size != second.size -> true 89 second: Array<CharSequence>? 91 first === second -> false [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationUiAdjustment.java | 84 if (first == second) { in areDifferent() 87 if (first == null || second == null) { in areDifferent() 90 if (first.size() != second.size()) { in areDifferent() 117 if (first == second) { in areDifferent() 120 if (first == null || second == null) { in areDifferent() 123 return !first.sameAs(second); in areDifferent() 128 if (first == second) { in areDifferent() 131 if (first == null || second == null) { in areDifferent() 134 if (first.length != second.length) { in areDifferent() 153 if (first == second) { in areDifferent() [all …]
|
/aosp14/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 129 second.getLocationOnScreen(xy); in assertBaselineAligned() 130 int secondTop = xy[1] + second.getBaseline(); in assertBaselineAligned() 147 second.getLocationOnScreen(xy); in assertRightAligned() 148 int secondRight = xy[0] + second.getMeasuredWidth(); in assertRightAligned() 166 second.getLocationOnScreen(xy); in assertRightAligned() 184 second.getLocationOnScreen(xy); in assertLeftAligned() 203 second.getLocationOnScreen(xy); in assertLeftAligned() 221 second.getLocationOnScreen(xy); in assertBottomAligned() 240 second.getLocationOnScreen(xy); in assertBottomAligned() 258 second.getLocationOnScreen(xy); in assertTopAligned() [all …]
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | ATraceMemoryDump.cpp | 82 mCategory = categoryIt->second; in dumpStringValue() 92 mCategory = categoryIt->second; in setMemoryBacking() 107 it.second.memory = 0; in startFrame() 109 if (it.second.purgeableMemory != INVALID_MEMORY_SIZE) { in startFrame() 110 it.second.purgeableMemory = 0; in startFrame() 123 hwui_all_frame_memory += it.second.memory; in logTraces() 124 ATRACE_INT64(it.first.c_str(), it.second.memory); in logTraces() 125 if (it.second.purgeableMemory != INVALID_MEMORY_SIZE) { in logTraces() 150 memoryCounter->second.memory += mLastDumpValue; in recordAndResetCountersIfNeeded() 152 if (memoryCounter->second.purgeableMemory == INVALID_MEMORY_SIZE) { in recordAndResetCountersIfNeeded() [all …]
|
H A D | SkiaMemoryTracer.cpp | 38 return resource.second; in mapName() 49 mTotalSize.value += sizeResult->second.value; in processElement() 68 type = typeResult->second.units; in processElement() 83 resourceName = categoryResult->second.units; in processElement() 96 auto& resourceValues = result->second; in processElement() 99 SkASSERT(sizeResult->second.units == typeResult->second.units); in processElement() 100 typeResult->second.value += sizeResult->second.value; in processElement() 101 typeResult->second.count++; in processElement() 106 TraceValue sizeValue = sizeResult->second; in processElement() 146 auto result = namedItem.second.find("size"); in logOutput() [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
H A D | DomainVerificationCoreApiTest.kt | 65 assertion = { first, second -> 84 assertion = { first, second -> 109 assertion = { first, second -> 120 first, second, { it.isLinkHandlingAllowed }, 124 first, second, { it.hostToStateMap }, 133 assertion = { first, second -> 135 first, second, 146 private val assertion: (first: T, second: T) -> Unit 149 fun assert(first: Any, second: Any) = assertion(first as T, second as T) 162 second: T, [all …]
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | Pair.java | 30 public final S second; field in Pair 38 public Pair(F first, S second) { in Pair() argument 40 this.second = second; in Pair() 57 return Objects.equals(p.first, first) && Objects.equals(p.second, second); in equals() 67 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); in hashCode() 72 return "Pair{" + String.valueOf(first) + " " + String.valueOf(second) + "}"; in toString()
|
/aosp14/system/core/storaged/ |
H A D | storaged_service.cpp | 55 rec.second.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecords() 57 rec.second.bytes[READ][BACKGROUND][CHARGER_ON], in dumpUidRecords() 78 const io_usage& task_usage = task_it.second; in dumpUidRecordsDebug() 147 if (last_ts != it.second.start_ts) { in dump() 148 dprintf(fd, "%" PRIu64, it.second.start_ts); in dump() 154 dumpUidRecords(fd, it.second.entries); in dump() 156 dumpUidRecordsDebug(fd, it.second.entries); in dump() 197 uinfo.uid = it.second.uid; in dumpUids() 198 uinfo.name = it.second.name; in dumpUids() 199 uinfo.tasks = it.second.tasks; in dumpUids() [all …]
|
/aosp14/system/core/libcutils/ |
H A D | fs_config_test.cpp | 84 size_t second; in check_unique() local 87 for (second = idx + 1; second < paths.size(); ++second) { in check_unique() 88 if (path == paths[second]) { in check_unique() 99 for (second = 0; second < paths.size(); ++second) { in check_unique() 100 if (path == paths[second]) { in check_unique() 102 << paths[idx] << " and " << paths[second] in check_unique() 115 for (second = 0; second < paths.size(); ++second) { in check_unique() 116 if (path == paths[second]) break; in check_unique() 118 if (second >= paths.size()) { in check_unique()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 39 entry.second = mDefault.diff(entry.first); in parse() 42 entry.second &= ~ResTable_config::CONFIG_VERSION; in parse() 45 if ((entry.second & ResTable_config::CONFIG_DENSITY) != 0) { in parse() 48 entry.second &= ~ResTable_config::CONFIG_DENSITY; in parse() 51 mConfigMask |= entry.second; in parse() 111 if ((diff & entry.second) == 0) { in match() 113 matchedAxis |= entry.second; in match() 114 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { in match() 132 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) { in match()
|
/aosp14/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 53 eglDestroySurface(display(), it->second.first); in ~GLEnv() 54 if (it->second.second) { in ~GLEnv() 55 it->second.second->Destroy(); in ~GLEnv() 56 delete it->second.second; in ~GLEnv() 66 eglDestroyContext(display(), it->second); in ~GLEnv() 237 if (surface_window_pair->second) { in ReleaseSurfaceId() 238 surface_window_pair->second->Destroy(); in ReleaseSurfaceId() 239 delete surface_window_pair->second; in ReleaseSurfaceId() 254 surface_window_pair->second->InternalHandle()); in SetSurfaceTimestamp() 266 const WindowHandle* my_handle = it->second.second; in FindSurfaceIdForWindow()
|
/aosp14/frameworks/base/cmds/idmap2/libidmap2/ |
H A D | FabricatedOverlay.cpp | 135 auto type = package->second.find(type_name); in Build() 136 if (type == package->second.end()) { in Build() 140 auto entry = type->second.find(entry_name); in Build() 141 if (entry == type->second.end()) { in Build() 145 auto value = entry->second.find(res_entry.configuration); in Build() 146 if (value == entry->second.end()) { in Build() 169 for (auto& type : package.second) { in Build() 173 for (auto& entry : type.second) { in Build() 174 for (const auto& value: entry.second) { in Build() 179 pb_value->set_data_type(value.second.data_type); in Build() [all …]
|
/aosp14/frameworks/base/telephony/java/android/telephony/emergency/ |
H A D | EmergencyNumber.java | 691 if (!first.getNumber().equals(second.getNumber())) { in areSameEmergencyNumbers() 694 if (!first.getCountryIso().equals(second.getCountryIso())) { in areSameEmergencyNumbers() 697 if (!first.getMnc().equals(second.getMnc())) { in areSameEmergencyNumbers() 702 != second.getEmergencyServiceCategoryBitmask()) { in areSameEmergencyNumbers() 712 ^ second.isFromSources(EMERGENCY_NUMBER_SOURCE_TEST)) { in areSameEmergencyNumbers() 730 if (areSameEmergencyNumbers(first, second, false)) { in mergeSameEmergencyNumbers() 734 routing = second.getEmergencyCallRouting(); in mergeSameEmergencyNumbers() 815 return mergeSameEmergencyNumbers(first, second); in mergeSameEmergencyNumbers() 829 if (second.isFromSources(EMERGENCY_NUMBER_SOURCE_DATABASE)) { in mergeSameEmergencyNumbers() 830 routing = second.getEmergencyCallRouting(); in mergeSameEmergencyNumbers() [all …]
|
/aosp14/frameworks/base/libs/hwui/utils/ |
H A D | Pair.h | 28 S second; member 31 Pair(const Pair& o) : first(o.first), second(o.second) {} in Pair() 32 Pair(const F& f, const S& s) : first(f), second(s) {} in Pair() 36 inline const S& getSecond() const { return second; } in getSecond()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | GestureUtils.java | 26 private static boolean eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, in eventsWithinTimeAndDistanceSlop() argument 28 if (isTimedOut(first, second, timeout)) { in eventsWithinTimeAndDistanceSlop() 31 final double deltaMove = distance(first, second); in eventsWithinTimeAndDistanceSlop() 38 public static double distance(MotionEvent first, MotionEvent second) { in distance() argument 39 return MathUtils.dist(first.getX(), first.getY(), second.getX(), second.getY()); in distance()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
H A D | Utils.kt | 21 fun <A, B, C> toTriple(a: A, bc: Pair<B, C>) = Triple(a, bc.first, bc.second) 25 Quad(a, bcd.first, bcd.second, bcd.third) 28 Quint(a, bcde.first, bcde.second, bcde.third, bcde.fourth) 32 data class Quad<A, B, C, D>(val first: A, val second: B, val third: C, val fourth: D) 36 val second: B,
|
/aosp14/frameworks/base/services/incremental/ |
H A D | path.h | 92 std::string join(std::string&& first, std::string_view second, Paths&&... paths) { in join() argument 96 result.reserve(first.size() + second.size() + 1 + (sizeof...(paths) + ... + size(paths))); in join() 98 (details::append_next_path(result, second), ..., in join() 104 std::string join(std::string_view first, std::string_view second, Paths&&... paths) { in join() argument 105 return path::join(std::string(), first, second, std::forward<Paths>(paths)...); in join() 109 std::string join(const char* first, std::string_view second, Paths&&... paths) { in join() argument 110 return path::join(std::string_view(first), second, std::forward<Paths>(paths)...); in join()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraExtensionCharacteristics.java | 522 && extenders.second.isExtensionAvailable(cameraId, in isExtensionSupported() 646 return extenders.second.isPostviewAvailable(); in isPostviewAvailable() 720 if ((extenders.second.getCaptureProcessor() == null) || in getPostviewSupportedSizes() 874 if (extenders.second.getCaptureProcessor() == null) { in getExtensionSupportedSizes() 961 (extenders.second.getCaptureProcessor() == null) ){ in getEstimatedCaptureLatencyRangeMillis() 967 (extenders.second.getCaptureProcessor() != null)) { in getEstimatedCaptureLatencyRangeMillis() 1018 return extenders.second.isCaptureProcessProgressAvailable(); in isCaptureProcessProgressAvailable() 1066 extenders.second.onInit(token, mCameraId, in getAvailableCaptureRequestKeys() 1070 extenders.second.onDeInit(token); in getAvailableCaptureRequestKeys() 1146 extenders.second.onInit(token, mCameraId, in getAvailableCaptureResultKeys() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/runtime/ |
H A D | MovableContent.kt | 37 it.first.second, 39 it.second.first, 40 it.second.second,
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | IntPair.java | 27 public static long of(int first, int second) { in of() argument 28 return (((long)first) << 32) | ((long)second & 0xffffffffL); in of() 35 public static int second(long intPair) { in second() method in IntPair
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | SumPathEffect.java | 25 public SumPathEffect(PathEffect first, PathEffect second) { in SumPathEffect() argument 27 second.native_instance); in SumPathEffect() 30 private static native long nativeCreate(long first, long second); in nativeCreate() argument
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
H A D | ParsedProviderTest.kt | 49 compare = { first, second -> 51 first, second, 67 compare = { first, second -> 69 first, second,
|
/aosp14/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 84 public int second; field in Time 306 this.second = 0; in clear() 472 second = n; in parseInternal() 483 second = 0; in parseInternal() 607 second = n; in parse3339Internal() 671 this.second = 0; in parse3339Internal() 786 this.second = that.second; in set() 804 this.second = second; in set() 827 this.second = 0; in set() 1026 second = 0; in setJulianDay() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PermissionHelperTest.java | 120 PackageInfo second = new PackageInfo(); in testGetAppsRequestingPermission() local 121 second.packageName = "second"; in testGetAppsRequestingPermission() 125 second.applicationInfo = aiSecond; in testGetAppsRequestingPermission() 222 PackageInfo second = new PackageInfo(); in testGetAppsGrantedPermission() local 223 second.packageName = "second"; in testGetAppsGrantedPermission() 227 second.applicationInfo = aiSecond; in testGetAppsGrantedPermission() 230 ImmutableList.of(first, second)); in testGetAppsGrantedPermission() 412 PackageInfo second = new PackageInfo(); in testGetNotificationPermissionValues() local 413 second.packageName = "second"; in testGetNotificationPermissionValues() 417 second.applicationInfo = aiSecond; in testGetNotificationPermissionValues() [all …]
|
/aosp14/frameworks/base/tools/aapt2/compile/ |
H A D | IdAssigner.cpp | 148 const ResourceId assigned_id = iter->second; in Consume() 165 const ResourceId& pre_assigned_id = stable_id_entry.second; in Consume() 198 if (!assign_result.second && assign_result.first->second != key) { in ReserveId() 200 error << "ID is already assigned to " << assign_result.first->second; in ReserveId() 295 if (!non_staged_type.second && non_staged_type.first->second != id.type_id()) { in ReserveId() 303 auto assign_result = type->second.ReserveId(name, id); in ReserveId() 327 ResourceTypeKey key{name.type.type, non_staged_type->second}; in NextId() 333 auto assign_result = type->second.NextId(); in NextId()
|