/frameworks/rs/cpu_ref/linkloader/android/ |
D | librsloader.cpp | 31 static inline RSExecRef wrap(ELFObject<64> *object) { in wrap() argument 32 return reinterpret_cast<RSExecRef>(object); in wrap() 35 static inline RSExecRef wrap(ELFObject<32> *object) { in wrap() argument 36 return reinterpret_cast<RSExecRef>(object); in wrap() 41 static inline ELFObject<64> *unwrap(RSExecRef object) { in unwrap() argument 42 return reinterpret_cast<ELFObject<64> *>(object); in unwrap() 45 static inline ELFObject<32> *unwrap(RSExecRef object) { in unwrap() argument 46 return reinterpret_cast<ELFObject<32> *>(object); in unwrap() 54 RSExecRef object = rsloaderLoadExecutable(buf, buf_size); in rsloaderCreateExec() local 55 if (!object) { in rsloaderCreateExec() [all …]
|
D | librsloader.h | 38 int rsloaderRelocateExecutable(RSExecRef object, 42 void rsloaderUpdateSectionHeaders(RSExecRef object, unsigned char *buf); 44 void rsloaderDisposeExec(RSExecRef object); 46 void *rsloaderGetSymbolAddress(RSExecRef object, char const *name); 48 size_t rsloaderGetSymbolSize(RSExecRef object, char const *name); 50 size_t rsloaderGetFuncCount(RSExecRef object); 52 void rsloaderGetFuncNameList(RSExecRef object, size_t size, char const **list);
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_util.cpp | 35 JavaObject::JavaObject(jobject object, JNIEnv* env) 121 bool IsJavaInstanceOf(JNIEnv* env, jobject object, const std::string& class_name) { in IsJavaInstanceOf() argument 123 return clazz ? env->IsInstanceOf(object, clazz) == JNI_TRUE : false; in IsJavaInstanceOf() 133 Value ToCValue(JNIEnv* env, jobject object) { in ToCValue() argument 135 if (object != NULL) { in ToCValue() 136 if (IsJavaInstanceOf(env, object, "java/lang/Boolean")) { in ToCValue() 137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); in ToCValue() 138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); in ToCValue() 139 } else if (IsJavaInstanceOf(env, object, "java/lang/Integer")) { in ToCValue() 140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); in ToCValue() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RangeTest.java | 139 private static <T extends Comparable<? super T>> void assertInRange(Range<T> object, T needle) { in assertInRange() argument 140 assertAction("in-range", object, needle, true, object.contains(needle)); in assertInRange() 143 private static <T extends Comparable<? super T>> void assertOutOfRange(Range<T> object, in assertOutOfRange() argument 145 assertAction("out-of-range", object, needle, false, object.contains(needle)); in assertOutOfRange() 148 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { in assertUpper() argument 149 assertAction("upper", object, expected, object.getUpper()); in assertUpper() 152 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, T expected) { in assertLower() argument 153 assertAction("lower", object, expected, object.getLower()); in assertLower() 156 private static <T, T2> void assertAction(String action, T object, T2 expected, in assertAction() argument 158 assertEquals("Expected " + object + " " + action + " to be ", in assertAction() [all …]
|
D | RationalTest.java | 391 private static void assertValueEquals(Rational object, float expected) { in assertValueEquals() argument 392 assertEquals("Checking floatValue() for " + object + ";", in assertValueEquals() 393 expected, object.floatValue()); in assertValueEquals() 396 private static void assertValueEquals(Rational object, double expected) { in assertValueEquals() argument 397 assertEquals("Checking doubleValue() for " + object + ";", in assertValueEquals() 398 expected, object.doubleValue()); in assertValueEquals() 401 private static void assertValueEquals(Rational object, long expected) { in assertValueEquals() argument 402 assertEquals("Checking longValue() for " + object + ";", in assertValueEquals() 403 expected, object.longValue()); in assertValueEquals() 406 private static void assertValueEquals(Rational object, int expected) { in assertValueEquals() argument [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerAdapter.java | 123 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument 124 destroyItem((View) container, position, object); in destroyItem() local 136 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument 137 setPrimaryItem((View) container, position, object); in setPrimaryItem() local 191 public void destroyItem(View container, int position, Object object) { in destroyItem() argument 206 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() argument 230 public abstract boolean isViewFromObject(View view, Object object); in isViewFromObject() argument 267 public int getItemPosition(Object object) { in getItemPosition() argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 77 public void setObjectValue(Object object) { in setObjectValue() argument 82 if (object instanceof int[]) { in setObjectValue() 83 setInts((int[])object); in setObjectValue() 84 } else if (object instanceof float[]) { in setObjectValue() 85 setFloats((float[])object); in setObjectValue() 86 } else if (object instanceof ByteBuffer) { in setObjectValue() 87 setData((ByteBuffer)object); in setObjectValue() 88 } else if (object instanceof Bitmap) { in setObjectValue() 89 setBitmap((Bitmap)object); in setObjectValue() 91 setGenericObjectValue(object); in setObjectValue()
|
D | SimpleFrame.java | 41 static SimpleFrame wrapObject(Object object, FrameManager frameManager) { in wrapObject() argument 42 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); in wrapObject() 44 result.setObjectValue(object); in wrapObject() 138 protected void setGenericObjectValue(Object object) { in setGenericObjectValue() argument 144 setFormatObjectClass(object.getClass()); in setGenericObjectValue() 145 } else if (!format.getObjectClass().isAssignableFrom(object.getClass())) { in setGenericObjectValue() 147 "Attempting to set object value of type '" + object.getClass() + "' on " + in setGenericObjectValue() 152 mObject = object; in setGenericObjectValue()
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 369 boolean hasMessages(Handler h, int what, Object object) { in hasMessages() argument 377 if (p.target == h && p.what == what && (object == null || p.obj == object)) { in hasMessages() 386 boolean hasMessages(Handler h, Runnable r, Object object) { in hasMessages() argument 394 if (p.target == h && p.callback == r && (object == null || p.obj == object)) { in hasMessages() 415 void removeMessages(Handler h, int what, Object object) { in removeMessages() argument 425 && (object == null || p.obj == object)) { in removeMessages() 437 && (object == null || n.obj == object)) { in removeMessages() 449 void removeMessages(Handler h, Runnable r, Object object) { in removeMessages() argument 459 && (object == null || p.obj == object)) { in removeMessages() 471 && (object == null || n.obj == object)) { in removeMessages() [all …]
|
D | ParcelUuid.java | 92 public boolean equals(Object object) { in equals() argument 93 if (object == null) { in equals() 97 if (this == object) { in equals() 101 if (!(object instanceof ParcelUuid)) { in equals() 105 ParcelUuid that = (ParcelUuid) object; in equals()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | MapCollections.java | 123 public V setValue(V object) { in setValue() argument 128 return colSetValue(mIndex, object); in setValue() 165 public boolean add(Map.Entry<K, V> object) { in add() argument 218 public boolean remove(Object object) { in remove() argument 248 public boolean equals(Object object) { in equals() argument 249 return equalsSetHelper(this, object); in equals() 268 public boolean add(K object) { in add() argument 283 public boolean contains(Object object) { in contains() argument 284 return colIndexOfKey(object) >= 0; in contains() 303 public boolean remove(Object object) { in remove() argument [all …]
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 125 public V setValue(V object) { in setValue() argument 130 return colSetValue(mIndex, object); in setValue() 167 public boolean add(Map.Entry<K, V> object) { in add() argument 220 public boolean remove(Object object) { in remove() argument 250 public boolean equals(Object object) { in equals() argument 251 return equalsSetHelper(this, object); in equals() 270 public boolean add(K object) { in add() argument 285 public boolean contains(Object object) { in contains() argument 286 return colIndexOfKey(object) >= 0; in contains() 305 public boolean remove(Object object) { in remove() argument [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 40 associated with a native synchronization fence object that is referenced 44 referring to the native fence object. 47 object that behaves similarly to an EGL fence sync object. These native 48 objects must have a signal status like that of an EGLSyncKHR object that 50 native object's signal status may not change again. 90 object is created. In this case the EGL_SYNC_NATIVE_FENCE_FD_ANDROID 93 object or to the value EGL_NO_NATIVE_FENCE_FD_ANDROID. 95 The default values for the EGL native fence sync object attributes are as 108 attribute is set to reflect the signal status of the native fence object. 115 "When a fence sync object is created or when an EGL native fence sync [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | FragmentPagerAdapter.java | 111 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument 115 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object in destroyItem() 116 + " v=" + ((Fragment)object).getView()); in destroyItem() 117 mCurTransaction.detach((Fragment)object); in destroyItem() 121 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument 122 Fragment fragment = (Fragment)object; in setPrimaryItem() 146 public boolean isViewFromObject(View view, Object object) { in isViewFromObject() argument 147 return ((Fragment)object).getView() == view; in isViewFromObject()
|
/frameworks/base/docs/html/training/multiple-threads/ |
D | communicate-ui.jd | 47 {@link android.os.Handler} object receives messages and runs code to handle the messages. 54 Instantiate the {@link android.os.Handler} object in the constructor for the class that 55 creates your thread pools, and store the object in a global variable. Connect it to the UI 57 constructor. This constructor uses a {@link android.os.Looper} object, which is another part of 66 // Defines a Handler object that's attached to the UI thread 83 // Gets the image task from the incoming Message object. 94 To move data from a task object running on a background thread to an object on the UI thread, 95 start by storing references to the data and the UI object in the task object. Next, pass the 96 task object and a status code to the object that instantiated the {@link android.os.Handler}. 97 In this object, send a {@link android.os.Message} containing the status and the task object to [all …]
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentPagerAdapter.java | 115 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument 119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object in destroyItem() 120 + " v=" + ((Fragment)object).getView()); in destroyItem() 121 mCurTransaction.detach((Fragment)object); in destroyItem() 125 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument 126 Fragment fragment = (Fragment)object; in setPrimaryItem() 150 public boolean isViewFromObject(View view, Object object) { in isViewFromObject() argument 151 return ((Fragment)object).getView() == view; in isViewFromObject()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PorterDuffColorFilter.java | 107 public boolean equals(Object object) { in equals() argument 108 if (this == object) { in equals() 111 if (object == null || getClass() != object.getClass()) { in equals() 114 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; in equals()
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 433 Object object = null; in parseParcel() local 438 object = mStyleList; in parseParcel() 443 object = mFontList; in parseParcel() 448 object = mHighlightPosList; in parseParcel() 453 object = mKaraokeList; in parseParcel() 458 object = mHyperTextList; in parseParcel() 464 object = mBlinkingPosList; in parseParcel() 470 object = mWrapText; in parseParcel() 475 object = mHighlightColorRGBA; in parseParcel() 480 object = mDisplayFlags; in parseParcel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorInflaterTest.java | 34 private void assertUnique(Object object) { in assertUnique() argument 35 assertUnique(object, ""); in assertUnique() 38 private void assertUnique(Object object, String msg) { in assertUnique() argument 39 final int code = System.identityHashCode(object); in assertUnique() 40 assertTrue("object should be unique " + msg + ", obj:" + object, identityHashes.add(code)); in assertUnique()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
D | ObjectFormat.java | 44 public static MutableFrameFormat fromObject(Object object, int target) { in fromObject() argument 45 return object == null in fromObject() 47 : fromClass(object.getClass(), FrameFormat.SIZE_UNSPECIFIED, target); in fromObject() 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { in fromObject() argument 51 return object == null in fromObject() 53 : fromClass(object.getClass(), count, target); in fromObject()
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 79 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject() argument 81 setContextObject(object, String16("default")); in setContextObject() 89 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject() argument 92 mContexts.add(name, object); in setContextObject() 98 sp<IBinder> object( in getContextObject() local 104 if (object != NULL) return object; in getContextObject() 121 object = reply.readStrongBinder(); in getContextObject() 127 if (object != NULL) setContextObject(object, name); in getContextObject() 128 return object; in getContextObject()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 104 public void destroyItem(View container, int position, Object object) { in destroyItem() argument 108 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object in destroyItem() 109 + " v=" + ((Fragment)object).getView()); in destroyItem() 111 Fragment fragment = (Fragment) object; in destroyItem() 125 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() argument 126 Fragment fragment = (Fragment) object; in setPrimaryItem() 149 public boolean isViewFromObject(View view, Object object) { in isViewFromObject() argument 151 View root = ((Fragment) object).getView(); in isViewFromObject()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PresenterSwitcher.java | 42 public void select(Object object) { in select() argument 43 switchView(object); in select() 61 private void switchView(Object object) { in switchView() argument 62 Presenter presenter = mPresenterSelector.getPresenter(object); in switchView() 78 mCurrentPresenter.onBindViewHolder(mCurrentViewHolder, object); in switchView()
|
/frameworks/base/core/jni/ |
D | android_net_LocalSocketImpl.cpp | 52 socket_connect_local(JNIEnv *env, jobject object, in socket_connect_local() argument 85 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_bind_local() argument 114 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, jint backlog) in socket_listen() argument 138 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) in socket_accept() argument 179 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_shutdown() argument 234 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, jint optID) in socket_getOption() argument 282 JNIEnv *env, jobject object, jobject fileDescriptor, jint optID, in socket_setOption() argument 349 static jint socket_pending (JNIEnv *env, jobject object, in socket_pending() argument 374 static jint socket_available (JNIEnv *env, jobject object, in socket_available() argument 549 static int socket_write_all(JNIEnv *env, jobject object, int fd, in socket_write_all() argument [all …]
|
D | android_view_TextureView.cpp | 57 #define GET_INT(object, field) \ argument 58 env->GetIntField(object, field) 60 #define GET_LONG(object, field) \ argument 61 env->GetLongField(object, field) 63 #define SET_INT(object, field, value) \ argument 64 env->SetIntField(object, field, value) 66 #define SET_LONG(object, field, value) \ argument 67 env->SetLongField(object, field, value) 69 #define INVOKEV(object, method, ...) \ argument 70 env->CallVoidMethod(object, method, __VA_ARGS__)
|