Searched refs:object (Results 1 - 14 of 14) sorted by relevance

/system/media/mca/filterfw/jni/
H A Djni_util.cpp35 JavaObject::JavaObject(jobject object, JNIEnv* env)
121 bool IsJavaInstanceOf(JNIEnv* env, jobject object, const std::string& class_name) { argument
123 return clazz ? env->IsInstanceOf(object, clazz) == JNI_TRUE : false;
133 Value ToCValue(JNIEnv* env, jobject object) { argument
135 if (object != NULL) {
136 if (IsJavaInstanceOf(env, object, "java/lang/Boolean")) {
137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z");
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0);
139 } else if (IsJavaInstanceOf(env, object, "java/lang/Integer")) {
140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValu
[all...]
H A Djni_util.h37 // Wrapper around a java object pointer, which includes the environment
38 // pointer in which the object "lives". This is used for passing down Java
40 // While an instance of this class does not own the underlying java object, it
50 // Creates a wrapper around the given object in the given JNI environment.
51 JavaObject(jobject object, JNIEnv* env);
62 // Access to the object (non-const as JNI functions are non-const).
63 jobject object() const {
67 // Resets this object to the NULL JavaObject.
77 // The object pointer (not owned).
80 // The reference count of this object
114 RegisterObject(T* object, bool owns) argument
[all...]
/system/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java44 public static MutableFrameFormat fromObject(Object object, int target) { argument
45 return object == null
47 : fromClass(object.getClass(), FrameFormat.SIZE_UNSPECIFIED, target);
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument
51 return object == null
53 : fromClass(object.getClass(), count, target);
61 throw new IllegalArgumentException("Native object-based formats must be of a " +
68 + "native object-based frame of type " + clazz + "! Perhaps it is missing a "
/system/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrame.java43 static SimpleFrame wrapObject(Object object, FrameManager frameManager) { argument
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
46 result.setObjectValue(object);
140 protected void setGenericObjectValue(Object object) { argument
146 setFormatObjectClass(object.getClass());
147 } else if (!format.getObjectClass().isAssignableFrom(object.getClass())) {
149 "Attempting to set object value of type '" + object.getClass() + "' on " +
153 // Set the object value
154 mObject = object;
[all...]
H A DFrame.java78 public void setObjectValue(Object object) { argument
83 if (object instanceof int[]) {
84 setInts((int[])object);
85 } else if (object instanceof float[]) {
86 setFloats((float[])object);
87 } else if (object instanceof ByteBuffer) {
88 setData((ByteBuffer)object);
89 } else if (object instanceof Bitmap) {
90 setBitmap((Bitmap)object);
92 setGenericObjectValue(object);
[all...]
H A DSerializedFrame.java184 static SerializedFrame wrapObject(Object object, FrameManager frameManager) { argument
185 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
187 result.setObjectValue(object);
254 protected void setGenericObjectValue(Object object) { argument
255 serializeObjectValue(object);
258 private final void serializeObjectValue(Object object) { argument
261 mObjectOut.writeObject(object);
265 throw new RuntimeException("Could not serialize object " + object + " in "
276 throw new RuntimeException("Could not deserialize object i
[all...]
H A DFrameFormat.java171 public boolean equals(Object object) { argument
172 if (this == object) {
176 if (!(object instanceof FrameFormat)) {
180 FrameFormat format = (FrameFormat)object;
353 case TYPE_OBJECT: return "object";
/system/core/libnl_2/
H A DAndroid.mk13 object.c \
/system/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java57 public void addReference(String name, Object object) { argument
58 mReferences.put(name, object);
/system/media/wilhelm/src/
H A Dsles_allinclusive.h53 // object priorities, preemption, loss of control, device configuration
108 predestroy_ok, // OK to destroy object now
123 #define INTERFACE_EXPLICIT 1 // must be requested explicitly during object creation
124 #define INTERFACE_DYNAMIC 2 // can be requested after object creation
178 // Describes how an interface is related to a given object
181 #define INTERFACE_INITIALIZED 1 ///< not requested at object creation time
182 #define INTERFACE_EXPOSED 2 ///< requested at object creation time
211 // OpenSL ES and OpenMAX AL object IDs come from different ranges, and some objects such as
212 // Engine, Output Mix, LED, and Vibra belong to both APIs, so we keep both object IDs
213 SLuint16 mSLObjectID; // OpenSL ES object I
[all...]
H A Dsles.c22 /** \brief Return true if the specified interface exists and has been initialized for this object.
24 * interface but this particular object has not had the interface exposed at object creation time
27 * entry that the object is locked for either shared or exclusive access.
52 /** \brief Map an IObject to it's "object ID" (which is really a class ID) */
57 // Note this returns the OpenSL ES object ID in preference to the OpenMAX AL if both available
67 /** \brief Acquire a strong reference to an object.
68 * Check that object has the specified "object ID" (which is really a class ID) and is in the
73 SLresult AcquireStrongRef(IObject *object, SLuint3 argument
104 ReleaseStrongRefAndUnlockExclusive(IObject *object) argument
126 ReleaseStrongRef(IObject *object) argument
[all...]
/system/media/wilhelm/tests/sandbox/
H A DAndroid.mk87 # object
98 object.c
/system/extras/tests/sdcard/
H A Dplot_sdcard.py47 class DataSet(object):
86 class Metadata(object):
/system/extras/tests/bionic/libc/
H A DAndroid.mk168 # to build one shared object and one executable that depends

Completed in 793 milliseconds