Searched defs:types (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java50 // TODO Update this when new route types are added; segment by API level
51 // when different route types were added.
55 public void setRouteTypes(int types) { argument
56 if (mRouteTypes == types) return;
60 mRouteTypes = types;
61 if (types != 0) {
62 mRouter.addCallback(types, mCallback);
H A DMediaRouteButton.java132 public void setRouteTypes(int types) { argument
133 if (types == mRouteTypes) {
142 mRouteTypes = types;
146 mRouter.addCallback(types, mRouterCallback);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp54 Vector<AString> types; local
56 MediaCodecList::getInstance()->getSupportedTypes(index, &types);
66 jobjectArray array = env->NewObjectArray(types.size(), clazz, NULL);
68 for (size_t i = 0; i < types.size(); ++i) {
69 jstring obj = env->NewStringUTF(types.itemAt(i).c_str());
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DApnSetting.java36 public final String[] types; field in class:ApnSetting
57 String user, String password, int authType, String[] types,
71 this.types = types;
168 for (int i = 0; i < types.length; i++) {
169 sb.append(types[i]);
170 if (i < types.length - 1) {
182 for (String t : types) {
54 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java47 final int repeatCount, List<ResourceReference> types, int depth) {
57 int typeIndex = types.indexOf(viewRef);
59 typeIndex = types.size();
60 types.add(viewRef);
46 createItems(Iterable<DataBindingItem> iterable, final int itemCount, final int repeatCount, List<ResourceReference> types, int depth) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java122 // Note that not all types are included in this map/set, since, for example, TYPE_HOME_FAX is
191 * Returns Interger when the given types can be parsed as known type. Returns String object
194 public static Object getPhoneTypeFromStrings(Collection<String> types, argument
204 if (types != null) {
205 for (final String typeStringOrg : types) {
230 // prefer more specific types specified in the vCard. Note that OTHER and
231 // the other different types may appear simultaneously here, since vCard
H A DVCardBuilder.java1449 // Event types other than Birthday is not supported by vCard.
1753 // about miscellaneous types.
2040 private void appendTypeParameters(final List<String> types) { argument
2044 for (final String typeValue : types) {
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java120 public void setRouteTypes(int types) { argument
121 mRouteTypes = types;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java335 // skip unknown types
374 // Return all active apn types
376 if (DBG) log("get all active apn types");
931 * @param types comma delimited list of APN types
932 * @return array of APN types
934 private String[] parseTypes(String types) { argument
937 if (types == null || types.equals("")) {
941 result = types
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java174 * <p>Unlike other media route types, user routes are managed by the application.
184 static String typesToString(int types) { argument
186 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) {
189 if ((types & ROUTE_TYPE_USER) != 0) {
221 * Return the currently selected route for the given types
223 * @param type route types
233 * additional route types specified.
235 * @param types Types of routes this callback is interested in
238 public void addCallback(int types, Callback cb) { argument
243 info.type |= types;
273 selectRoute(int types, RouteInfo route) argument
282 selectRouteInt(int types, RouteInfo route) argument
286 selectRouteStatic(int types, RouteInfo route) argument
1392 RouteCategory(CharSequence name, int types, boolean groupable) argument
1398 RouteCategory(int nameResId, int types, boolean groupable) argument
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h32 #include <sys/types.h>
152 * These are standard types that are shared between multiple specific
153 * resource types.
185 // Chunk types in RES_XML_TYPE
197 // Chunk types in RES_TABLE_TYPE
286 // types, as defined below.
774 * A collection of resource data types within a package. Followed by
1180 // resources, 'name' can be one of the following special resource types
1181 // to supply meta-data about the attribute; for all other resource types
1210 // Bit mask of allowed types, fo
1418 type_info types[]; member in struct:android::ResTable::Theme::package_info
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp249 ALOGW("Resource ID map: type=%d exceeds number of types=%d\n", type, typeCount);
253 ALOGW("Resource ID map: number of types=%d exceeds size of map=%d\n", typeCount, (int)size);
2309 size_t i = types.size();
2312 delete types[i];
2319 Vector<Type*> types; member in struct:android::ResTable::Package
2325 return idx < types.size() ? types[idx] : NULL;
2417 theme_entry* te = pi->types[j].entries;
2431 size_t cnt = pi->types[j].numEntries;
2432 newpi->types[
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp9474 Vector<const effect_uuid_t *> types; local
9479 types.add(&mSuspendedEffects.valueAt(i)->mType);
9481 for (size_t i = 0; i < types.size(); i++) {
9482 setEffectSuspended_l(types[i], false);

Completed in 246 milliseconds