Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java33 final String category; field in AidGroup
42 public AidGroup(List<String> aids, String category) { in AidGroup() argument
54 if (isValidCategory(category)) { in AidGroup()
55 this.category = category; in AidGroup()
57 this.category = CardEmulation.CATEGORY_OTHER; in AidGroup()
66 AidGroup(String category, String description) { in AidGroup() argument
68 this.category = category; in AidGroup()
76 return category; in getCategory()
88 StringBuilder out = new StringBuilder("Category: " + category + in toString()
104 dest.writeString(category); in writeToParcel()
[all …]
DCardEmulation.java202 public boolean isDefaultServiceForCategory(ComponentName service, String category) { in isDefaultServiceForCategory() argument
204 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); in isDefaultServiceForCategory()
214 category); in isDefaultServiceForCategory()
264 public boolean categoryAllowsForegroundPreference(String category) { in categoryAllowsForegroundPreference() argument
265 if (CATEGORY_PAYMENT.equals(category)) { in categoryAllowsForegroundPreference()
291 public int getSelectionModeForCategory(String category) { in getSelectionModeForCategory() argument
292 if (CATEGORY_PAYMENT.equals(category)) { in getSelectionModeForCategory()
325 public boolean registerAidsForService(ComponentName service, String category, in registerAidsForService() argument
327 AidGroup aidGroup = new AidGroup(aids, category); in registerAidsForService()
361 public List<String> getAidsForService(ComponentName service, String category) { in getAidsForService() argument
[all …]
DApduServiceInfo.java103 this.mStaticAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
106 this.mDynamicAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
208 if (!mStaticAidGroups.containsKey(currentGroup.category)) { in ApduServiceInfo()
209 mStaticAidGroups.put(currentGroup.category, currentGroup); in ApduServiceInfo()
276 public AidGroup getDynamicAidGroupForCategory(String category) { in getDynamicAidGroupForCategory() argument
277 return mDynamicAidGroups.get(category); in getDynamicAidGroupForCategory()
280 public boolean removeDynamicAidGroupForCategory(String category) { in removeDynamicAidGroupForCategory() argument
281 return (mDynamicAidGroups.remove(category) != null); in removeDynamicAidGroupForCategory()
315 return group.category; in getCategoryForAid()
321 public boolean hasCategory(String category) { in hasCategory() argument
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java87 public boolean hasControlCategory(String category) { in hasControlCategory() argument
88 if (category != null) { in hasControlCategory()
92 if (mControlCategories.get(i).equals(category)) { in hasControlCategory()
244 public Builder addControlCategory(@NonNull String category) { in addControlCategory() argument
245 if (category == null) { in addControlCategory()
252 if (!mControlCategories.contains(category)) { in addControlCategory()
253 mControlCategories.add(category); in addControlCategory()
272 for (String category : categories) { in addControlCategories()
273 addControlCategory(category); in addControlCategories()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl29 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
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService() argument
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService() argument
36 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() argument
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd1 page.title=&lt;category&gt;
8 <dd><pre class="stx">&lt;category android:<a href="#nm">name</a>="<i>string</i>" /&gt;</pre></dd>
14 <dd itemprop="description">Adds a category name to an intent filter. See
16 Intent Filters</a> for details on intent filters and the role of category
22 <dd>The name of the category. Standard categories are defined in the
25 by prefixing "{@code android.intent.category.}" to the
28 "{@code android.intent.category.LAUNCHER}".
31 {@link android.content.Intent#CATEGORY_DEFAULT} category in the intent filter. The methods
34 as if they declared the {@link android.content.Intent#CATEGORY_DEFAULT} category.
Dintent-filter-element.jd24 <dd><code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></cod…
38 <code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></code>, …
137 <br/><code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></co…
/frameworks/support/v4/java/android/support/v4/hardware/display/
DDisplayManagerCompat.java103 public abstract Display[] getDisplays(String category); in getDisplays() argument
127 public Display[] getDisplays(String category) { in getDisplays() argument
128 return category == null ? getDisplays() : new Display[0]; in getDisplays()
150 public Display[] getDisplays(String category) { in getDisplays() argument
151 return DisplayManagerJellybeanMr1.getDisplays(mDisplayManagerObj, category); in getDisplays()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java97 private static Intent buildHomeIntent(String category) { in buildHomeIntent() argument
99 intent.addCategory(category); in buildHomeIntent()
454 String category = null; in updateLocked() local
458 category = Intent.CATEGORY_CAR_DOCK; in updateLocked()
463 category = Intent.CATEGORY_DESK_DOCK; in updateLocked()
467 category = Intent.CATEGORY_HOME; in updateLocked()
473 + mDockState +", category=" + category); in updateLocked()
476 sendConfigurationAndStartDreamOrDockAppLocked(category); in updateLocked()
495 String category = null; in updateAfterBroadcastLocked() local
501 category = Intent.CATEGORY_CAR_DOCK; in updateAfterBroadcastLocked()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
DDisplayManagerJellybeanMr1.java35 public static Display[] getDisplays(Object displayManagerObj, String category) { in getDisplays() argument
36 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(category); in getDisplays()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { in CdmaSmsCbProgramResults() argument
67 mCategory = category; in CdmaSmsCbProgramResults()
DCdmaSmsCbProgramData.java97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, in CdmaSmsCbProgramData() argument
100 mCategory = category; in CdmaSmsCbProgramData()
/frameworks/base/docs/html/training/app-indexing/
Ddeep-linking.jd41 <dt><a href="{@docRoot}guide/topics/manifest/category-element.html">{@code &lt;category&gt;}</a></d…
43 category. The {@link android.content.Intent#CATEGORY_BROWSABLE BROWSABLE}
44 category is required in order for the intent filter to be accessible from a web
46 The {@link android.content.Intent#CATEGORY_DEFAULT DEFAULT} category is
47 optional, but recommended. Without this category, the activity can be started
62 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
63 &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
/frameworks/native/cmds/atrace/
Datrace.cpp267 static bool isCategorySupported(const TracingCategory& category) in isCategorySupported() argument
269 bool ok = category.tags != 0; in isCategorySupported()
271 const char* path = category.sysfiles[i].path; in isCategorySupported()
272 bool req = category.sysfiles[i].required == REQ; in isCategorySupported()
292 static bool isCategorySupportedForRoot(const TracingCategory& category) in isCategorySupportedForRoot() argument
294 bool ok = category.tags != 0; in isCategorySupportedForRoot()
296 const char* path = category.sysfiles[i].path; in isCategorySupportedForRoot()
297 bool req = category.sysfiles[i].required == REQ; in isCategorySupportedForRoot()
/frameworks/base/core/java/android/widget/
DFrameLayout.java66 @ViewDebug.ExportedProperty(category = "measurement")
69 @ViewDebug.ExportedProperty(category = "drawing")
76 @ViewDebug.ExportedProperty(category = "padding")
79 @ViewDebug.ExportedProperty(category = "padding")
82 @ViewDebug.ExportedProperty(category = "padding")
85 @ViewDebug.ExportedProperty(category = "padding")
91 @ViewDebug.ExportedProperty(category = "drawing")
95 @ViewDebug.ExportedProperty(category = "drawing")
/frameworks/base/docs/html/training/wearables/watch-faces/
Dconfiguration.jd94 &lt;category android:name=
95 <strong>"com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION"</strong> />
96 &lt;category android:name="android.intent.category.DEFAULT" />
131 &lt;category android:name=
132 <strong>"com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION"</strong> />
133 &lt;category android:name="android.intent.category.DEFAULT" />
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd84 href="{@docRoot}guide/topics/manifest/category-element.html">{@code &lt;category>}</a>
100 &lt;category android:name="android.intent.category.DEFAULT"/>
109 &lt;action>}</a>, <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
110 &lt;category>}</a>, and <a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
131 &lt;category android:name="android.intent.category.DEFAULT"/>
138 &lt;category android:name="android.intent.category.DEFAULT"/>
146 {@link android.content.Intent#CATEGORY_DEFAULT} category in the intent filter. The methods {@link
149 declared the {@link android.content.Intent#CATEGORY_DEFAULT} category. If you do not declare it
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbCmasInfo.java197 public SmsCbCmasInfo(int messageClass, int category, int responseType, int severity, in SmsCbCmasInfo() argument
200 mCategory = category; in SmsCbCmasInfo()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java283 public Display[] getDisplays(String category) { in getDisplays() argument
287 if (category == null) { in getDisplays()
289 } else if (category.equals(DISPLAY_CATEGORY_PRESENTATION)) { in getDisplays()
/frameworks/base/docs/html/guide/components/
Dintents-filters.jd154 category that should receive the intent), plus information that the recipient component uses in
169 (such as the action, data, and category&mdash;described below). So if you need to start a specific
254 that should handle the intent. Any number of category descriptions can be
255 placed in an intent, but most intents do not require a category.
272 <p>You can specify a category with {@link android.content.Intent#addCategory addCategory()}.</p>
277 <p>These properties listed above (component name, action, data, and category) represent the
463 data, and category. The system will deliver an implicit intent to your app component only if the
492 <dt><a href="{@docRoot}guide/topics/manifest/category-element.html">{@code &lt;category>}</a></dt>
493 <dd>Declares the intent category accepted, in the {@code name} attribute. The value
498 {@link android.content.Intent#CATEGORY_DEFAULT} category in the intent filter. The methods
[all …]
/frameworks/base/docs/html/training/sharing/
Dreceive.jd59 &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
64 &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
69 &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
/frameworks/base/core/java/android/os/
DBatteryStats.java1857 private static final void dumpLine(PrintWriter pw, int uid, String category, String type, in dumpLine() argument
1861 pw.print(category); pw.print(','); in dumpLine()
1909 String category = STAT_NAMES[which]; in dumpCheckinLocked() local
1912 dumpLine(pw, 0 /* uid */, category, BATTERY_DATA, in dumpCheckinLocked()
1957 dumpLine(pw, 0 /* uid */, category, GLOBAL_NETWORK_DATA, in dumpCheckinLocked()
1962 dumpLine(pw, 0 /* uid */, category, MISC_DATA, in dumpCheckinLocked()
1976 dumpLine(pw, 0 /* uid */, category, SCREEN_BRIGHTNESS_DATA, args); in dumpCheckinLocked()
1983 dumpLine(pw, 0 /* uid */, category, SIGNAL_STRENGTH_TIME_DATA, args); in dumpCheckinLocked()
1984 dumpLine(pw, 0 /* uid */, category, SIGNAL_SCANNING_TIME_DATA, in dumpCheckinLocked()
1989 dumpLine(pw, 0 /* uid */, category, SIGNAL_STRENGTH_COUNT_DATA, args); in dumpCheckinLocked()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsUsageMonitorShortCodeTest.java36 final int category; field in SmsUsageMonitorShortCodeTest.ShortCodeTest
38 ShortCodeTest(String countryIso, String destAddress, int category) { in ShortCodeTest() argument
41 this.category = category; in ShortCodeTest()
463 test.category, monitor.checkDestination(test.address, test.countryIso)); in testSmsUsageMonitor()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java245 public boolean isCategory(String category) { in isCategory() argument
246 return Objects.equals(getNotification().category, category); in isCategory()
/frameworks/support/v4/api21/android/support/v4/app/
DNotificationCompatApi21.java65 String category, ArrayList<String> people, Bundle extras, int color, in Builder() argument
99 .setCategory(category) in Builder()
124 return notif.category; in getCategory()

1234567