Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackControllerTest.java102 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_flagDisabled()
104 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_flagDisabled()
107 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_PROMOTED))); in testFeedback_flagDisabled()
109 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_PROMOTED))); in testFeedback_flagDisabled()
116 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_noChange()
118 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_UNCHANGED))); in testFeedback_noChange()
124 NotificationEntry entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_UNCHANGED); in testFeedback_changedImportance()
128 entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_LOW, RANKING_UNCHANGED); in testFeedback_changedImportance()
132 entry = getEntry(IMPORTANCE_LOW, IMPORTANCE_MIN, RANKING_UNCHANGED); in testFeedback_changedImportance()
141 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_DEFAULT, RANKING_PROMOTED); in testFeedback_changedRanking()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepositoryTest.kt59 entryRepository.getEntry( in testGetEntry()
69 entryRepository.getEntry( in testGetEntry()
79 entryRepository.getEntry( in testGetEntry()
89 entryRepository.getEntry( in testGetEntry()
99 entryRepository.getEntry( in testGetEntry()
104 entryRepository.getEntry( in testGetEntry()
109 entryRepository.getEntry( in testGetEntry()
114 entryRepository.getEntry( in testGetEntry()
/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/
DNotifCollectionTest.java211 final NotificationEntry entry = mCollection.getEntry(notif1.key); in testIsOnlyChildInGroup()
235 final NotificationEntry entry = mCollectionListener.getEntry(notif1.key); in testEventDispatchedWhenNotifPosted()
249 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testCancelNonExistingNotification()
320 final NotificationEntry entry = mCollectionListener.getEntry(notif2.key); in testEventDispatchedWhenNotifUpdated()
337 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testEventDispatchedWhenNotifRemoved()
363 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testEventDispatchedWhenChannelChanged()
394 final NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testScheduleBuildNotificationListWhenChannelChanged()
448 final NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testBuildNotificationListWhenChannelChanged()
472 NotificationEntry entry1 = mCollectionListener.getEntry(notif1.key); in testRankingsAreUpdatedForOtherNotifs()
494 NotificationEntry entry1 = mCollectionListener.getEntry(notif1.key); in testRankingUpdateIsProperlyIssuedToEveryone()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java154 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed()
171 mRow.getEntry(), in testIncreasedHeightBeingUsed()
199 mRow.getEntry().getSbn().getNotification().contentView in testInflationThrowsErrorDoesntCallUpdated()
209 mRow.getEntry().abortTask(); in testAsyncTaskRemoved()
219 mRow.getEntry(), in testRemovedNotInflated()
225 Assert.assertNull(mRow.getEntry().getRunningTask()); in testRemovedNotInflated()
243 mRow.getEntry(), in testInflationIsRetriedIfAsyncFails()
291 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
293 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
312 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
[all …]
DFeedbackInfoTest.java135 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), in testBindNotification_SetsTextApplicationName()
147 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), in testBindNotification_SetsPackageIcon()
158 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_silenced()
170 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_promoted()
182 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_alerted()
194 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPrompt_demoted()
204 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testPositiveFeedback()
221 mFeedbackInfo.bindGuts(mMockPackageManager, mSbn, getEntry(), mMockNotificationRow, in testNegativeFeedback()
232 private NotificationEntry getEntry(int oldImportance, int newImportance, in getEntry() method in FeedbackInfoTest
243 private NotificationEntry getEntry() { in getEntry() method in FeedbackInfoTest
[all …]
DNotificationGutsManagerTest.java252 verify(mHeadsUpManager).setGutsShown(realRow.getEntry(), true); in testOpenAndCloseGuts()
260 verify(mHeadsUpManager).setGutsShown(realRow.getEntry(), false); in testOpenAndCloseGuts()
343 NotificationEntry realEntry = realRow.getEntry(); in testChangeDensityOrFontScale()
459 final NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_highPriority()
492 modifyRanking(row.getEntry()) in testInitializeNotificationInfoView_PassesAlongProvisionedState()
496 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_PassesAlongProvisionedState()
497 NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_PassesAlongProvisionedState()
525 modifyRanking(row.getEntry()) in testInitializeNotificationInfoView_withInitialAction()
529 StatusBarNotification statusBarNotification = row.getEntry().getSbn(); in testInitializeNotificationInfoView_withInitialAction()
530 NotificationEntry entry = row.getEntry(); in testInitializeNotificationInfoView_withInitialAction()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java161 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testSendRemoteInput_intentContainsResultsAndSource()
162 RemoteInputViewController controller = bindController(view, row.getEntry()); in testSendRemoteInput_intentContainsResultsAndSource()
201 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in getTargetInputMethodUser()
202 RemoteInputViewController controller = bindController(view, row.getEntry()); in getTargetInputMethodUser()
248 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testNoCrashWithoutVisibilityListener()
262 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testPredictiveBack_registerAndUnregister()
291 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiPredictiveBack_openAndDispatchCallback()
326 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndSend()
327 RemoteInputViewController controller = bindController(view, row.getEntry()); in testUiEventLogging_openAndSend()
356 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndAttach()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java286 NotificationEntry entry = row.getEntry(); in bindGuts()
303 mHeadsUpManager.setGutsShown(row.getEntry(), false); in bindGuts()
338 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeSnoozeView()
342 notificationSnoozeView.setSnoozeOptions(row.getEntry().getSnoozeCriteria()); in initializeSnoozeView()
357 if (mAssistantFeedbackController.getFeedbackIcon(row.getEntry()) == null) { in initializeFeedbackInfo()
360 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeFeedbackInfo()
365 feedbackInfo.bindGuts(pmUser, sbn, row.getEntry(), row, mAssistantFeedbackController, in initializeFeedbackInfo()
379 StatusBarNotification sbn = row.getEntry().getSbn(); in initializeNotificationInfo()
410 row.getEntry().getChannel(), in initializeNotificationInfo()
411 row.getEntry(), in initializeNotificationInfo()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java75 final NotificationEntry entry = row.getEntry(); in onClick()
102 if (!row.getEntry().isBubble() && mBubblesOptional.isPresent()) { in onClick()
119 || row.getEntry().isBubble()) { in register()
121 mNotificationActivityStarter.onNotificationBubbleIconClicked(row.getEntry())); in register()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java194 StatusBarNotification sbn = mNotificationRow.getEntry().getSbn(); in setUp()
200 StatusBarNotification bubbleSbn = mBubbleNotificationRow.getEntry().getSbn(); in setUp()
209 when(mOnUserInteractionCallback.registerFutureDismissal(eq(mNotificationRow.getEntry()), in setUp()
300 NotificationEntry entry = mNotificationRow.getEntry(); in testOnNotificationClicked_keyGuardShowing()
334 NotificationEntry entry = mBubbleNotificationRow.getEntry(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
344 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
359 .registerFutureDismissal(eq(mNotificationRow.getEntry()), anyInt()); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
366 NotificationEntry entry = mBubbleNotificationRow.getEntry(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
378 verify(mBubblesManager).expandStackAndSelectBubble(eq(mBubbleNotificationRow.getEntry())); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
394 NotificationEntry entry = mBubbleNotificationRow.getEntry(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
[all …]
/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/tests/src/com/android/systemui/wmshell/
DBubblesTest.java671 when(mCommonNotifCollection.getEntry(mRow.getKey())).thenReturn(mRow); in testRemoveBubble_withDismissedNotif_notInOverflow()
1001 mEntryListener.onEntryAdded(mNonBubbleNotifRow.getEntry()); in testAddNotif_notBubble()
1002 mEntryListener.onEntryUpdated(mNonBubbleNotifRow.getEntry(), /* fromSystem= */ true); in testAddNotif_notBubble()
1151 mEntryListener.onEntryAdded(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1152 when(mCommonNotifCollection.getEntry(groupedBubble.getEntry().getKey())) in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1153 .thenReturn(groupedBubble.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1155 assertTrue(mBubbleData.hasBubbleInStackWithKey(groupedBubble.getEntry().getKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1158 mBubblesManager.handleDismissalInterception(groupSummary.getEntry()); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1162 groupedBubble.getEntry().getKey(), in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
1163 groupedBubble.getEntry().getSbn().getGroupKey())); in testBubbleSummaryDismissal_suppressesSummaryAndBubbleFromShade()
[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/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/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/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/notification/collection/provider/
DNotificationVisibilityProviderImpl.kt49 notifCollection.getEntry(key)?.let { return obtain(it, visible) } in obtain()
53 NotificationLogger.getNotificationLocation(notifCollection.getEntry(key)) in getLocation()
/frameworks/base/identity/java/android/security/identity/
DCredstoreCredentialDataResult.java106 public @Nullable byte[] getEntry(@NonNull String namespaceName, @NonNull String name) { in getEntry() method in CredstoreCredentialDataResult.CredstoreEntries
107 return mResultData.getEntry(namespaceName, name); in getEntry()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DBufferedZipFilePerfTest.java75 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeUnbufferedRead()
95 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeBufferedRead()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationBigPictureTemplateViewWrapperTest.java64 mRow.getEntry().getSbn().getNotification().setSmallIcon( in invalidLargeIconBig_noCrash()
66 mRow.getEntry().getSbn().getNotification().extras.putParcelable( in invalidLargeIconBig_noCrash()
/frameworks/av/media/libmedia/include/media/
DStringArray.h65 const char* getEntry(int idx) const { in getEntry() function

12345