Home
last modified time | relevance | path

Searched defs:category (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java92 public void visible(int category) throws IllegalArgumentException { in visible()
101 public void hidden(int category) throws IllegalArgumentException { in hidden()
111 public void visibility(int category, boolean visible) in visibility()
124 public void visibility(int category, int vis) in visibility()
131 public void action(int category) { in action()
138 public void action(int category, int value) { in action()
145 public void action(int category, boolean value) { in action()
152 public void action(int category, String pkg) { in action()
161 public static void visible(Context context, int category) throws IllegalArgumentException { in visible()
167 public static void hidden(Context context, int category) throws IllegalArgumentException { in hidden()
[all …]
/frameworks/native/libs/tracing_perfetto/
Dtracing_perfetto.cpp31 Result traceBegin(uint64_t category, const char* name) { in traceBegin()
42 Result traceEnd(uint64_t category) { in traceEnd()
53 Result traceAsyncBegin(uint64_t category, const char* name, int32_t cookie) { in traceAsyncBegin()
64 Result traceAsyncEnd(uint64_t category, const char* name, int32_t cookie) { in traceAsyncEnd()
75 Result traceAsyncBeginForTrack(uint64_t category, const char* name, in traceAsyncBeginForTrack()
87 Result traceAsyncEndForTrack(uint64_t category, const char* trackName, in traceAsyncEndForTrack()
99 Result traceInstant(uint64_t category, const char* name) { in traceInstant()
110 Result traceInstantForTrack(uint64_t category, const char* trackName, in traceInstantForTrack()
122 Result traceCounter(uint64_t category, const char* name, int64_t value) { in traceCounter()
133 bool isTagEnabled(uint64_t category) { in isTagEnabled()
Dtracing_perfetto_internal.cpp144 struct PerfettoTeCategory* toPerfettoCategory(uint64_t category) { in toPerfettoCategory()
171 Result perfettoTraceBegin(const struct PerfettoTeCategory& category, const char* name) { in perfettoTraceBegin()
176 Result perfettoTraceEnd(const struct PerfettoTeCategory& category) { in perfettoTraceEnd()
181 Result perfettoTraceAsyncBeginForTrack(const struct PerfettoTeCategory& category, const char* name, in perfettoTraceAsyncBeginForTrack()
189 Result perfettoTraceAsyncEndForTrack(const struct PerfettoTeCategory& category, in perfettoTraceAsyncEndForTrack()
197 Result perfettoTraceAsyncBegin(const struct PerfettoTeCategory& category, const char* name, in perfettoTraceAsyncBegin()
202 Result perfettoTraceAsyncEnd(const struct PerfettoTeCategory& category, const char* name, in perfettoTraceAsyncEnd()
207 Result perfettoTraceInstant(const struct PerfettoTeCategory& category, const char* name) { in perfettoTraceInstant()
212 Result perfettoTraceInstantForTrack(const struct PerfettoTeCategory& category, in perfettoTraceInstantForTrack()
220 Result perfettoTraceCounter(const struct PerfettoTeCategory& category, in perfettoTraceCounter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DLogWriter.java29 void visible(Context context, int source, int category, int latency); in visible()
34 void hidden(Context context, int category, int visibleTime); in hidden()
39 void clicked(int category, String key); in clicked()
44 void changed(int category, String key, int value); in changed()
49 void action(Context context, int category, Pair<Integer, Object>... taggedData); in action()
54 void action(Context context, int category, int value); in action()
59 void action(Context context, int category, boolean value); in action()
64 void action(Context context, int category, String pkg); in action()
DEventLogWriter.java33 public void visible(Context context, int source, int category, int latency) { in visible()
43 public void hidden(Context context, int category, int visibleTime) { in hidden()
66 public void changed(int category, String key, int value) { in changed()
84 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { in action()
96 public void action(Context context, int category, int value) { in action()
101 public void action(Context context, int category, boolean value) { in action()
106 public void action(Context context, int category, String pkg) { in action()
DMetricsFeatureProvider.java80 public void visible(Context context, int source, int category, int latency) { in visible()
92 public void hidden(Context context, int category, int visibleTime) { in hidden()
104 public void clicked(int category, String key) { in clicked()
117 public void changed(int category, String key, int value) { in changed()
129 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { in action()
138 public void action(Context context, int category, String pkg) { in action()
153 public void action(Context context, int category, int value) { in action()
159 public void action(Context context, int category, boolean value) { in action()
/frameworks/base/services/people/java/com/android/server/people/data/
DEventStore.java123 synchronized EventHistory getEventHistory(@EventCategory int category, String key) { in getEventHistory()
136 synchronized EventHistoryImpl getOrCreateEventHistory(@EventCategory int category, String key) { in getOrCreateEventHistory()
149 synchronized void deleteEventHistory(@EventCategory int category, String key) { in deleteEventHistory()
157 synchronized void deleteEventHistories(@EventCategory int category) { in deleteEventHistories()
179 synchronized void pruneOrphanEventHistories(@EventCategory int category, in pruneOrphanEventHistories()
/frameworks/base/nfc/java/android/nfc/cardemulation/
DCardEmulation.java221 public boolean isDefaultServiceForCategory(ComponentName service, String category) { in isDefaultServiceForCategory()
291 public boolean categoryAllowsForegroundPreference(String category) { in categoryAllowsForegroundPreference()
332 public int getSelectionModeForCategory(String category) { in getSelectionModeForCategory()
564 public boolean registerAidsForService(ComponentName service, String category, in registerAidsForService()
722 public List<String> getAidsForService(ComponentName service, String category) { in getAidsForService()
759 public boolean removeAidsForService(ComponentName service, String category) { in removeAidsForService()
1022 public boolean setDefaultServiceForCategory(ComponentName service, String category) { in setDefaultServiceForCategory()
1090 public List<ApduServiceInfo> getServices(String category) { in getServices()
1119 public List<ApduServiceInfo> getServices(@NonNull String category, @UserIdInt int userId) { in getServices()
DAidGroup.java75 public AidGroup(@NonNull List<String> aids, @Nullable String category) { in AidGroup()
105 AidGroup(@NonNull String category, @NonNull String description) { in AidGroup()
207 String category = null; in createFromXml() local
264 private static boolean isValidCategory(String category) { in isValidCategory()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsUsageMonitorShortCodeTest.java39 final int category; field in SmsUsageMonitorShortCodeTest.ShortCodeTest
41 ShortCodeTest(String countryIso, String destAddress, int category) { in ShortCodeTest()
/frameworks/base/nfc/java/android/nfc/
DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory()
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory()
39 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService()
40 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService()
43 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java82 ALL_CATEGORIES_MAP.put(category, in ALL_CATEGORIES_MAP.put() argument
83 new OverlayIdentifier(TEST_DISABLED_PREFIX + category)); in ALL_CATEGORIES_MAP.put()
299 String category, boolean enabled) { in createOverlayInfo()
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java133 public BrightnessCorrection getCorrectionByCategory(@ApplicationInfo.Category int category) { in getCorrectionByCategory()
202 final int category = entry.getKey(); in writeToParcel() local
370 final int category = entry.getKey(); in saveToXml() local
442 final int category = parser.getAttributeInt(null, ATTR_CATEGORY, -1); in loadFromXml() local
477 final int category = entry.getKey(); in loadFromXml() local
617 public Builder addCorrectionByCategory(@ApplicationInfo.Category int category, in addCorrectionByCategory()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkRegistry.java97 @BenchmarkCategory int getCategory(int category) { in getCategory()
139 int category = getCategory(testCategory); in parseBenchmarkGroup() local
193 public static String getCategoryString(int category) { in getCategoryString()
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/
DAppInfoFactory.java57 String category = XmlUtils.getStringAttr(appInfoEle, XmlUtils.HR_ATTR_CATEGORY, true); in createFromHrElements() local
105 String category = XmlUtils.getOdStringEle(appInfoEle, XmlUtils.OD_NAME_CATEGORY, true); in createFromOdElements() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java436 public static ResolveInfo newInfo(boolean systemApp, String category) { in newInfo()
440 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint) { in newInfo()
444 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo()
449 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo()
478 private static Bundle newMetaData(String category, String keyHint, String iconUri, in newMetaData()
/frameworks/base/core/proto/android/nfc/
Daid_group.proto28 optional string category = 1; field
/frameworks/proto_logging/stats/atoms/wearservices/
Dwearservices_atoms.proto91 optional android.app.wearservices.NotificationCategory category = 12; field
145 optional android.app.wearservices.NotificationCategory category = 6; field
175 optional android.app.wearservices.NotificationCategory category = 6; field
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java356 void updateChooserCounts(String packageName, String category, String action) { in updateChooserCounts()
492 final String category = packagesTokenData.getString(packageToken, in deobfuscateUsageStats() local
583 String category = packagesTokenData.getString(packageToken, in deobfuscateEvents() local
652 String category = categoriesMap.keyAt(categoryIndex); in obfuscateUsageStatsData() local
717 final String category = event.mExtras.getString( in obfuscateEventsData() local
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java191 @Nullable public final String category; field in OverlayInfo
255 @Nullable String targetOverlayableName, @Nullable String category, in OverlayInfo()
265 @Nullable String category, @NonNull String baseCodePath, int state, int userId, in OverlayInfo()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java224 public void setCountLimit(@NonNull Category category, int limit, long timeWindowMs) { in setCountLimit()
248 public int getLimit(@NonNull Category category) { in getLimit()
261 public long getWindowSizeMs(@NonNull Category category) { in getWindowSizeMs()
387 final Category category = mCategorizer.getCategory(userId, packageName, tag); in getExecutionStatsLocked() local
728 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump() local
753 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump() local
/frameworks/base/core/java/android/os/
DVibrationAttributes.java268 @Flag int flags, @Category int category) { in VibrationAttributes()
461 public static String categoryToString(@Category int category) { in categoryToString()
587 public @NonNull Builder setCategory(@Category int category) { in setCategory()
/frameworks/base/core/proto/android/service/
Drestricted_image.proto37 optional string category = 1; field
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java36 final String category = in testBuildShortcutAndGetValue() local
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java258 public int setFrameRateCategory(int category) { in setFrameRateCategory()
742 private void testSurfaceControlFrameRateCategoryInternal( in testSurfaceControlFrameRateCategoryInternal()
755 public void testSurfaceControlFrameRateCategory(@Surface.FrameRateCategory int category) in testSurfaceControlFrameRateCategory()
759 "frame rate category=" + category); in testSurfaceControlFrameRateCategory() local
836 private List<Float> getExpectedFrameRateForCategory(int category) { in getExpectedFrameRateForCategory()
856 private FpsRange convertCategory(int category) { in convertCategory()

123456