Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/frameworks/base/media/mca/filterfw/jni/
Djni_util.cpp35 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/
Ddebug_report.h30 …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 …]
Ddebug_report.cpp58 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/core/java/android/app/timezone/
DUtils.java41 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java139 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 …]
DRationalTest.java391 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/os/
DMessageQueue.java604 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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java31 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/av/media/libaudiohal/impl/
DParameterUtils.h34 Return<void> getParameters(T& object, hidl_vec<ParameterValue> /*context*/, in getParameters() argument
36 return object->getParameters(keys, callback); in getParameters()
40 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> /*context*/, in setParameters() argument
42 return object->setParameters(keys); in setParameters()
46 Return<void> getParameters(T& object, hidl_vec<ParameterValue> context,
48 return object->getParameters(context, keys, callback);
52 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> context,
54 return object->setParameters(context, keys);
/frameworks/base/core/java/com/android/internal/widget/
DPagerAdapter.java123 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/services/core/jni/gnss/
DGnssMeasurementCallback.h59 JavaObject& object);
66 void translateGnssClock(JNIEnv* env, const hardware::gnss::GnssData& data, JavaObject& object);
89 void translateSingleGnssMeasurement(const T& measurement, JavaObject& object);
101 void translateGnssClock(const T& data, JavaObject& object);
161 JavaObject& object);
168 JavaObject& object);
175 JavaObject& object);
182 JavaObject& object);
185 void GnssMeasurementCallbackHidl::translateGnssClock(const T& data, JavaObject& object) { in translateGnssClock() argument
186 translateGnssClock(data.clock, object); in translateGnssClock()
[all …]
DGnssMeasurementCallback.cpp163 void setMeasurementFields_V1_0(const T_Measurement& measurement, JavaObject& object) { in setMeasurementFields_V1_0() argument
194 void setMeasurementFields_V2_1(const T_Measurement& measurement, JavaObject& object) { in setMeasurementFields_V2_1() argument
216 void setClockFields_V1_0(const T_Clock& clock, JavaObject& object) { in setClockFields_V1_0() argument
251 void setClockFields_V2_1(const T_Clock& clock, JavaObject& object) { in setClockFields_V2_1() argument
264 void setElapsedRealtimeFields(const T_ElapsedRealtime& elapsedRealtime, JavaObject& object) { in setElapsedRealtimeFields() argument
299 JavaObject& object) { in translateSingleGnssMeasurement() argument
300 setMeasurementFields_V1_0<GnssMeasurement, GnssMeasurement>(measurement, object); in translateSingleGnssMeasurement()
301 setMeasurementFields_V2_1<GnssMeasurement, GnssMeasurement>(measurement, object); in translateSingleGnssMeasurement()
360 env->CallVoidMethod(object.get(), method_gnssMeasurementsSetSatellitePvt, in translateSingleGnssMeasurement()
405 env->CallVoidMethod(object.get(), method_gnssMeasurementsSetCorrelationVectors, in translateSingleGnssMeasurement()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DAnimatableScaleMatrix.java50 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/
DFrame.java77 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()
DSimpleFrame.java41 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/
DMapCollections.java129 public V setValue(V object) { in setValue() argument
134 return colSetValue(mIndex, object); in setValue()
171 public boolean add(Map.Entry<K, V> object) { in add() argument
224 public boolean remove(Object object) { in remove() argument
254 public boolean equals(@Nullable Object object) { in equals() argument
255 return equalsSetHelper(this, object); in equals()
274 public boolean add(K object) { in add() argument
289 public boolean contains(Object object) { in contains() argument
290 return colIndexOfKey(object) >= 0; in contains()
309 public boolean remove(Object object) { in remove() argument
[all …]
DEventLog.java164 public Event withNewData(@Nullable Object object) { in withNewData() argument
165 byte[] payload = encodeObject(object); in withNewData()
218 private static @NonNull byte[] encodeObject(@Nullable Object object) { in encodeObject() argument
219 if (object == null) { in encodeObject()
222 if (object instanceof Integer) { in encodeObject()
226 .putInt((Integer) object) in encodeObject()
228 } else if (object instanceof Long) { in encodeObject()
232 .putLong((Long) object) in encodeObject()
234 } else if (object instanceof Float) { in encodeObject()
238 .putFloat((Float) object) in encodeObject()
[all …]
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt40 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/
DReflectionUtils.java52 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerHandleView.java45 public Integer get(DividerHandleView object) {
46 return object.mCurrentWidth;
50 public void set(DividerHandleView object, Integer value) {
51 object.mCurrentWidth = value;
52 object.invalidate();
59 public Integer get(DividerHandleView object) {
60 return object.mCurrentHeight;
64 public void set(DividerHandleView object, Integer value) {
65 object.mCurrentHeight = value;
66 object.invalidate();
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp50 #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/
DBlendModeColorFilter.java66 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()
DPorterDuffColorFilter.java79 public boolean equals(Object object) { in equals() argument
80 if (this == object) { in equals()
83 if (object == null || getClass() != object.getClass()) { in equals()
86 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; in equals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DDisplayIdIndexSupplierTest.java56 Object object = mDisplayIdIndexSupplier.get(Display.DEFAULT_DISPLAY); in get_instanceIsNotNull() local
57 assertNotNull(object); in get_instanceIsNotNull()
62 Object object = mDisplayIdIndexSupplier.get(Display.DEFAULT_DISPLAY); in get_removeExistedObject_newObject() local
67 assertNotEquals(object, newObject); in get_removeExistedObject_newObject()
72 Object object = mDisplayIdIndexSupplier.get(Display.DEFAULT_DISPLAY); in get_clearAllObjects_newObject() local
77 assertNotEquals(object, newObject); in get_clearAllObjects_newObject()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedObjects.java37 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()

12345678910>>...20