Searched defs:object (Results 26 - 50 of 76) sorted by path

1234

/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp42 * Utility class used to extract the value from the provided java object.
43 * May need to add some utility function to create java object.
47 static String8 getStringValue(JNIEnv* env, jobject object, const char* fieldName);
50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength);
57 static int getIntValue(JNIEnv* env, jobject object, const char* fieldName);
60 String8 Utility::getStringValue(JNIEnv* env, jobject object, const char* fieldName) { argument
63 = env->GetFieldID(env->GetObjectClass(object), fieldName , "Ljava/lang/String;");
66 jstring valueString = (jstring) env->GetObjectField(object, fieldID);
92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) {
96 jfieldID fieldID = env->GetFieldID(env->GetObjectClass(object), fieldNam
91 getByteArrayValue( JNIEnv* env, jobject object, const char* fieldName, int* dataLength) argument
119 getIntValue(JNIEnv* env, jobject object, const char* fieldName) argument
[all...]
/frameworks/base/libs/hwui/
H A DCaches.h290 static void setLabelNull(GLenum type, uint object, GLsizei length, argument
292 static void getLabelNull(GLenum type, uint object, GLsizei bufferSize, argument
/frameworks/base/location/java/android/location/
H A DCountry.java64 * Time that this object was created (which we assume to be the time that the source was
129 * Returns the time that this object was created (which we assume to be the time that the source
157 * Returns true if this {@link Country} is equivalent to the given object. This ignores
162 public boolean equals(Object object) { argument
163 if (object == this) {
166 if (object instanceof Country) {
167 Country c = (Country) object;
187 * Compare the specified country to this country object ignoring the source
/frameworks/base/media/java/android/media/videoeditor/
H A DAudioTrack.java35 * Private object for calling native methods via MediaArtistNativeHelper
70 * An object of this type cannot be instantiated by using the default
514 * this audio track object. This function may take significant time and is
644 public boolean equals(Object object) { argument
645 if (!(object instanceof AudioTrack)) {
648 return mUniqueId.equals(((AudioTrack)object).mUniqueId);
H A DEffect.java184 public boolean equals(Object object) { argument
185 if (!(object instanceof Effect)) {
188 return mUniqueId.equals(((Effect)object).mUniqueId);
H A DMediaItem.java126 * not supported the exception object contains the unsupported
607 public boolean equals(Object object) { argument
608 if (!(object instanceof MediaItem)) {
611 return mUniqueId.equals(((MediaItem)object).mUniqueId);
695 * @param ClipSettings object
720 * @return ClipSettings object with populated data
750 * @param ClipSettings object
H A DOverlay.java208 public boolean equals(Object object) { argument
209 if (!(object instanceof Overlay)) {
212 return mUniqueId.equals(((Overlay)object).mUniqueId);
H A DTransition.java97 * An object of this type cannot be instantiated by using the default
222 * @return The transition data in TransitionSettings object
283 * @param clipSettings The ClipSettings object
475 public boolean equals(Object object) { argument
476 if (!(object instanceof Transition)) {
479 return mUniqueId.equals(((Transition)object).mUniqueId);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorClasses.cpp832 jobject object,
855 (NULL == object),
870 pSettings->pAlphaFilePath = (M4OSA_Char*)videoEditJava_getString(pResult, pEnv, object,
882 pSettings->blendingPercent = (M4OSA_UInt8)pEnv->GetIntField(object,
886 pSettings->isreverse = (M4OSA_Bool)pEnv->GetBooleanField(object,
890 pSettings->width = (M4OSA_UInt32) pEnv->GetIntField(object, fieldIds.rgbWidth );
892 pSettings->height = (M4OSA_UInt32) pEnv->GetIntField(object, fieldIds.rgbHeight );
898 "------- getAlphaMagicSettings width %d", pEnv->GetIntField(object,
902 pEnv->GetIntField(object, fieldIds.rgbHeight ));
973 jobject object,
829 videoEditClasses_getAlphaMagicSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4xVSS_AlphaMagicSettings** ppSettings) argument
970 videoEditClasses_getBackgroundMusicSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4xVSS_BGMSettings** ppSettings) argument
1248 videoEditClasses_getClipSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4VSS3GPP_ClipSettings** ppSettings) argument
1436 jobject object = NULL; local
1540 jobject object = NULL; local
1728 videoEditClasses_getEditSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4VSS3GPP_EditSettings** ppSettings, bool flag) argument
2271 videoEditClasses_getEffectSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4VSS3GPP_EffectSettings* pSettings) argument
2598 videoEditClasses_getSlideTransitionSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4xVSS_SlideTransitionSettings** ppSettings) argument
2703 videoEditClasses_getTransitionSettings( bool* pResult, JNIEnv* pEnv, jobject object, M4VSS3GPP_TransitionSettings** ppSettings) argument
2999 jobject object = NULL; local
3071 videoEditClasses_getContext( bool* pResult, JNIEnv* pEnv, jobject object) argument
3106 videoEditClasses_setContext( bool* pResult, JNIEnv* pEnv, jobject object, void* pContext) argument
[all...]
H A DVideoEditorJava.cpp255 jobject object,
259 // Only retrieve the array object and size if the previous action succeeded.
266 // Retrieve the object.
267 (*pObject) = pEnv->GetObjectField(object, objectFieldId);
278 jobject object,
283 // Only retrieve the array object and size if the previous action succeeded.
289 // Retrieve the array object.
290 jobjectArray array = (jobjectArray)pEnv->GetObjectField(object, arrayFieldId);
313 jobject object,
329 // Check if an object containin
252 videoEditJava_getObject( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID objectFieldId, jobject* pObject) argument
275 videoEditJava_getArray( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID arrayFieldId, jobjectArray* pArray, jsize* pArraySize) argument
310 videoEditJava_getString( bool* pResult, JNIEnv* pEnv, jobject object, jfieldID stringFieldId, M4OSA_UInt32* pLength) argument
[all...]
H A DVideoEditorMain.cpp207 jobject object,
314 jobject object,
328 pSettings->ClipProperties.uiClipDuration = pEnv->GetIntField(object,fid);
333 (M4VIDEOEDITING_VideoFormat)pEnv->GetIntField(object,fid);
337 pSettings->ClipProperties.uiClipVideoDuration = pEnv->GetIntField(object,fid);
342 pSettings->ClipProperties.uiVideoWidth = pEnv->GetIntField(object,fid);
346 pSettings->ClipProperties.uiVideoHeight = pEnv->GetIntField(object,fid);
351 (M4VIDEOEDITING_AudioFormat)pEnv->GetIntField(object,fid);
355 pSettings->ClipProperties.uiClipAudioDuration = pEnv->GetIntField(object,fid);
360 pSettings->ClipProperties.uiAudioBitrate = pEnv->GetIntField(object,fi
312 getClipSetting( JNIEnv* pEnv, jobject object, M4VSS3GPP_ClipSettings* pSettings) argument
1566 videoEditor_populateSettings( JNIEnv* pEnv, jobject thiz, jobject settings, jobject object, jobject audioSettingObject) argument
2187 jobject object = M4OSA_NULL; local
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java78 public void setObjectValue(Object object) { argument
83 if (object instanceof int[]) {
84 setInts((int[])object);
85 } else if (object instanceof float[]) {
86 setFloats((float[])object);
87 } else if (object instanceof ByteBuffer) {
88 setData((ByteBuffer)object);
89 } else if (object instanceof Bitmap) {
90 setBitmap((Bitmap)object);
92 setGenericObjectValue(object);
[all...]
H A DFrameFormat.java171 public boolean equals(Object object) { argument
172 if (this == object) {
176 if (!(object instanceof FrameFormat)) {
180 FrameFormat format = (FrameFormat)object;
353 case TYPE_OBJECT: return "object";
H A DSerializedFrame.java184 static SerializedFrame wrapObject(Object object, FrameManager frameManager) { argument
185 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
187 result.setObjectValue(object);
254 protected void setGenericObjectValue(Object object) { argument
255 serializeObjectValue(object);
258 private final void serializeObjectValue(Object object) { argument
261 mObjectOut.writeObject(object);
265 throw new RuntimeException("Could not serialize object " + object + " in "
276 throw new RuntimeException("Could not deserialize object i
[all...]
H A DSimpleFrame.java43 static SimpleFrame wrapObject(Object object, FrameManager frameManager) { argument
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
46 result.setObjectValue(object);
140 protected void setGenericObjectValue(Object object) { argument
146 setFormatObjectClass(object.getClass());
147 } else if (!format.getObjectClass().isAssignableFrom(object.getClass())) {
149 "Attempting to set object value of type '" + object.getClass() + "' on " +
153 // Set the object value
154 mObject = object;
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java44 public static MutableFrameFormat fromObject(Object object, int target) { argument
45 return object == null
47 : fromClass(object.getClass(), FrameFormat.SIZE_UNSPECIFIED, target);
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument
51 return object == null
53 : fromClass(object.getClass(), count, target);
61 throw new IllegalArgumentException("Native object-based formats must be of a " +
68 + "native object-based frame of type " + clazz + "! Perhaps it is missing a "
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java57 public void addReference(String name, Object object) { argument
58 mReferences.put(name, object);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp35 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 Djni_util.h37 // 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/opengl/java/android/opengl/
H A DEGLLogWrapper.java424 private void arg(String name, Object object) { argument
425 arg(name, toString(object));
428 private void arg(String name, EGLDisplay object) { argument
429 if (object == EGL10.EGL_DEFAULT_DISPLAY) {
431 } else if (object == EGL_NO_DISPLAY) {
434 arg(name, toString(object));
438 private void arg(String name, EGLContext object) { argument
439 if (object == EGL10.EGL_NO_CONTEXT) {
442 arg(name, toString(object));
446 private void arg(String name, EGLSurface object) { argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DIntentResolver.java344 * same target object.
351 * Returns whether the object associated with the given filter is
499 Object object) {
507 if (array[idx] == object) {
498 remove_all_objects(HashMap<String, F[]> map, String name, Object object) argument
H A DIntentResolverOld.java323 * same target object.
330 * Returns whether the object associated with the given filter is
484 private final boolean remove_all_objects(List<F> list, Object object) { argument
488 if (list.get(idx) == object) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java373 * <p>NOTE: This object is protected by its own lock, NOT the global
627 * a reference to this object to indicate which configuration they are
628 * currently running in, so this object must be kept immutable.
814 * Runtime statistics collection thread. This object's lock is used to
1956 // object attached to it so we know it couldn't have crashed; and
2515 throw new IllegalArgumentException("Bad PendingIntent object");
6403 // don't give caller the provider object, it needs
8150 * @param app object of the crashing app, null for the system server
8346 * @param app object of the crashing app, null for the system server
8376 * @param app object o
9595 match(Object object, ComponentName comp) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DRampAnimator.java42 public RampAnimator(T object, IntProperty<T> property) { argument
43 mObject = object;
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeBasicsTest.java99 protected void injectObjectAndReload(final Object object, final String name) throws Throwable { argument
103 getWebView().addJavascriptInterface(object, name);
122 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
141 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject"));
146 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject"));
153 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject"));
220 public void method() { mTestController.setStringValue("object 1"); }
223 assertEquals("object 1", mTestController.waitForStringValue());
226 public void method() { mTestController.setStringValue("object 2"); }
229 assertEquals("object
[all...]

Completed in 273 milliseconds

1234