/frameworks/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 57 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/tests/robotests/src/com/android/settingslib/drawer/ |
H A D | CategoryManagerTest.java | 64 tile1.category = CategoryKey.CATEGORY_ACCOUNT; 65 tile2.category = CategoryKey.CATEGORY_ACCOUNT; 66 final DashboardCategory category = new DashboardCategory(); 67 category.addTile(tile1); 68 category.addTile(tile2); 69 mCategoryByKeyMap.put(CategoryKey.CATEGORY_ACCOUNT, category); 83 final String oldCategory = "com.android.settings.category.wireless"; 84 tile1.category = CategoryKey.CATEGORY_ACCOUNT; 85 tile2.category = oldCategory; 105 final String oldCategory = "com.android.settings.category [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | AidGroup.java | 49 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 D | CardEmulation.java | 55 * 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 D | ApduServiceInfo.java | 70 * 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); 275 * a static (manifest-based) AID group for a category and a dynamic 277 * for that category 303 getDynamicAidGroupForCategory(String category) argument 307 removeDynamicAidGroupForCategory(String category) argument 348 hasCategory(String category) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | INfcCardEmulation.aidl | 29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); 35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); 36 List<ApduServiceInfo> getServices(int userHandle, in String category);
|
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
H A D | PreferenceParentGroupTest.java | 59 PreferenceCategory category = new PreferenceCategory(mContext); 60 assertNull(category.getParent()); 65 screen.addPreference(category); 66 assertEquals(screen, category.getParent()); 68 category.addPreference(pref); 69 assertEquals(category, pref.getParent()); 71 screen.removePreference(category); 72 assertNull(category.getParent()); 74 category.removePreference(pref);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | DozeTrigger.java | 30 @ViewDebug.ExportedProperty(category="recents") 32 @ViewDebug.ExportedProperty(category="recents") 34 @ViewDebug.ExportedProperty(category="recents")
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | Task.java | 58 @ViewDebug.ExportedProperty(category="recents") 60 @ViewDebug.ExportedProperty(category="recents") 62 @ViewDebug.ExportedProperty(category="recents") 64 @ViewDebug.ExportedProperty(category="recents") 66 @ViewDebug.ExportedProperty(category="recents") 68 @ViewDebug.ExportedProperty(category="recents") 135 @ViewDebug.ExportedProperty(category="recents") 137 @ViewDebug.ExportedProperty(category="recents") 146 @ViewDebug.ExportedProperty(category="recents") 148 @ViewDebug.ExportedProperty(category [all...] |
/frameworks/support/compat/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 37 * Display category: Presentation displays. 39 * This category can be used to identify secondary displays that are suitable for 48 "android.hardware.display.category.PRESENTATION"; 90 * Gets all currently valid logical displays of the specified category. 92 * When there are multiple displays in a category the returned displays are sorted 93 * of preference. For example, if the requested category is 100 * @param category The requested display category or null to return all displays. 105 public abstract Display[] getDisplays(String category); argument 129 public Display[] getDisplays(String category) { argument 153 getDisplays(String category) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteSelector.java | 82 * 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/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | CategoryManager.java | 49 // Tile cache (key: category key, value: category) 106 DashboardCategory category = mCategories.get(i); 107 for (int j = 0; j < category.tiles.size(); j++) { 108 Tile tile = category.tiles.get(j); 110 category.tiles.remove(j--); 131 for (DashboardCategory category : mCategories) { 132 mCategoryByKeyMap.put(category.key, category); 144 // A package can use a) CategoryKey, b) old category key [all...] |
H A D | TileUtils.java | 57 * <p>A category must be specified in the meta-data for the activity named 88 "com.android.settings.category.wireless"; 94 "com.android.settings.category.device"; 97 * The key used to get the category from metadata of activities of action 100 * <li>com.android.settings.category.wireless</li> 101 * <li>com.android.settings.category.device</li> 102 * <li>com.android.settings.category.personal</li> 103 * <li>com.android.settings.category.system</li> 105 private static final String EXTRA_CATEGORY_KEY = "com.android.settings.category"; 167 * Build a list of DashboardCategory. Each category mus [all...] |
H A D | Tile.java | 70 public String category; field in class:Tile 118 dest.writeString(category); 138 category = in.readString();
|
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/ |
H A D | VideoInfo.java | 71 public void setCategory(String category) { argument 72 mCategory = category;
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/ |
H A D | VideoInfo.java | 71 public void setCategory(String category) { argument 72 mCategory = category;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | AppItem.java | 30 public int category; field in class:AppItem 67 int comparison = Integer.compare(category, another.category);
|
H A D | SuggestionParser.java | 180 SuggestionCategory category, List<Tile> suggestions, boolean isSmartSuggestionEnabled) { 183 intent.addCategory(category.category); 184 if (category.pkg != null) { 185 intent.setPackage(category.pkg); 190 if (!category.multiple && suggestions.size() > (countBefore + 1)) { 200 // If category is marked as done, do not add any item. 201 if (!isCategoryDone(category.category)) { 304 public boolean isCategoryDone(String category) { argument 179 readSuggestions( SuggestionCategory category, List<Tile> suggestions, boolean isSmartSuggestionEnabled) argument 309 markCategoryDone(String category) argument 368 public String category; field in class:SuggestionParser.SuggestionCategory [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 34 @ViewDebug.ExportedProperty(category="recents") 36 @ViewDebug.ExportedProperty(category="recents") 38 @ViewDebug.ExportedProperty(category="recents") 40 @ViewDebug.ExportedProperty(category="recents") 42 @ViewDebug.ExportedProperty(category="recents")
|
/frameworks/base/services/net/java/android/net/util/ |
H A D | SharedLog.java | 113 private String record(Category category, String msg) { argument 114 final String entry = logLine(category, msg); 119 private String logLine(Category category, String msg) { argument 122 if (category != Category.NONE) sj.add(category.toString());
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
H A D | ApplicationsStateTest.java | 50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; 72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; 79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; 93 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; 100 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 107 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; 229 mEntry.info.category [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaSmsCbProgramResults.java | 38 /** 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...] |
H A D | CdmaSmsCbProgramData.java | 33 /** Delete the specified service category from the list of enabled categories. */ 36 /** Add the specified service category to the list of enabled categories. */ 78 /** Service category operation (add/delete/clear). */ 81 /** Service category to modify. */ 84 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */ 87 /** Maximum number of messages to store for this service category. */ 90 /** Service category alert option. */ 93 /** Name of service category. */ 97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, argument 100 mCategory = category; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarNavigationBarController.java | 112 String category = getPackageCategory(packageName); 113 if (category != null) { 114 setCurrentFacet(mFacetCategoryMap.get(category)); 132 String category = getPackageCategory(packageName); 133 if (mFacetCategoryMap.containsKey(category)) { 134 int index = mFacetCategoryMap.get(category); 211 for (String category : categories) { 212 mFacetCategoryMap.put(category, id); 228 String category = categories[j]; 232 intent.addCategory(category); [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | PasswordMetrics.java | 182 @CharacterCatagory int category = categoryChar(previousChar); //current sequence category 191 if (categoryCurrent != category || Math.abs(currentDiff) > maxDiffCategory(category)) { 195 category = categoryCurrent; 227 private static int maxDiffCategory(@CharacterCatagory int category) { argument 228 switch (category) {
|