Searched refs:type (Results 1 - 25 of 2115) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/
H A DResource_test.cpp24 const ResourceType* type = ParseResourceType("anim"); local
25 ASSERT_NE(type, nullptr);
26 EXPECT_EQ(*type, ResourceType::kAnim);
28 type = ParseResourceType("animator");
29 ASSERT_NE(type, nullptr);
30 EXPECT_EQ(*type, ResourceType::kAnimator);
32 type = ParseResourceType("array");
33 ASSERT_NE(type, nullptr);
34 EXPECT_EQ(*type, ResourceType::kArray);
36 type
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmInfoEvent.java28 // Please add newly defined type constants to the end of the list,
57 // Add more type constants here...
60 // We may want to add a user-defined type constant, such as
68 * @param type Type of the event. Must be any of the event types defined above,
72 public DrmInfoEvent(int uniqueId, int type, String message) { argument
73 super(uniqueId, type, message);
74 checkTypeValidity(type);
81 * @param type Type of the event. Must be any of the event types defined above,
87 public DrmInfoEvent(int uniqueId, int type, String message, argument
89 super(uniqueId, type, messag
98 checkTypeValidity(int type) argument
[all...]
H A DDrmErrorEvent.java28 // Please add newly defined type constants to the end of the list,
67 // Add more type constants here...
70 // We may want to add a user-defined type constant, such as
79 * @param type Type of the event. Must be any of the event types defined above.
82 public DrmErrorEvent(int uniqueId, int type, String message) { argument
83 super(uniqueId, type, message);
84 checkTypeValidity(type);
91 * @param type Type of the event. Must be any of the event types defined above.
96 public DrmErrorEvent(int uniqueId, int type, String message, argument
98 super(uniqueId, type, messag
102 checkTypeValidity(int type) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglCreateShaderProgramv.java1 // C function GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings )
4 int type,
3 glCreateShaderProgramv( int type, String[] strings ) argument
H A DglDrawElementsIndirect.java1 // C function glDrawElementsIndirect ( GLenum mode, GLenum type, const void *indirect );
3 public static native void glDrawElementsIndirect(int mode, int type, long indirect); argument
H A DglDebugMessageInsertKHR.java1 // C function void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf )
5 int type,
3 glDebugMessageInsertKHR( int source, int type, int id, int severity, String buf ) argument
H A DglDrawElementsIndirect.cpp1 /* void glDrawElementsIndirect ( GLenum mode, GLenum type, const void *indirect ) */
2 static void android_glDrawElementsIndirect(JNIEnv *_env, jobject, jint mode, jint type, jlong indirect) { argument
10 glDrawElementsIndirect(mode, type, (const void*)indirect);
H A DglDrawElementsInstanced.java1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
6 int type,
11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
16 int type,
3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument
13 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument
H A DglDrawElementsInstancedBaseVertex.java1 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
6 int type,
12 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
17 int type,
3 glDrawElementsInstancedBaseVertex( int mode, int count, int type, java.nio.Buffer indices, int instanceCount, int basevertex ) argument
14 glDrawElementsInstancedBaseVertex( int mode, int count, int type, int indicesOffset, int instanceCount, int basevertex ) argument
/frameworks/base/core/java/android/app/timezone/
H A DUtils.java24 static int validateVersion(String type, int version) { argument
26 throw new IllegalArgumentException("Invalid " + type + " version=" + version);
31 static String validateRulesVersion(String type, String rulesVersion) { argument
32 validateNotNull(type, rulesVersion);
35 throw new IllegalArgumentException(type + " must not be empty");
41 static <T> T validateNotNull(String type, T object) { argument
43 throw new NullPointerException(type + " == null");
52 static <T> T validateConditionalNull(boolean requireNotNull, String type, T object) { argument
54 return validateNotNull(type, object);
56 return validateNull(type, objec
61 validateNull(String type, T object) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbUnknown.java25 public UsbUnknown(int length, byte type) { argument
26 super(length, type);
H A DUsbACInterfaceUnparsed.java25 public UsbACInterfaceUnparsed(int length, byte type, byte subtype, byte subClass) { argument
26 super(length, type, subtype, subClass);
/frameworks/base/libs/androidfw/tests/
H A DResourceUtils_test.cpp24 StringPiece package, type, entry; local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry));
27 EXPECT_EQ("string", type);
30 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry));
32 EXPECT_EQ("string", type);
35 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry));
37 EXPECT_EQ("", type);
40 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &entry));
42 EXPECT_EQ("", type);
45 EXPECT_FALSE(ExtractResourceName(":string/foo", &package, &type,
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DGestureClassifier.java26 * @param type the type of action for which this method is called
31 public abstract float getFalseTouchEvaluation(int type); argument
/frameworks/base/services/backup/java/com/android/server/backup/internal/
H A DOperation.java25 public final int type; field in class:Operation
27 public Operation(int initialState, BackupRestoreTask callbackObj, int type) { argument
30 this.type = type;
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmFactory.cpp36 bool DrmFactory::isContentTypeSupported(const android::String8 &type) { argument
38 return type == kIsoBmffVideoMimeType ||
39 type == kIsoBmffAudioMimeType ||
40 type == kCencInitDataFormat ||
41 type == kWebmVideoMimeType ||
42 type == kWebmAudioMimeType ||
43 type == kWebmInitDataFormat;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DTonesAutoTest.java37 int type;
42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) {
43 if (toneGen.startTone(type)) {
61 int type;
66 for (type = ToneGenerator.TONE_SUP_DIAL;
67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) {
68 if (toneGen.startTone(type)) {
[all...]
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/ext/
H A Dtype_mirror_ext.kt16 import javax.lang.model.type.TypeKind.BOOLEAN
17 import javax.lang.model.type.TypeKind.BYTE
18 import javax.lang.model.type.TypeKind.CHAR
19 import javax.lang.model.type.TypeKind.DOUBLE
20 import javax.lang.model.type.TypeKind.FLOAT
21 import javax.lang.model.type.TypeKind.INT
22 import javax.lang.model.type.TypeKind.LONG
23 import javax.lang.model.type.TypeKind.SHORT
24 import javax.lang.model.type.TypeMirror
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioCodec.cpp41 AudioCodecType *type = gAudioCodecTypes; local
42 while (type->name != NULL) {
43 if (strcasecmp(codecName, type->name) == 0) {
44 AudioCodec *codec = type->create();
45 codec->name = type->name;
48 ++type;
/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.
43 * <p>See <a href="http://gafter.blogspot.com/2007/05/limitation-of-super-type-tokens.html">
44 * http://gafter.blogspot.com/2007/05/limitation-of-super-type-tokens.html</a>
52 * Create a new type reference for {@code T}.
54 * @throws IllegalArgumentException if {@code T}'s actual type contains a type variable
65 * Prohibit type references with type variables such as
69 * Since the "T" there is not known without an instance of T, type equality would
71 * some of the type safet
87 TypeReference(Type type) argument
104 SpecializedBaseTypeReference(Type type) argument
139 createSpecializedTypeReference(Type type) argument
162 getRawType(Type type) argument
216 getComponentType(Type type) argument
271 containsTypeVariable(Type type) argument
369 toString(Type type, StringBuilder out) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIMediaResourceMonitor.aidl22 oneway void notifyResourceGranted(in int pid, in int type);
/frameworks/base/tools/aapt/tests/
H A DAaptGroupEntry_test.cpp41 String8 type; local
42 EXPECT_TRUE(TestParse(entry, "menu", &type));
43 EXPECT_EQ(String8("menu"), type);
48 String8 type; local
49 EXPECT_TRUE(TestParse(entry, "anim", &type));
50 EXPECT_EQ(String8("anim"), type);
52 EXPECT_TRUE(TestParse(entry, "animator", &type));
53 EXPECT_EQ(String8("animator"), type);
/frameworks/compile/mclinker/lib/MC/
H A DFileAction.cpp28 // already got type - for example, bitcode
29 if (input->type() == Input::Script || input->type() == Input::Object ||
30 input->type() == Input::DynObj || input->type() == Input::Archive)
51 // already got type - for example, bitcode
52 if (input->type() == Input::Script || input->type() == Input::Object ||
53 input->type() == Input::DynObj || input->type()
[all...]
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioStream.java116 * @throws IllegalArgumentException if its type is used by DTMF.
123 if (codec.type == mDtmfType) {
124 throw new IllegalArgumentException("The type is used by DTMF");
130 * Returns the RTP payload type for dual-tone multi-frequency (DTMF) digits,
140 * Sets the RTP payload type for dual-tone multi-frequency (DTMF) digits.
143 * RTP payload type for DTMF is assigned dynamically, so it must be in the
145 * the previous assigned type. This method cannot be called when the stream
148 * @param type The RTP payload type to be used or {@code -1} to disable it.
149 * @throws IllegalArgumentException if the type i
153 setDtmfType(int type) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCacheListener.java26 * @param type the type of registered service
29 void onServiceChanged(V type, int userId, boolean removed); argument

Completed in 5933 milliseconds

1234567891011>>