/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/ |
H A D | ChannelListPreferenceControllerTest.java | 103 assertEquals("group1", group1.getKey()); in testUpdateFullList_incrementalUpdates() 117 assertEquals("group1", group1.getKey()); in testUpdateFullList_incrementalUpdates() 133 assertEquals("group1", group1.getKey()); in testUpdateFullList_incrementalUpdates() 268 assertEquals("group", group.getKey()); in testUpdateFullList_groupBlockedChange() 271 assertNull(groupBlockPref.getKey()); in testUpdateFullList_groupBlockedChange() 290 assertEquals("group", group.getKey()); in testUpdateFullList_groupBlockedChange() 293 assertNull(groupBlockPref.getKey()); in testUpdateFullList_groupBlockedChange() 304 assertEquals("group", group.getKey()); in testUpdateFullList_groupBlockedChange() 307 assertNull(groupBlockPref.getKey()); in testUpdateFullList_groupBlockedChange() 347 assertEquals("group", group.getKey()); in testUpdateFullList_channelUpdates() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | NewNotifPipelineBubblesTest.java | 485 assertEquals(mRow2.getKey(), mBubbleData.getSelectedBubble().getKey()); in testCollapseAfterChangingExpandedBubble() 490 mRow.getKey())); in testCollapseAfterChangingExpandedBubble() 493 stackView.getExpandedBubble().getKey()).getKey()); in testCollapseAfterChangingExpandedBubble() 501 true, mRow.getKey()); in testCollapseAfterChangingExpandedBubble() 588 stackView.getExpandedBubble().getKey()).getKey()); in testRemoveLastExpanded_selectsOverflow() 594 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpanded_selectsOverflow() 600 stackView.getExpandedBubble().getKey()).getKey()); in testRemoveLastExpanded_selectsOverflow() 606 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpanded_selectsOverflow() 633 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpandedEmptyOverflow_collapses() 657 mRow.getKey()); in testAutoExpand_fails_noFlag() [all …]
|
H A D | BubblesTest.java | 542 assertEquals(mRow2.getKey(), mBubbleData.getSelectedBubble().getKey()); in testCollapseAfterChangingExpandedBubble() 547 mRow.getKey())); in testCollapseAfterChangingExpandedBubble() 550 stackView.getExpandedBubble().getKey()).getKey()); in testCollapseAfterChangingExpandedBubble() 558 true, mRow.getKey()); in testCollapseAfterChangingExpandedBubble() 644 stackView.getExpandedBubble().getKey()).getKey()); in testRemoveLastExpanded_selectsOverflow() 650 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpanded_selectsOverflow() 656 stackView.getExpandedBubble().getKey()).getKey()); in testRemoveLastExpanded_selectsOverflow() 662 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpanded_selectsOverflow() 689 stackView.getExpandedBubble().getKey()).getKey(), in testRemoveLastExpandedEmptyOverflow_collapses() 712 mRow.getKey()); in testAutoExpand_fails_noFlag() [all …]
|
/aosp12/frameworks/base/telecomm/java/android/telecom/Logging/ |
H A D | TimedEvent.java | 28 public abstract T getKey(); in getKey() method in TimedEvent 35 if (counts.containsKey(entry.getKey())) { in averageTimings() 36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1); in averageTimings() 37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime()); in averageTimings() 39 counts.put(entry.getKey(), 1); in averageTimings() 40 result.put(entry.getKey(), (double) entry.getTime()); in averageTimings() 45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey())); in averageTimings()
|
/aosp12/frameworks/base/telecomm/java/android/telecom/ |
H A D | TimedEvent.java | 28 public abstract T getKey(); in getKey() method in TimedEvent 35 if (counts.containsKey(entry.getKey())) { in averageTimings() 36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1); in averageTimings() 37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime()); in averageTimings() 39 counts.put(entry.getKey(), 1); in averageTimings() 40 result.put(entry.getKey(), (double) entry.getTime()); in averageTimings() 45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey())); in averageTimings()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupAlertTransferHelperTest.java | 145 assertTrue(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChild() 162 mPendingEntries.put(childEntry2.getKey(), childEntry2); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 168 assertTrue(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 169 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 189 mPendingEntries.put(childEntry2.getKey(), childEntry2); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 210 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated() 231 assertTrue(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation() 251 mPendingEntries.put(childEntry2.getKey(), childEntry2); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() 261 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() 443 assertTrue(mHeadsUpManager.isAlerting(childEntry.getKey())); in testOverriddenSuppressedSummaryHeadsUpTransfersToChildThenToPriority() [all …]
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | NotificationDataManager.java | 114 if (mUnseenNotificationMap.containsKey(alertEntry.getKey())) { in addNewMessageNotification() 115 mUnseenNotificationMap.put(alertEntry.getKey(), true); in addNewMessageNotification() 129 if (mUnseenNotificationMap.containsKey(alertEntry.getKey())) { in untrackUnseenNotification() 130 mUnseenNotificationMap.remove(alertEntry.getKey()); in untrackUnseenNotification() 161 mUnseenNotificationMap.putIfAbsent(alertEntry.getKey(), true); in updateUnseenAlertEntries() 164 currentNotificationKeys.remove(alertEntry.getKey()); in updateUnseenAlertEntries() 203 String sbnKey = alertEntry.getKey(); in toggleMute() 209 + alertEntry.getKey()); in toggleMute() 233 if (mUnseenNotificationMap.containsKey(alertEntry.getKey())) { in setNotificationsAsSeen() 234 mUnseenNotificationMap.put(alertEntry.getKey(), false); in setNotificationsAsSeen() [all …]
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/ |
H A D | TertiaryKeyManagerTest.java | 87 createNewManager(TEST_PACKAGE_1).getKey(); in getKey_noExistingKey_recordsIncrementalBackup() 94 SecretKey existingKey = manager.getKey(); in getKey_existingKey_returnsExistingKey() 96 assertThat(manager.getKey()).isEqualTo(existingKey); in getKey_existingKey_returnsExistingKey() 101 createNewManager(TEST_PACKAGE_1).getKey(); in getKey_existingKey_recordsBackupButNotRotation() 104 createNewManager(TEST_PACKAGE_1).getKey(); in getKey_existingKey_recordsBackupButNotRotation() 124 createNewManager(TEST_PACKAGE_1).getKey(); in getKey_existingKeyButRotationRequired_recordsKeyRotationAndBackup() 135 SecretKey firstKey = firstManager.getKey(); in getKey_twoApps_returnsDifferentKeys() 137 assertThat(secondManager.getKey()).isNotEqualTo(firstKey); in getKey_twoApps_returnsDifferentKeys() 143 SecretKey unwrappedKey = manager.getKey(); in getWrappedKey_noExistingKey_returnsWrappedNewKey() 155 SecretKey unwrappedKey = manager.getKey(); in getWrappedKey_existingKey_returnsWrappedExistingKey() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManagerTest.java | 242 if (entry.getKey().equals(mSbn.getKey())) { in testAddNotification_noDuplicateEntriesCreated() 366 setSmartActions(mEntry.getKey(), null); in testUpdateNotificationRanking_noChange() 412 mEntry.getKey(), in testUpdatePendingNotification_rankingUpdated() 458 assertTrue(extender.isManaging(mEntry.getKey())); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved() 462 extender.getCallback().onSafeToRemove(mEntry.getKey()); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved() 532 eq(mEntry.getKey()), eq(mEntry), anyInt())) in testRemoveInterceptor_interceptsDontGetRemoved() 551 eq(mEntry.getKey()), eq(mEntry), anyInt())) in testRemoveInterceptor_notInterceptedGetsRemoved() 590 .setKey(mEntry.getKey()) in testChannelIsSetWhenAdded() 639 if (entry.getSbn().getKey().equals(key)) { in entriesContainKey() 683 mManagedNotifs.add(entry.getKey()); in setShouldManageLifetime() [all …]
|
/aosp12/frameworks/base/core/java/android/content/integrity/ |
H A D | AtomicFormula.java | 250 return getKey() == that.getKey() in equals() 270 dest.writeInt(getKey()); in writeToParcel() 408 return getKey() == APP_CERTIFICATE; in isAppCertificateFormula() 413 return getKey() == INSTALLER_NAME || getKey() == INSTALLER_CERTIFICATE; in isInstallerFormula() 433 return getKey() == that.getKey() && Objects.equals(mValue, that.mValue); in equals() 438 return Objects.hash(getKey(), mValue); in hashCode() 451 dest.writeInt(getKey()); in writeToParcel() 601 return getKey() == that.getKey() && mValue == that.mValue; in equals() 606 return Objects.hash(getKey(), mValue); in hashCode() 619 dest.writeInt(getKey()); in writeToParcel() [all …]
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | SnoozeHelperTest.java | 171 0, "pkg", r.getKey()).doubleValue()); in testReadValidSnoozedFromCorrectly_timeDeadline() 196 systemUser, "pkg", r.getKey()).longValue()); in testReadExpiredSnoozedNotification() 203 mSnoozeHelper.cleanupPersistedContext(r.getSbn().getKey()); in testCleanupContextShouldRemovePersistedRecord() 207 r.getSbn().getKey() in testCleanupContextShouldRemovePersistedRecord() 222 "not_my_package", r.getKey()).longValue()); in testReadNoneSnoozedNotification() 381 mSnoozeHelper.repost(r.getKey(), UserHandle.USER_SYSTEM, false); 392 mSnoozeHelper.repost(r.getKey(), UserHandle.USER_SYSTEM, false); 406 mSnoozeHelper.repost(r.getKey(), false); 450 mSnoozeHelper.repost(r.getKey(), UserHandle.USER_SYSTEM, true); 524 assertEquals(r, mSnoozeHelper.getNotification(r.getKey())); [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | NotificationInterruptStateProviderImpl.java | 144 Log.d(TAG, "No bubble up: not allowed to bubble: " + sbn.getKey()); in shouldBubbleUp() 153 Log.d(TAG, "No bubble up: notification: " + sbn.getKey() in shouldBubbleUp() 203 Log.d(TAG, "No alerting: snoozed package: " + sbn.getKey()); in shouldHeadsUpWhenAwake() 212 + "bubble: " + sbn.getKey()); in shouldHeadsUpWhenAwake() 219 Log.d(TAG, "No heads up: suppressed by DND: " + sbn.getKey()); in shouldHeadsUpWhenAwake() 226 Log.d(TAG, "No heads up: unimportant notification: " + sbn.getKey()); in shouldHeadsUpWhenAwake() 241 Log.d(TAG, "No heads up: not in use: " + sbn.getKey()); in shouldHeadsUpWhenAwake() 270 Log.d(TAG, "No pulsing: disabled by setting: " + sbn.getKey()); in shouldHeadsUpWhenDozing() 298 Log.d(TAG, "No pulsing: not important enough: " + sbn.getKey()); in shouldHeadsUpWhenDozing() 316 Log.d(TAG, "No alerting: filtered notification: " + sbn.getKey()); in canAlertCommon() [all …]
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | PreprocessingManagerTest.java | 487 expectedResultUnseen.add(mNavigation.getKey()); in onGroup_groupsNotificationsBySeenUnseen() 497 expectedResultSeen.add(mMedia.getKey()); in onGroup_groupsNotificationsBySeenUnseen() 762 when(newSbn.getKey()).thenReturn(key); in onAdditionalGroupAndRank_isGroupSummary_maintainsPreviousRanking() 802 when(newSbn.getKey()).thenReturn(key); in onAdditionalGroupAndRank_isGroupSummary_prependsHighRankNotification() 818 String key = mImportantForeground.getKey(); in onAdditionalGroupAndRank_notGroupSummary_isUpdate_notificationUpdated() 824 when(newSbn.getKey()).thenReturn(key); in onAdditionalGroupAndRank_notGroupSummary_isUpdate_notificationUpdated() 848 mImportantForeground.getKey())).isFalse(); in onUpdateNotifications_notificationRemoved_removesNotification() 872 mImportantForeground.getKey()); in onUpdateNotification_notificationPosted_isUpdate_putsNotification() 899 additionalAlertEntry.getKey()); in onUpdateNotification_notificationPosted_isNotUpdate_addsNotification() 952 mAlertEntriesMap.put(mMedia.getKey(), mMedia); in initTestData() [all …]
|
/aosp12/packages/services/Telephony/src/com/android/phone/vvm/ |
H A D | VisualVoicemailPreferences.java | 59 mEditor.putBoolean(getKey(key), value); in putBoolean() 65 mEditor.putFloat(getKey(key), value); in putFloat() 70 mEditor.putInt(getKey(key), value); in putInt() 76 mEditor.putLong(getKey(key), value); in putLong() 81 mEditor.putString(getKey(key), value); in putString() 87 mEditor.putStringSet(getKey(key), value); in putStringSet() 129 return mPreferences.contains(getKey(key)); in contains() 136 Object object = mPreferences.getAll().get(getKey(key)); in getValue() 143 private String getKey(String key) { in getKey() method in VisualVoicemailPreferences
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/ |
H A D | PerAccountSharedPreferences.java | 65 editor.putBoolean(getKey(key), value); in putBoolean() 70 editor.putFloat(getKey(key), value); in putFloat() 75 editor.putInt(getKey(key), value); in putInt() 80 editor.putLong(getKey(key), value); in putLong() 85 editor.putString(getKey(key), value); in putString() 90 editor.putStringSet(getKey(key), value); in putStringSet() 129 return preferences.contains(getKey(key)); in contains() 136 Object object = preferences.getAll().get(getKey(key)); in getValue() 143 private String getKey(String key) { in getKey() method in PerAccountSharedPreferences
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
H A D | GroupCoalescer.java | 129 mLogger.logEventCoalesced(sbn.getKey()); 182 mLogger.logMaxBatchTimeout(sbn.getKey(), batch.mGroupKey); in maybeEmitBatch() 194 if (mCoalescedEvents.containsKey(sbn.getKey())) { in handleNotificationPosted() 204 sbn.getKey(), in handleNotificationPosted() 207 requireRanking(rankingMap, sbn.getKey()), in handleNotificationPosted() 209 mCoalescedEvents.put(event.getKey(), event); in handleNotificationPosted() 258 mCoalescedEvents.remove(event.getKey()); in emitBatch() 279 if (rankingMap.getRanking(event.getKey(), ranking)) { in applyRanking() 285 mLogger.logMissingRanking(event.getKey()); in applyRanking() 302 pw.println(" " + event.getKey()); in dump() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupAlertTransferHelper.java | 113 PendingAlertInfo alertInfo = mPendingAlerts.get(entry.getKey()); in isAlertTransferPending() 197 if (!mHeadsUpManager.isAlerting(group.summary.getKey())) { in onGroupChanged() 273 mPendingAlerts.remove(entry.getKey()); 329 && !group.children.containsKey(entry.getKey()); in isPendingNotificationInGroup() 359 boolean summaryIsAlerting = mHeadsUpManager.isAlerting(summary.getKey()); in handleSuppressedSummaryAlerted() 361 && mHeadsUpManager.isAlerting(oldAlertOverride.getKey()); in handleSuppressedSummaryAlerted() 560 entry.getKey(), true /* releaseImmediately */); in releaseChildAlerts() 562 if (mPendingAlerts.containsKey(entry.getKey())) { in releaseChildAlerts() 565 mPendingAlerts.get(entry.getKey()).mAbortOnInflation = true; in releaseChildAlerts() 587 mPendingAlerts.put(entry.getKey(), new PendingAlertInfo(entry)); in alertNotificationWhenPossible() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifCollection.java | 270 entry.getSbn().getKey(), in dismissNotifications() 340 mLogger.logNotifDismissed(entry.getKey()); in locallyDismissNotifications() 393 mLogger.logNotifRemoved(sbn.getKey(), reason); in onNotificationRemoved() 429 mNotificationSet.put(sbn.getKey(), entry); in postNotification() 431 mLogger.logNotifPosted(sbn.getKey()); in postNotification() 450 mLogger.logNotifUpdated(sbn.getKey()); in postNotification() 465 + entry.getKey())); in tryRemoveNotification() 481 mLogger.logNotifReleased(entry.getKey()); in tryRemoveNotification() 482 mNotificationSet.remove(entry.getKey()); in tryRemoveNotification() 553 entry.getKey(), in onEndLifetimeExtension() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | NetworkListStoreDataTest.java | 478 openNetwork.getKey().replaceAll("\"", """), in getTestNetworksXmlBytes() 483 eapNetwork.getKey().replaceAll("\"", """), in getTestNetworksXmlBytes() 490 saeNetwork.getKey().replaceAll("\"", """), in getTestNetworksXmlBytes() 626 openNetwork.getKey().replaceAll("\"", """), in parseNetworkWithUnknownTag() 635 assertEquals(openNetwork.getKey(), deserializedConfig.getKey()); in parseNetworkWithUnknownTag() 700 assertEquals(openNetwork.getKey(), deserializedNetworks.get(0).getKey()); in parseNetworkWithInvalidCreatorUidResetsToSystem() 728 assertEquals(openNetwork.getKey(), deserializedNetworks.get(0).getKey()); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid() 755 assertEquals(openNetwork.getKey(), deserializedNetworks.get(0).getKey()); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid() 776 assertEquals(openNetwork.getKey(), deserializedNetworks.get(0).getKey()); in parseNetworkWithValidCreatorUid() 795 saeNetwork.getKey().replaceAll("\"", """), in fixSaeNetworkWithLegacySecurity() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
H A D | IntegrityFormulaTest.java | 38 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.PACKAGE_NAME); in createEqualsFormula_packageName() 51 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.APP_CERTIFICATE); in createEqualsFormula_appCertificate() 64 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.INSTALLER_NAME); in createEqualsFormula_installerName() 78 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.INSTALLER_CERTIFICATE); in createEqualsFormula_installerCertificate() 91 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.VERSION_CODE); in createEqualsFormula_versionCode() 104 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.VERSION_CODE); in createGreaterThanFormula_versionCode() 118 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.VERSION_CODE); in createGreaterThanOrEqualsToFormula_versionCode() 130 assertThat(booleanAtomicFormula.getKey()).isEqualTo(AtomicFormula.PRE_INSTALLED); in createIsTrueFormula_preInstalled() 177 assertThat(booleanAtomicFormula.getKey()).isEqualTo(AtomicFormula.STAMP_TRUSTED); in createIsTrueFormula_stampNotTrusted() 190 assertThat(stringAtomicFormula.getKey()).isEqualTo(AtomicFormula.STAMP_CERTIFICATE_HASH); in createEqualsFormula_stampCertificateHash()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/data/ |
H A D | PreferenceParcelableManager.java | 37 prefParcelables.put(getKey(preferenceParcelable.getKey()), preferenceParcelable); in addPrefParcelable() 45 String compoundKey = getKey(key); in getOrCreatePrefParcelable() 53 return prefParcelables.get(getKey(key)).immutableCopy(); in prefParcelableCopy() 57 PreferenceParcelable preferenceParcelable = prefParcelables.get(getKey(new String[]{key})); in prefParcelableCopy() 73 private static String getKey(String[] key) { in getKey() method in PreferenceParcelableManager
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | ConvertUtilsTest.java | 182 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 183 entryMap.put(fakeEntry.getKey(), fakeEntry); in getIndexedUsageMap_returnsExpectedResult() 187 entryMap.put(fakeEntry.getKey(), fakeEntry); in getIndexedUsageMap_returnsExpectedResult() 193 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 200 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 203 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 210 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 213 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 216 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_returnsExpectedResult() 301 entryMap.put(entry.getKey(), entry); in getIndexedUsageMap_usageTimeExceed_returnsExpectedResult() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/ |
H A D | NotificationGroupManagerLegacy.java | 196 group.children.remove(removed.getKey()); in onEntryRemovedInternal() 251 group.children.put(added.getKey(), added); in onEntryAddedInternal() 376 if (isIsolated(group.summary.getKey())) { in getPriorityConversationAlertOverride() 489 result.put(sbn.getKey(), entry); in getImportantConversations() 528 if (isIsolated(entry.getSbn().getKey())) { in onEntryUpdated() 706 return getGroupKey(sbn.getKey(), sbn.getGroupKey()); in getGroupKey() 734 if (isIsolated(sbn.getKey())) { in isGroupSummary() 806 mIsolatedEntries.put(entry.getKey(), entry.getSbn()); in isolateNotification() 853 mIsolatedEntries.remove(entry.getKey()); in stopIsolatingNotification() 881 pw.print(" "); pw.print(entry.getKey()); in dump() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
H A D | ApnPreference.java | 71 boolean isChecked = getKey().equals(mSelectedKey); in getView() 74 mSelectedKey = getKey(); in getView() 95 return getKey().equals(mSelectedKey); in isChecked() 99 mSelectedKey = getKey(); in setChecked() 107 Log.i(TAG, "ID: " + getKey() + " :" + isChecked); in onCheckedChanged() 117 mSelectedKey = getKey(); in onCheckedChanged() 131 UIIntents.get().getApnEditorIntent(context, getKey(), mSubId)); in onClick()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | StatusBarSwitch.java | 61 setChecked(!mHideList.contains(getKey())); in onTuningChanged() 68 if (!mHideList.contains(getKey())) { in persistBoolean() 70 getKey()); in persistBoolean() 71 mHideList.add(getKey()); in persistBoolean() 75 if (mHideList.remove(getKey())) { in persistBoolean() 76 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_ENABLE, getKey()); in persistBoolean()
|