/frameworks/base/core/java/com/android/internal/statusbar/ |
D | NotificationVisibility.java | 35 public int rank; field in NotificationVisibility 77 private NotificationVisibility(String key, int rank, int count, boolean visible, in NotificationVisibility() argument 81 this.rank = rank; in NotificationVisibility() 91 + " rank=" + rank in toString() 100 return obtain(this.key, this.rank, this.count, this.visible, this.location); in clone() 127 out.writeInt(this.rank); in writeToParcel() 135 this.rank = in.readInt(); in readFromParcel() 144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain() argument 145 return obtain(key, rank, count, visible, in obtain() 152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/ |
D | CommunalWidgetDaoTest.kt | 168 communalItemRankEntry1.copy(rank = 2), in <lambda>() 170 communalItemRankEntry2.copy(rank = 1), in <lambda>() 204 communalItemRankEntry2.copy(rank = 3), in <lambda>() 206 communalItemRankEntry1.copy(rank = 1), in <lambda>() 218 communalItemRankEntry2.copy(rank = 3), in <lambda>() 220 communalItemRankEntry3.copy(rank = 2), in <lambda>() 222 communalItemRankEntry1.copy(rank = 1), in <lambda>() 242 val rank = CommunalItemRank(uid = uid, rank = fakeWidget.rank) in <lambda>() constant 248 itemId = rank.uid, in <lambda>() 250 expected[rank] = widget in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepositoryImplTest.kt | 130 val communalItemRankEntry = CommunalItemRank(uid = 1L, rank = 1) in communalWidgets_queryWidgetsFromDb() 142 priority = communalItemRankEntry.rank, in communalWidgets_queryWidgetsFromDb() 156 CommunalItemRank(uid = 1L, rank = 1) to in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped() 158 CommunalItemRank(uid = 2L, rank = 2) to in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped() 160 CommunalItemRank(uid = 3L, rank = 3) to in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped() 162 CommunalItemRank(uid = 4L, rank = 4) to in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped() 194 CommunalItemRank(uid = 1L, rank = 1) to in communalWidgets_updatedWhenProvidersUpdate() 196 CommunalItemRank(uid = 2L, rank = 2) to in communalWidgets_updatedWhenProvidersUpdate() 460 assertThat(restoredWidget.rank).isEqualTo(expectedWidget.rank) in restoreWidgets_restoredWidgetsNotRegisteredWithHostAreSkipped() 488 assertThat(restoredWidget1.rank).isEqualTo(expectedWidget1.rank) in restoreWidgets_registeredWidgetsNotRestoredAreRemoved() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SearchIndexableResource.java | 53 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument 55 this.rank = rank; in SearchIndexableResource()
|
D | SearchIndexableData.java | 55 public int rank; field in SearchIndexableData 157 sb.append(rank); in toString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | RenderNotificationsListInteractorTest.kt | 99 val entries = expected.map { (key, rank) -> mockNotificationEntry(key, rank) } in <lambda>() method 117 children = expected.map { (key, rank) -> mockNotificationEntry(key, rank) }, in <lambda>() method 138 private fun mockNotificationEntry(key: String, rank: Int = 0): NotificationEntry { in mockNotificationEntry() 148 whenever(this.ranking).thenReturn(RankingBuilder().setRank(rank).build()) in mockNotificationEntry()
|
/frameworks/av/media/libstagefright/ |
D | OmxInfoBuilder.cpp | 165 uint32_t rank = isSoftware in buildMediaCodecList() local 171 uint32_t oldRank = rank; in buildMediaCodecList() 173 if (sscanf(attribute.value.c_str(), "%u%c", &rank, &dummy) != 1) { in buildMediaCodecList() 174 rank = oldRank; in buildMediaCodecList() 189 info->setRank(rank); in buildMediaCodecList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | NotificationVisibilityProviderImpl.kt | 42 val rank = entry.ranking.rank in obtain() constant 45 return NotificationVisibility.obtain(entry.key, rank, count, visible && hasRow, location) in obtain()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/ |
D | CommunalBackupUtilsTest.kt | 73 expectedWidgets.forEach { dao.addWidget(it.widgetId, it.componentName, it.rank) } in <lambda>() 131 data class FakeWidgetMetadata(val widgetId: Int, val componentName: String, val rank: Int) in <lambda>() constant in com.android.systemui.communal.data.backup.CommunalBackupUtilsTest.FakeWidgetMetadata 143 actual?.rank == expected?.rank in <lambda>()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 516 C2Component::rank_t rank = trait.rank; in buildMediaCodecList() local 568 rank = 1; in buildMediaCodecList() 575 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 584 rank = 1; in buildMediaCodecList() 589 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 595 rank = 1; in buildMediaCodecList() 655 if (!codec.rank.empty()) { in buildMediaCodecList() 658 if (sscanf(codec.rank.c_str(), "%u%c", &xmlRank, &dummy) == 1) { in buildMediaCodecList() 659 rank = xmlRank; in buildMediaCodecList() 662 ALOGV("rank: %u", (unsigned)rank); in buildMediaCodecList() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 79 ShortcutInfo shortcutInfo, String className, int rank) { in AppTarget() argument 85 mRank = rank; in AppTarget() 291 public Builder setRank(@IntRange(from = 0) int rank) { in setRank() 292 if (rank < 0) { in setRank() 295 mRank = rank; in setRank()
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 63 string rank); 250 string rank) { in setCodecProperties() argument 267 codecProperty.codecProp.rank = rank; in setCodecProperties() 298 string rank = properties.rank; in printCodecMap() local 299 ALOGV("rank = %s\n", rank.c_str()); in printCodecMap() 395 ASSERT_EQ(mInputDataVector.at(index).codecProp.rank, properties.rank) in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepository.kt | 114 entries.mapNotNull { (rank, widget) -> in entries() method 118 priority = rank.rank, in entries() 257 rank = restoredWidget.rank in restoreWidgets()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NoOpResolverComparator.java | 85 float rank = mOriginalTargetOrder.indexOf(resolveInfo); in getScore() local 86 return 1.0f - (rank / (1 + mOriginalTargetOrder.size())); in getScore()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/ |
D | CommunalBackupUtils.kt | 48 rank = rankItem.rank in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 288 final int rank = i; in dump() local 290 pw.println(prefix + "rank=" + rank + " item=" + item); in dump() 370 for (int rank = 0; rank < mUsageHistoryOfSubtypeListItemIndex.length; ++rank) { in dump() 371 final int index = mUsageHistoryOfSubtypeListItemIndex[rank]; in dump() 373 pw.println(prefix + "rank=" + rank + " item=" + item); in dump()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutParser.java | 128 int rank = 0; in parseShortcutsOneFile() local 207 rank++; in parseShortcutsOneFile() 250 service, attrs, packageName, activity, userId, rank); in parseShortcutsOneFile() 371 @UserIdInt int userId, int rank) { in parseShortcutAttributes() argument 410 rank, in parseShortcutAttributes() 422 int rank, int iconResId, boolean enabled, @Nullable String splashScreenThemeResName) { in createShortcutFromManifest() argument 451 rank, in createShortcutFromManifest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivity.java | 198 int rank = notifVisibility.rank; in clearNotificationIfPresent() local 200 if (DEBUG) Log.d(TAG, "Clearing notification, key: " + notifKey + ", rank: " + rank); in clearNotificationIfPresent()
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 187 uint32_t rank = parcel.readUint32(); in FromParcel() local 192 info->mRank = rank; in FromParcel() 261 void MediaCodecInfoWriter::setRank(uint32_t rank) { in setRank() argument 262 mInfo->mRank = rank; in setRank()
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 322 const char *rank, StringSet domains, StringSet variants, const char *enabled); 365 const char *rank, const StringSet &domain, const StringSet &variants, 1060 const char *rank, const StringSet &domains, const StringSet &variants, in updateMediaCodec() argument 1065 if (rank != nullptr) { in updateMediaCodec() 1066 ALOGD_IF(!codec.rank.empty() && codec.rank != rank, in updateMediaCodec() 1068 mState->codecName().c_str(), codec.rank.c_str(), rank); in updateMediaCodec() 1069 codec.rank = rank; in updateMediaCodec() 1640 std::string rank = codec.second.rank; in generateRoleMap() local 1696 if (!rank.empty()) { in generateRoleMap() 1697 nodeInfo.attributeList.push_back(Attribute{"rank", rank}); in generateRoleMap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | ShadeListBuilderLogger.kt | 325 "[$int1] $str1".let { if (bool1) "$it rank=$int2" else it } 335 " [*] $str1 (summary)".let { if (bool1) "$it rank=$int2" else it } 346 " [$int1] $str1".let { if (bool1) "$it rank=$int2" else it }
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/ |
D | CommunalEntities.kt | 39 @ColumnInfo(name = "rank", defaultValue = "0") val rank: Int, constant in com.android.systemui.communal.data.db.CommunalItemRank
|
D | CommunalWidgetDao.kt | 115 fun insertItemRank(rank: Int): Long in getWidgets() 169 state.widgets.forEach { addWidget(it.widgetId, it.componentName, it.rank) } in restoreCommunalHubState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | RenderNotificationListInteractor.kt | 111 result[representativeEntry.key] = representativeEntry.ranking.rank in buildActiveNotificationsStore() 114 entry.summary?.let { summary -> result[summary.key] = summary.ranking.rank } in buildActiveNotificationsStore() 116 result[child.key] = child.ranking.rank in buildActiveNotificationsStore()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationLoggerViewModelTest.kt | 116 keys.forEachIndexed { rank, key -> assertThat(rankingsMap).containsEntry(key, rank) } in <lambda>() method
|