/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
D | ApplicationsStateTest.java | 33 private ApplicationsState.AppEntry mEntry; field in ApplicationsStateTest 37 mEntry = mock(ApplicationsState.AppEntry.class); in setUp() 38 mEntry.info = mock(ApplicationInfo.class); in setUp() 43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGamesFilterAcceptsGameDeprecated() 45 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGamesFilterAcceptsGameDeprecated() 50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame() 52 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGame() 57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame() 58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame() 60 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 131 private NotificationEntry mEntry; field in NotificationEntryManagerTest 181 mEntry = createNotification(); in setUp() 182 mSbn = mEntry.getSbn(); in setUp() 248 mEntryManager.addActiveNotificationForTest(mEntry); in testUpdateNotification_updatesUserSentiment() 250 mEntry.getKey(), Ranking.USER_SENTIMENT_NEGATIVE); in testUpdateNotification_updatesUserSentiment() 254 assertEquals(Ranking.USER_SENTIMENT_NEGATIVE, mEntry.getUserSentiment()); in testUpdateNotification_updatesUserSentiment() 261 mEntryManager.addActiveNotificationForTest(mEntry); in testUpdateNotification_prePostEntryOrder() 267 order.verify(mEntryListener).onPreEntryUpdated(mEntry); in testUpdateNotification_prePostEntryOrder() 269 order.verify(mEntryListener).onPostEntryUpdated(mEntry); in testUpdateNotification_prePostEntryOrder() 274 mEntry.setRow(mRow); in testRemoveNotification() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | AlertingNotificationManagerTest.java | 73 protected NotificationEntry mEntry; field in AlertingNotificationManagerTest 133 mEntry = new NotificationEntryBuilder() in setUp() 136 mEntry.setRow(mRow); in setUp() 143 mAlertingNotificationManager.showNotification(mEntry); in testShowNotification_addsEntry() 145 assertTrue(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testShowNotification_addsEntry() 147 assertEquals(mEntry, mAlertingNotificationManager.getEntry(mEntry.getKey())); in testShowNotification_addsEntry() 152 mAlertingNotificationManager.showNotification(mEntry); in testShowNotification_autoDismisses() 159 assertFalse(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testShowNotification_autoDismisses() 164 mAlertingNotificationManager.showNotification(mEntry); in testRemoveNotification_removeDeferred() 168 mEntry.getKey(), false /* releaseImmediately */); in testRemoveNotification_removeDeferred() [all …]
|
D | NotificationRemoteInputManagerTest.java | 72 private NotificationEntry mEntry; field in NotificationRemoteInputManagerTest 89 mEntry = new NotificationEntryBuilder() in setUp() 96 mEntry.setRow(mRow); in setUp() 108 when(mController.isRemoteInputActive(mEntry)).thenReturn(true); in testPerformOnRemoveNotification() 109 mRemoteInputManager.onPerformRemoveNotification(mEntry, mEntry.getKey()); in testPerformOnRemoveNotification() 111 verify(mController).removeRemoteInput(mEntry, null); in testPerformOnRemoveNotification() 116 when(mController.isRemoteInputActive(mEntry)).thenReturn(true); in testShouldExtendLifetime_remoteInputActive() 118 assertTrue(mRemoteInputActiveExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_remoteInputActive() 124 when(mController.isSpinning(mEntry.getKey())).thenReturn(true); in testShouldExtendLifetime_isSpinning() 126 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_isSpinning() [all …]
|
D | SmartReplyControllerTest.java | 66 private NotificationEntry mEntry; field in SmartReplyControllerTest 107 mEntry = new NotificationEntryBuilder() in setUp() 114 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_updatesRemoteInput() 125 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar() 136 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar_modifiedBeforeSending() 148 mSmartReplyController.smartSuggestionsAdded(mEntry, TEST_CHOICE_COUNT, TEST_ACTION_COUNT, in testShowSmartSuggestions_logsToStatusBar() 158 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_reportsSending() 166 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendingSmartReply_afterRemove_shouldReturnFalse() 168 mSmartReplyController.stopSending(mEntry); in testSendingSmartReply_afterRemove_shouldReturnFalse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | RowContentBindStageTest.java | 56 @Mock private NotificationEntry mEntry; field in RowContentBindStageTest 67 mRowContentBindStage.createStageParams(mEntry); in setUp() 74 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testRequireContentViews() 76 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRequireContentViews() 80 eq(mEntry), in testRequireContentViews() 91 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testFreeContentViews() 97 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testFreeContentViews() 100 verify(mBinder).unbindContent(eq(mEntry), any(), eq(flags)); in testFreeContentViews() 106 RowContentBindParams params = mRowContentBindStage.getStageParams(mEntry); in testRebindAllContentViews() 113 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRebindAllContentViews() [all …]
|
D | NotifRemoteViewCacheImplTest.java | 52 private NotificationEntry mEntry; field in NotifRemoteViewCacheImplTest 59 mEntry = new NotificationEntryBuilder().build(); in setUp() 67 mEntryListener.onEntryInit(mEntry); in setUp() 73 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testPutCachedView() 76 assertTrue(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testPutCachedView() 80 mNotifRemoteViewCache.getCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testPutCachedView() 86 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testRemoveCachedView() 89 mNotifRemoteViewCache.removeCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED); in testRemoveCachedView() 92 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testRemoveCachedView() 98 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testClearCache() [all …]
|
D | NotifBindPipelineTest.java | 54 @Mock private NotificationEntry mEntry; field in NotifBindPipelineTest 73 listener.onEntryInit(mEntry); in setUp() 79 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCalled() 83 mStage.requestRebind(mEntry, callback); in testCallbackCalled() 90 verify(callback).onBindFinished(mEntry); in testCallbackCalled() 96 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCancelled() 100 CancellationSignal signal = mStage.requestRebind(mEntry, callback); in testCallbackCancelled() 110 verify(callback, never()).onBindFinished(mEntry); in testCallbackCancelled() 116 mBindPipeline.manageRow(mEntry, mRow); in testMultipleCallbacks() 120 mStage.requestRebind(mEntry, callback); in testMultipleCallbacks() [all …]
|
D | NotificationInfoTest.java | 105 private NotificationEntry mEntry; field in NotificationInfoTest 166 mEntry = new NotificationEntryBuilder().setSbn(mSbn).build(); in setUp() 189 mEntry, in testBindNotification_SetsTextApplicationName() 214 mEntry, in testBindNotification_SetsPackageIcon() 235 mEntry, in testBindNotification_noDelegate() 287 mEntry, in testBindNotification_GroupNameHiddenIfNoGroup() 314 mEntry, in testBindNotification_SetsGroupNameIfNonNull() 336 mEntry, in testBindNotification_SetsTextChannelName() 357 mEntry, in testBindNotification_DefaultChannelDoesNotUseChannelName() 382 mEntry, in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | PreparationCoordinatorTest.java | 73 private NotificationEntry mEntry; field in PreparationCoordinatorTest 88 mEntry = new NotificationEntryBuilder().build(); in setUp() 114 mCollectionListener.onEntryInit(mEntry); in setUp() 120 mErrorManager.setInflationError(mEntry, mInflationError); in testErrorLogsToService() 124 eq(mEntry.getSbn().getPackageName()), in testErrorLogsToService() 125 eq(mEntry.getSbn().getTag()), in testErrorLogsToService() 126 eq(mEntry.getSbn().getId()), in testErrorLogsToService() 127 eq(mEntry.getSbn().getUid()), in testErrorLogsToService() 128 eq(mEntry.getSbn().getInitialPid()), in testErrorLogsToService() 130 eq(mEntry.getSbn().getUserId())); in testErrorLogsToService() [all …]
|
D | HeadsUpCoordinatorTest.java | 77 private NotificationEntry mEntry; field in HeadsUpCoordinatorTest 116 mEntry = new NotificationEntryBuilder().build(); in setUp() 122 setCurrentHUN(mEntry); in testPromotesCurrentHUN() 125 assertTrue(mNotifPromoter.shouldPromoteToTopLevel(mEntry)); in testPromotesCurrentHUN() 132 setCurrentHUN(mEntry); in testIncludeInSectionCurrentHUN() 135 assertTrue(mNotifSection.isInSection(mEntry)); in testIncludeInSectionCurrentHUN() 142 setCurrentHUN(mEntry); in testLifetimeExtendsCurrentHUN() 145 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime(mEntry, /* cancellationReason */ 0)); in testLifetimeExtendsCurrentHUN() 153 setCurrentHUN(mEntry); in testLifetimeExtensionEndsOnNewHUN() 155 mEntry, /* cancellation reason */ 0)); in testLifetimeExtensionEndsOnNewHUN() [all …]
|
D | KeyguardCoordinatorTest.java | 73 private NotificationEntry mEntry; field in KeyguardCoordinatorTest 85 mEntry = new NotificationEntryBuilder() in setup() 98 setupUnfilteredState(mEntry); in unfilteredState() 101 assertFalse(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in unfilteredState() 107 setupUnfilteredState(mEntry); in keyguardNotShowing() 111 assertFalse(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in keyguardNotShowing() 117 setupUnfilteredState(mEntry); in doNotShowLockscreenNotifications() 123 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in doNotShowLockscreenNotifications() 129 setupUnfilteredState(mEntry); in lockdown() 135 assertTrue(mKeyguardFilter.shouldFilterOut(mEntry, 0)); in lockdown() [all …]
|
D | RankingCoordinatorTest.java | 57 private NotificationEntry mEntry; field in RankingCoordinatorTest 65 mEntry = new NotificationEntryBuilder().build(); in setup() 76 mEntry.setRanking(getRankingForUnfilteredNotif().build()); in testUnfilteredState() 79 assertFalse(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in testUnfilteredState() 85 mEntry.setRanking(getRankingForUnfilteredNotif() in filterSuspended() 90 assertTrue(mCapturedSuspendedFilter.shouldFilterOut(mEntry, 0)); in filterSuspended() 96 mEntry.setRanking(getRankingForUnfilteredNotif() in filterDozingSuppressAmbient() 104 assertTrue(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient() 110 assertFalse(mCapturedDozingFilter.shouldFilterOut(mEntry, 0)); in filterDozingSuppressAmbient() 116 mEntry.setRanking(getRankingForUnfilteredNotif() in filterDozingSuppressNotificationList() [all …]
|
D | AppOpsCoordinatorTest.java | 71 private NotificationEntry mEntry; field in AppOpsCoordinatorTest 94 mEntry = new NotificationEntryBuilder() in setup() 129 StatusBarNotification sbn = mEntry.getSbn(); in filterTest_disclosureUnnecessary() 139 assertTrue(mForegroundFilter.shouldFilterOut(mEntry, 0)); in filterTest_disclosureUnnecessary() 144 StatusBarNotification sbn = mEntry.getSbn(); in filterTest_systemAlertNotificationUnnecessary() 159 assertTrue(mForegroundFilter.shouldFilterOut(mEntry, 0)); in filterTest_systemAlertNotificationUnnecessary() 164 StatusBarNotification sbn = mEntry.getSbn(); in filterTest_doNotFilter() 171 assertFalse(mForegroundFilter.shouldFilterOut(mEntry, 0)); in filterTest_doNotFilter() 181 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_notForeground() 188 mEntry = new NotificationEntryBuilder() in extendLifetimeText_foregroundNotifRecentlyPosted() [all …]
|
D | DeviceProvisionedCoordinatorTest.java | 70 private NotificationEntry mEntry; field in DeviceProvisionedCoordinatorTest 81 mEntry = new NotificationEntryBuilder() in setup() 98 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceProvisioned() 107 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisioned() 125 assertFalse(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedCanBypass() 143 assertTrue(mDeviceProvisionedFilter.shouldFilterOut(mEntry, 0)); in deviceUnprovisionedTryBypassWithoutPermission() 148 .setKey(mEntry.getKey()) in getRankingForUnfilteredNotif()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ReprocessFormatsMap.java | 113 mEntry = entry; in ReprocessFormatsMap() 132 int left = mEntry.length; in getInputs() 133 for (int i = 0, j = 0; i < mEntry.length; j++) { in getInputs() 134 final int format = mEntry[i]; in getInputs() 144 final int length = mEntry[i]; in getInputs() 180 int left = mEntry.length; in getOutputs() 181 for (int i = 0; i < mEntry.length; ) { in getOutputs() 182 final int inputFormat = mEntry[i]; in getOutputs() 192 final int length = mEntry[i]; in getOutputs() 210 outputs[k] = mEntry[i + k]; in getOutputs() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpManagerPhoneTest.java | 107 mHeadsUpManager.showNotification(mEntry); in testSnooze() 111 assertTrue(mHeadsUpManager.isSnoozed(mEntry.getSbn().getPackageName())); in testSnooze() 116 mHeadsUpManager.showNotification(mEntry); in testSwipedOutNotification() 117 mHeadsUpManager.addSwipedOutNotification(mEntry.getKey()); in testSwipedOutNotification() 120 mHeadsUpManager.removeNotification(mEntry.getKey(), false /* releaseImmediately */); in testSwipedOutNotification() 122 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testSwipedOutNotification() 127 mHeadsUpManager.showNotification(mEntry); in testCanRemoveImmediately_swipedOut() 128 mHeadsUpManager.addSwipedOutNotification(mEntry.getKey()); in testCanRemoveImmediately_swipedOut() 131 assertTrue(mHeadsUpManager.canRemoveImmediately(mEntry.getKey())); in testCanRemoveImmediately_swipedOut() 141 mHeadsUpManager.showNotification(mEntry); in testCanRemoveImmediately_notTopEntry() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 102 private NotificationEntry mEntry; field in RemoteInputView 164 mEntry.remoteInputText = mEditText.getText(); in prepareRemoteInputFromText() 165 mEntry.remoteInputUri = null; in prepareRemoteInputFromText() 166 mEntry.remoteInputMimeType = null; in prepareRemoteInputFromText() 168 if (mEntry.editedSuggestionInfo == null) { in prepareRemoteInputFromText() 180 mController.grantInlineReplyUriPermission(mEntry.getSbn(), data); in prepareRemoteInputFromData() 184 mEntry.remoteInputText = mContext.getString(R.string.remote_input_image_insertion_text); in prepareRemoteInputFromData() 185 mEntry.remoteInputMimeType = contentType; in prepareRemoteInputFromData() 186 mEntry.remoteInputUri = data; in prepareRemoteInputFromData() 195 mEntry.lastRemoteInputSent = SystemClock.elapsedRealtime(); in sendRemoteInput() [all …]
|
D | HeadsUpManager.java | 111 setEntryPinned((HeadsUpEntry) alertEntry, shouldHeadsUpBecomePinned(alertEntry.mEntry)); in updateNotification() 128 NotificationEntry entry = headsUpEntry.mEntry; in setEntryPinned() 148 NotificationEntry entry = alertEntry.mEntry; in onAlertEntryAdded() 158 NotificationEntry entry = alertEntry.mEntry; in onAlertEntryRemoved() 208 String packageName = entry.mEntry.getSbn().getPackageName(); in snooze() 230 return (topEntry != null) ? topEntry.mEntry : null; in getTopEntry() 266 pw.print(" HeadsUpEntry="); pw.println(entry.mEntry); in dumpInternal() 286 if (entry.mEntry.isRowPinned()) { in hasPinnedNotificationInternal() 306 if (userUnPinned && entry.mEntry != null) { in unpinAll() 307 if (entry.mEntry.mustStayOnScreen()) { in unpinAll() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 72 NotificationEntry mEntry; field in InflatedSmartRepliesTest 92 mEntry = new NotificationEntryBuilder() in setUp() 110 InflatedSmartReplies.chooseSmartRepliesAndActions(mSmartReplyConstants, mEntry); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions() 118 modifyRanking(mEntry) in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions() 126 InflatedSmartReplies.chooseSmartRepliesAndActions(mSmartReplyConstants, mEntry); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions() 138 InflatedSmartReplies.chooseSmartRepliesAndActions(mSmartReplyConstants, mEntry); in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 153 InflatedSmartReplies.chooseSmartRepliesAndActions(mSmartReplyConstants, mEntry); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 167 modifyRanking(mEntry) in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 172 InflatedSmartReplies.chooseSmartRepliesAndActions(mSmartReplyConstants, mEntry); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 175 mEntry.getSmartReplies()); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleTest.java | 56 private NotificationEntry mEntry; field in BubbleTest 70 mEntry = new NotificationEntryBuilder() in setUp() 74 mBubble = new Bubble(mEntry, mSuppressionListener, null); in setUp() 81 mEntry.setBubbleMetadata(metadata); in setUp() 89 assertEquals(msg, BubbleViewInfoTask.extractFlyoutMessage(mEntry).message); in testGetUpdateMessage_default() 100 assertEquals(msg, BubbleViewInfoTask.extractFlyoutMessage(mEntry).message); in testGetUpdateMessage_bigText() 108 assertNull(BubbleViewInfoTask.extractFlyoutMessage(mEntry).message); in testGetUpdateMessage_media() 124 BubbleViewInfoTask.extractFlyoutMessage(mEntry).message); in testGetUpdateMessage_inboxStyle() 139 assertEquals("Oh, hello!", BubbleViewInfoTask.extractFlyoutMessage(mEntry).message); in testGetUpdateMessage_messagingStyle() 140 assertEquals("Mady", BubbleViewInfoTask.extractFlyoutMessage(mEntry).senderName); in testGetUpdateMessage_messagingStyle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceNotificationListenerTest.java | 44 private NotificationEntry mEntry; field in ForegroundServiceNotificationListenerTest 62 mEntry = new NotificationEntryBuilder() in setup() 78 assertTrue(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_should_foreground() 87 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_foreground() 96 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_notForeground() 105 mEntry.setInterruption(); in testShouldExtendLifetime_shouldNot_interruped() 108 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_interruped()
|
/frameworks/base/tools/aapt/tests/ |
D | MockDirectoryWalker.h | 48 mEntry.d_type = DT_REG; in nextEntry() 49 mEntry.d_ino = mPos; in nextEntry() 53 mEntry.d_name[i] = mData[mPos].first[i]; in nextEntry() 54 mEntry.d_name[i] = '\0'; in nextEntry() 63 return &mEntry; in nextEntry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AlertingNotificationManager.java | 114 alertEntry.mEntry.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in updateNotification() 143 return entry != null ? entry.mEntry : null; in getEntry() 152 return mAlertEntries.values().stream().map(headsUpEntry -> headsUpEntry.mEntry); in getAllEntries() 205 NotificationEntry entry = alertEntry.mEntry; in removeAlertEntry() 241 || alertEntry.mEntry.isRowDismissed(); in canRemoveImmediately() 272 @Nullable public NotificationEntry mEntry; field in AlertingNotificationManager.AlertEntry 284 mEntry = entry; in setEntry() 335 ? mEntry.getKey().compareTo(alertEntry.mEntry.getKey()) : -1); in compareTo() 339 mEntry = null; in reset()
|
/frameworks/av/media/libnblog/ |
D | Entry.cpp | 146 return EntryIterator(mEntry); in begin() 151 return (const char*) mEntry + offsetof(entry, data); in formatString() 156 return mEntry[offsetof(entry, length)]; in formatStringLength() 227 return EntryIterator(mEntry).payload<HistTsEntry>().ts; in timestamp() 232 return EntryIterator(mEntry).payload<HistTsEntry>().hash; in hash() 237 EntryIterator it(mEntry); in author() 249 memcpy(buffer, mEntry, sizeof(entry) + sizeof(HistTsEntry)); in copyWithAuthor() 258 return EntryIterator(mEntry).next(); in copyWithAuthor()
|