Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleControllerTest.java168 when(mNotificationData.get(mRow.getEntry().key)).thenReturn(mRow.getEntry()); in setUp()
169 when(mNotificationData.getChannel(mRow.getEntry().key)).thenReturn(mRow.getEntry().channel); in setUp()
207 mBubbleController.updateBubble(mRow.getEntry()); in testAddBubble()
216 mBubbleController.updateBubble(mRow.getEntry()); in testHasBubbles()
222 mBubbleController.updateBubble(mRow.getEntry()); in testRemoveBubble()
223 assertNotNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testRemoveBubble()
228 mBubbleController.removeBubble(mRow.getEntry().key, BubbleController.DISMISS_USER_GESTURE); in testRemoveBubble()
230 assertNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testRemoveBubble()
237 mEntryListener.onPendingEntryAdded(mRow.getEntry()); in testRemoveBubble_withDismissedNotif()
238 mBubbleController.updateBubble(mRow.getEntry()); in testRemoveBubble_withDismissedNotif()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java97 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testShowinEntryUpdated()
98 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testShowinEntryUpdated()
99 Assert.assertEquals(mFirst.getEntry(), mHeadsUpStatusBarView.getShowingEntry()); in testShowinEntryUpdated()
103 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testShowinEntryUpdated()
111 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testShownUpdated()
112 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testShownUpdated()
117 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testShownUpdated()
125 when(mHeadsUpManager.getTopEntry()).thenReturn(mFirst.getEntry()); in testHeaderUpdated()
126 mHeadsUpAppearanceController.onHeadsUpPinned(mFirst.getEntry()); in testHeaderUpdated()
131 mHeadsUpAppearanceController.onHeadsUpUnPinned(mFirst.getEntry()); in testHeaderUpdated()
[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/collection/
DNotificationDataTest.java146 mNotificationData.rankingOverrides.put(mRow.getEntry().key, override); in testChannelSetWhenAdded()
147 mNotificationData.add(mRow.getEntry()); in testChannelSetWhenAdded()
148 assertEquals(NOTIFICATION_CHANNEL, mRow.getEntry().channel); in testChannelSetWhenAdded()
153 mNotificationData.add(mRow.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
155 mNotificationData.add(row2.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
159 mNotificationData.add(diffPkg.getEntry()); in testAllRelevantNotisTaggedWithAppOps()
167 NotificationTestHelper.PKG, mRow.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps()
169 NotificationTestHelper.PKG, row2.getEntry().key, true); in testAllRelevantNotisTaggedWithAppOps()
172 assertTrue(mRow.getEntry().key + " doesn't have op " + op, in testAllRelevantNotisTaggedWithAppOps()
173 mNotificationData.get(mRow.getEntry().key).mActiveAppOps.contains(op)); in testAllRelevantNotisTaggedWithAppOps()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java129 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_shown()
141 childRow.getEntry().channel = in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
145 groupRow.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
155 groupRow.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_shownForLargeGroup()
170 childRow.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
181 row.getEntry().userSentiment = USER_SENTIMENT_NEUTRAL; in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment()
190 row.getEntry().userSentiment = USER_SENTIMENT_POSITIVE; in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment()
198 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_notShownDueToShadeVisibility()
209 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_notShownDueToNonblockability()
222 childRow.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testPerhapsShowBlockingHelper_notShownAsNotificationIsInMultipleChildGroup()
[all …]
DNotificationGutsManagerTest.java197 NotificationEntry realEntry = realRow.getEntry(); in testChangeDensityOrFontScale()
315 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testInitializeNotificationInfoView_showBlockingHelper()
344 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testInitializeNotificationInfoView_dontShowBlockingHelper()
373 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testInitializeNotificationInfoView_highPriority()
374 row.getEntry().importance = IMPORTANCE_DEFAULT; in testInitializeNotificationInfoView_highPriority()
375 row.getEntry().setIsHighPriority(true); in testInitializeNotificationInfoView_highPriority()
404 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testInitializeNotificationInfoView_PassesAlongProvisionedState()
434 row.getEntry().userSentiment = USER_SENTIMENT_NEGATIVE; in testInitializeNotificationInfoView_withInitialAction()
463 NotificationEntry entry = row.getEntry(); in testShouldExtendLifetime()
473 NotificationEntry entry = createTestNotificationRow().getEntry(); in testSetShouldManageLifetime_setShouldManage()
[all …]
DExpandableNotificationRowTest.java330 childRow.getEntry().channel = in testGetNumUniqueChildren_multiChannel()
341 assertEquals(50, -mGroupRow.getEntry().expandedIcon.getScrollX()); in testIconScrollXAfterTranslationAndReset()
344 assertEquals(0, mGroupRow.getEntry().expandedIcon.getScrollX()); in testIconScrollXAfterTranslationAndReset()
367 row.getEntry().channel.setImportanceLockedByOEM(true); in testGetIsNonblockable_oemLocked()
376 row.getEntry().channel.setImportanceLockedByCriticalDeviceFunction(true); in testGetIsNonblockable_criticalDeviceFunction()
DNotificationContentInflaterTest.java152 mRow.getEntry().abortTask(); in testAsyncTaskRemoved()
163 Assert.assertNull(mRow.getEntry().getRunningTask()); in testRemovedNotInflated()
214 (NotificationContentInflater.AsyncInflationTask) mRow.getEntry().getRunningTask(); in testUpdateNeedsRedactionReinflatesChangedContentViews()
229 InflationTask runningTask = mRow.getEntry().getRunningTask(); in testSupersedesExistingTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java142 StatusBarNotification sbn = mRow.getEntry().notification; in testSuppressSystemAlertNotification()
147 assertTrue(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testSuppressSystemAlertNotification()
152 StatusBarNotification sbn = mRow.getEntry().notification; in testDoNotSuppressSystemAlertNotification()
160 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
165 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
170 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification()
178 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
180 StatusBarNotification sbn = mRow.getEntry().notification; in testDoNotSuppressMalformedSystemAlertNotification()
186 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DAnqpCacheTest.java67 ANQPData data = mCache.getEntry(ENTRY_KEY); in addAndGetEntry()
79 assertNull(mCache.getEntry(ENTRY_KEY)); in getNonExistEntry()
95 assertNotNull(mCache.getEntry(ENTRY_KEY)); in sweepRemoveExpiredEntry()
100 assertNull(mCache.getEntry(ENTRY_KEY)); in sweepRemoveExpiredEntry()
/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/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/bubbles/
DBubbleView.java113 public NotificationEntry getEntry() { in getEntry() method in BubbleView
114 return mBubble != null ? mBubble.getEntry() : null; in getEntry()
150 return (mBubble != null) ? mBubble.getEntry().getRow() : null; in getRowView()
232 Notification.BubbleMetadata metadata = mBubble.getEntry().getBubbleMetadata(); in updateViews()
233 Notification n = mBubble.getEntry().notification.getNotification(); in updateViews()
DBubbleController.java531 mBubbleData.notificationEntryRemoved(bubble.getEntry(), reason); in removeBubble()
603 mNotificationGroupManager.onEntryRemoved(bubbleChild.getEntry()); in handleSummaryRemovalInterception()
631 mBubbleData.notificationEntryRemoved(bubbleChild.getEntry(), in handleSummaryRemovalInterception()
712 bubble.getEntry().notification, UNDEFINED_DISMISS_REASON);
715 bubble.getEntry().notification.getNotification().flags &= ~FLAG_BUBBLE;
729 final String groupKey = bubble.getEntry().notification.getGroupKey();
743 bubble.getEntry().notification);
747 boolean isSummaryThisNotif = summary.key.equals(bubble.getEntry().key);
769 update.selectedBubble.getEntry());
/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/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/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java162 if (mRow.getEntry() == null) { in updateNeedsRedaction()
233 StatusBarNotification sbn = mRow.getEntry().notification; in inflateNotificationViews()
266 result = inflateSmartReplyViews(result, reInflateFlags, mRow.getEntry(), in inflateNotificationViews()
610 NotificationEntry entry = row.getEntry(); in finishIfDone()
675 endListener.onAsyncInflationFinished(row.getEntry(), reInflateFlags); in finishIfDone()
793 NotificationEntry entry = row.getEntry(); in AsyncInflationTask()
820 return inflateSmartReplyViews(inflationProgress, mReInflateFlags, mRow.getEntry(), in doInBackground()
840 mRow.getEntry().onInflationTaskFinished(); in handleError()
873 mRow.getEntry().onInflationTaskFinished(); in onAsyncInflationFinished()
875 mCallback.onAsyncInflationFinished(mRow.getEntry(), inflatedFlags); in onAsyncInflationFinished()
DNotificationGutsManager.java245 notificationSnoozeView.setSnoozeOptions(row.getEntry().snoozeCriteria); in initializeSnoozeView()
272 if (!row.getEntry().mActiveAppOps.isEmpty()) { in initializeAppOpsInfo()
273 appOpsInfoView.bindGuts(pmUser, onSettingsClick, sbn, row.getEntry().mActiveAppOps); in initializeAppOpsInfo()
320 row.getEntry().channel, in initializeNotificationInfo()
329 row.getEntry().importance, in initializeNotificationInfo()
330 row.getEntry().isHighPriority()); in initializeNotificationInfo()
/frameworks/compile/mclinker/lib/LD/
DSectionSymbolSet.cpp98 return entry.getEntry()->value(); in get()
103 return entry.getEntry()->value(); in get()
DBranchIsland.cpp90 assert(it.getEntry()->value() != NULL); in findStub()
91 return it.getEntry()->value(); in findStub()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java81 if (!row.getEntry().isBubble()) { in onClick()
98 || row.getEntry().isBubble()) { in register()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java110 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testSendRemoteInput_intentContainsResultsAndSource()
134 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in getTargetInputMethodUser()
173 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testNoCrashWithoutVisibilityListener()
/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