Searched refs:type (Results 151 - 175 of 1474) sorted by relevance

1234567891011>>

/frameworks/native/libs/binder/
H A DIMediaResourceMonitor.cpp31 virtual void notifyResourceGranted(/*in*/ int32_t pid, /*in*/ const int32_t type) argument
36 data.writeInt32(type);
51 const int32_t type = data.readInt32(); local
52 notifyResourceGranted(/*in*/ pid, /*in*/ type);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.cpp1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) {
18 (GLenum)type,
27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
30 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) {
34 (GLenum)type,
3 android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) argument
29 android_glDrawElementsInstanced__IIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) argument
H A DglDrawElementsInstancedBaseVertex.cpp1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) {
27 (GLenum)type,
39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */
42 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) {
46 (GLenum)type,
3 android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) argument
41 android_glDrawElementsInstancedBaseVertex__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) argument
H A DglGetActiveAttrib.cpp1 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
16 GLenum *type = (GLenum *) 0; local
54 _exceptionMessage = "type == null";
66 type = type_base + typeOffset;
91 (GLenum *)type,
117 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
132 GLenum *type = (GLenum *) 0; local
136 type = (GLenum *)getPointer(_env, type_buf, (jarray*)&_typeArray, &_typeRemaining, &_typeBufferOffset);
145 if (type == NULL) {
147 type
181 GLenum *type = (GLenum *) 0; local
277 GLenum *type = (GLenum *) 0; local
[all...]
H A DglGetActiveUniform.cpp1 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
16 GLenum *type = (GLenum *) 0; local
54 _exceptionMessage = "type == null";
66 type = type_base + typeOffset;
91 (GLenum *)type,
117 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
132 GLenum *type = (GLenum *) 0; local
136 type = (GLenum *)getPointer(_env, type_buf, (jarray*)&_typeArray, &_typeRemaining, &_typeBufferOffset);
145 if (type == NULL) {
147 type
183 GLenum *type = (GLenum *) 0; local
278 GLenum *type = (GLenum *) 0; local
[all...]
/frameworks/native/services/sensorservice/
H A DGravitySensor.cpp34 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
45 .type = SENSOR_TYPE_GRAVITY,
57 if (event.type == SENSOR_TYPE_ACCELEROMETER) {
72 outEvent->type = SENSOR_TYPE_GRAVITY;
H A DSensorServiceUtils.h33 size_t eventSizeBySensorType(int type);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_apitest.java45 Type type = typeBuilder.create();
46 Allocation alloc = Allocation.createTyped(pRS, type);
47 Allocation allocDst = Allocation.createTyped(pRS, type);
50 s.set_typeNonNull(type);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_apitest.java45 Type type = typeBuilder.create();
46 Allocation alloc = Allocation.createTyped(pRS, type);
47 Allocation allocDst = Allocation.createTyped(pRS, type);
50 s.set_typeNonNull(type);
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp41 int type; // Audio, video,.. use the enum values member in struct:android::MimeGroup
47 int type; member in struct:android::MimeTypeList
137 while (MIMETYPE_LAST != pGroup->type) {
145 if (MIMETYPE_LAST != pGroup->type) {
148 while (MIMETYPE_LAST != pMimeItem->type) {
149 if ((pGroup->type == pMimeItem->type) &&
/frameworks/base/core/java/android/app/
H A DAliasActivity.java93 int type;
94 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
95 && type != XmlPullParser.START_TAG) {
106 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
107 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
108 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) {
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHello.java34 public static final int CHUNK_HELO = type("HELO");
35 public static final int CHUNK_WAIT = type("WAIT");
36 public static final int CHUNK_FEAT = type("FEAT");
68 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2);
87 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
88 int type = request.type;
90 if (type == CHUNK_HELO) {
92 } else if (type == CHUNK_FEAT) {
96 + ChunkHandler.name(type));
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSignature.java39 * format, that allows passing in any type of Frame. Thus, if more granular access is needed to
51 public FrameType type; field in class:Signature.PortInfo
55 type = FrameType.any();
58 public PortInfo(int flags, FrameType type) { argument
60 this.type = type;
70 return modeName + " " + ioName + ": " + type.toString();
90 * @param type the type of the input frame.
93 public Signature addInputPort(String name, int flags, FrameType type) { argument
106 addOutputPort(String name, int flags, FrameType type) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerShellCommand.java111 final String type = getNextArg();
112 if (type == null) {
113 pw.println("Error: didn't specify type of data to get");
116 switch(type) {
120 pw.println("Error: unknown get type '" + type + "'");
126 final String type = getNextArg();
127 if (type == null) {
128 pw.println("Error: didn't specify type of data to set");
131 switch(type) {
[all...]
/frameworks/base/tools/aapt/
H A DSymbol.h36 android::String16 type; member in struct:Symbol
64 , type(t)
72 android::String8(type).string(),
78 return (package < rhs.package) || (type < rhs.type) || (name < rhs.name) || (id < rhs.id);
/frameworks/base/tools/preload/
H A DRecord.java95 final Type type; field in class:Record
112 case '>': type = Type.START_LOAD; break;
113 case '<': type = Type.END_LOAD; break;
114 case '+': type = Type.START_INIT; break;
115 case '-': type = Type.END_INIT; break;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DQueries.java45 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) {
46 return Phone.getTypeLabel(res, type, label);
65 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) {
66 return Email.getTypeLabel(res, type, label);
105 public abstract CharSequence getTypeLabel(Resources res, int type, CharSequence label); argument
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java113 * @param type The media type, e.g. {@code "audio"}.
118 public Media newMedia(String type, int port, int portCount, argument
120 Media media = new Media(type, port, portCount, protocol);
191 * Returns the bandwidth limit of the given type or {@code -1} if it is not
194 public int getBandwidth(String type) { argument
195 return mFields.getBandwidth(type);
199 * Sets the bandwith limit for the given type. The field will be removed if
202 public void setBandwidth(String type, int value) { argument
203 mFields.setBandwidth(type, valu
244 Media(String type, int port, int portCount, String protocol) argument
334 getRtpmap(int type) argument
342 getFmtp(int type) argument
352 setRtpPayload(int type, String rtpmap, String fmtp) argument
364 removeRtpPayload(int type) argument
470 getBandwidth(String type) argument
485 setBandwidth(String type, int value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp58 static void throwUnknownTypeException(JNIEnv * env, jint type) { argument
60 msg.appendFormat("UNKNOWN type %d", type);
158 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
181 int32_t type = window->getFieldSlotType(fieldSlot); local
182 if (type == CursorWindow::FIELD_TYPE_BLOB || type == CursorWindow::FIELD_TYPE_STRING) {
193 } else if (type == CursorWindow::FIELD_TYPE_INTEGER) {
195 } else if (type == CursorWindow::FIELD_TYPE_FLOAT) {
197 } else if (type
216 int32_t type = window->getFieldSlotType(fieldSlot); local
308 int32_t type = window->getFieldSlotType(fieldSlot); local
347 int32_t type = window->getFieldSlotType(fieldSlot); local
378 int32_t type = window->getFieldSlotType(fieldSlot); local
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp33 return lhs->type < rhs;
87 ResourceTableType* ResourceTablePackage::findType(ResourceType type) { argument
89 auto iter = std::lower_bound(types.begin(), last, type, lessThanType);
90 if (iter != last && (*iter)->type == type) {
96 ResourceTableType* ResourceTablePackage::findOrCreateType(ResourceType type) { argument
98 auto iter = std::lower_bound(types.begin(), last, type, lessThanType);
99 if (iter != last && (*iter)->type == type) {
102 return types.emplace(iter, new ResourceTableType(type))
364 ResourceTableType* type = package->findOrCreateType(name.type); local
461 ResourceTableType* type = package->findOrCreateType(name.type); local
521 ResourceTableType* type = package->findType(name.type); local
[all...]
/frameworks/base/libs/hwui/
H A DTexture.cpp105 GLenum format, GLenum type, const void* pixels) {
116 format, type, pixels);
119 format, type, pixels);
124 static void uploadToTexture(bool resize, GLenum format, GLenum type, GLsizei stride, GLsizei bpp, argument
135 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
137 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data);
159 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, temp);
161 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, temp);
169 bool resize, GLenum format, GLenum type) {
170 uploadToTexture(resize, format, type, bitma
104 upload(GLint internalformat, uint32_t width, uint32_t height, GLenum format, GLenum type, const void* pixels) argument
168 uploadSkBitmapToTexture(const SkBitmap& bitmap, bool resize, GLenum format, GLenum type) argument
227 GLint format, type; local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java37 * <p>The most common type of Bluetooth socket is RFCOMM, which is the type
78 * @param type type of socket
85 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
88 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
96 * @param type type of socket
105 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, argument
109 mSocket = new BluetoothSocket(type,
125 BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java51 * {@link #TYPE_RINGTONE} refers to the type of sounds that are suitable for the
149 * the current sound for the given default sound type. If you are showing a
150 * ringtone picker for some other type of sound, you are free to provide any
157 * Given to the ringtone picker as an int. Specifies which ringtone type(s) should be
269 * Sets which type(s) of ringtones will be listed by this.
271 * @param type The type(s), one or more of {@link #TYPE_RINGTONE},
276 public void setType(int type) { argument
282 mType = type;
283 setFilterColumnsList(type);
531 setFilterColumnsList(int type) argument
643 getActualDefaultRingtoneUri(Context context, int type) argument
661 setActualDefaultRingtoneUri(Context context, int type, Uri ringtoneUri) argument
704 getSettingForType(int type) argument
717 getCacheForType(int type) argument
771 getDefaultUri(int type) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DRemoteBugreportUtils.java58 @RemoteBugreportNotificationType int type) {
61 dialogIntent.putExtra(DevicePolicyManager.EXTRA_BUGREPORT_NOTIFICATION_TYPE, type);
62 PendingIntent pendingDialogIntent = PendingIntent.getActivityAsUser(context, type,
74 if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED) {
78 } else if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED) {
82 } else if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED) {
57 buildNotification(Context context, @RemoteBugreportNotificationType int type) argument
/frameworks/base/telephony/java/android/telephony/
H A DCellInfo.java53 // Observation time stamped as type in nanoseconds since boot
134 private static String timeStampTypeToString(int type) { argument
135 switch (type) {
179 protected void writeToParcel(Parcel dest, int flags, int type) { argument
180 dest.writeInt(type);
201 int type = in.readInt();
202 switch (type) {

Completed in 4047 milliseconds

1234567891011>>