/frameworks/base/core/java/com/android/internal/logging/ |
D | MetricsLogger.java | 95 public void visible(int category) throws IllegalArgumentException { in visible() argument 96 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { in visible() 99 saveLog(new LogMaker(category).setType(MetricsEvent.TYPE_OPEN)); in visible() 104 public void hidden(int category) throws IllegalArgumentException { in hidden() argument 105 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { in hidden() 108 saveLog(new LogMaker(category).setType(MetricsEvent.TYPE_CLOSE)); in hidden() 114 public void visibility(int category, boolean visible) in visibility() argument 117 visible(category); in visibility() 119 hidden(category); in visibility() 127 public void visibility(int category, int vis) in visibility() argument [all …]
|
D | EventLogTags.logtags | 6 524287 sysui_view_visibility (category|1|5),(visible|1|6) 7 524288 sysui_action (category|1|5),(pkg|3)
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | AidGroup.java | 53 final String category; field in AidGroup 63 public AidGroup(List<String> aids, String category) { in AidGroup() argument 75 if (isValidCategory(category)) { in AidGroup() 76 this.category = category; in AidGroup() 78 this.category = CardEmulation.CATEGORY_OTHER; in AidGroup() 88 AidGroup(String category, String description) { in AidGroup() argument 90 this.category = category; in AidGroup() 99 return category; in getCategory() 112 StringBuilder out = new StringBuilder("Category: " + category + in toString() 130 proto.write(AidGroupProto.CATEGORY, category); in dump() [all …]
|
D | CardEmulation.java | 206 public boolean isDefaultServiceForCategory(ComponentName service, String category) { in isDefaultServiceForCategory() argument 208 return sService.isDefaultServiceForCategory(mContext.getUserId(), service, category); in isDefaultServiceForCategory() 218 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() 343 public boolean registerAidsForService(ComponentName service, String category, in registerAidsForService() argument 345 AidGroup aidGroup = new AidGroup(aids, category); in registerAidsForService() 500 public List<String> getAidsForService(ComponentName service, String category) { in getAidsForService() argument [all …]
|
D | ApduServiceInfo.java | 150 this.mStaticAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo() 153 this.mDynamicAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo() 281 if (!mStaticAidGroups.containsKey(currentGroup.category)) { in ApduServiceInfo() 282 mStaticAidGroups.put(currentGroup.category, currentGroup); 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 [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | MetricsLoggerCompat.java | 31 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()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventStore.java | 95 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() 123 synchronized EventHistory getEventHistory(@EventCategory int category, String key) { in getEventHistory() argument 124 return mEventHistoryMaps.get(category).get(key); in getEventHistory() 136 synchronized EventHistoryImpl getOrCreateEventHistory(@EventCategory int category, String key) { in getOrCreateEventHistory() argument 137 return mEventHistoryMaps.get(category).computeIfAbsent(key, in getOrCreateEventHistory() 139 new File(mEventsCategoryDirs.get(category), Uri.encode(key)), in getOrCreateEventHistory() 149 synchronized void deleteEventHistory(@EventCategory int category, String key) { in deleteEventHistory() argument [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | EventLogWriter.java | 33 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() 52 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { in action() argument 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() [all …]
|
D | MetricsFeatureProvider.java | 80 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() 101 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { in action() argument 103 writer.action(context, category, taggedData); in action() 110 public void action(Context context, int category, String pkg) { in action() argument 112 writer.action(context, category, pkg); in action() 125 public void action(Context context, int category, int value) { in action() argument 127 writer.action(context, category, value); in action() [all …]
|
D | LogWriter.java | 29 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
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
D | ApplicationsStateTest.java | 50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame() 58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame() 65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testGamesFilterRejectsNotGame() 72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testAudioFilterAcceptsCategorizedAudio() 79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio() 86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testAudiosFilterRejectsDefaultCategory() 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() 114 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testOtherAppsAcceptsDefaultCategory() [all …]
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayInfo.java | 175 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 …]
|
/frameworks/base/core/java/android/nfc/ |
D | INfcCardEmulation.aidl | 29 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
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | Task.java | 50 @ViewDebug.ExportedProperty(category="recents") 52 @ViewDebug.ExportedProperty(category="recents") 54 @ViewDebug.ExportedProperty(category="recents") 56 @ViewDebug.ExportedProperty(category="recents") 58 @ViewDebug.ExportedProperty(category="recents") 64 @ViewDebug.ExportedProperty(category = "recents") 206 @ViewDebug.ExportedProperty(category="recents") 209 @ViewDebug.ExportedProperty(category="recents") 211 @ViewDebug.ExportedProperty(category="recents") 213 @ViewDebug.ExportedProperty(category="recents") [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 183 .map(category -> mCategoryToTargetPackage.get(category)) in applyCurrentUserOverlays() 191 o.category)) in applyCurrentUserOverlays() 192 .filter(o -> overlayCategoriesToDisable.contains(o.category)) in applyCurrentUserOverlays() 196 .map(o -> new Pair<>(o.category, o.packageName)) in applyCurrentUserOverlays() 214 for (String category : THEME_CATEGORIES) { in applyCurrentUserOverlays() 215 if (categoryToPackage.containsKey(category)) { in applyCurrentUserOverlays() 216 OverlayIdentifier overlayInfo = categoryToPackage.get(category); in applyCurrentUserOverlays() 217 setEnabled(transaction, overlayInfo, category, currentUser, managedProfiles, in applyCurrentUserOverlays() 237 OverlayIdentifier identifier, String category, int currentUser, in setEnabled() argument 241 + category + ": " + enabled); in setEnabled() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 497 public @NonNull Builder unsetPriorityCategory(@PriorityCategory int category) { in unsetPriorityCategory() argument 498 mZenPolicy.mPriorityCategories.set(category, STATE_UNSET); in unsetPriorityCategory() 500 if (category == PRIORITY_CATEGORY_MESSAGES) { in unsetPriorityCategory() 502 } else if (category == PRIORITY_CATEGORY_CALLS) { in unsetPriorityCategory() 504 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS) { in unsetPriorityCategory() 661 public @NonNull Builder allowCategory(@PriorityCategory int category, boolean allow) { in allowCategory() argument 662 switch (category) { in allowCategory() 973 category) { in getZenPolicyPriorityCategoryState() 974 switch (category) { in getZenPolicyPriorityCategoryState() 1018 public boolean isCategoryAllowed(@PriorityCategory int category, boolean defaultVal) { in isCategoryAllowed() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 224 public void setCountLimit(@NonNull Category category, int limit, long timeWindowMs) { in setCountLimit() argument 229 final Integer oldLimit = mMaxCategoryCounts.put(category, limit); in setCountLimit() 232 final Long oldWindowSizeMs = mCategoryCountWindowSizesMs.put(category, newWindowSizeMs); in setCountLimit() 248 public int getLimit(@NonNull Category category) { in getLimit() argument 250 final Integer limit = mMaxCategoryCounts.get(category); in getLimit() 252 throw new IllegalArgumentException("Limit for " + category + " not defined"); in getLimit() 261 public long getWindowSizeMs(@NonNull Category category) { in getWindowSizeMs() argument 263 final Long limitMs = mCategoryCountWindowSizesMs.get(category); in getWindowSizeMs() 265 throw new IllegalArgumentException("Limit for " + category + " not defined"); in getWindowSizeMs() 387 final Category category = mCategorizer.getCategory(userId, packageName, tag); in getExecutionStatsLocked() local [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessConfiguration.java | 133 public BrightnessCorrection getCorrectionByCategory(@ApplicationInfo.Category int category) { in getCorrectionByCategory() argument 134 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() 442 final int category = parser.getAttributeInt(null, ATTR_CATEGORY, -1); in loadFromXml() local 446 } else if (category != -1) { in loadFromXml() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkRegistry.java | 97 @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()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | AppItem.java | 30 public int category; field in AppItem 67 int comparison = Integer.compare(category, another.category); in compareTo()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | ValidatorData.java | 99 @NotNull String category, in Issue() 107 mCategory = category; in Issue() 127 public IssueBuilder setCategory(String category) { in setCategory() argument 128 mCategory = category; in setCategory()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | DotRenderer.java | 131 @ViewDebug.ExportedProperty(category = "notification dot", formatToHexString = true) 134 @ViewDebug.ExportedProperty(category = "notification dot") 137 @ViewDebug.ExportedProperty(category = "notification dot") 140 @ViewDebug.ExportedProperty(category = "notification dot")
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 109 private static LogMaker newLogMaker(int category, @NonNull String servicePackageName, in newLogMaker() argument 111 final LogMaker log = new LogMaker(category) in newLogMaker() 121 public static LogMaker newLogMaker(int category, @NonNull String packageName, in newLogMaker() argument 123 return newLogMaker(category, servicePackageName, sessionId, compatMode) in newLogMaker() 128 public static LogMaker newLogMaker(int category, @NonNull ComponentName componentName, in newLogMaker() argument 133 return newLogMaker(category, servicePackageName, sessionId, compatMode) in newLogMaker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 80 for (String category : THEME_CATEGORIES) { 81 ALL_CATEGORIES_MAP.put(category, in ALL_CATEGORIES_MAP.put() argument 82 new OverlayIdentifier(TEST_DISABLED_PREFIX + category)); in ALL_CATEGORIES_MAP.put() argument 269 for (String category : THEME_CATEGORIES) { in zeroCategoriesSpecified_allDisabled() 271 eq(new OverlayIdentifier(TEST_ENABLED_PREFIX + category)), eq(false), in zeroCategoriesSpecified_allDisabled() 293 String category, boolean enabled) { in createOverlayInfo() argument 294 return new OverlayInfo(packageName, null, targetPackageName, null, category, "", in createOverlayInfo()
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaSmsCbProgramResults.java | 66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { in CdmaSmsCbProgramResults() argument 67 mCategory = category; in CdmaSmsCbProgramResults()
|