/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 35 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 D | jni_util.h | 37 // 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...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 77 public boolean equals(Object object) { argument 78 if (!(object instanceof ContentValues)) { 81 return mValues.equals(((ContentValues) object).mValues); 223 * Returns true if this object has the named value. 503 * Returns a string containing a concise, human-readable description of this object. 504 * @return a printable representation of this object.
|
/frameworks/base/core/java/android/os/ |
H A D | MessageQueue.java | 92 * with {@link #addIdleHandler}. If the given object is not currently 333 final boolean hasMessages(Handler h, int what, Object object) { argument 341 if (p.target == h && p.what == what && (object == null || p.obj == object)) { 350 final boolean hasMessages(Handler h, Runnable r, Object object) { argument 358 if (p.target == h && p.callback == r && (object == null || p.obj == object)) { 367 final void removeMessages(Handler h, int what, Object object) { argument 377 && (object == null || p.obj == object)) { 401 removeMessages(Handler h, Runnable r, Object object) argument 435 removeCallbacksAndMessages(Handler h, Object object) argument [all...] |
H A D | Handler.java | 44 * a {@link Message} object containing a bundle of data that will be 395 * Posts a message to an object that implements Runnable. 631 * 'object' that are in the message queue. If <var>object</var> is null, 634 public final void removeMessages(int what, Object object) { argument 635 mQueue.removeMessages(this, what, object); 657 * whose obj is 'object' in the message queue. 659 public final boolean hasMessages(int what, Object object) { argument 660 return mQueue.hasMessages(this, what, object);
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseCursorPagerAdapter.java | 46 /** Mapping of instantiated object to row ID */ 109 public void destroyItem(View container, int position, Object object) { argument 110 mObjectRowMap.remove(object); 112 super.destroyItem(container, position, object); 116 public int getItemPosition(Object object) { argument 117 final Integer rowId = mObjectRowMap.get(object);
|
H A D | BaseFragmentPagerAdapter.java | 101 public void destroyItem(View container, int position, Object object) { argument 105 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object 106 + " v=" + ((Fragment)object).getView()); 108 Fragment fragment = (Fragment) object; 122 public void setPrimaryItem(View container, int position, Object object) { argument 123 Fragment fragment = (Fragment) object; 146 public boolean isViewFromObject(View view, Object object) { argument 148 View root = ((Fragment) object).getView();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseCursorPagerAdapter.java | 45 /** Mapping of instantiated object to row ID */ 110 public void destroyItem(View container, int position, Object object) { argument 111 mObjectRowMap.remove(object); 113 super.destroyItem(container, position, object); 117 public int getItemPosition(Object object) { argument 118 final Integer rowId = mObjectRowMap.get(object);
|
H A D | BaseFragmentPagerAdapter.java | 105 public void destroyItem(View container, int position, Object object) { argument 109 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object 110 + " v=" + ((Fragment)object).getView()); 112 Fragment fragment = (Fragment) object; 126 public void setPrimaryItem(View container, int position, Object object) { argument 127 Fragment fragment = (Fragment) object; 150 public boolean isViewFromObject(View view, Object object) { argument 152 View root = ((Fragment) object).getView();
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentPagerAdapter.java | 115 public void destroyItem(ViewGroup container, int position, Object object) { argument 119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object 120 + " v=" + ((Fragment)object).getView()); 121 mCurTransaction.detach((Fragment)object); 125 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument 126 Fragment fragment = (Fragment)object; 150 public boolean isViewFromObject(View view, Object object) { argument 151 return ((Fragment)object).getView() == view;
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentPagerAdapter.java | 111 public void destroyItem(ViewGroup container, int position, Object object) { argument 115 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object 116 + " v=" + ((Fragment)object).getView()); 117 mCurTransaction.detach((Fragment)object); 121 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument 122 Fragment fragment = (Fragment)object; 146 public boolean isViewFromObject(View view, Object object) { argument 147 return ((Fragment)object).getView() == view;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerAdapter.java | 62 * whether a page View is associated with a given key object.</p> 69 * could be implemented as <code>return view == object;</code>.</p> 120 * @param object The same object that was returned by 123 public void destroyItem(ViewGroup container, int position, Object object) { argument 124 destroyItem((View) container, position, object); 133 * @param object The same object that was returned by 136 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument 137 setPrimaryItem((View) container, position, object); 191 destroyItem(View container, int position, Object object) argument 206 setPrimaryItem(View container, int position, Object object) argument 230 isViewFromObject(View view, Object object) argument 267 getItemPosition(Object object) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 43 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 D | SerializedFrame.java | 184 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...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 71 void *object; /* some optional data field */ member in struct:tagApplicationData
|
/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 39 * <p>However the TextView is referenced, it will be filled with the toString() of each object in 170 * Adds the specified object at the end of the array. 172 * @param object The object to add at the end of the array. 174 public void add(T object) { argument 177 mOriginalValues.add(object); 179 mObjects.add(object); 218 * Inserts the specified object at the specified index in the array. 220 * @param object The object t 223 insert(T object, int index) argument 239 remove(T object) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 484 private Object readPrivateField(String fieldName, Object object) throws Exception { argument 485 Field f = object.getClass().getDeclaredField(fieldName); 487 return f.get(object);
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
H A D | JavaBridgeBasicsTest.java | 99 protected void injectObjectAndReload(final Object object, final String name) throws Throwable { argument 103 getWebView().addJavascriptInterface(object, name); 122 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController")); 141 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); 146 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); 153 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); 220 public void method() { mTestController.setStringValue("object 1"); } 223 assertEquals("object 1", mTestController.waitForStringValue()); 226 public void method() { mTestController.setStringValue("object 2"); } 229 assertEquals("object [all...] |
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 138 const void* objectID, void* object, void* cleanupCookie, 154 e->mObjects.attach(objectID, object, cleanupCookie, func); 218 // the BpRefBase object holding it (when it is constructed), to the 219 // owner of the BpRefBase object when it first acquires that BpRefBase. 137 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
|
H A D | BpBinder.cpp | 44 const void* objectID, void* object, void* cleanupCookie, 48 e.object = object; 53 ALOGE("Trying to attach object ID %p to binder ObjectManager %p with object %p, but object ID already in use", 54 objectID, this, object); 65 return mObjects.valueAt(i).object; 80 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); 123 // we're returning a reference to a non-static object her 43 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument 286 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument [all...] |
H A D | ProcessState.cpp | 84 void ProcessState::setContextObject(const sp<IBinder>& object) argument 86 setContextObject(object, String16("default")); 94 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument 97 mContexts.add(name, object); 103 sp<IBinder> object( 107 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get()); 109 if (object != NULL) return object; 126 object = reply.readStrongBinder(); 132 if (object ! [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 89 void egl_display_t::addObject(egl_object_t* object) { argument 91 objects.add(object); 94 void egl_display_t::removeObject(egl_object_t* object) { argument 96 objects.remove(object); 99 bool egl_display_t::getObject(egl_object_t* object) const { 101 if (objects.indexOf(object) >= 0) { 102 if (object->getDisplay() == this) { 103 object->incRef(); 312 // this marks all object handles are "terminated"
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | Transition.java | 97 * An object of this type cannot be instantiated by using the default 222 * @return The transition data in TransitionSettings object 283 * @param clipSettings The ClipSettings object 475 public boolean equals(Object object) { argument 476 if (!(object instanceof Transition)) { 479 return mUniqueId.equals(((Transition)object).mUniqueId);
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorJava.cpp | 255 jobject object, 259 // Only retrieve the array object and size if the previous action succeeded. 266 // Retrieve the object. 267 (*pObject) = pEnv->GetObjectField(object, objectFieldId); 278 jobject object, 283 // Only retrieve the array object and size if the previous action succeeded. 289 // Retrieve the array object. 290 jobjectArray array = (jobjectArray)pEnv->GetObjectField(object, arrayFieldId); 313 jobject object, 329 // Check if an object containin 252 videoEditJava_getObject( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID objectFieldId, jobject* pObject) argument 275 videoEditJava_getArray( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID arrayFieldId, jobjectArray* pArray, jsize* pArraySize) argument 310 videoEditJava_getString( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID stringFieldId, M4OSA_UInt32* pLength) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 53 socket_create (JNIEnv *env, jobject object, jboolean stream) argument 71 socket_connect_local(JNIEnv *env, jobject object, argument 107 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, argument 139 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, int backlog) argument 163 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) argument 204 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, argument 259 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, int optID) argument 307 JNIEnv *env, jobject object, jobject fileDescriptor, int optID, 375 static jint socket_available (JNIEnv *env, jobject object, argument 424 static void socket_close (JNIEnv *env, jobject object, jobjec argument 306 socket_setOption( JNIEnv *env, jobject object, jobject fileDescriptor, int optID, jint boolValue, jint intValue) argument 575 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument 655 socket_read(JNIEnv *env, jobject object, jobject fileDescriptor) argument 688 socket_readba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument 733 socket_write(JNIEnv *env, jobject object, jint b, jobject fileDescriptor) argument 755 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument 793 socket_get_peer_credentials(JNIEnv *env, jobject object, jobject fileDescriptor) argument [all...] |