Home
last modified time | relevance | path

Searched refs:category (Results 1 – 25 of 189) sorted by relevance

12345678

/aosp14/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java113 visible(category); in visibility()
115 hidden(category); in visibility()
123 public void visibility(int category, int vis) in visibility() argument
130 public void action(int category) { in action() argument
137 public void action(int category, int value) { in action() argument
161 getLogger().visible(category); in visible()
167 getLogger().hidden(category); in hidden()
187 getLogger().action(category); in action()
193 getLogger().action(category, value); in action()
199 getLogger().action(category, value); in action()
[all …]
H A DEventLogTags.logtags6 524287 sysui_view_visibility (category|1|5),(visible|1|6)
7 524288 sysui_action (category|1|5),(pkg|3)
/aosp14/frameworks/base/core/java/android/nfc/cardemulation/
H A DAidGroup.java53 final String category; field in AidGroup
75 if (isValidCategory(category)) { in AidGroup()
76 this.category = category; in AidGroup()
88 AidGroup(String category, String description) { in AidGroup() argument
90 this.category = category; in AidGroup()
99 return category; in getCategory()
143 dest.writeString(category); in writeToParcel()
156 String category = source.readString();
173 String category = null; in createFromXml() local
194 if (category == null) { in createFromXml()
[all …]
H A DCardEmulation.java206 service, category); in isDefaultServiceForCategory()
216 service, category); in isDefaultServiceForCategory()
270 if (CATEGORY_PAYMENT.equals(category)) { in categoryAllowsForegroundPreference()
300 if (CATEGORY_PAYMENT.equals(category)) { in getSelectionModeForCategory()
349 AidGroup aidGroup = new AidGroup(aids, category); in registerAidsForService()
508 service, category); in getAidsForService()
518 service, category); in getAidsForService()
545 category); in removeAidsForService()
555 service, category); in removeAidsForService()
800 service, category); in setDefaultServiceForCategory()
[all …]
H A DApduServiceInfo.java150 this.mStaticAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
153 this.mDynamicAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
390 public AidGroup getDynamicAidGroupForCategory(String category) { in getDynamicAidGroupForCategory() argument
391 return mDynamicAidGroups.get(category); in getDynamicAidGroupForCategory()
394 public boolean removeDynamicAidGroupForCategory(String category) { in removeDynamicAidGroupForCategory() argument
395 return (mDynamicAidGroups.remove(category) != null); in removeDynamicAidGroupForCategory()
429 return group.category; in getCategoryForAid()
435 public boolean hasCategory(String category) { in hasCategory() argument
436 return (mStaticAidGroups.containsKey(category) || mDynamicAidGroups.containsKey(category)); in hasCategory()
636 pw.println(" Category: " + group.category); in dump()
[all …]
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DEventStore.java95 for (@EventCategory int category = 0; category < mEventsCategoryDirs.size(); in loadFromDisk()
96 category++) { in loadFromDisk()
97 File categoryDir = mEventsCategoryDirs.get(category); in loadFromDisk()
101 mEventHistoryMaps.get(category).putAll(existingEventHistoriesImpl); in loadFromDisk()
124 return mEventHistoryMaps.get(category).get(key); in getEventHistory()
137 return mEventHistoryMaps.get(category).computeIfAbsent(key, in getOrCreateEventHistory()
149 synchronized void deleteEventHistory(@EventCategory int category, String key) { in deleteEventHistory() argument
157 synchronized void deleteEventHistories(@EventCategory int category) { in deleteEventHistories() argument
161 mEventHistoryMaps.get(category).clear(); in deleteEventHistories()
179 synchronized void pruneOrphanEventHistories(@EventCategory int category, in pruneOrphanEventHistories() argument
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
H A DMetricsFeatureProvider.java82 writer.visible(context, source, category, latency); in visible()
94 writer.hidden(context, category, visibleTime); in hidden()
104 public void clicked(int category, String key) { in clicked() argument
106 writer.clicked(category, key); in clicked()
117 public void changed(int category, String key, int value) { in changed() argument
119 writer.changed(category, key, value); in changed()
131 writer.action(context, category, taggedData); in action()
140 writer.action(context, category, pkg); in action()
153 public void action(Context context, int category, int value) { in action() argument
155 writer.action(context, category, value); in action()
[all …]
H A DEventLogWriter.java34 final LogMaker logMaker = new LogMaker(category) in visible()
43 public void hidden(Context context, int category, int visibleTime) { in hidden() argument
44 final LogMaker logMaker = new LogMaker(category) in hidden()
66 public void changed(int category, String key, int value) { in changed() argument
70 if (category != MetricsProto.MetricsEvent.VIEW_UNKNOWN) { in changed()
85 final LogMaker logMaker = new LogMaker(category) in action()
96 public void action(Context context, int category, int value) { in action() argument
97 MetricsLogger.action(context, category, value); in action()
102 MetricsLogger.action(context, category, value); in action()
106 public void action(Context context, int category, String pkg) { in action() argument
[all …]
H A DLogWriter.java29 void visible(Context context, int source, int category, int latency); in visible() argument
34 void hidden(Context context, int category, int visibleTime); in hidden() argument
39 void clicked(int category, String key); in clicked() argument
44 void changed(int category, String key, int value); in changed() argument
49 void action(Context context, int category, Pair<Integer, Object>... taggedData); in action() argument
54 void action(Context context, int category, int value); in action() argument
59 void action(Context context, int category, boolean value); in action() argument
64 void action(Context context, int category, String pkg); in action() argument
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
H A DApplicationsStateTest.java50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame()
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testAudioFilterAcceptsCategorizedAudio()
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio()
93 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testOtherAppsRejectsAudio()
100 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testOtherAppsRejectsGame()
107 mEntry.info.category = ApplicationInfo.CATEGORY_IMAGE; in testOtherAppsRejectsImageApp()
121 mEntry.info.category = ApplicationInfo.CATEGORY_IMAGE; in testPhotosFilterAcceptsFilter()
128 mEntry.info.category = ApplicationInfo.CATEGORY_VIDEO; in testPhotosFilterRejectsNotPhotos()
142 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAppsExceptGamesFilterRejectsGame()
[all …]
/aosp14/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp356 options.rename_overlay_category = std::string("category"); in TEST_F()
374 EXPECT_THAT(attr->value, StrEq("category")); in TEST_F()
379 options.rename_overlay_category = std::string("category"); in TEST_F()
386 android:category="yrogetac"/> in TEST_F()
399 EXPECT_THAT(attr->value, StrEq("category")); in TEST_F()
1206 <category android:name="" />
1219 <category />
1262 <category android:name="android.intent.category.DEFAULT" />
1299 <category android:name="android.intent.category.DEFAULT" />
1317 <category android:name="android.intent.category.DEFAULT" />
[all …]
/aosp14/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java191 @Nullable public final String category; field in OverlayInfo
248 source.targetOverlayableName, source.category, source.baseCodePath, state, in OverlayInfo()
255 @Nullable String targetOverlayableName, @Nullable String category, in OverlayInfo() argument
258 category, baseCodePath, state, userId, priority, isMutable, in OverlayInfo()
265 @Nullable String category, @NonNull String baseCodePath, int state, int userId, in OverlayInfo() argument
271 this.category = category; in OverlayInfo()
287 category = source.readString(); in OverlayInfo()
338 return category; in getCategory()
436 dest.writeString(category); in writeToParcel()
524 result = prime * result + ((category == null) ? 0 : category.hashCode()); in hashCode()
[all …]
/aosp14/frameworks/base/core/java/android/nfc/
H A DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory() argument
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory() argument
36 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService() argument
37 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService() argument
38 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() argument
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java57 @ViewDebug.ExportedProperty(category="recents")
59 @ViewDebug.ExportedProperty(category="recents")
61 @ViewDebug.ExportedProperty(category="recents")
64 @ViewDebug.ExportedProperty(category="recents")
218 @ViewDebug.ExportedProperty(category="recents")
221 @ViewDebug.ExportedProperty(category="recents")
223 @ViewDebug.ExportedProperty(category="recents")
225 @ViewDebug.ExportedProperty(category="recents")
233 @ViewDebug.ExportedProperty(category="recents")
236 @ViewDebug.ExportedProperty(category="recents")
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
H A DDebugLogger.kt26 override fun message(tag: String, msg: String, category: LogCategory) {
27 Log.d("SpaMsg-$category", "[$tag] $msg")
30 override fun event(id: String, event: LogEvent, category: LogCategory, extraData: Bundle) {
32 Log.d("SpaEvent-$category", "[$id] $event $extraMsg")
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
H A DThemeOverlayApplier.java211 .map(category -> mCategoryToTargetPackage.get(category)) in applyCurrentUserOverlays()
219 o.category)) in applyCurrentUserOverlays()
220 .filter(o -> overlayCategoriesToDisable.contains(o.category)) in applyCurrentUserOverlays()
224 .map(o -> new Pair<>(o.category, o.packageName)) in applyCurrentUserOverlays()
242 for (String category : THEME_CATEGORIES) { in applyCurrentUserOverlays()
243 if (categoryToPackage.containsKey(category)) { in applyCurrentUserOverlays()
244 OverlayIdentifier overlayInfo = categoryToPackage.get(category); in applyCurrentUserOverlays()
245 setEnabled(transaction, overlayInfo, category, currentUser, managedProfiles, in applyCurrentUserOverlays()
269 OverlayIdentifier identifier, String category, int currentUser, in setEnabled() argument
273 + category + ": " + enabled); in setEnabled()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
H A DSpaEnvironmentForTest.kt43 data class MsgCountKey(val msg: String, val category: LogCategory)
44 data class EventCountKey(val id: String, val event: LogEvent, val category: LogCategory)
49 override fun message(tag: String, msg: String, category: LogCategory) {
50 val key = MsgCountKey("[$tag]$msg", category)
54 override fun event(id: String, event: LogEvent, category: LogCategory, extraData: Bundle) {
55 val key = EventCountKey(id, event, category)
59 fun getMessageCount(tag: String, msg: String, category: LogCategory): Int {
60 val key = MsgCountKey("[$tag]$msg", category)
64 fun getEventCount(id: String, event: LogEvent, category: LogCategory): Int {
65 val key = EventCountKey(id, event, category)
/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenPolicy.java512 if (category == PRIORITY_CATEGORY_MESSAGES) { in unsetPriorityCategory()
514 } else if (category == PRIORITY_CATEGORY_CALLS) { in unsetPriorityCategory()
516 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS) { in unsetPriorityCategory()
674 switch (category) { in allowCategory()
998 category) { in getZenPolicyPriorityCategoryState()
999 switch (category) { in getZenPolicyPriorityCategoryState()
1044 switch (getZenPolicyPriorityCategoryState(category)) { in isCategoryAllowed()
1076 for (int category = 0; category < mPriorityCategories.size(); category++) { in apply()
1084 mPriorityCategories.set(category, newState); in apply()
1086 if (category == PRIORITY_CATEGORY_MESSAGES in apply()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/utils/quota/
H A DCountQuotaTracker.java229 final Integer oldLimit = mMaxCategoryCounts.put(category, limit); in setCountLimit()
248 public int getLimit(@NonNull Category category) { in getLimit() argument
250 final Integer limit = mMaxCategoryCounts.get(category); in getLimit()
261 public long getWindowSizeMs(@NonNull Category category) { in getWindowSizeMs() argument
263 final Long limitMs = mCategoryCountWindowSizesMs.get(category); in getWindowSizeMs()
728 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump() local
729 pw.print(category); in dump()
731 pw.print(mMaxCategoryCounts.get(category)); in dump()
753 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump() local
757 mMaxCategoryCounts.get(category)); in dump()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/display/
H A DBrightnessConfiguration.java134 return mCorrectionsByCategory.get(category); in getCorrectionByCategory()
202 final int category = entry.getKey(); in writeToParcel() local
204 dest.writeInt(category); in writeToParcel()
317 final int category = in.readInt();
320 builder.addCorrectionByCategory(category, correction);
370 final int category = entry.getKey(); in saveToXml() local
373 serializer.attributeInt(null, ATTR_CATEGORY, category); in saveToXml()
446 } else if (category != -1) { in loadFromXml()
477 final int category = entry.getKey(); in loadFromXml() local
479 builder.addCorrectionByCategory(category, correction); in loadFromXml()
[all …]
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
H A DBenchmarkRegistry.java97 @BenchmarkCategory int getCategory(int category) { in getCategory() argument
98 switch (category) { in getCategory()
139 int category = getCategory(testCategory); in parseBenchmarkGroup() local
141 id, testName, category, testDescription); in parseBenchmarkGroup()
142 List<BenchmarkGroup.Benchmark> benches = benchmarks.get(category); in parseBenchmarkGroup()
145 benchmarks.append(category, benches); in parseBenchmarkGroup()
193 public static String getCategoryString(int category) { in getCategoryString() argument
194 switch (category) { in getCategoryString()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java30 public int category; field in AppItem
67 int comparison = Integer.compare(category, another.category); in compareTo()
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
H A DSpaLogger.kt54 fun message(tag: String, msg: String, category: LogCategory = LogCategory.DEFAULT) {}
60 category: LogCategory = LogCategory.DEFAULT,
/aosp14/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DSwitchController.java85 public MetaData(@NonNull String category) { in MetaData() argument
86 super(category); in MetaData()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
H A DThemeOverlayApplierTest.java81 for (String category : THEME_CATEGORIES) {
82 ALL_CATEGORIES_MAP.put(category, in ALL_CATEGORIES_MAP.put() argument
83 new OverlayIdentifier(TEST_DISABLED_PREFIX + category)); in ALL_CATEGORIES_MAP.put() argument
275 for (String category : THEME_CATEGORIES) { in zeroCategoriesSpecified_allDisabled()
277 eq(new OverlayIdentifier(TEST_ENABLED_PREFIX + category)), eq(false), in zeroCategoriesSpecified_allDisabled()
299 String category, boolean enabled) { in createOverlayInfo() argument
300 return new OverlayInfo(packageName, null, targetPackageName, null, category, "", in createOverlayInfo()

12345678