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

/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java51 // TODO Update this when new route types are added; segment by API level
52 // when different route types were added.
56 public void setRouteTypes(int types) { argument
57 if (mRouteTypes == types) return;
61 mRouteTypes = types;
62 if (types != 0) {
63 mRouter.addCallback(types, mCallback);
H A DMediaRouteButton.java190 public void setRouteTypes(int types) { argument
191 if (types == mRouteTypes) {
200 mRouteTypes = types;
204 mRouter.addCallback(types, mRouterCallback);
/frameworks/opt/telephony/src/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/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/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.java122 public void setRouteTypes(int types) { argument
123 mRouteTypes = types;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java333 // skip unknown types
372 // Return all active apn types
374 if (DBG) log("get all active apn types");
939 * @param types comma delimited list of APN types
940 * @return array of APN types
942 private String[] parseTypes(String types) { argument
945 if (types == null || types.equals("")) {
949 result = types
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java266 * <p>Unlike other media route types, user routes are managed by the application.
276 static String typesToString(int types) { argument
278 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) {
281 if ((types & ROUTE_TYPE_LIVE_VIDEO) != 0) {
284 if ((types & ROUTE_TYPE_USER) != 0) {
316 * Return the currently selected route for the given types
318 * @param type route types
328 * additional route types specified.
330 * @param types Types of routes this callback is interested in
333 public void addCallback(int types, Callbac argument
368 selectRoute(int types, RouteInfo route) argument
377 selectRouteInt(int types, RouteInfo route) argument
381 selectRouteStatic(int types, RouteInfo route) argument
1769 RouteCategory(CharSequence name, int types, boolean groupable) argument
1775 RouteCategory(int nameResId, int types, boolean groupable) argument
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java440 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
441 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
443 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java582 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
583 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
585 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/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
1188 // resources, 'name' can be one of the following special resource types
1189 // to supply meta-data about the attribute; for all other resource types
1218 // Bit mask of allowed types, fo
1426 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);
2349 size_t i = types.size();
2352 delete types[i];
2359 Vector<Type*> types; member in struct:android::ResTable::Package
2365 return idx < types.size() ? types[idx] : NULL;
2457 theme_entry* te = pi->types[j].entries;
2471 size_t cnt = pi->types[j].numEntries;
2472 newpi->types[
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp9660 Vector<const effect_uuid_t *> types; local
9665 types.add(&mSuspendedEffects.valueAt(i)->mType);
9667 for (size_t i = 0; i < types.size(); i++) {
9668 setEffectSuspended_l(types[i], false);

Completed in 307 milliseconds