/aosp14/system/core/fs_mgr/tests/ |
H A D | fs_mgr_test.cpp | 515 entry++; in TEST() 596 entry++; in TEST() 602 entry++; in TEST() 608 entry++; in TEST() 635 entry++; in TEST() 661 entry++; in TEST() 691 entry++; in TEST() 696 entry++; in TEST() 701 entry++; in TEST() 706 entry++; in TEST() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ |
H A D | IconManager.kt | 77 entry -> updateIconsSafe(entry) 133 entry.icons = IconPack.buildPack(sbIcon, shelfIcon, aodIcon, centeredIcon, entry.icons) 135 entry.icons = IconPack.buildEmptyPack(entry.icons) 166 entry.icons.aodIcon?.let { 179 updateIcons(entry) 188 entry: NotificationEntry 201 entry: NotificationEntry, 226 entry.sbn.user, 247 entry: NotificationEntry, 306 entry: NotificationEntry, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptLogger.kt | 61 str1 = entry.logKey 76 str1 = entry.logKey 84 str1 = entry.logKey 92 str1 = entry.logKey 100 str1 = entry.logKey 108 str1 = entry.logKey 116 str1 = entry.logKey 128 str1 = entry.logKey 143 str1 = entry.logKey 157 str1 = entry.logKey [all …]
|
H A D | NotificationInterruptStateProviderImpl.java | 177 if (!canAlertCommon(entry, true)) { in shouldBubbleUp() 185 if (!entry.canBubble()) { in shouldBubbleUp() 190 if (entry.getBubbleMetadata() == null in shouldBubbleUp() 203 return checkHeadsUp(entry, true); in shouldHeadsUp() 391 if (!canAlertCommon(entry, log)) { in shouldHeadsUpWhenAwake() 414 if (entry.isBubble() && inShade) { in shouldHeadsUpWhenAwake() 419 if (entry.shouldSuppressPeek()) { in shouldHeadsUpWhenAwake() 459 if (log) mLogger.logHeadsUp(entry); in shouldHeadsUpWhenAwake() 481 if (!canAlertCommon(entry, log)) { in shouldHeadsUpWhenDozing() 491 if (entry.shouldSuppressAmbient()) { in shouldHeadsUpWhenDozing() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifCollection.java | 473 if (entry == null) { in onNotificationRemoved() 511 if (entry == null) { in postNotification() 534 entry.setSbn(sbn); in postNotification() 577 mEventQueue.add(new EntryRemovedEvent(entry, entry.mCancellationReason)); in tryRemoveNotification() 613 return mNotificationSet.get(entry.getKey()) == entry in isOnlyChildInGroup() 646 currentEntriesWithoutRankings.put(entry.getKey(), entry); in applyRanking() local 726 mLogger.logLifetimeExtensionEnded(entry, extender, entry.mLifetimeExtenders.size()); in onEndLifetimeExtension() 752 if (extender.maybeExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension() 1015 if (entry == null) { in updateNotificationInternally() 1023 entry.setSbn(sbn); in updateNotificationInternally() [all …]
|
H A D | NotifInflaterImpl.java | 63 mLogger.logInflatingViews(entry, params); in inflateViews() 64 inflateViewsImpl(entry, params, callback); in inflateViews() 65 mLogger.logInflatedViews(entry); in inflateViews() 70 mLogger.logRebindingViews(entry, params); in rebindViews() 71 inflateViewsImpl(entry, params, callback); in rebindViews() 72 mLogger.logReboundViews(entry); in rebindViews() 79 entry, in inflateViewsImpl() 99 mLogger.logReleasingViews(entry); in releaseViews() 100 requireBinder().releaseViews(entry); in releaseViews() 108 NotificationEntry entry, in wrapInflationCallback() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | HeadsUpCoordinatorTest.kt | 153 huns.any { entry -> entry.key == key } 157 !huns.any { entry -> entry.key == key } 184 addHUN(entry) 197 addHUN(entry) 201 addHUN(entry) 849 entry, 872 entry, 886 entry, 904 entry, 929 entry, [all …]
|
H A D | ViewConfigCoordinatorTest.kt | 85 verify(entry).row 94 verify(entry).areGutsExposed() 102 verify(entry).areGutsExposed() 123 verify(entry).row 126 verify(entry).areGutsExposed() 128 clearInvocations(entry, row) 154 verify(entry).row 157 verify(entry).areGutsExposed() 159 clearInvocations(entry, row) 190 verify(entry).row [all …]
|
H A D | DismissibilityCoordinatorTest.kt | 75 val entry = regex 89 val entry = regex 106 val entry = regex 123 val entry = regex 140 val entry = regex 193 val entry = regex 213 val entry = regex 233 val entry = regex 248 val entry = regex 263 val entry = regex [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | PreparationCoordinator.java | 188 mInflationStates.remove(entry); 263 ListEntry entry = entries.get(i); in inflateAllRequiredViews() local 264 if (entry instanceof GroupEntry) { in inflateAllRequiredViews() 298 if (mInflatingNotifs.contains(entry)) { 347 abortInflation(entry, reason); 349 mInflatingNotifs.add(entry); 359 mInflatingNotifs.add(entry); 378 mLogger.logNotifInflated(entry); 379 mInflatingNotifs.remove(entry); 388 mViewBarn.removeViewForEntry(entry); [all …]
|
H A D | HeadsUpCoordinator.kt | 299 posted.entry.takeIf { entry -> 406 entry, 438 entry, 517 entry 553 entry.key, 660 if (isSticky(entry)) { 711 private fun isSticky(entry: NotificationEntry) = mHeadsUpManager.isSticky(entry.key) 722 mHeadsUpManager.isAlerting(entry.key) || isEntryBinding(entry) 731 mPostedEntries[entry.key]?.calculateShouldBeHeadsUpNoRetract ?: isAttemptingToShowHun(entry) 740 mPostedEntries[entry.key]?.calculateShouldBeHeadsUpStrict ?: isAttemptingToShowHun(entry) [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A D | HighPriorityProvider.java | 69 public boolean isHighPriority(@Nullable ListEntry entry) { in isHighPriority() argument 87 if (entry == null) { in isHighPriority() 98 || hasHighPriorityChild(entry, allowImplicit); in isHighPriority() 122 if (!(entry instanceof GroupEntry)) { in isNotificationEntryWithAtLeastOneImportantChild() 125 final GroupEntry groupEntry = (GroupEntry) entry; in isNotificationEntryWithAtLeastOneImportantChild() 133 if (entry instanceof NotificationEntry in hasHighPriorityChild() 150 return !hasUserSetImportance(entry) in hasHighPriorityCharacteristics() 152 || isPeopleNotification(entry) in hasHighPriorityCharacteristics() 153 || isMessagingStyle(entry)); in hasHighPriorityCharacteristics() 156 private boolean isMessagingStyle(NotificationEntry entry) { in isMessagingStyle() argument [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssGeofenceProxy.java | 74 entry.latitude = latitude; in addCircularHardwareGeofence() 76 entry.radius = radius; in addCircularHardwareGeofence() 104 if (entry != null) { in pauseHardwareGeofence() 105 entry.paused = true; in pauseHardwareGeofence() 118 if (entry != null) { in resumeHardwareGeofence() 119 entry.paused = false; in resumeHardwareGeofence() 132 boolean added = mGnssNative.addGeofence(entry.geofenceId, entry.latitude, in onHalRestarted() 133 entry.longitude, in onHalRestarted() 134 entry.radius, in onHalRestarted() 135 entry.lastTransition, entry.monitorTransitions, in onHalRestarted() [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/ |
H A D | SpaSearchProvider.kt | 99 uriMatcher.addURI(info.authority, entry.key, entry.value) 137 if (!entry.isAllowSearch || entry.hasMutableStatus) continue 148 if (!entry.isAllowSearch || !entry.hasMutableStatus) continue 159 if (!entry.isAllowSearch || entry.isSearchDataDynamic) continue 170 if (!entry.isAllowSearch || !entry.isSearchDataDynamic) continue 181 if (!entry.isAllowSearch || entry.isSearchDataDynamic || entry.hasMutableStatus) 183 fetchSearchRow(entry, cursor) 193 if (!entry.isAllowSearch || (!entry.isSearchDataDynamic && !entry.hasMutableStatus)) 195 fetchSearchRow(entry, cursor) 220 if (entry.hasSliceSupport) [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | LooperStats.java | 102 if (entry != null) { in messageDispatched() 103 synchronized (entry) { in messageDispatched() 110 entry.maxLatencyMicro = Math.max(entry.maxLatencyMicro, latency); in messageDispatched() 112 entry.maxCpuUsageMicro = Math.max(entry.maxCpuUsageMicro, cpuUsage); in messageDispatched() 116 entry.maxDelayMillis = Math.max(entry.maxDelayMillis, delay); in messageDispatched() 134 if (entry != null) { in dispatchingThrewException() 135 synchronized (entry) { in dispatchingThrewException() 185 entry.messageCount = 1; in createDebugEntry() 248 Entry entry; in findEntry() local 251 if (entry == null) { in findEntry() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImplTest.java | 226 modifyRanking(entry) in testShouldHeadsUpWhenDozing() 238 modifyRanking(entry) in testShouldHeadsUpWhenDozing_hiddenOnLockscreen() 280 modifyRanking(entry) in testShouldNotHeadsUpWhenDozing_suppressingAmbient() 342 modifyRanking(entry) in testShouldNotHeadsUp_suppressPeek() 419 entry.notifyFullScreenIntentLaunched(); in testShouldNotHeadsUp_justLaunchedFullscreen() 543 modifyRanking(entry) in testShouldNotFullScreen_suppressedOnlyByDND() 562 modifyRanking(entry) in testShouldNotFullScreen_suppressedByDNDAndOther() 913 NotificationEntry entry = createBubble(); in shouldNotBubbleUp_notAllowedToBubble() local 914 modifyRanking(entry) in shouldNotBubbleUp_notAllowedToBubble() 927 modifyRanking(entry) in shouldNotBubbleUp_notABubble() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
H A D | GroupMembershipManagerImpl.java | 35 public boolean isGroupSummary(NotificationEntry entry) { in isGroupSummary() argument 36 return getGroupSummary(entry) == entry; in isGroupSummary() 41 if (isEntryTopLevel(entry) || entry.getParent() == null) { in getGroupSummary() 45 return entry.getParent().getRepresentativeEntry(); in getGroupSummary() 49 public boolean isChildInGroup(NotificationEntry entry) { in isChildInGroup() argument 50 return !isEntryTopLevel(entry); in isChildInGroup() 55 if (entry.getParent() == null) { in isOnlyChildInGroup() 59 return !isGroupSummary(entry) && entry.getParent().getChildren().size() == 1; in isOnlyChildInGroup() 65 if (entry instanceof GroupEntry) { in getChildren() 66 return ((GroupEntry) entry).getChildren(); in getChildren() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ |
H A D | IconManagerTest.kt | 94 entry?.let { 104 entry?.let { 114 entry?.let { 124 entry?.let { 133 entry?.let { 144 entry?.let { 157 entry?.let { 162 entry?.let { 204 val entry = builder.build() regex 205 entry.row = row [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotifBindPipeline.java | 113 @NonNull NotificationEntry entry, in manageRow() 115 mLogger.logManagedRow(entry); in manageRow() 116 mLogger.logManagedRow(entry); in manageRow() 124 requestPipelineRun(entry); in manageRow() 129 @NonNull NotificationEntry entry, in onBindRequested() 147 requestPipelineRun(entry); in onBindRequested() 158 mLogger.logRequestPipelineRun(entry); in requestPipelineRun() 181 mLogger.logStartPipeline(entry); in startPipeline() 215 mStage.createStageParams(entry); 225 mStage.deleteStageParams(entry); [all …]
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | ResourceUtils_test.cpp | 24 StringPiece package, type, entry; in TEST() local 28 EXPECT_EQ("foo", entry); in TEST() 33 EXPECT_EQ("foo", entry); in TEST() 38 EXPECT_EQ("foo", entry); in TEST() 43 EXPECT_EQ("foo", entry); in TEST() 45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST() 48 EXPECT_EQ("foo", entry); in TEST() 50 ASSERT_TRUE(ExtractResourceName("@foo", &package, &type, &entry)); in TEST() 53 EXPECT_EQ("foo", entry); in TEST() 58 EXPECT_EQ("foo", entry); in TEST() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | NotificationRowBinderImpl.java | 123 NotificationEntry entry, in inflateViews() argument 129 if (entry.rowExists()) { in inflateViews() 131 mIconManager.updateIcons(entry); in inflateViews() 134 updateRow(entry, row); in inflateViews() 139 mLogger.logInflatingRow(entry); in inflateViews() 163 if (!entry.rowExists()) { in releaseViews() 167 mLogger.logReleasingViews(entry); in releaseViews() 184 entry.setRow(row); in bindRow() 195 NotificationEntry entry, in updateRow() argument 208 NotificationEntry entry, in inflateContentViews() argument [all …]
|
/aosp14/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 107 entry->encryption_options = arg; in ParseFileEncryption() 113 entry->flags |= value; in SetMountFlag() 214 entry->partnum = -1; in ParseFsMgrFlags() 285 entry->avb_keys = arg; in ParseFsMgrFlags() 302 entry->sysfs_path = arg; in ParseFsMgrFlags() 328 if (entry->fs_mgr_flags.crypt && !entry->fs_mgr_flags.vold_managed && in ParseFsMgrFlags() 503 if (pred(entry)) { in GetEntriesByPred() 559 FstabEntry entry; in ParseFstabFromString() local 574 entry.logical_partition_name = entry.blk_device; in ParseFstabFromString() 633 return entry.fs_mgr_flags.first_stage_mount && entry.mount_point == mount_point; in TransformFstabForDsu() [all …]
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 33 val.writeTo(&entry.first); in parse() 34 } else if (!AaptConfig::parse(part, &entry.first)) { in parse() 39 entry.second = mDefault.diff(entry.first); in parse() 42 entry.second &= ~ResTable_config::CONFIG_VERSION; in parse() 47 entry.first.density = 0; in parse() 51 mConfigMask |= entry.second; in parse() 73 const char* entryScript = entry.localeScript; in scriptsMatch() 87 scriptBuffer, entry.language, entry.country); in scriptsMatch() 110 uint32_t diff = entry.first.diff(config); in match() 111 if ((diff & entry.second) == 0) { in match() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | RemoteInputController.java | 128 Objects.requireNonNull(entry); in addRemoteInput() 142 apply(entry); in addRemoteInput() 155 Objects.requireNonNull(entry); in removeRemoteInput() 156 if (entry.mRemoteEditImeVisible && entry.mRemoteEditImeAnimatingAway) { in removeRemoteInput() 175 apply(entry); in removeRemoteInput() 222 mDelegate.setRemoteInputActive(entry, isRemoteInputActive(entry)); in apply() 304 if (entry != null && entry.rowExists()) { in closeRemoteInputs() 305 list.add(entry); in closeRemoteInputs() 311 if (entry.rowExists()) { in closeRemoteInputs() 322 mDelegate.lockScrollTo(entry); in lockScrollTo() [all …]
|
/aosp14/frameworks/base/cmds/idmap2/tests/ |
H A D | FabricatedOverlayTests.cpp | 84 ASSERT_NE(nullptr, entry); in TEST() 93 ASSERT_NE(nullptr, entry); in TEST() 94 ASSERT_EQ(1U, entry->value.data_value); in TEST() 96 ASSERT_EQ("port", entry->config); in TEST() 101 ASSERT_NE(nullptr, entry); in TEST() 104 ASSERT_EQ("xxhdpi-v7", entry->config); in TEST() 109 ASSERT_NE(nullptr, entry); in TEST() 117 ASSERT_NE(nullptr, entry); in TEST() 120 ASSERT_EQ("land", entry->config); in TEST() 174 ASSERT_NE(nullptr, entry); in TEST() [all …]
|