/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/phone/ |
D | HeadsUpManagerPhoneTest.java | 65 private NotificationData.Entry mEntry; field in HeadsUpManagerPhoneTest 88 mEntry = new NotificationData.Entry(mSbn); in setUp() 89 mEntry.row = mRow; in setUp() 90 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp() 96 assertNull(mHeadsUpManager.getEntry(mEntry.key)); in testBasicOperations() 102 mHeadsUpManager.showNotification(mEntry); in testBasicOperations() 104 assertEquals(mEntry, mHeadsUpManager.getEntry(mEntry.key)); in testBasicOperations() 105 assertEquals(mEntry, mHeadsUpManager.getTopEntry()); in testBasicOperations() 110 mHeadsUpManager.updateNotification(mEntry, false); in testBasicOperations() 112 assertEquals(mEntry, mHeadsUpManager.getEntry(mEntry.key)); in testBasicOperations() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationEntryManagerTest.java | 103 private NotificationData.Entry mEntry; field in NotificationEntryManagerTest 180 mEntry = new NotificationData.Entry(mSbn); in setUp() 181 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp() 186 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in setUp() 224 assertEquals(mEntry.userSentiment, in testAddNotification() 233 mEntryManager.getNotificationData().add(mEntry); in testUpdateNotification() 235 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEGATIVE); in testUpdateNotification() 245 verify(mRemoteInputManager).onUpdateNotification(mEntry); in testUpdateNotification() 249 assertNotNull(mEntry.row); in testUpdateNotification() 250 assertEquals(mEntry.userSentiment, in testUpdateNotification() [all …]
|
D | NotificationRemoteInputManagerTest.java | 50 private NotificationData.Entry mEntry; field in NotificationRemoteInputManagerTest 65 mEntry = new NotificationData.Entry(mSbn); in setUp() 66 mEntry.row = mRow; in setUp() 74 assertFalse(mRemoteInputManager.onRemoveNotification(mEntry)); in testOnRemoveNotificationNotKept() 80 when(mController.isRemoteInputActive(mEntry)).thenReturn(true); in testOnRemoveNotificationKept() 81 assertTrue(mRemoteInputManager.onRemoveNotification(mEntry)); in testOnRemoveNotificationKept() 83 Sets.newArraySet(mEntry))); in testOnRemoveNotificationKept() 88 when(mController.isRemoteInputActive(mEntry)).thenReturn(true); in testPerformOnRemoveNotification() 89 mRemoteInputManager.onPerformRemoveNotification(mSbn, mEntry); in testPerformOnRemoveNotification() 91 verify(mController).removeRemoteInput(mEntry, null); in testPerformOnRemoveNotification() [all …]
|
D | SmartReplyControllerTest.java | 53 private NotificationData.Entry mEntry; field in SmartReplyControllerTest 75 mEntry = new NotificationData.Entry(sbn); in setUp() 87 controller.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT); in testSendSmartReply_updatesRemoteInput() 107 controller.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT); in testSendSmartReply_logsToStatusBar() 117 controller.smartRepliesAdded(mEntry, TEST_CHOICE_COUNT); in testShowSmartReply_logsToStatusBar() 127 controller.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT); in testSendSmartReply_reportsSending() 136 controller.stopSending(mEntry); in testSendingSmartReply_afterRemove_shouldReturnFalse()
|
D | NotificationLoggerTest.java | 70 private NotificationData.Entry mEntry; field in NotificationLoggerTest 85 mEntry = new NotificationData.Entry(mSbn); in setUp() 86 mEntry.row = mRow; in setUp() 95 NotificationVisibility.obtain(mEntry.key, 0, 1, true) in testOnChildLocationsChangedReportsVisibilityChanged() 113 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testOnChildLocationsChangedReportsVisibilityChanged() 135 when(mNotificationData.getActiveNotifications()).thenReturn(Lists.newArrayList(mEntry)); in testStoppingNotificationLoggingReportsCurrentNotifications()
|
/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/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 87 private NotificationData.Entry mEntry; field in RemoteInputView 151 mEntry.remoteInputText = mEditText.getText(); in sendRemoteInput() 152 mEntry.lastRemoteInputSent = SystemClock.elapsedRealtime(); in sendRemoteInput() 153 mController.addSpinning(mEntry.key, mToken); in sendRemoteInput() 154 mController.removeRemoteInput(mEntry, mToken); in sendRemoteInput() 156 mController.remoteInputSent(mEntry); in sendRemoteInput() 157 mEntry.setHasSentReply(); in sendRemoteInput() 165 mEntry.notification.getPackageName(), in sendRemoteInput() 166 mEntry.notification.getUser().getIdentifier()); in sendRemoteInput() 169 mEntry.notification.getPackageName()); in sendRemoteInput() [all …]
|
/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/tools/aapt/ |
D | DirectoryWalker.h | 41 struct dirent mEntry; variable 78 mEntry = *entryPtr; in nextEntry() 80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); in nextEntry() 82 return &mEntry; in nextEntry()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | SimpleRecipientChip.java | 36 private final RecipientEntry mEntry; field in SimpleRecipientChip 49 mEntry = entry; in SimpleRecipientChip() 94 return mEntry; in getEntry() 108 return !TextUtils.isEmpty(mOriginalText) ? mOriginalText : mEntry.getDestination(); in getOriginalText()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | VisualStabilityManagerTest.java | 47 private NotificationData.Entry mEntry; field in VisualStabilityManagerTest 52 mEntry = new NotificationData.Entry(mock(StatusBarNotification.class)); in setUp() 53 mEntry.row = mRow; in setUp() 134 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true); in testReorderingVisibleHeadsUpNotAllowed() 143 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true); in testReorderingVisibleHeadsUpAllowed() 152 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true); in testReorderingVisibleHeadsUpAllowedOnce()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | RowInflaterTask.java | 39 private NotificationData.Entry mEntry; field in RowInflaterTask 53 mEntry = entry; in inflate() 67 mEntry.onInflationTaskFinished(); in onInflateFinished()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableNotificationRow.java | 182 private NotificationData.Entry mEntry; field in ExpandableNotificationRow 241 mOnExpandClickListener.onExpandClicked(mEntry, nowExpanded); 258 mOnExpandClickListener.onExpandClicked(mEntry, nowExpanded); 414 mEntry = entry; in updateNotification() 426 if (mEntry != null && mEntry.mIsSystemNotification == null) { in cacheIsSystemNotification() 445 if (mEntry != null && mEntry.mIsSystemNotification == null) { in getIsNonblockable() 450 mEntry.mIsSystemNotification = isSystemNotification(mContext, mStatusBarNotification); in getIsNonblockable() 453 if (!isNonblockable && mEntry != null && mEntry.mIsSystemNotification != null) { in getIsNonblockable() 454 if (mEntry.mIsSystemNotification) { in getIsNonblockable() 455 if (mEntry.channel != null in getIsNonblockable() [all …]
|
/frameworks/av/media/libnblog/ |
D | NBLog.cpp | 81 NBLog::AbstractEntry::AbstractEntry(const uint8_t *entry) : mEntry(entry) { in AbstractEntry() 87 return EntryIterator(mEntry); in begin() 91 return (const char*) mEntry + offsetof(entry, data); in formatString() 95 return mEntry[offsetof(entry, length)]; in formatStringLength() 235 return EntryIterator(mEntry).payload<HistTsEntry>().ts; in timestamp() 239 return EntryIterator(mEntry).payload<HistTsEntry>().hash; in hash() 243 EntryIterator it(mEntry); in author() 257 memcpy(buffer, mEntry, sizeof(entry) + sizeof(HistTsEntry)); in copyWithAuthor() 266 return EntryIterator(mEntry).next(); in copyWithAuthor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 82 private NotificationData.Entry mEntry; field in SmartReplyViewTest 110 mEntry = new NotificationData.Entry(sbn); in setUp() 164 verify(mLogger).smartReplySent(mEntry, 2, TEST_CHOICES[2]); in testSendSmartReply_controllerCalled() 378 mView.setRepliesFromRemoteInput(input, pendingIntent, mLogger, mEntry, mContainer); in setRepliesFromRemoteInput()
|
/frameworks/av/include/media/nblog/ |
D | NBLog.h | 163 const uint8_t *mEntry;
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | NBLog.h | 163 const uint8_t *mEntry;
|
/frameworks/base/config/ |
D | hiddenapi-private-dex.txt | 28785 Landroid/hardware/camera2/params/ReprocessFormatsMap;->mEntry:[I
|