Home
last modified time | relevance | path

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

12345678910>>...18

/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
H A DCategoryManagerTest.java79 category.addTile(tile1); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
80 category.addTile(tile2); in backwardCompatCleanupForCategory_shouldNotChangeCategoryForNewKeys()
142 category.addTile(tile1); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
143 category.addTile(tile2); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
144 category.addTile(tile3); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
166 category.addTile(tile1); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
167 category.addTile(tile2); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
168 category.addTile(tile3); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
188 category.addTile(tile1); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
189 category.addTile(tile2); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java117 visible(category); in visibility()
119 hidden(category); in visibility()
127 public void visibility(int category, int vis) in visibility() argument
134 public void action(int category) { in action() argument
141 public void action(int category, int value) { in action() argument
165 getLogger().visible(category); in visible()
171 getLogger().hidden(category); in hidden()
191 getLogger().action(category); in action()
197 getLogger().action(category, value); in action()
203 getLogger().action(category, value); in action()
[all …]
/aosp12/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
H A DSendTestMessages.java441 int category) { in testSendMessage7bit() argument
446 int category) { in testSendMessage7bitUmts() argument
451 int category) { in testSendMessage7bitNoPadding() argument
456 int category) { in testSendMessage7bitNoPaddingUmts() argument
461 int category) { in testSendMessage7bitMultipageGsm() argument
474 int category) { in testSendMessage7bitMultipageUmts() argument
479 int category) { in testSendMessage7bitWithLanguage() argument
484 int category) { in testSendMessage7bitWithLanguageInBody() argument
494 int category) { in testSendMessageUcs2() argument
499 int category) { in testSendMessageUcs2Umts() argument
[all …]
/aosp12/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.java218 category); in isDefaultServiceForCategory()
268 public boolean categoryAllowsForegroundPreference(String category) { in categoryAllowsForegroundPreference() argument
269 if (CATEGORY_PAYMENT.equals(category)) { in categoryAllowsForegroundPreference()
295 public int getSelectionModeForCategory(String category) { in getSelectionModeForCategory() argument
296 if (CATEGORY_PAYMENT.equals(category)) { in getSelectionModeForCategory()
345 AidGroup aidGroup = new AidGroup(aids, category); in registerAidsForService()
503 category); in getAidsForService()
513 category); in getAidsForService()
799 category); in setDefaultServiceForCategory()
832 public List<ApduServiceInfo> getServices(String category) { in getServices() argument
[all …]
/aosp12/art/tools/luci/config/
H A Dluci-milo.cfg13 category: "angler|armv7"
18 category: "angler|armv7"
58 category: "fugu"
63 category: "fugu"
68 category: "host|x86"
73 category: "host|x86"
78 category: "host|x86"
83 category: "host|x86"
88 category: "host|x86"
93 category: "host|x64"
[all …]
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
H A DMetricsLoggerWrapper.java42 public void logAction(Context context, int category, String value) { in logAction() argument
43 logd("MetricsLoggerWrapper, category:" + category + ", value: " + value); in logAction()
44 if (category != VIEW_UNKNOWN) { in logAction()
45 MetricsLogger.action(context, category, value); in logAction()
56 public void logAction(Context context, int category, int value) { in logAction() argument
58 if (category != VIEW_UNKNOWN) { in logAction()
59 MetricsLogger.action(context, category, value); in logAction()
69 public void logAction(Context context, int category) { in logAction() argument
70 logd("MetricsLoggerWrapper, category:" + category); in logAction()
71 if (category != VIEW_UNKNOWN) { in logAction()
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DMetricsLoggerCompat.java31 public void action(int category) { in action() argument
32 mMetricsLogger.action(category); in action()
35 public void action(int category, int value) { in action() argument
36 mMetricsLogger.action(category, value); in action()
39 public void visible(int category) { in visible() argument
40 mMetricsLogger.visible(category); in visible()
43 public void hidden(int category) { in hidden() argument
44 mMetricsLogger.hidden(category); in hidden()
47 public void visibility(int category, boolean visible) { in visibility() argument
48 mMetricsLogger.visibility(category, visible); in visibility()
/aosp12/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 …]
/aosp12/packages/apps/Settings/src/com/android/settings/core/instrumentation/
H A DSettingsEventLogWriter.java28 public void visible(Context context, int source, int category, int latency) { in visible() argument
32 super.visible(context, source, category, latency); in visible()
36 public void hidden(Context context, int category, int visibleTime) { in hidden() argument
40 super.hidden(context, category, visibleTime); in hidden()
44 public void action(Context context, int category, String pkg) { in action() argument
48 super.action(context, category, pkg); in action()
52 public void action(Context context, int category, int value) { in action() argument
56 super.action(context, category, value); in action()
60 public void action(Context context, int category, boolean value) { in action() argument
64 super.action(context, category, value); in action()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
H A DEventLogWriter.java33 public void visible(Context context, int source, int category, int latency) { in visible() argument
34 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()
53 final LogMaker logMaker = new LogMaker(category) in action()
64 public void action(Context context, int category, int value) { in action() argument
65 MetricsLogger.action(context, category, value); in action()
69 public void action(Context context, int category, boolean value) { in action() argument
70 MetricsLogger.action(context, category, value); in action()
74 public void action(Context context, int category, String pkg) { in action() argument
[all …]
H A DMetricsFeatureProvider.java80 public void visible(Context context, int source, int category, int latency) { in visible() argument
82 writer.visible(context, source, category, latency); in visible()
92 public void hidden(Context context, int category, int visibleTime) { in hidden() argument
94 writer.hidden(context, category, visibleTime); in hidden()
106 writer.action(context, category, taggedData); in action()
113 public void action(Context context, int category, String pkg) { in action() argument
115 writer.action(context, category, pkg); in action()
128 public void action(Context context, int category, int value) { in action() argument
130 writer.action(context, category, value); in action()
134 public void action(Context context, int category, boolean value) { 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 action(Context context, int category, Pair<Integer, Object>... taggedData); in action() argument
44 void action(Context context, int category, int value); in action() argument
49 void action(Context context, int category, boolean value); in action() argument
54 void action(Context context, int category, String pkg); in action() argument
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
H A DSuggestionParser.java70 for (SuggestionCategory category : CATEGORIES) { in getSuggestions()
71 if (category.isExclusive() && !isExclusiveCategoryExpired(category)) { in getSuggestions()
79 readSuggestions(category, false /* ignoreDismissRule */); in getSuggestions()
88 readSuggestions(category, true /* ignoreDismissRule */); in getSuggestions()
89 suggestionBuilder.addSuggestions(category, suggestions); in getSuggestions()
99 probe.addCategory(category.getCategory()); in readSuggestions()
136 private boolean isExclusiveCategoryExpired(SuggestionCategory category) { in isExclusiveCategoryExpired() argument
137 final String keySetupTime = category.getCategory() + SETUP_TIME; in isExclusiveCategoryExpired()
144 if (category.getExclusiveExpireDaysInMillis() < 0) { in isExclusiveCategoryExpired()
151 + category.getCategory()); in isExclusiveCategoryExpired()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeSettings.java128 category -> PRIORITY_CATEGORY_ALARMS == category in getOtherSoundCategoriesSummary()
129 || PRIORITY_CATEGORY_MEDIA == category in getOtherSoundCategoriesSummary()
130 || PRIORITY_CATEGORY_SYSTEM == category in getOtherSoundCategoriesSummary()
132 || PRIORITY_CATEGORY_EVENTS == category, in getOtherSoundCategoriesSummary()
154 category -> PRIORITY_CATEGORY_CALLS == category in getCallsSettingSummary()
171 category -> PRIORITY_CATEGORY_MESSAGES == category, false); in getMessagesSettingSummary()
244 for (int category : ALL_PRIORITY_CATEGORIES) { in getEnabledCategories()
246 if (filteredCategories.test(category) && isCategoryEnabled(policy, category)) { in getEnabledCategories()
264 if (category == PRIORITY_CATEGORY_ALARMS) { in getCategory()
270 } else if (category == PRIORITY_CATEGORY_MEDIA) { in getCategory()
[all …]
/aosp12/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
H A DSetupActionHelper.java30 public static boolean onActionClick(Fragment fragment, String category, int actionId) { in onActionClick() argument
31 return onActionClick(fragment, category, actionId, null); in onActionClick()
36 Fragment fragment, String category, int actionId, Bundle params) { in onActionClick() argument
39 .onActionClick(category, actionId, params); in onActionClick()
44 + category in onActionClick()
55 Fragment fragment, String category, int actionId, Bundle params) { in createOnClickListenerForAction() argument
56 return new OnActionClickListenerForAction(fragment, category, actionId, params); in createOnClickListenerForAction()
72 Fragment fragment, String category, int actionId, Bundle params) { in OnActionClickListenerForAction() argument
74 mCategory = category; in OnActionClickListenerForAction()
/aosp12/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 …]
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DWallpaperPickerDelegate.java182 if (category.supportsThirdParty() && category.containsThirdParty(packageName)) { in updateThirdPartyCategories()
183 addCategory(category, false); in updateThirdPartyCategories()
217 if (category.supportsThirdParty() && category.containsThirdParty(packageName)) { in findThirdPartyCategory()
218 return category; in findThirdPartyCategory()
239 public void onCategoryReceived(Category category) { in updateLiveWallpapersCategories()
298 addCategory(category, true); in populateCategories()
326 public void removeCategory(Category category) { in removeCategory() argument
329 categorySelectorFragment.removeCategory(category); in removeCategory()
333 public void updateCategory(Category category) { in updateCategory() argument
336 categorySelectorFragment.updateCategory(category); in updateCategory()
[all …]
/aosp12/build/make/tools/product_config/src/com/android/build/config/
H A DErrorReporter.java179 Entry(Category category, Position position, String message) { in Entry() argument
180 mCategory = category; in Entry()
210 Category category = null; in initLocked() local
212 category = (Category)field.get(this); in initLocked()
218 Category prev = categories.put(category.getCode(), category); in initLocked()
221 + category.getCode()); in initLocked()
242 private void add(Category category, boolean fatal, Position pos, String message) { in add() argument
245 if (mCategories.get(category.getCode()) != category) { in add()
248 final Entry entry = new Entry(category, pos, message); in add()
250 final Level level = category.getLevel(); in add()
/aosp12/packages/apps/Settings/src/com/android/settings/dashboard/
H A DCategoryManager.java101 DashboardCategory category = mCategories.get(i); in updateCategoryFromDenylist() local
103 Tile tile = category.getTile(j); in updateCategoryFromDenylist()
105 category.removeTile(j--); in updateCategoryFromDenylist()
118 mCategories.forEach(category -> { in getTileByComponentMap()
120 final Tile tile = category.getTile(i); in getTileByComponentMap()
150 for (DashboardCategory category : mCategories) { in tryInitCategories()
151 mCategoryByKeyMap.put(category.key, category); in tryInitCategories()
250 final int count = category.getTilesCount(); in filterDuplicateTiles()
254 final Tile tile = category.getTile(i); in filterDuplicateTiles()
258 category.removeTile(i); in filterDuplicateTiles()
[all …]
/aosp12/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
H A DOverlayManagerMocks.java47 final String category; field in OverlayManagerMocks.MockOverlay
49 public MockOverlay(String packageName, String targetPackage, String category) { in MockOverlay() argument
52 this.category = category; in MockOverlay()
60 && TextUtils.equals(((MockOverlay) obj).category, category); in equals()
85 public void addOverlay(String packageName, String targetPackage, String category, in addOverlay() argument
87 MockOverlay overlay = new MockOverlay(packageName, targetPackage, category); in addOverlay()
105 && mockOverlay.category.equals(inv.getArgument(1))) in setUpMock()
130 overlay.category, in setUpMock()
/aosp12/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java175 public final String category; field in OverlayInfo
232 source.targetOverlayableName, source.category, source.baseCodePath, state, in OverlayInfo()
239 @Nullable String targetOverlayableName, @Nullable String category, in OverlayInfo() argument
242 category, baseCodePath, state, userId, priority, isMutable, in OverlayInfo()
249 @Nullable String category, @NonNull String baseCodePath, int state, int userId, in OverlayInfo() argument
255 this.category = category; in OverlayInfo()
271 category = source.readString(); in OverlayInfo()
321 return category; in getCategory()
414 dest.writeString(category); in writeToParcel()
497 result = prime * result + ((category == null) ? 0 : category.hashCode()); in hashCode()
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java49 @ViewDebug.ExportedProperty(category="recents")
51 @ViewDebug.ExportedProperty(category="recents")
53 @ViewDebug.ExportedProperty(category="recents")
56 @ViewDebug.ExportedProperty(category="recents")
206 @ViewDebug.ExportedProperty(category="recents")
209 @ViewDebug.ExportedProperty(category="recents")
211 @ViewDebug.ExportedProperty(category="recents")
213 @ViewDebug.ExportedProperty(category="recents")
221 @ViewDebug.ExportedProperty(category="recents")
224 @ViewDebug.ExportedProperty(category="recents")
[all …]
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
H A DAppDataUsagePreferenceController.java114 int category; in aggregateDataUsage() local
119 category = AppItem.CATEGORY_APP; in aggregateDataUsage()
120 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
125 category = AppItem.CATEGORY_APP; in aggregateDataUsage()
126 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
132 category = AppItem.CATEGORY_APP; in aggregateDataUsage()
142 category = AppItem.CATEGORY_APP; in aggregateDataUsage()
152 category = AppItem.CATEGORY_APP; in aggregateDataUsage()
156 category = AppItem.CATEGORY_USER; in aggregateDataUsage()
159 return accumulate(collapseKey, knownItems, entry, category, items); in aggregateDataUsage()
[all …]
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
H A DDefaultCategoryProvider.java99 for (Category category : mCategories) { in fetchCategories()
100 receiver.onCategoryReceived(category); in fetchCategories()
129 Category category; in getCategory() local
131 category = mCategories.get(i); in getCategory()
133 return category; in getCategory()
164 receiver.onCategoryReceived(category); in doFetch()
165 mCategories.add(category); in doFetch()
340 categories.add(category); in getSystemCategories()
341 publishProgress(category); in getSystemCategories()
413 Category category = values[i]; in onProgressUpdate() local
[all …]

12345678910>>...18