Searched defs:category (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionCategory.java20 public String category; field in class:SuggestionCategory
H A DSuggestionList.java42 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) { argument
43 mSuggestions.put(category, suggestions);
60 // If there is no category, or more than 1 category, it's not exclusive by definition.
63 for (SuggestionCategory category : mSuggestions.keySet()) {
64 if (category.exclusive) {
71 public List<Tile> getSuggestionForCategory(String category) { argument
73 if (TextUtils.equals(entry.getKey().category, category)) {
/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupManagerMonitorUtils.java43 * @param category - event category.
48 PackageInfo pkg, int category, Bundle extras) {
53 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY, category);
47 monitorEvent(IBackupManagerMonitor monitor, int id, PackageInfo pkg, int category, Bundle extras) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java41 final int category; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
43 ShortCodeTest(String countryIso, String destAddress, int category) { argument
46 this.category = category;
473 test.category, monitor.checkDestination(test.address, test.countryIso));
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DHelper.java107 public static LogMaker newLogMaker(int category, String packageName, argument
109 final LogMaker log = new LogMaker(category).setPackageName(packageName);
/frameworks/support/compat/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java36 * Display category: Presentation displays.
38 * This category can be used to identify secondary displays that are suitable for
47 "android.hardware.display.category.PRESENTATION";
89 * Gets all currently valid logical displays of the specified category.
91 * When there are multiple displays in a category the returned displays are sorted
92 * of preference. For example, if the requested category is
99 * @param category The requested display category or null to return all displays.
104 public abstract Display[] getDisplays(String category); argument
128 public Display[] getDisplays(String category) { argument
152 getDisplays(String category) argument
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DAidGroup.java49 final String category; field in class:AidGroup
56 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT}
58 public AidGroup(List<String> aids, String category) { argument
70 if (isValidCategory(category)) {
71 this.category = category;
73 this.category = CardEmulation.CATEGORY_OTHER;
82 AidGroup(String category, String description) { argument
84 this.category
199 isValidCategory(String category) argument
[all...]
H A DCardEmulation.java55 * card emulation service for a certain category. This will
59 * {@link #EXTRA_SERVICE_COMPONENT}, for the category
67 * The category extra for {@link #ACTION_CHANGE_DEFAULT}.
71 public static final String EXTRA_CATEGORY = "category";
96 * category.
101 * that the default service has registered in this category,
111 * or {@link OffHostApduService}, whenever an Application ID (AID) of this category
185 * the default service to handle a card emulation category.
190 * selection modes a default can't be set at the category level. For categories where
197 * @param category Th
202 isDefaultServiceForCategory(ComponentName service, String category) argument
264 categoryAllowsForegroundPreference(String category) argument
291 getSelectionModeForCategory(String category) argument
325 registerAidsForService(ComponentName service, String category, List<String> aids) argument
361 getAidsForService(ComponentName service, String category) argument
398 removeAidsForService(ComponentName service, String category) argument
538 setDefaultServiceForCategory(ComponentName service, String category) argument
583 getServices(String category) argument
[all...]
H A DApduServiceInfo.java70 * Mapping from category to static AID group
75 * Mapping from category to dynamic AID group
113 this.mStaticAidGroups.put(aidGroup.category, aidGroup);
116 this.mDynamicAidGroups.put(aidGroup.category, aidGroup);
201 // Get category of AID group
213 groupCategory + " category");
223 if (!mStaticAidGroups.containsKey(currentGroup.category)) {
224 mStaticAidGroups.put(currentGroup.category, currentGroup);
289 * a static (manifest-based) AID group for a category and a dynamic
291 * for that category
328 getDynamicAidGroupForCategory(String category) argument
332 removeDynamicAidGroupForCategory(String category) argument
373 hasCategory(String category) argument
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java57 public void visible(int category) throws IllegalArgumentException { argument
58 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
59 throw new IllegalArgumentException("Must define metric category");
61 EventLogTags.writeSysuiViewVisibility(category, 100);
62 saveLog(new LogMaker(category)
67 public void hidden(int category) throws IllegalArgumentException { argument
68 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
69 throw new IllegalArgumentException("Must define metric category");
71 EventLogTags.writeSysuiViewVisibility(category, 0);
72 saveLog(new LogMaker(category)
77 visibility(int category, boolean visibile) argument
86 visibility(int category, int vis) argument
91 action(int category) argument
98 action(int category, int value) argument
106 action(int category, boolean value) argument
114 action(int category, String pkg) argument
147 visible(Context context, int category) argument
153 hidden(Context context, int category) argument
159 visibility(Context context, int category, boolean visibile) argument
166 visibility(Context context, int category, int vis) argument
173 action(Context context, int category) argument
179 action(Context context, int category, int value) argument
185 action(Context context, int category, boolean value) argument
197 action(Context context, int category, String pkg) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java30 public int category; field in class:AppItem
67 int comparison = Integer.compare(category, another.category);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTile.java77 public String category; field in class:Tile
130 dest.writeString(category);
152 category = in.readString();
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java67 * Get built-in ETWS primary messages by category. ETWS primary message does not contain text,
71 * @param category ETWS message category defined in SmsCbConstants
74 private static String getEtwsPrimaryMessage(Context context, int category) { argument
76 switch (category) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DStreamDescriptor.cpp148 float StreamDescriptorCollection::volIndexToDb(audio_stream_type_t stream, device_category category, argument
152 return Gains::volIndexToDb(streamDesc.getVolumeCurvePoint(category),
/frameworks/base/core/java/android/app/admin/
H A DPasswordMetrics.java196 @CharacterCatagory int category = categoryChar(previousChar); //current sequence category
205 if (categoryCurrent != category || Math.abs(currentDiff) > maxDiffCategory(category)) {
209 category = categoryCurrent;
241 private static int maxDiffCategory(@CharacterCatagory int category) { argument
242 switch (category) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSTileImplTest.java140 public TileLogMatcher(int category) { argument
141 mCategory = category;
147 mInvalid = "Expected category " + mCategory + " but was " + arg.getCategory();
/frameworks/base/services/net/java/android/net/util/
H A DSharedLog.java117 private String record(Category category, String msg) { argument
118 final String entry = logLine(category, msg);
123 private String logLine(Category category, String msg) { argument
126 if (category != Category.NONE) sj.add(category.toString());
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java124 void updateChooserCounts(String packageName, String category, String action) { argument
137 int currentCount = chooserCounts.getOrDefault(category, 0);
138 chooserCounts.put(category, currentCount + 1);
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaSmsCbProgramResults.java38 /** Program result: category already opted in. */
41 /** Program result: category already opted in. */
50 /** Program result: invalid service category name. */
56 /** Service category to modify. */
59 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */
62 /** Result of service category programming for this category. */
66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { argument
67 mCategory = category;
93 * Returns the CDMA service category t
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/
H A DVideoInfo.java71 public void setCategory(String category) { argument
72 mCategory = category;
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/
H A DVideoInfo.java71 public void setCategory(String category) { argument
72 mCategory = category;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java82 * Returns true if the selector contains the specified category.
84 * @param category The category to check.
85 * @return True if the category is present.
87 public boolean hasControlCategory(String category) { argument
88 if (category != null) {
92 if (mControlCategories.get(i).equals(category)) {
237 * Adds a {@link MediaControlIntent media control category} to the builder.
239 * @param category The category t
244 addControlCategory(@onNull String category) argument
[all...]
/frameworks/base/core/java/android/metrics/
H A DLogMaker.java50 /** @param category for the new LogMaker. */
51 public LogMaker(int category) { argument
52 setCategory(category);
64 /** @param category to replace the existing setting. */
65 public LogMaker setCategory(int category) { argument
66 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_CATEGORY, category);
70 /** Set the category to unknown. */
195 * Only useful for counter or histogram category objects.
206 * Only useful for histogram category objects.
217 * Only useful for histogram category object
[all...]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DTileUtilsTest.java127 assertThat(outTiles.get(0).category).isEqualTo(testCategory);
137 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint);
176 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON,
219 assertThat(categoryList.get(0).tiles.get(0).category).isEqualTo(testCategory);
249 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON,
270 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON,
298 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON,
321 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON,
345 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, null, URI_GET_SUMMARY);
385 ResolveInfo resolveInfo = newInfo(true, null /* category */, nul
503 newInfo(boolean systemApp, String category) argument
507 newInfo(boolean systemApp, String category, String keyHint) argument
511 newInfo(boolean systemApp, String category, String keyHint, String iconUri, String summaryUri) argument
516 newInfo(boolean systemApp, String category, String keyHint, String iconUri, String summaryUri, String title, int titleResId) argument
[all...]
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java280 mediaGroup.getChild(MEDIA_NAMESPACE, "category")
283 video.category = body;
414 || localName.equals("category")
511 if (localName.equals("category")) {
512 video.category = takeText();
536 public String category; field in class:SafeSaxTest.YouTubeVideo

Completed in 994 milliseconds

12