Home
last modified time | relevance | path

Searched refs:rank (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java35 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/core/java/android/provider/
DSearchIndexableResource.java53 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument
55 this.rank = rank; in SearchIndexableResource()
DSearchIndexableData.java55 public int rank; field in SearchIndexableData
157 sb.append(rank); in toString()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp414 C2Component::rank_t rank = trait.rank; in buildMediaCodecList() local
465 rank = 1; in buildMediaCodecList()
472 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList()
481 rank = 1; in buildMediaCodecList()
486 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList()
492 rank = 1; in buildMediaCodecList()
552 if (!codec.rank.empty()) { in buildMediaCodecList()
555 if (sscanf(codec.rank.c_str(), "%u%c", &xmlRank, &dummy) == 1) { in buildMediaCodecList()
556 rank = xmlRank; in buildMediaCodecList()
559 ALOGV("rank: %u", (unsigned)rank); in buildMediaCodecList()
[all …]
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp165 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/core/java/android/app/prediction/
DAppTarget.java79 ShortcutInfo shortcutInfo, String className, int rank) { in AppTarget() argument
85 mRank = rank; in AppTarget()
281 public Builder setRank(@IntRange(from = 0) int rank) { in setRank()
282 if (rank < 0) { in setRank()
285 mRank = rank; in setRank()
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp63 string rank);
207 string rank) { in setCodecProperties() argument
224 codecProperty.codecProp.rank = rank; in setCodecProperties()
255 string rank = properties.rank; in printCodecMap() local
256 ALOGV("rank = %s\n", rank.c_str()); in printCodecMap()
352 ASSERT_EQ(mInputDataVector.at(index).codecProp.rank, properties.rank) in TEST_F()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java128 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/statusbar/
DSmartReplyController.java79 final int rank = entry.getRanking().getRank(); in smartActionClicked() local
83 entry.getKey(), rank, count, true, location); in smartActionClicked()
DStatusBarStateControllerImpl.java384 public void addCallback(StateListener listener, @SbStateListenerRank int rank) { in addCallback() argument
386 addListenerInternalLocked(listener, rank); in addCallback()
391 private void addListenerInternalLocked(StateListener listener, int rank) { in addListenerInternalLocked() argument
399 RankedListener rl = new SysuiStatusBarStateController.RankedListener(listener, rank); in addListenerInternalLocked()
DSysuiStatusBarStateController.java55 void addCallback(StateListener listener, int rank); in addCallback() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java187 int rank = entry.getRanking().getRank(); in clearNotificationIfPresent() local
189 rank, count, true); in clearNotificationIfPresent()
191 if (DEBUG) Log.d(TAG, "Clearing notification, key: " + notifKey + ", rank: " + rank); in clearNotificationIfPresent()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp319 const char *rank, StringSet domains, StringSet variants, const char *enabled);
362 const char *rank, const StringSet &domain, const StringSet &variants,
1037 const char *rank, const StringSet &domains, const StringSet &variants, in updateMediaCodec() argument
1042 if (rank != nullptr) { in updateMediaCodec()
1043 ALOGD_IF(!codec.rank.empty() && codec.rank != rank, in updateMediaCodec()
1045 mState->codecName().c_str(), codec.rank.c_str(), rank); in updateMediaCodec()
1046 codec.rank = rank; in updateMediaCodec()
1573 std::string rank = codec.second.rank; in generateRoleMap() local
1629 if (!rank.empty()) { in generateRoleMap()
1630 nodeInfo.attributeList.push_back(Attribute{"rank", rank}); in generateRoleMap()
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp186 uint32_t rank = parcel.readUint32(); in FromParcel() local
191 info->mRank = rank; in FromParcel()
260 void MediaCodecInfoWriter::setRank(uint32_t rank) { in setRank() argument
261 mInfo->mRank = rank; in setRank()
/frameworks/base/core/java/com/android/internal/app/
DAppPredictionServiceResolverComparator.java182 Integer rank = mTargetRanks.get(name); in getScore() local
183 if (rank == null) { in getScore()
188 return 1.0f - (((float) rank) / consecutiveSumOfRanks); in getScore()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java411 final int rank = Integer.parseInt(getPropertyString(KEY_RANK)); in toShortcutInfo() local
424 disabledMessageResId, disabledMessageResName, categoriesSet, intents, rank, extras, in toShortcutInfo()
663 public Builder setRank(final int rank) { in setRank() argument
664 Preconditions.checkArgument((0 <= rank), "Rank cannot be negative"); in setRank()
665 setPropertyString(KEY_RANK, String.valueOf(rank)); in setRank()
666 if (rank != 0) { in setRank()
676 public Builder setImplicitRank(final int rank) { in setImplicitRank() argument
677 setPropertyLong(KEY_IMPLICIT_RANK, rank); in setImplicitRank()
DShortcutInfo.java1368 public Builder setRank(int rank) { in setRank() argument
1369 Preconditions.checkArgument((0 <= rank), in setRank()
1371 mRank = rank; in setRank()
1671 public void setRank(int rank) { in setRank() argument
1672 mRank = rank; in setRank()
1681 public void setImplicitRank(int rank) { in setImplicitRank() argument
1683 mImplicitRank = (mImplicitRank & RANK_CHANGED_BIT) | (rank & IMPLICIT_RANK_MASK); in setImplicitRank()
2484 Set<String> categories, Intent[] intentsWithExtras, int rank, PersistableBundle extras, in ShortcutInfo() argument
2506 mRank = rank; in ShortcutInfo()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingController.java304 final int rank = i; in dump() local
306 pw.println(prefix + "rank=" + rank + " item=" + item); in dump()
386 final int rank = mUsageHistoryOfSubtypeListItemIndex[i]; in dump() local
388 pw.println(prefix + "rank=" + rank + " item=" + item); in dump()
/frameworks/base/core/java/android/app/
DStatusBarManager.java277 public void clickNotification(@Nullable String key, int rank, int count, boolean visible) { in clickNotification() argument
278 clickNotificationInternal(key, rank, count, visible); in clickNotification()
281 private void clickNotificationInternal(String key, int rank, int count, boolean visible) { in clickNotificationInternal() argument
286 NotificationVisibility.obtain(key, rank, count, visible)); in clickNotificationInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRankingBuilder.java126 public RankingBuilder setRank(int rank) { in setRank() argument
127 mRank = rank; in setRank()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags82 27520 notification_clicked (key|3),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
84 …_action_clicked (key|3),(action_index|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
86 27530 notification_canceled (key|3),(reason|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(co…
88 27531 notification_visibility (key|3),(visibile|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1)
/frameworks/base/packages/SettingsLib/SearchProvider/src/com/android/settingslib/searchprovider/
DSettingsXmlIndexProvider.java50 .add(XmlResource.COLUMN_RANK, indexableResource.rank) in queryXmlResources()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java223 public NotificationEntryBuilder setRank(int rank) { in setRank() argument
224 mRankingBuilder.setRank(rank); in setRank()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManager.kt78 val aRank = a.ranking.rank in <lambda>()
79 val bRank = b.ranking.rank in <lambda>()
/frameworks/av/media/libstagefright/xmlparser/include/media/stagefright/xmlparser/
DMediaCodecsXmlParser.h72 std::string rank; ///< Rank of this codec. This is a numeric string. member

123