/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/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/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 | 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);
|
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 | ParcelUuid.java | 82 * Compares this ParcelUuid to another object for equality. If {@code object} 86 * @param object 88 * @return {@code true} if this ParcelUuid is equal to {@code object} 92 public boolean equals(Object object) { argument 93 if (object == null) { 97 if (this == object) { 101 if (!(object instanceof ParcelUuid)) { 105 ParcelUuid that = (ParcelUuid) object;
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 60 * @param object any object to match against the ANDROID_OBJECT_FILTER 62 * @return true if object is selected by the ANDROID_OBJECT_FILTER 65 public static boolean isObjectSelected(Object object) { argument 71 if (object.getClass().getSimpleName().matches(selectors[0])) { 75 Class<?> klass = object.getClass(); 89 .invoke(object, (Object[])null);
|
H A D | FloatProperty.java | 41 public abstract void setValue(T object, float value); argument 44 final public void set(T object, Float value) { argument 45 setValue(object, value);
|
H A D | IntProperty.java | 41 public abstract void setValue(T object, int value); argument 44 final public void set(T object, Integer value) { argument 45 set(object, value.intValue());
|
H A D | Property.java | 21 * in a <em>host</em> object. The Property's {@link #set(Object, Object)} or {@link #get(Object)} 22 * methods can be implemented in terms of the private fields of the host object, or via "setter" and 68 * object (in which case the {@link #set(Object, Object) set()} method should throw a {@link 71 * Class, String)} factory method may return a Property with name "foo" for an object that has 80 * Sets the value on <code>object</code> which this property represents. If the method is unable 81 * to set the value on the target object it will throw an {@link UnsupportedOperationException} 84 public void set(T object, V value) { argument 89 * Returns the current value that this property represents on the given <code>object</code>. 91 public abstract V get(T object); argument
|
H A D | ReflectiveProperty.java | 92 * object matches the type of the Property. The extra checks for primitive types are because 115 public void set(T object, V value) { argument 118 mSetter.invoke(object, value); 126 mField.set(object, value); 136 public V get(T object) { argument 139 return (V) mGetter.invoke(object, (Object[])null); 147 return (V) mField.get(object);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 1550 * <strong>Note:</strong> You must not touch the object after calling this function. 1573 * is recycled. You must not touch the object after calling this function. 1784 public boolean equals(Object object) { argument 1785 if (this == object) { 1788 if (object == null) { 1791 if (getClass() != object.getClass()) { 1794 AccessibilityNodeInfo other = (AccessibilityNodeInfo) object;
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 92 // Javascript interface object 94 Object object; field in class:BrowserFrame.JSObject 97 public JSObject(Object object, boolean requireAnnotation) { argument 98 this.object = object; 209 * @param settings A WebSettings object that holds all settings. 545 * Retrieves the render tree of this frame and puts it as the object for 560 * Retrieves the visual text of the frames, puts it as the object for 590 * the Javascript window object has been cleared. 598 if (jsobject != null && jsobject.object ! [all...] |
H A D | WebView.java | 269 * Transportation object for returning WebView across thread boundaries. 275 * Sets the WebView to the transportation object. 284 * Gets the WebView object. 286 * @return the transported WebView object 435 * Constructs a new WebView with a Context object. 437 * @param context a Context object used to access application assets 446 * @param context a Context object used to access application assets 456 * @param context a Context object used to access application assets 467 * @param context a Context object used to access application assets 490 * @param context a Context object use 1534 addJavascriptInterface(Object object, String name) argument [all...] |
H A D | WebViewClassic.java | 757 // Native WebView pointer that is 0 until the native object has been 4122 public void addJavascriptInterface(Object object, String name) { argument 4124 if (object == null) { 4129 arg.mObject = object; 5524 // any object in this code path, we move the local variable out to be a private
|
/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/java/com/android/internal/widget/multiwaveview/ |
H A D | Tweener.java | 52 break; // an animator can only be attached to one object 57 public static Tweener to(Object object, long duration, Object... vars) { argument 99 Tweener tween = sTweens.get(object); 102 anim = ObjectAnimator.ofPropertyValuesHolder(object, 105 sTweens.put(object, tween); 108 anim = sTweens.get(object).animator; 109 replace(props, object); // Cancel all animators for given object 132 Tweener from(Object object, long duration, Object... vars) { argument 134 // toVars[v] = object[ [all...] |
/frameworks/base/core/jni/ |
H A D | android_debug_JNITest.cpp | 33 static jint android_debug_JNITest_part1(JNIEnv* env, jobject object, argument 45 clazz = env->GetObjectClass(object); 66 result = env->CallIntMethod(object, part2id,
|
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...] |
H A D | android_os_Debug.cpp | 244 jint pid, jobject object) 258 env->SetIntField(object, stat_fields[i].pss_field, stats[i].pss); 259 env->SetIntField(object, stat_fields[i].privateDirty_field, stats[i].privateDirty); 260 env->SetIntField(object, stat_fields[i].sharedDirty_field, stats[i].sharedDirty); 263 jintArray otherIntArray = (jintArray)env->GetObjectField(object, otherStats_field); 280 static void android_os_Debug_getDirtyPages(JNIEnv *env, jobject clazz, jobject object) argument 282 android_os_Debug_getDirtyPagesPid(env, clazz, getpid(), object); 243 android_os_Debug_getDirtyPagesPid(JNIEnv *env, jobject clazz, jint pid, jobject object) argument
|
H A D | android_os_Parcel.cpp | 252 static void android_os_Parcel_writeStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument 256 const status_t err = parcel->writeStrongBinder(ibinderForJavaObject(env, object)); 263 static void android_os_Parcel_writeFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument 268 parcel->writeDupFileDescriptor(jniGetFDFromFileDescriptor(env, object)); 415 jobject object = jniCreateFileDescriptor(env, fd); local 416 if (object == NULL) { 419 return object; 439 jobject object = jniCreateFileDescriptor(env, fd); local 440 if (object == NULL) { 443 return object; 446 android_os_Parcel_closeFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument 460 android_os_Parcel_clearFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument [all...] |
H A D | android_util_Binder.cpp | 236 JavaBBinder(JNIEnv* env, jobject object) argument 237 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)) 249 jobject object() const function in class:JavaBBinder 268 ALOGV("onTransact() on %p calling object %p in env %p vm %p\n", this, mObject, env, mVM); 389 JavaDeathRecipient(JNIEnv* env, jobject object, const sp<DeathRecipientList>& list) argument 390 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)), 394 // The list holds a strong reference to this object. 463 ALOGW("BinderProxy being destroyed; unable to get DR object name"); 500 // to the list are holding references on the list object. Only when they are torn 561 jobject object local 571 jobject object = (jobject)val->findObject(&gBinderProxyOffsets); local [all...] |
H A D | android_util_FileObserver.cpp | 40 static jint android_os_fileobserver_init(JNIEnv* env, jobject object) argument 53 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) argument 86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument 125 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) argument
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 31 void *object; member in struct:list_elem_s
|