/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/native/vulkan/libvulkan/ |
D | debug_report.h | 30 …bugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, … 52 uint64_t object, 95 uint64_t object, 104 void Info(ObjectType object, const char* format, ...) const in Info() argument 108 PrintV(VK_DEBUG_REPORT_INFORMATION_BIT_EXT, GetObjectType(object), in Info() 109 GetObjectUInt64(object), format, ap); in Info() 114 void Warn(ObjectType object, const char* format, ...) const in Warn() argument 118 PrintV(VK_DEBUG_REPORT_WARNING_BIT_EXT, GetObjectType(object), in Warn() 119 GetObjectUInt64(object), format, ap); in Warn() 124 void Err(ObjectType object, const char* format, ...) const in Err() argument [all …]
|
D | debug_report.cpp | 58 uint64_t object, in Message() argument 67 node->callback(flags, object_type, object, location, message_code, in Message() 75 uint64_t object, in Message() argument 87 info->pfnCallback(flags, object_type, object, location, in Message() 97 callbacks_->Message(flags, object_type, object, location, message_code, in Message() 104 uint64_t object, in PrintV() argument 114 Message(flags, object_type, object, 0, 0, LOG_TAG, buf); in PrintV() 171 uint64_t object, in DebugReportMessageEXT() argument 178 instance, flags, object_type, object, location, message_code, in DebugReportMessageEXT() 182 flags, object_type, object, location, message_code, layer_prefix, in DebugReportMessageEXT()
|
/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/base/core/java/android/app/timezone/ |
D | Utils.java | 41 static <T> T validateNotNull(String type, T object) { in validateNotNull() argument 42 if (object == null) { in validateNotNull() 45 return object; in validateNotNull() 52 static <T> T validateConditionalNull(boolean requireNotNull, String type, T object) { in validateConditionalNull() argument 54 return validateNotNull(type, object); in validateConditionalNull() 56 return validateNull(type, object); in validateConditionalNull() 61 static <T> T validateNull(String type, T object) { in validateNull() argument 62 if (object != null) { in validateNull()
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 604 boolean hasMessages(Handler h, int what, Object object) { in hasMessages() argument 612 if (p.target == h && p.what == what && (object == null || p.obj == object)) { in hasMessages() 621 boolean hasEqualMessages(Handler h, int what, Object object) { in hasEqualMessages() argument 629 if (p.target == h && p.what == what && (object == null || object.equals(p.obj))) { in hasEqualMessages() 639 boolean hasMessages(Handler h, Runnable r, Object object) { in hasMessages() argument 647 if (p.target == h && p.callback == r && (object == null || p.obj == object)) { in hasMessages() 673 void removeMessages(Handler h, int what, Object object) { in removeMessages() argument 683 && (object == null || p.obj == object)) { in removeMessages() 695 && (object == null || n.obj == object)) { in removeMessages() 707 void removeEqualMessages(Handler h, int what, Object object) { in removeEqualMessages() argument [all …]
|
/frameworks/base/apex/permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 122 public boolean equals(Object object) { in equals() argument 123 if (this == object) { in equals() 126 if (object == null || getClass() != object.getClass()) { in equals() 129 RuntimePermissionsState that = (RuntimePermissionsState) object; in equals() 204 public boolean equals(Object object) { in equals() argument 205 if (this == object) { in equals() 208 if (object == null || getClass() != object.getClass()) { in equals() 211 PermissionState that = (PermissionState) object; in equals()
|
/frameworks/av/media/libaudiohal/impl/ |
D | VersionUtils.h | 35 Return<void> getParameters(T& object, hidl_vec<ParameterValue> /*context*/, in getParameters() argument 37 return object->getParameters(keys, callback); in getParameters() 41 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> /*context*/, in setParameters() argument 43 return object->setParameters(keys); in setParameters() 47 Return<void> getParameters(T& object, hidl_vec<ParameterValue> context, 49 return object->getParameters(context, keys, callback); 53 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> context, 55 return object->setParameters(context, keys);
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | CachingLogic.java | 31 ComponentName getComponent(T object); in getComponent() argument 33 UserHandle getUser(T object); in getUser() argument 35 CharSequence getLabel(T object); in getLabel() argument 37 default CharSequence getDescription(T object, CharSequence fallback) { in getDescription() argument 42 BitmapInfo loadIcon(Context context, T object); in loadIcon() argument 48 default String getKeywords(T object, LocaleList localeList) { in getKeywords() argument 55 default long getLastUpdatedTime(T object, PackageInfo info) { in getLastUpdatedTime() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
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/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | AnimatableScaleMatrix.java | 50 public float getValue(AnimatableScaleMatrix object) { 51 return getAnimatableValueForScaleFactor(object.mScaleX); 55 public void setValue(AnimatableScaleMatrix object, float value) { 56 object.setScaleX(value * DynamicAnimation.MIN_VISIBLE_CHANGE_SCALE); 69 public float getValue(AnimatableScaleMatrix object) { 70 return getAnimatableValueForScaleFactor(object.mScaleY); 74 public void setValue(AnimatableScaleMatrix object, float value) { 75 object.setScaleY(value * DynamicAnimation.MIN_VISIBLE_CHANGE_SCALE);
|
/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/util/ |
D | MapCollections.java | 127 public V setValue(V object) { in setValue() argument 132 return colSetValue(mIndex, object); in setValue() 169 public boolean add(Map.Entry<K, V> object) { in add() argument 222 public boolean remove(Object object) { in remove() argument 252 public boolean equals(Object object) { in equals() argument 253 return equalsSetHelper(this, object); in equals() 272 public boolean add(K object) { in add() argument 287 public boolean contains(Object object) { in contains() argument 288 return colIndexOfKey(object) >= 0; in contains() 307 public boolean remove(Object object) { in remove() argument [all …]
|
D | EventLog.java | 163 public Event withNewData(@Nullable Object object) { in withNewData() argument 164 byte[] payload = encodeObject(object); in withNewData() 217 private static @NonNull byte[] encodeObject(@Nullable Object object) { in encodeObject() argument 218 if (object == null) { in encodeObject() 221 if (object instanceof Integer) { in encodeObject() 225 .putInt((Integer) object) in encodeObject() 227 } else if (object instanceof Long) { in encodeObject() 231 .putLong((Long) object) in encodeObject() 233 } else if (object instanceof Float) { in encodeObject() 237 .putFloat((Float) object) in encodeObject() [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/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | ReflectionUtils.java | 52 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke() argument 56 return method.invoke(object, args); in invoke() 67 public static boolean isInstanceOf(Object object, String className) { in isInstanceOf() argument 68 Class superClass = object.getClass(); in isInstanceOf() 83 public static boolean isInstanceOf(Object object, String[] classNames) { in isInstanceOf() argument 84 return getParentClass(object, classNames) != null; in isInstanceOf() 92 public static String getParentClass(Object object, String[] classNames) { in getParentClass() argument 93 Class superClass = object.getClass(); in getParentClass() 120 public static Class<?> getClassInstance(@NonNull Object object, @NonNull String className) { in getClassInstance() argument 121 Class<?> superClass = object.getClass(); in getClassInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerHandleView.java | 43 public Integer get(DividerHandleView object) { 44 return object.mCurrentWidth; 48 public void set(DividerHandleView object, Integer value) { 49 object.mCurrentWidth = value; 50 object.invalidate(); 58 public Integer get(DividerHandleView object) { 59 return object.mCurrentHeight; 63 public void set(DividerHandleView object, Integer value) { 64 object.mCurrentHeight = value; 65 object.invalidate();
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 50 #define GET_INT(object, field) \ argument 51 env->GetIntField(object, field) 53 #define GET_LONG(object, field) \ argument 54 env->GetLongField(object, field) 56 #define SET_INT(object, field, value) \ argument 57 env->SetIntField(object, field, value) 59 #define SET_LONG(object, field, value) \ argument 60 env->SetLongField(object, field, value) 62 #define INVOKEV(object, method, ...) \ argument 63 env->CallVoidMethod(object, method, __VA_ARGS__)
|
/frameworks/base/graphics/java/android/graphics/ |
D | BlendModeColorFilter.java | 66 public boolean equals(Object object) { in equals() argument 67 if (this == object) { in equals() 70 if (object == null || getClass() != object.getClass()) { in equals() 73 final BlendModeColorFilter other = (BlendModeColorFilter) object; in equals()
|
D | PorterDuffColorFilter.java | 78 public boolean equals(Object object) { in equals() argument 79 if (this == object) { in equals() 82 if (object == null || getClass() != object.getClass()) { in equals() 85 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; in equals()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleForeground.java | 424 public void setValue(RippleForeground object, float value) { 425 object.mTweenRadius = value; 426 object.onAnimationPropertyChanged(); 430 public Float get(RippleForeground object) { 431 return object.mTweenRadius; 441 public void setValue(RippleForeground object, float value) { 442 object.mTweenX = value; 443 object.mTweenY = value; 444 object.onAnimationPropertyChanged(); 448 public Float get(RippleForeground object) { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | TrackedObjects.java | 37 public synchronized <T> void track(T object) { in track() argument 38 Class<?> clazz = object.getClass(); in track() 47 trackedClass.track(object); in track() 58 void track(T object) { in track() argument 59 instances.put(object, null); in track()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.cpp | 33 void RenderState::postDecStrong(VirtualLightRefBase* object) { in postDecStrong() argument 35 object->decStrong(nullptr); in postDecStrong() 37 mRenderThread.queue().post([object]() { object->decStrong(nullptr); }); in postDecStrong()
|