/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/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | debug.js | 60 var object = message; 61 goog.asserts.assert(object['getExtension'], 90 var object = { variable 101 object[jspb.debug.formatFieldName_(match[1])] = jspb.debug.dump_(val); 106 object['$extensions'] = 'Recursive dumping of extensions not supported ' + 109 return object; 116 var fieldName = goog.object.getKeys(ext.fieldName)[0]; 119 extensionsObject = object['$extensions'] = {}; 126 return object;
|
/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/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/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 …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 79 public void setObjectValue(Object object) { in setObjectValue() argument 84 if (object instanceof int[]) { in setObjectValue() 85 setInts((int[])object); in setObjectValue() 86 } else if (object instanceof float[]) { in setObjectValue() 87 setFloats((float[])object); in setObjectValue() 88 } else if (object instanceof ByteBuffer) { in setObjectValue() 89 setData((ByteBuffer)object); in setObjectValue() 90 } else if (object instanceof Bitmap) { in setObjectValue() 91 setBitmap((Bitmap)object); in setObjectValue() 93 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/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/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/ |
D | MessageNanoPrinter.java | 88 private static void print(String identifier, Object object, in print() argument 91 if (object == null) { in print() 97 } else if (object instanceof MessageNano) { // Nano proto message in print() 103 Class<?> clazz = object.getClass(); in print() 122 Object value = field.get(object); in print() 160 if (!(Boolean) hazzer.invoke(object)) { in print() 171 print(subfieldName, getter.invoke(object), indentBuf, buf); in print() 178 } else if (object instanceof Map) { in print() 179 Map<?,?> map = (Map<?,?>) object; in print() 195 if (object instanceof String) { in print() [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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | ExtensionRegistryLite.java | 205 private final Object object; field in ExtensionRegistryLite.ObjectIntPair 208 ObjectIntPair(final Object object, final int number) { in ObjectIntPair() argument 209 this.object = object; in ObjectIntPair() 215 return System.identityHashCode(object) * ((1 << 16) - 1) + number; in hashCode() 223 return object == other.object && number == other.number; in equals()
|
/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 …]
|
D | VectorDrawable.java | 1196 public void setValue(VGroup object, float value) { 1197 object.setTranslateX(value); 1201 public Float get(VGroup object) { 1202 return object.getTranslateX(); 1209 public void setValue(VGroup object, float value) { 1210 object.setTranslateY(value); 1214 public Float get(VGroup object) { 1215 return object.getTranslateY(); 1222 public void setValue(VGroup object, float value) { 1223 object.setScaleX(value); [all …]
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 54 #define GET_INT(object, field) \ argument 55 env->GetIntField(object, field) 57 #define GET_LONG(object, field) \ argument 58 env->GetLongField(object, field) 60 #define SET_INT(object, field, value) \ argument 61 env->SetIntField(object, field, value) 63 #define SET_LONG(object, field, value) \ argument 64 env->SetLongField(object, field, value) 66 #define INVOKEV(object, method, ...) \ argument 67 env->CallVoidMethod(object, method, __VA_ARGS__)
|
D | android_net_LocalSocketImpl.cpp | 57 socket_connect_local(JNIEnv *env, jobject object, in socket_connect_local() argument 95 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_bind_local() argument 185 static int socket_write_all(JNIEnv *env, jobject object, int fd, in socket_write_all() argument 194 object, field_outboundFileDescriptors); in socket_write_all() 239 static jint socket_read (JNIEnv *env, jobject object, jobject fileDescriptor) in socket_read() argument 257 err = socket_read_all(env, object, fd, &buf, 1); in socket_read() 272 static jint socket_readba (JNIEnv *env, jobject object, in socket_readba() argument 307 ret = socket_read_all(env, object, in socket_readba() 317 static void socket_write (JNIEnv *env, jobject object, in socket_write() argument 334 err = socket_write_all(env, object, fd, &b, 1); in socket_write() [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/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 173 MtpStorageManager.MtpObject object, MtpPropertyList list) { in getPropertyList() argument 175 int id = object.getId(); in getPropertyList() 176 String path = object.getPath().toString(); in getPropertyList() 181 final Uri uri = MtpDatabase.getObjectPropertiesUri(object.getFormat(), in getPropertyList() 203 list.append(id, property.code, object.getName()); in getPropertyList() 209 format_date_time(object.getModifiedTime())); in getPropertyList() 212 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList() 215 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList() 218 list.append(id, property.code, property.type, object.getSize()); in getPropertyList() 222 object.getParent().isRoot() ? 0 : object.getParent().getId()); in getPropertyList() [all …]
|