Searched refs:type (Results 51 - 75 of 1111) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h67 void setNativeResolution(ResolutionType type, size_t index);
68 void getNativeResolution(ResolutionType *type, size_t *index) const;
73 ResolutionType type, size_t index,
77 ResolutionType type, size_t index, bool enabled = true);
79 bool isResolutionEnabled(ResolutionType type, size_t index) const;
82 ResolutionType type, size_t index,
86 ResolutionType type, size_t index,
90 ResolutionType type, size_t index,
H A DVideoFormats.cpp146 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { argument
147 CHECK_LT(type, kNumResolutionTypes);
148 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL));
150 mNativeType = type;
153 setResolutionEnabled(type, index);
157 ResolutionType *type, size_t *index) const {
158 *type = mNativeType;
182 ResolutionType type, size_t index,
186 if (!GetConfiguration(type, index, &width, &height,
205 ResolutionType type, size_
156 getNativeResolution( ResolutionType *type, size_t *index) const argument
181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
204 setResolutionEnabled( ResolutionType type, size_t index, bool enabled) argument
220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
230 getProfileLevel( ResolutionType type, size_t index, ProfileType *profile, LevelType *level) const argument
261 isResolutionEnabled( ResolutionType type, size_t index) const argument
270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp34 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD();
39 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL;
45 result.type = TYPEID;
55 result.type = TYPEID;
64 if (value->type == NULL_VALUE_TYPE) {
65 value->type = TYPEID;
69 if (value->type == TYPEID) {
78 if (value->type == NULL_VALUE_TYPE) {
79 value->type = TYPEID;
83 if (value->type
[all...]
/frameworks/base/tools/preload/
H A DOperation.java45 final Type type; field in class:Operation
58 int index, Type type) {
63 this.type = type;
98 switch (type) {
125 sb.append(type.toString());
57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, int index, Type type) argument
/frameworks/rs/
H A Dspec.l28 currType->type = 4;
105 currType->type = 1;
111 currType->type = 1;
117 currType->type = 1;
123 currType->type = 1;
129 currType->type = 2;
135 currType->type = 2;
141 currType->type = 2;
147 currType->type = 2;
153 currType->type
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHardwareConfig.java76 * type - see DEV_HARDWARE_TYPE_
80 public int type; field in class:HardwareConfig
84 * following is some specific hardware configuration based on the hardware type.
114 public HardwareConfig(int type) { argument
115 type = type;
124 type = Integer.parseInt(split[0]);
126 switch (type) {
152 if (type == DEV_HARDWARE_TYPE_MODEM) {
168 if (type
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp46 printf(" %s %s(", m->type.type.data, m->name.data);
49 printf("%s %s",p->type.type.data,p->name.data);
263 fprintf(stderr, "aidl: internal error unkown document type %d.\n",
305 Type* type; local
308 type = new UserDataType(p->package ? p->package : "", p->name.data,
315 type = new InterfaceType(c->package ? c->package : "",
324 Type* old = NAMES.Find(type->QualifiedName());
326 NAMES.Add(type);
728 interface_type* type = (interface_type*)items; local
732 user_data_type* type = (user_data_type*)items; local
777 char type[1024]; local
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHeap.java33 public static final int CHUNK_HPIF = type("HPIF");
34 public static final int CHUNK_HPSG = type("HPSG");
35 public static final int CHUNK_HPDU = type("HPDU");
36 public static final int CHUNK_HPDS = type("HPDS");
37 public static final int CHUNK_NHSG = type("NHSG");
38 public static final int CHUNK_HPGC = type("HPGC");
39 public static final int CHUNK_REAE = type("REAE");
40 public static final int CHUNK_REAQ = type("REAQ");
41 public static final int CHUNK_REAL = type("REAL");
81 Log.v("ddm-heap", "Handling " + name(request.type)
[all...]
H A DDdmHandleThread.java31 public static final int CHUNK_THEN = type("THEN");
32 public static final int CHUNK_THCR = type("THCR");
33 public static final int CHUNK_THDE = type("THDE");
34 public static final int CHUNK_THST = type("THST");
35 public static final int CHUNK_STKL = type("STKL");
69 Log.v("ddm-thread", "Handling " + name(request.type) + " chunk");
70 int type = request.type;
72 if (type == CHUNK_THEN) {
74 } else if (type
[all...]
/frameworks/base/core/java/android/app/
H A DAlarmManager.java155 * Alarm intents are delivered with a data extra of type int called
186 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP},
189 * off, using the appropriate clock (depending on the alarm type).
207 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument
208 setImpl(type, triggerAtMillis, legacyExactLength(), 0, operation, null, null);
244 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP},
247 * go off, using the appropriate clock (depending on the alarm type).
267 public void setRepeating(int type, long triggerAtMillis, argument
269 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, operation, null, null);
292 * @param type On
317 setWindow(int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) argument
356 setExact(int type, long triggerAtMillis, PendingIntent operation) argument
390 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument
395 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) argument
508 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
41 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
47 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
59 void glNormalPointerBounds(GLenum type, GLsize argument
63 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
67 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
72 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAmrCodec.cpp103 Frame_Type_3GPP type; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
108 if (type != mMode || length != (8 + gFrameBits[mMode] + 7) >> 3) {
134 Frame_Type_3GPP type; local
144 type = (Frame_Type_3GPP)(bytes[1] >> 3);
145 if (length != (16 + gFrameBits[type] + 7) >> 3) {
154 type = (Frame_Type_3GPP)((bytes[0] << 1 | bytes[1] >> 7) & 0x07);
155 if (length != (10 + gFrameBits[type] + 7) >> 3) {
165 length = (gFrameBits[type] + 7) >> 3;
169 if (AMRDecode(mDecoder, type, byte
227 Frame_Type_3GPP type; local
[all...]
/frameworks/base/libs/androidfw/tests/
H A DBackupData_test.cpp90 int type; local
91 reader->ReadNextHeader(&done, &type);
92 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type)
93 << "wrong type from ReadNextHeader";
129 int type; local
134 reader->ReadNextHeader(&done, &type);
141 reader->ReadNextHeader(&done, &type);
142 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type)
143 << "wrong type from ReadNextHeader";
179 int type; local
231 int type; local
272 int type; local
332 int type; local
398 int type; local
[all...]
/frameworks/wilhelm/src/android/
H A DOutputMix_to_android.cpp35 if (memcmp(SL_IID_EQUALIZER, &om->mEqualizer.mEqDescriptor.type,
40 if (memcmp(SL_IID_BASSBOOST, &om->mBassBoost.mBassBoostDescriptor.type,
45 if (memcmp(SL_IID_PRESETREVERB, &om->mPresetReverb.mPresetReverbDescriptor.type,
51 &om->mEnvironmentalReverb.mEnvironmentalReverbDescriptor.type,
56 if (memcmp(SL_IID_VIRTUALIZER, &om->mVirtualizer.mVirtualizerDescriptor.type,
/frameworks/av/media/libstagefright/
H A DMetaData.cpp97 uint32_t type; local
100 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
110 uint32_t type; local
113 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
125 uint32_t type; local
128 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
140 uint32_t type; local
155 uint32_t type; local
173 uint32_t type; local
191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
210 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument
269 setData( uint32_t type, const void *data, size_t size) argument
278 getData( uint32_t *type, const void **data, size_t *size) const argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java38 // MTP data type
39 int type; field in class:MtpPropertyGroup.Property
43 Property(int code, int type, int column) { argument
45 this.type = type;
93 int type;
98 type = MtpConstants.TYPE_UINT32;
102 type = MtpConstants.TYPE_UINT16;
106 type = MtpConstants.TYPE_UINT16;
110 type
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTextureBase.java44 TextureBase(int type) { argument
46 mData.type = type;
/frameworks/compile/mclinker/lib/Support/
H A DFileSystem.cpp20 return (file_status.type() != mcld::sys::fs::StatusError) &&
21 (file_status.type() != mcld::sys::fs::FileNotFound);
28 return (file_status.type() == mcld::sys::fs::DirectoryFile);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredActivity.java57 int type;
58 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
59 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
61 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) {
63 } else if (type == XmlPullParser.START_TAG) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSsData.java120 public ServiceType ServiceTypeFromRILInt(int type) { argument
122 return ServiceType.values()[type];
124 Rlog.e(GSMPhone.LOG_TAG, "Invalid Service type");
129 public RequestType RequestTypeFromRILInt(int type) { argument
131 return RequestType.values()[type];
133 Rlog.e(GSMPhone.LOG_TAG, "Invalid Request type");
138 public TeleserviceType TeleserviceTypeFromRILInt(int type) { argument
140 return TeleserviceType.values()[type];
142 Rlog.e(GSMPhone.LOG_TAG, "Invalid Teleservice type");
/frameworks/base/docs/html/samples/
H A Dsamples_toc.cs2 <script type="text/javascript">
/frameworks/base/libs/hwui/thread/
H A DFuture.h30 Future(Condition::WakeUpType type = Condition::WAKE_UP_ONE): mBarrier(type), mResult() { }
/frameworks/base/location/java/android/location/
H A DGeofence.java95 private static void checkType(int type) { argument
96 if (type != TYPE_HORIZONTAL_CIRCLE) {
97 throw new IllegalArgumentException("invalid type: " + type);
104 int type = in.readInt();
108 checkType(type);
130 private static String typeToString(int type) { argument
131 switch (type) {
135 checkType(type);
/frameworks/base/media/java/android/media/
H A DMediaSyncEvent.java38 * A synchronization of this type requires a source audio session ID to be set via
46 * Creates a synchronization event of the sepcified type.
48 * <p>The type specifies which kind of event is monitored.
51 * @param eventType the synchronization event type.
59 + "is not a valid MediaSyncEvent type."));
95 * Gets the synchronization event type.
97 * @return the synchronization event type.
113 private static boolean isValidType(int type) { argument
114 switch (type) {
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java63 * Return the type as defined by OpenGL ES of the supplied bitmap, if there
65 * a valid OpenGL ES type.
66 * @throws IllegalArgumentException if the bitmap does not have a type.
68 * @return the OpenGL ES type of the bitmap.
79 throw new IllegalArgumentException("Unknown type");
120 * A version of texImage2D() that takes an explicit type parameter
121 * as defined by the OpenGL ES specification. The actual type and
123 * type and internalformat parameters.
129 * @param type
133 Bitmap bitmap, int type, in
132 texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument
214 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
282 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument
284 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]

Completed in 811 milliseconds

1234567891011>>