/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
QueueHelper.java | 40 // extract the category and unique music ID from the media ID: 41 String[] category = MediaIDHelper.extractBrowseCategoryFromMediaID(mediaId); local 43 // This sample only supports genre category. 44 if (!category[0].equals(MEDIA_ID_MUSICS_BY_GENRE) || category.length != 2) { 49 String categoryValue = category[1];
|
/docs/source.android.com/scripts/ |
build.py | 57 category = 'home' variable 66 # Step A: split path, and update cached category name if needed 71 category = outdir[-1] 116 sidebar3=sidebar3, category=category, title=get_title(absfilename))
|
/external/chromium_org/chrome/utility/media_galleries/ |
picasa_album_table_reader.cc | 77 uint32 category = kAlbumCategoryInvalid; local 83 if (!category_column.ReadUInt32(i, &category) || 92 if (category == kAlbumCategoryAlbum) { 100 } else if (category == kAlbumCategoryFolder) {
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
counter.py | 52 def __init__(self, parent, category, name): 54 self.category = category 55 self.full_name = category + '.' + name
|
trace_event_importer_unittest.py | 62 self.assertEqual('foo', slice_event.category) 73 self.assertEqual('bar', slice_event.category) 84 self.assertEqual('baz', slice_event.category) 131 self.assertEqual('foo', slice_event.category) 153 self.assertEqual('foo', slice_a.category) 160 self.assertEqual('bar', slice_b.category) 191 self.assertEqual('foo', slice_event.category) 201 self.assertEqual('foo', slice_event.category) 220 self.assertEqual('foo', slice_event.category) 277 self.assertEqual('foo', slice_event.category) [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
CardEmulationManager.java | 134 if (DBG) Log.d(TAG, "Default payment service had payment category removed"); 166 // Default still exists and handles the category, nothing do 195 ComponentName getDefaultServiceForCategory(int userId, String category, 197 if (!CardEmulation.CATEGORY_PAYMENT.equals(category)) { 198 Log.e(TAG, "Not allowing defaults for category " + category); 218 String category) { 219 if (!CardEmulation.CATEGORY_PAYMENT.equals(category)) { 220 Log.e(TAG, "Not allowing defaults for category " + category); [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VideoProvider.java | 44 private static String TAG_CATEGORY = "category"; 108 Log.d(TAG, "category #: " + categories.length()); 115 JSONObject category = categories.getJSONObject(i); local 116 String category_name = category.getString(TAG_CATEGORY); 117 JSONArray videos = category.getJSONArray(TAG_MEDIA); 119 "category: " + i + " Name:" + category_name + " video length: " 148 private static Movie buildMovieInfo(String category, String title, 157 movie.setCategory(category); 165 private static String getVideoPrefix(String category, String videoUrl) { 167 ret = mPrefixUrl + category.replace(" ", "%20") + '/' [all...] |
/external/chromium_org/tools/sheriffing/ |
botinfo.js | 6 function BotInfo(name, category) { 7 // Chop off any digits at the beginning of category names. 8 if (category && category.length > 0) { 9 var splitterIndex = category.indexOf('|'); 11 category = category.substr(0, splitterIndex); 14 while (category[0] >= '0' && category[0] <= '9') { 15 category = category.substr(1, category.length) [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Memory.java | 112 private void addCategory(StorageVolumePreferenceCategory category) { 113 mCategories.add(category); 114 getPreferenceScreen().addPreference(category); 115 category.init(); 137 for (StorageVolumePreferenceCategory category : mCategories) { 138 category.onResume(); 147 for (StorageVolumePreferenceCategory category : mCategories) { 148 final StorageVolume volume = category.getStorageVolume(); 150 category.onStorageStateChanged(); 161 for (StorageVolumePreferenceCategory category : mCategories) [all...] |
/external/bison/lib/ |
gettext.h | 71 # define dcgettext(Domainname, Msgid, Category) \ 72 ((void) (Category), dgettext (Domainname, Msgid)) 82 # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ 83 ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) 126 #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ 127 pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) 137 #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ 138 npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) 150 int category) 152 const char *translation = dcgettext (domain, msg_ctxt_id, category); [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
api_categorizer_test.py | 66 def assertGetEqual(expected, category, only_on=None): 71 platform if only_on is None else only_on).GetCategory(category)
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 27 severity(0), category(0) {} 43 /// \brief Return the category of the diagnostic. 46 /// \brief Return the category string of the diagnostic. 90 unsigned category; member in class:clang::CXLoadedDiagnostic
|
/external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/ |
Android.mk | 27 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category 28 test_src := category.pass.cpp
|
/external/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/ |
Android.mk | 23 test_name := diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category 24 test_src := category.pass.cpp
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
CdmaSmsCbProgramResults.java | 23 * CDMA Service Category Program Results from SCPT teleservice SMS. 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) { 67 mCategory = category; [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
gettext.h | 73 # define dcgettext(Domainname, Msgid, Category) \ 74 ((void) (Category), dgettext (Domainname, Msgid)) 84 # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ 85 ((void) (Category), dngettext(Domainname, Msgid1, Msgid2, N)) 122 #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ 123 pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) 133 #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ 134 npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) 146 int category) 148 const char *translation = dcgettext (domain, msg_ctxt_id, category); [all...] |
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_vector.i | 79 typedef pointer_category category; 120 typedef value_category category; 160 typedef value_category category; 201 typedef value_category category;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_configuration.py | 74 for category, specifier in test_configuration.items(): 75 self.add_specifier(category, specifier) 79 def add_specifier(self, category, specifier): 80 self._specifier_to_category[specifier] = category 90 def category_priority(cls, category): 91 return TestConfiguration.category_order().index(category) 122 for category, specifier in configuration.items(): 124 self._specifier_sorter.add_specifier(category, specifier) 125 self._collapsing_sets_by_category.setdefault(category, set()).add(specifier) 128 if category == cat2 [all...] |
/external/chromium_org/third_party/icu/source/common/ |
rbbi.cpp | 990 uint16_t category = 0; local 1207 uint16_t category = 0; local 1616 uint16_t category; local [all...] |
/external/icu/icu4c/source/common/ |
rbbi.cpp | 990 uint16_t category = 0; local 1207 uint16_t category = 0; local 1616 uint16_t category; local [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestMessages.java | 391 private static SmsCbMessage createFromPdu(byte[] pdu, int serialNumber, int category) { 394 return createFromPdus(pdus, serialNumber, category); 397 private static SmsCbMessage createFromPdus(byte[][] pdus, int serialNumber, int category) { 405 if (category != 0) { 406 Log.d(TAG, "setting GSM message identifier to " + category); 407 pdu[2] = (byte) ((category >>> 8) & 0xff); 408 pdu[3] = (byte) (category & 0xff); 415 if (category != 0) { 416 Log.d(TAG, "setting UMTS message identifier to " + category); 417 pdu[1] = (byte) ((category >>> 8) & 0xff) [all...] |
/external/chromium_org/net/base/ |
trace_net_log_observer_unittest.cc | 31 std::string category; member in struct:net::__anon13686::TraceEntryInfo 40 EXPECT_TRUE(value.GetString("cat", &info.category)); 117 std::string category; local 118 if (!dict->GetString("cat", &category)) { 120 << "Unexpected item without a category field in trace_events"; 123 if (category != "netlog") 188 EXPECT_EQ("netlog", actual_item1.category); 197 EXPECT_EQ("netlog", actual_item2.category); 206 EXPECT_EQ("netlog", actual_item3.category); 239 EXPECT_EQ("netlog", actual_item1.category); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
UiModeManagerService.java | 97 private static Intent buildHomeIntent(String category) { 99 intent.addCategory(category); 454 String category = null; local 458 category = Intent.CATEGORY_CAR_DOCK; 463 category = Intent.CATEGORY_DESK_DOCK; 467 category = Intent.CATEGORY_HOME; 473 + mDockState +", category=" + category); 476 sendConfigurationAndStartDreamOrDockAppLocked(category); 495 String category = null local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
PropertyFactory.java | 55 import org.eclipse.wb.internal.core.model.property.category.PropertyCategory; 75 * these, and sometimes combining them into {@link ComplexProperty} category 214 // some (such as properties in the same category, and the layout params etc) 217 PropertyCategory category = PropertyCategory.NORMAL; local 220 category = PropertyCategory.PREFERRED; 230 category = PropertyCategory.PREFERRED; 232 category = PropertyCategory.ADVANCED; 235 if (category != null) { 236 property.setCategory(category); 322 // both, etc.) Also, set the category to Normal such that we don't draw attentio 334 String category = attributeInfo.getDefinedBy(); local 484 String category = PropertyMetadata.getCategory(firstName); local [all...] |
/bionic/libc/bionic/ |
locale.cpp | 140 char* setlocale(int category, const char* locale_name) { 141 // Is 'category' valid? 142 if (category < LC_CTYPE || category > LC_IDENTIFICATION) {
|