/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationDiff.java | 80 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame() local 82 return sameGroupUniqueIdentifiers(oldItem, newItem, mShowRecentsAndOlderHeaders); in areItemsTheSame() 100 NotificationGroup newItem, boolean showRecentsAndOlderHeaders) { in sameGroupUniqueIdentifiers() argument 102 if (oldItem == newItem) { in sameGroupUniqueIdentifiers() 106 if (!oldItem.getGroupKey().equals(newItem.getGroupKey())) { in sameGroupUniqueIdentifiers() 111 if (oldItem.isSeen() != newItem.isSeen()) { in sameGroupUniqueIdentifiers() 117 oldItem.getGroupSummaryNotification(), newItem.getGroupSummaryNotification()); in sameGroupUniqueIdentifiers() 125 static boolean sameNotificationKey(AlertEntry oldItem, AlertEntry newItem) { in sameNotificationKey() argument 126 if (oldItem == newItem) { in sameNotificationKey() 131 && newItem != null in sameNotificationKey() [all …]
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LinkPropertiesUtils.java | 54 for (T newItem : newItems) { in CompareResult() 55 if (!removed.remove(newItem)) { in CompareResult() 56 added.add(newItem); in CompareResult() 102 for (T newItem : newItems) { in CompareOrUpdateResult() 103 T oldItem = updateTracker.remove(keyCalculator.apply(newItem)); in CompareOrUpdateResult() 105 if (!oldItem.equals(newItem)) { in CompareOrUpdateResult() 107 updated.add(newItem); in CompareOrUpdateResult() 111 added.add(newItem); in CompareOrUpdateResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceItemTest.java | 49 AudioSharingDeviceItem newItem = new AudioSharingDeviceItem(parcel); in createItem_withParcel() local 50 assertThat(newItem.getName()).isEqualTo(TEST_NAME); in createItem_withParcel() 51 assertThat(newItem.getGroupId()).isEqualTo(TEST_GROUP_ID); in createItem_withParcel() 52 assertThat(newItem.isActive()).isEqualTo(TEST_IS_ACTIVE); in createItem_withParcel()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/ |
D | DevicePolicyGroupListAdapter.java | 54 DevicePolicyGroup newItem) { in DevicePolicyGroupListAdapter() 55 return oldItem.equals(newItem); in DevicePolicyGroupListAdapter() 60 DevicePolicyGroup newItem) { in DevicePolicyGroupListAdapter() 61 return oldItem.equals(newItem); in DevicePolicyGroupListAdapter()
|
D | ProvisionInfoListAdapter.java | 47 @NonNull ProvisionInfo newItem) { in ProvisionInfoListAdapter() 48 return oldItem.equals(newItem); in ProvisionInfoListAdapter() 53 @NonNull ProvisionInfo newItem) { in ProvisionInfoListAdapter() 54 return oldItem.equals(newItem); in ProvisionInfoListAdapter()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffCallback.java | 54 WidgetsListBaseEntry newItem = mNewEntries.get(newItemPosition); in areItemsTheSame() local 55 return oldItem.getClass().equals(newItem.getClass()) in areItemsTheSame() 56 && oldItem.mPkgItem.equals(newItem.mPkgItem); in areItemsTheSame()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/adapter/ |
D | OptionItemAdapter.kt | 69 val newItem = newItems[newItemPosition] in setItems() constant 70 return oldItem.key.value == newItem.key.value in setItems() 78 val newItem = newItems[newItemPosition] in setItems() constant 79 return oldItem == newItem in setItems()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockAdapter.kt | 152 newItem: DockAppItem in getChangePayload() 154 if (oldItem.type != newItem.type) { in getChangePayload() 157 return super.getChangePayload(oldItem, newItem) in getChangePayload()
|
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
D | SdkSandboxRestrictionsTest.java | 250 ContentValues newItem = new ContentValues(); in testSandboxCannotAccess_MediaStoreApi() local 251 newItem.put(MediaStore.Audio.Media.DISPLAY_NAME, "New Audio Item"); in testSandboxCannotAccess_MediaStoreApi() 252 newItem.put(MediaStore.Audio.Media.MIME_TYPE, "audio/mpeg"); in testSandboxCannotAccess_MediaStoreApi() 253 assertThrows(SecurityException.class, () -> resolver.insert(audioCollection, newItem)); in testSandboxCannotAccess_MediaStoreApi()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BgDataModel.java | 247 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() argument 248 addItem(context, item, newItem, null); in addItem() 252 Context context, ItemInfo item, boolean newItem, @Nullable LoaderMemoryLogger logger) { in addItem() argument 278 if (newItem) { in addItem() 295 if (newItem && item.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in addItem()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesListPreferenceControllerTest.java | 196 SearchIndexableRaw newItem = newData.get(0); in testUpdateDynamicRawDataToIndex_oneMode() local 197 assertThat(newItem.key).isEqualTo(ZenMode.MANUAL_DND_MODE_ID); in testUpdateDynamicRawDataToIndex_oneMode() 198 assertThat(newItem.title).isEqualTo("Do Not Disturb"); // set above in testUpdateDynamicRawDataToIndex_oneMode()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 425 for (EitItem newItem : items) { in handleEvents() 426 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents() 429 long newItemStartTime = newItem.getStartTimeUtcMillis(); in handleEvents() 430 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents() 443 newItem, in handleEvents() 462 newItem, in handleEvents() local
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/ |
D | CameraPickerDialog.kt | 250 mViewListItems.zip(newData).forEachIndexed { idx, (currentItem, newItem) -> in <lambda>() method 251 if (currentItem != newItem) { in <lambda>() 254 idx, ViewListItem.onlySelectedChanged(currentItem, newItem) in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 390 for (ItemInfo newItem : newItems) { 391 if (!oldItems.contains(newItem) && !newItem.equals(dropped)) { 392 moveIn.add(newItem);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 874 SparseArray<MergedItem> userItems, MergedItem newItem) { in addOtherUserItem() argument 875 MergedItem userItem = userItems.get(newItem.mUserId); in addOtherUserItem() 878 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem() 887 userItem = new MergedItem(newItem.mUserId); in addOtherUserItem() 888 userItems.put(newItem.mUserId, userItem); in addOtherUserItem() 899 userItem.mChildren.add(newItem); in addOtherUserItem()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 329 public boolean areContentsTheSame(ListItem oldItem, ListItem newItem) { in VerticalListAdapter() 330 return comparator.compare(oldItem, newItem) == 0; in VerticalListAdapter()
|
/packages/apps/TV/libs/ |
D | truth-0.45.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |