Home
last modified time | relevance | path

Searched refs:getEntry (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java110 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testShowinEntryUpdated()
111 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testShowinEntryUpdated()
112 Assert.assertEquals(mFirst.getEntry(), mHeadsUpStatusBarView.getShowingEntry()); in testShowinEntryUpdated()
116 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testShowinEntryUpdated()
124 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testShownUpdated()
125 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testShownUpdated()
130 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testShownUpdated()
138 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testHeaderUpdated()
139 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testHeaderUpdated()
144 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testHeaderUpdated()
[all …]
DStatusBarNotificationActivityStarterTest.java169 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in setUp()
175 StatusBarNotification bubbleSbn = mBubbleNotificationRow.getEntry().getSbn(); in setUp()
180 mActiveNotifications.add(mNotificationRow.getEntry()); in setUp()
181 mActiveNotifications.add(mBubbleNotificationRow.getEntry()); in setUp()
185 when(mOnUserInteractionCallback.getGroupSummaryToDismiss(mNotificationRow.getEntry())) in setUp()
256 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_keyGuardShowing()
278 orderVerifier.verify(mOnUserInteractionCallback).onDismiss(mNotificationRow.getEntry(), in testOnNotificationClicked_keyGuardShowing()
285 StatusBarNotification sbn = mBubbleNotificationRow.getEntry().getSbn(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
294 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
308 verify(mOnUserInteractionCallback, never()).onDismiss(eq(mNotificationRow.getEntry()), in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java179 final NotificationEntry entry = mCollectionListener.getEntry(notif1.key); in testEventDispatchedWhenNotifPosted()
255 final NotificationEntry entry = mCollectionListener.getEntry(notif2.key); in testEventDispatchedWhenNotifUpdated()
272 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testEventDispatchedWhenNotifRemoved()
292 NotificationEntry entry1 = mCollectionListener.getEntry(notif1.key); in testRankingsAreUpdatedForOtherNotifs()
314 NotificationEntry entry1 = mCollectionListener.getEntry(notif1.key); in testRankingUpdateIsProperlyIssuedToEveryone()
315 NotificationEntry entry2 = mCollectionListener.getEntry(notif2.key); in testRankingUpdateIsProperlyIssuedToEveryone()
316 NotificationEntry entry3 = mCollectionListener.getEntry(notif3.key); in testRankingUpdateIsProperlyIssuedToEveryone()
355 NotificationEntry entry1 = mCollectionListener.getEntry(notif1.key); in testNotifEntriesAreNotPersistedAcrossRemovalAndReposting()
362 NotificationEntry entry2 = mCollectionListener.getEntry(notif1.key); in testNotifEntriesAreNotPersistedAcrossRemovalAndReposting()
371 NotificationEntry entry2 = mCollectionListener.getEntry(notif2.key); in testDismissNotificationSentToSystemServer()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DNewNotifPipelineBubblesTest.java676 mEntryListener.onEntryAdded(mNonBubbleNotifRow.getEntry()); in testAddNotif_notBubble()
677 mEntryListener.onEntryUpdated(mNonBubbleNotifRow.getEntry()); in testAddNotif_notBubble()
826 mEntryListener.onEntryAdded(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
827 when(mNotificationEntryManager.getPendingOrActiveNotif(groupedBubble.getEntry().getKey())) in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
828 .thenReturn(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
830 assertTrue(mBubbleData.hasBubbleInStackWithKey(groupedBubble.getEntry().getKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
833 mBubblesManager.handleDismissalInterception(groupSummary.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
837 groupedBubble.getEntry().getKey(), in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
838 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
840 groupedBubble.getEntry().getKey(), in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
[all …]
DBubblesTest.java798 mEntryListener.onPendingEntryAdded(mNonBubbleNotifRow.getEntry()); in testAddNotif_notBubble()
799 mEntryListener.onPreEntryUpdated(mNonBubbleNotifRow.getEntry()); in testAddNotif_notBubble()
1014 when(mNotificationEntryManager.getPendingOrActiveNotif(groupedBubble.getEntry().getKey())) in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1015 .thenReturn(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1016 mEntryListener.onPendingEntryAdded(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1018 assertTrue(mBubbleData.hasBubbleInStackWithKey(groupedBubble.getEntry().getKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1021 mBubblesManager.handleDismissalInterception(groupSummary.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1025 groupedBubble.getEntry().getKey(), in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1026 groupSummary.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1028 groupedBubble.getEntry().getKey(), in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
[all …]
/frameworks/av/media/libmedia/
DCharacterEncodingDetector.cpp83 *name = mNames.getEntry(index); in getTag()
84 *value = mValues.getEntry(index); in getTag()
102 ALOGV("%s: %s", mNames.getEntry(i), mValues.getEntry(i)); in detectAndConvert()
118 const char *name = mNames.getEntry(i); in detectAndConvert()
119 const char *value = mValues.getEntry(i); in detectAndConvert()
157 const char *name = mNames.getEntry(i); in detectAndConvert()
158 const char *value = mValues.getEntry(i); in detectAndConvert()
194 const char *name = mNames.getEntry(i); in detectAndConvert()
195 uint8_t* src = (uint8_t *)mValues.getEntry(i); in detectAndConvert()
199 const char *s = mValues.getEntry(i); in detectAndConvert()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackControllerTest.java101 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_flagDisabled()
103 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_flagDisabled()
109 NotificationEntry entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_UNCHANGED); in testFeedback_changedImportance()
113 entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_LOW, RANKING_UNCHANGED); in testFeedback_changedImportance()
117 entry = getEntry(IMPORTANCE_LOW, IMPORTANCE_MIN, RANKING_UNCHANGED); in testFeedback_changedImportance()
126 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_PROMOTED); in testFeedback_changedRanking()
130 entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_DEMOTED); in testFeedback_changedRanking()
139 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testGetFeedbackResources_flagDisabled()
142 private NotificationEntry getEntry(int oldImportance, int newImportance, in getEntry() method in AssistantFeedbackControllerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java133 modifyRanking(row.getEntry()) in testPerhapsShowBlockingHelper_shown()
147 modifyRanking(childRow.getEntry()) in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
154 modifyRanking(groupRow.getEntry()) in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
166 modifyRanking(groupRow.getEntry()) in testPerhapsShowBlockingHelper_shownForLargeGroup()
183 modifyRanking(childRow.getEntry()) in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
188 when(mGroupMembershipManager.isOnlyChildInGroup(childRow.getEntry())).thenReturn(true); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
197 modifyRanking(row.getEntry()) in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment()
208 modifyRanking(row.getEntry()) in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment()
218 modifyRanking(row.getEntry()) in testPerhapsShowBlockingHelper_notShownDueToShadeVisibility()
231 modifyRanking(row.getEntry()) in testPerhapsShowBlockingHelper_notShownDueToNonblockability()
[all …]
DNotificationContentInflaterTest.java140 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed()
157 mRow.getEntry(), in testIncreasedHeightBeingUsed()
185 mRow.getEntry().getSbn().getNotification().contentView in testInflationThrowsErrorDoesntCallUpdated()
195 mRow.getEntry().abortTask(); in testAsyncTaskRemoved()
205 mRow.getEntry(), in testRemovedNotInflated()
211 Assert.assertNull(mRow.getEntry().getRunningTask()); in testRemovedNotInflated()
228 mRow.getEntry(), in testInflationIsRetriedIfAsyncFails()
274 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
276 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
295 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
[all …]
DFeedbackInfoTest.java124 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), in testBindNotification_SetsTextApplicationName()
135 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), in testBindNotification_SetsPackageIcon()
145 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_silenced()
157 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_promoted()
169 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_alerted()
181 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_demoted()
191 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPositiveFeedback()
208 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testNegativeFeedback()
219 private NotificationEntry getEntry(int oldImportance, int newImportance, in getEntry() method in FeedbackInfoTest
230 private NotificationEntry getEntry() { in getEntry() method in FeedbackInfoTest
[all …]
DNotificationGutsManagerTest.java238 NotificationEntry realEntry = realRow.getEntry(); in testChangeDensityOrFontScale()
355 final NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_highPriority()
389 modifyRanking(row.getEntry()) in testInitializeNotificationInfoView_PassesAlongProvisionedState()
393 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_PassesAlongProvisionedState()
394 NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_PassesAlongProvisionedState()
423 modifyRanking(row.getEntry()) in testInitializeNotificationInfoView_withInitialAction()
427 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_withInitialAction()
428 NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_withInitialAction()
455 NotificationEntry entry = row.getEntry(); in testShouldExtendLifetime()
465 NotificationEntry entry = createTestNotificationRow().getEntry(); in testSetShouldManageLifetime_setShouldManage()
[all …]
DExpandableNotificationRowTest.java279 modifyRanking(childRow.getEntry()) in testGetNumUniqueChildren_multiChannel()
294 assertEquals(50, -mGroupRow.getEntry().getIcons().getShelfIcon().getScrollX()); in testIconScrollXAfterTranslationAndReset()
297 assertEquals(0, mGroupRow.getEntry().getIcons().getShelfIcon().getScrollX()); in testIconScrollXAfterTranslationAndReset()
320 row.getEntry().getChannel().setImportanceLockedByOEM(true); in testGetIsNonblockable_oemLocked()
329 row.getEntry().getChannel().setImportanceLockedByCriticalDeviceFunction(true); in testGetIsNonblockable_criticalDeviceFunction()
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp50 sp<TiffEntry> TiffIfd::getEntry(uint16_t tag) const { in getEntry() function in android::img_utils::TiffIfd
172 sp<TiffEntry> widthEntry = getEntry(TAG_IMAGEWIDTH); in validateAndSetStripTags()
178 sp<TiffEntry> heightEntry = getEntry(TAG_IMAGELENGTH); in validateAndSetStripTags()
184 sp<TiffEntry> samplesEntry = getEntry(TAG_SAMPLESPERPIXEL); in validateAndSetStripTags()
190 sp<TiffEntry> bitsEntry = getEntry(TAG_BITSPERSAMPLE); in validateAndSetStripTags()
299 sp<TiffEntry> oldOffsets = getEntry(TAG_STRIPOFFSETS); in setStripOffset()
305 sp<TiffEntry> stripByteCounts = getEntry(TAG_STRIPBYTECOUNTS); in setStripOffset()
347 sp<TiffEntry> stripByteCounts = getEntry(TAG_STRIPBYTECOUNTS); in getStripSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java257 StatusBarNotification sbn = row.getEntry().getSbn(); in bindGuts()
312 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeSnoozeView()
316 notificationSnoozeView.setSnoozeOptions(row.getEntry().getSnoozeCriteria()); in initializeSnoozeView()
331 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeFeedbackInfo()
336 if (mAssistantFeedbackController.showFeedbackIndicator(row.getEntry())) { in initializeFeedbackInfo()
337 feedbackInfo.bindGuts(pmUser, sbn, row.getEntry(), row, mAssistantFeedbackController); in initializeFeedbackInfo()
351 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeNotificationInfo()
382 row.getEntry().getChannel(), in initializeNotificationInfo()
384 row.getEntry(), in initializeNotificationInfo()
390 mHighPriorityProvider.isHighPriority(row.getEntry()), in initializeNotificationInfo()
[all …]
/frameworks/compile/mclinker/lib/Support/
DDirectory.cpp122 if (iter.getEntry() == NULL) in begin()
144 m_pEntry = m_Iter.getEntry(); in DirIterator()
193 m_pEntry = m_Iter.getEntry(); in operator ++()
214 m_pEntry = m_Iter.getEntry(); in operator ++()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java68 final NotificationEntry entry = row.getEntry(); in onClick()
95 if (!row.getEntry().isBubble() && mBubblesOptional.isPresent()) { in onClick()
112 || row.getEntry().isBubble()) { in register()
/frameworks/compile/mclinker/unittests/
DHashTableTest.cpp102 EXPECT_EQ(999, entry.getEntry()->value()); in TEST_F()
229 EXPECT_EQ((key + 10), iter.getEntry()->value()); in TEST_F()
251 EXPECT_EQ(iter.getEntry()->key() + 10, iter.getEntry()->value()); in TEST_F()
274 EXPECT_EQ(key + 10, iter.getEntry()->value()); in TEST_F()
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DVisibleRecipientChip.java79 public RecipientEntry getEntry() { in getEntry() method in VisibleRecipientChip
80 return mDelegate.getEntry(); in getEntry()
DInvisibleRecipientChip.java81 public RecipientEntry getEntry() { in getEntry() method in InvisibleRecipientChip
82 return mDelegate.getEntry(); in getEntry()
DBaseRecipientChip.java70 RecipientEntry getEntry(); in getEntry() method
/frameworks/compile/mclinker/include/mcld/ADT/
DHashIterator.h83 inline entry_type* getEntry() { in getEntry() function
89 inline const entry_type* getEntry() const { in getEntry() function
187 inline entry_type* getEntry() { in getEntry() function
193 inline const entry_type* getEntry() const { in getEntry() function
/frameworks/compile/mclinker/lib/LD/
DSectionSymbolSet.cpp98 return entry.getEntry()->value(); in get()
103 return entry.getEntry()->value(); in get()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java205 parent = ent.getRow().getNotificationParent().getEntry(); in updateNotificationViews()
250 NotificationEntry entry = viewToRemove.getEntry(); in updateNotificationViews()
353 List<NotificationEntry> orderedChildren = mTmpChildOrderMap.get(parent.getEntry()); in addNotificationChildrenAndSort()
398 List<NotificationEntry> orderedChildren = mTmpChildOrderMap.get(parent.getEntry()); in removeNotificationChildren()
404 || !orderedChildren.contains(childRow.getEntry())) in removeNotificationChildren()
412 remove.getEntry().getSbn().getKey()) == null) { in removeNotificationChildren()
450 NotificationEntry entry = row.getEntry(); in updateRowStatesInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java125 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testSendRemoteInput_intentContainsResultsAndSource()
163 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in getTargetInputMethodUser()
206 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testNoCrashWithoutVisibilityListener()
220 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndSend()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java516 results.add(c.getEntry()); in getSelectedRecipients()
531 results.add(chip.getEntry()); in getAllRecipients()
732 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink()
1339 replaceChip(chip, chip.getEntry()); in checkChipWidths()
1845 final RecipientEntry entry = lastRecipientChip.getEntry(); in onKeyDown()
1944 currentChip.getEntry().getDestination()); in onTouchEvent()
2074 return new SingleRecipientArrayAdapter(getContext(), currentChip.getEntry(), in createSingleAddressAdapter()
2562 mRecipientChipDeletedListener.onRecipientChipDeleted(currentChip.getEntry()); in selectChip()
2650 editable.setSpan(constructChipSpan(chip.getEntry()), in unselectChip()
2668 mRecipientChipDeletedListener.onRecipientChipDeleted(mSelectedChip.getEntry()); in onChipDelete()
[all …]

12345