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

12

/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java55 public void setRouteTypes(int types) { argument
56 if (types != getRouteTypes()) {
61 args.putInt(ARGUMENT_ROUTE_TYPES, types);
66 dialog.setRouteTypes(types);
H A DMediaRouteChooserDialog.java69 * Gets the media route types for filtering the routes that the user can
72 * @return The route types.
79 * Sets the types of routes that will be shown in the media route chooser dialog
82 * @param types The route types to match.
84 public void setRouteTypes(int types) { argument
85 if (mRouteTypes != types) {
86 mRouteTypes = types;
90 mRouter.addCallback(types, mCallback,
109 * match the route types
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetDebugMessageLogKHR.java1 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
8 int[] types,
19 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
24 java.nio.IntBuffer types,
30 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
36 int[] types,
43 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
48 java.nio.IntBuffer types,
3 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
21 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
32 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
45 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/routing/
H A DMediaRouterJellybeanMr2.java24 public static void addCallback(Object routerObj, int types, Object callbackObj, int flags) { argument
25 ((android.media.MediaRouter)routerObj).addCallback(types,
/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/
H A DMediaRouterJellybeanMr2.java24 public static void addCallback(Object routerObj, int types, Object callbackObj, int flags) { argument
25 ((android.media.MediaRouter)routerObj).addCallback(types,
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTypeReference.java29 * Super type token; allows capturing generic types at runtime by forcing them to be reified.
41 * dynamic types must equal to the static types.</p>
184 private static final Class<?> getRawType(Type[] types) { argument
185 if (types == null) {
189 for (Type type : types) {
244 // Note that this comparison could inaccurately return true when comparing types
397 private static void toString(Type[] types, StringBuilder out) { argument
398 if (types == null) {
400 } else if (types
[all...]
/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java36 * to select by specifying the route types with the {@link #setRouteTypes} method.
64 // TODO Update this when new route types are added; segment by API level
65 // when different route types were added.
70 * Sets the types of routes that will be shown in the media route chooser dialog
73 * @param types The route types to match.
75 public void setRouteTypes(int types) { argument
76 if (mRouteTypes != types) {
87 mRouteTypes = types;
88 if (types !
[all...]
H A DMediaRouteButton.java106 * Gets the media route types for filtering the routes that the user can
109 * @return The route types.
116 * Sets the types of routes that will be shown in the media route chooser dialog
119 * @param types The route types to match.
121 public void setRouteTypes(int types) { argument
122 if (mRouteTypes != types) {
127 mRouteTypes = types;
129 if (mAttachedToWindow && types != 0) {
130 mRouter.addCallback(types, mCallbac
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp128 Vector<AString> types; local
129 info->getSupportedMimes(&types);
134 jobjectArray array = env->NewObjectArray(types.size(), clazz, NULL);
136 for (size_t i = 0; i < types.size(); ++i) {
137 jstring obj = env->NewStringUTF(types.itemAt(i).c_str());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java56 final int repeatCount, List<ResourceReference> types, int depth) {
66 int typeIndex = types.indexOf(viewRef);
68 typeIndex = types.size();
69 types.add(viewRef);
55 createItems(Iterable<DataBindingItem> iterable, final int itemCount, final int repeatCount, List<ResourceReference> types, int depth) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java46 public final String[] types; field in class:ApnSetting
91 String user, String password, int authType, String[] types,
107 this.types = new String[types.length];
108 for (int i = 0; i < types.length; i++) {
109 this.types[i] = types[i].toLowerCase(Locale.ROOT);
279 for (int i = 0; i < types.length; i++) {
280 sb.append(types[i]);
281 if (i < types
88 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, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
[all...]
H A DDcTracker.java499 // Return all active apn types
501 if (DBG) log("get all active apn types");
1095 * @param types comma delimited list of APN types
1096 * @return array of APN types
1098 private String[] parseTypes(String types) { argument
1101 if (types == null || types.equals("")) {
1105 result = types.split(",");
1164 String[] types
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java119 // Note that not all types are included in this map/set, since, for example, TYPE_HOME_FAX is
188 * Returns Interger when the given types can be parsed as known type. Returns String object
191 public static Object getPhoneTypeFromStrings(Collection<String> types, argument
201 if (types != null) {
202 for (final String typeStringOrg : types) {
227 // prefer more specific types specified in the vCard. Note that OTHER and
228 // the other different types may appear simultaneously here, since vCard
H A DVCardBuilder.java1414 // Event types other than Birthday is not supported by vCard.
1718 // about miscellaneous types.
2005 private void appendTypeParameters(final List<String> types) { argument
2009 for (final String typeValue : types) {
/frameworks/support/v4/jellybean/android/support/v4/media/routing/
H A DMediaRouterJellybean.java71 public static void selectRoute(Object routerObj, int types, Object routeObj) { argument
72 ((android.media.MediaRouter)routerObj).selectRoute(types,
76 public static void addCallback(Object routerObj, int types, Object callbackObj) { argument
77 ((android.media.MediaRouter)routerObj).addCallback(types,
293 public void selectRoute(Object routerObj, int types, Object routeObj) { argument
307 mSelectRouteIntMethod.invoke(router, types, route);
324 router.selectRoute(types, route);
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java71 public static void selectRoute(Object routerObj, int types, Object routeObj) { argument
72 ((android.media.MediaRouter)routerObj).selectRoute(types,
76 public static void addCallback(Object routerObj, int types, Object callbackObj) { argument
77 ((android.media.MediaRouter)routerObj).addCallback(types,
293 public void selectRoute(Object routerObj, int types, Object routeObj) { argument
307 mSelectRouteIntMethod.invoke(router, types, route);
324 router.selectRoute(types, route);
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiControlManager.java34 * can host more than one logical CEC devices. If multiple types are configured they
264 int[] types = null;
267 types = mService.getSupportedTypes();
272 mHasTvDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_TV);
273 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK);
276 private static boolean hasDeviceType(int[] types, int type) { argument
277 if (types == null) {
280 for (int t : types) {
/frameworks/av/services/audioflinger/
H A DEffects.cpp1838 Vector<const effect_uuid_t *> types; local
1843 types.add(&mSuspendedEffects.valueAt(i)->mType);
1845 for (size_t i = 0; i < types.size(); i++) {
1846 setEffectSuspended_l(types[i], false);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.h19 #include <sys/types.h>
373 audio_devices_t types() const { return mDeviceTypes; } function in class:android::AudioPolicyManager::DeviceVector
375 void loadDevicesFromType(audio_devices_t types);
379 DeviceVector getDevicesFromType(audio_devices_t types) const;
H A DAudioPolicyManager.cpp862 if (found && (mAvailableOutputDevices.types() & profile->mSupportedDevices.types())) {
2504 if (mHwModules[i]->mOutputProfiles[j]->mSupportedDevices.types() & device) {
2510 if (mHwModules[i]->mInputProfiles[j]->mSupportedDevices.types() &
2536 audio_devices_t devices = outputDesc->mProfile->mSupportedDevices.types();
2537 return devices & mAvailableOutputDevices.types();
2656 devices.types(), outputDesc->mIoHandle);
2657 setOutputDevice(outputDesc->mIoHandle, devices.types(), true, 0, handle);
3081 audio_devices_t outputDeviceTypes = mAvailableOutputDevices.types();
3082 audio_devices_t inputDeviceTypes = mAvailableInputDevices.types()
7558 loadDevicesFromType(audio_devices_t types) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java626 * <p>Unlike other media route types, user routes are managed by the application.
695 static String typesToString(int types) { argument
697 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) {
700 if ((types & ROUTE_TYPE_LIVE_VIDEO) != 0) {
703 if ((types & ROUTE_TYPE_REMOTE_DISPLAY) != 0) {
706 if ((types & ROUTE_TYPE_USER) != 0) {
748 * Return the currently selected route for any of the given types
750 * @param type route types
756 // If the selected route supports any of the types supplied, it's still considered
770 * Returns true if there is a route that matches the specified types
785 isRouteAvailable(int types, int flags) argument
813 addCallback(int types, Callback cb) argument
833 addCallback(int types, Callback cb, int flags) argument
885 selectRoute(int types, RouteInfo route) argument
892 selectRouteInt(int types, RouteInfo route, boolean explicit) argument
896 selectRouteStatic(int types, RouteInfo route, boolean explicit) argument
1667 matchesTypes(int types) argument
2540 RouteCategory(CharSequence name, int types, boolean groupable) argument
2546 RouteCategory(int nameResId, int types, boolean groupable) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES31Ext.java303 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
310 int[] types,
321 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
326 java.nio.IntBuffer types,
332 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
338 int[] types,
345 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
350 java.nio.IntBuffer types,
305 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
323 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
334 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
347 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
/frameworks/base/include/androidfw/
H A DResourceTypes.h33 #include <sys/types.h>
183 * These are standard types that are shared between multiple specific
184 * resource types.
216 // Chunk types in RES_XML_TYPE
228 // Chunk types in RES_TABLE_TYPE
323 // types, as defined below.
845 * A collection of resource data types within a package. Followed by
1358 // resources, 'name' can be one of the following special resource types
1359 // to supply meta-data about the attribute; for all other resource types
1388 // Bit mask of allowed types, fo
1670 type_info types[Res_MAXTYPE + 1]; member in struct:android::ResTable::Theme::package_info
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp4088 // There will always be enough room for the remaining types.
4198 const Vector<sp<Type> >& types = p->getOrderedTypes(); local
4199 const size_t typeCount = types.size();
4201 const sp<Type>& t = types[ti];
4699 const Vector<sp<Type> >& types = mOrderedPackages[p]->getOrderedTypes(); local
4700 const size_t typeCount = types.size();
4702 const Vector<sp<ConfigList> >& configs = types[t]->getOrderedConfigs();
4712 types[t]->getName(),
4714 getResId(mOrderedPackages[p], types[t], configs[c]->getEntryIndex()));
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java634 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
635 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
637 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);

Completed in 1809 milliseconds

12