Searched refs:object (Results 51 - 75 of 107) sorted by relevance

12345

/frameworks/base/tools/preload/
H A Dsorttable.js413 // grab the event object (IE uses a global event object)
457 Function.prototype.forEach = function(object, block, context) {
458 for (var key in object) {
460 block.call(context, object[key], key, object);
473 var forEach = function(object, block, context) {
474 if (object) {
476 if (object instanceof Function) {
479 } else if (object
[all...]
/frameworks/native/include/binder/
H A DBpBinder.h53 void* object,
71 void* object,
85 void* object; member in struct:android::BpBinder::ObjectManager::entry_t
H A DProcessState.h42 void setContextObject(const sp<IBinder>& object);
45 void setContextObject(const sp<IBinder>& object,
H A DBinder.h50 void* object,
H A DIBinder.h38 * Base class and low-level protocol for a remotable object.
39 * You can derive from this class to create an object for which other
71 * object.
87 * object, override it to write your desired data in to @a outData.
100 * goes away. If this binder object unexpectedly goes away
126 * The @a recipient will no longer be called if this object
141 void* object,
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c266 * Prior to this the only "object" support we can provide is for those
382 // if its weak ask for an object (only matters under GC)
545 When a __block variable is either a C++ object, an Objective-C object, or another Block then the compiler also generates copy/dispose helper functions. Similarly to the Block copy helper, the "__block" copy helper (formerly and still a.k.a. "byref" copy helper) will do a C++ copy constructor (not a const one though!) and the dispose helper will do the destructor. And similarly the helpers will call into the same two support functions with the same values for objects and Blocks with the additional BLOCK_BYREF_CALLER (128) bit of information supplied.
561 void _Block_object_assign(void *destAddr, const void *object, const int flags) { argument
562 //printf("_Block_object_assign(*%p, %p, %x)\n", destAddr, object, flags);
565 _Block_assign_weak(object, destAddr);
569 _Block_assign((void *)object, destAddr);
575 _Block_byref_assign_copy(destAddr, object, flags);
580 _Block_assign(_Block_copy_internal(object, flag
594 _Block_object_dispose(const void *object, const int flags) 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/native/opengl/libs/EGL/
H A Degl_display.cpp89 void egl_display_t::addObject(egl_object_t* object) { argument
91 objects.add(object);
94 void egl_display_t::removeObject(egl_object_t* object) { argument
96 objects.remove(object);
99 bool egl_display_t::getObject(egl_object_t* object) const {
101 if (objects.indexOf(object) >= 0) {
102 if (object->getDisplay() == this) {
103 object->incRef();
312 // this marks all object handles are "terminated"
H A Degl_object.cpp44 // this marks the object as "terminated"
58 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { argument
60 // checking that the object is valid.
61 return display->getObject(object);
H A Degl_display.h66 // add object to this display's list
67 void addObject(egl_object_t* object);
68 // remove object from this display's list
69 void removeObject(egl_object_t* object);
70 // add reference to this object. returns true if this is a valid object.
71 bool getObject(egl_object_t* object) const;
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp54 #define GET_INT(object, field) \
55 env->GetIntField(object, field)
57 #define SET_INT(object, field, value) \
58 env->SetIntField(object, field, value)
60 #define INVOKEV(object, method, ...) \
61 env->CallVoidMethod(object, method, __VA_ARGS__)
H A Dandroid_util_Binder.cpp236 JavaBBinder(JNIEnv* env, jobject object) argument
237 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object))
249 jobject object() const function in class:JavaBBinder
268 ALOGV("onTransact() on %p calling object %p in env %p vm %p\n", this, mObject, env, mVM);
389 JavaDeathRecipient(JNIEnv* env, jobject object, const sp<DeathRecipientList>& list) argument
390 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)),
394 // The list holds a strong reference to this object.
463 ALOGW("BinderProxy being destroyed; unable to get DR object name");
500 // to the list are holding references on the list object. Only when they are torn
561 jobject object local
571 jobject object = (jobject)val->findObject(&gBinderProxyOffsets); local
[all...]
/frameworks/base/media/mca/filterfw/jni/
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/compile/linkloader/
H A Dmain.cpp145 llvm::OwningPtr<ELFObject<Bitwidth> > object(ELFObject<Bitwidth>::read(AR));
147 if (!object) {
148 llvm::errs() << "ERROR: Unable to load object\n";
151 object->print();
156 object->getSectionByName(".symtab"));
158 object->relocate(find_sym, 0);
162 int machine = object->getHeader()->getMachine();
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c217 *pDescriptor = *(effect_descriptor_t *)gCurEffect->object;
226 gCurEffect = ((lib_entry_t *)gCurLib->object)->effects;
313 e->object = fx;
342 if (e1->object == handle) {
348 fx = (effect_entry_t *)e1->object;
490 e->object = l;
570 e->object = d;
588 lib_entry_t *l = (lib_entry_t *)e->object;
605 gCurEffect = ((lib_entry_t *)gCurLib->object)->effects;
618 lib_entry_t *l = (lib_entry_t *)e->object;
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h48 or kNo_Config if the java object is null.
52 /** Create a java Bitmap object given the native bitmap (required) and optional
106 jbyteArray fStorageObj; // The Java byte[] object used as the bitmap backing store
118 * to the backing buffer object.
143 /** Return the Java array object created for the last allocation.
244 #define NPE_CHECK_RETURN_ZERO(env, object) \
245 do { if (NULL == (object)) { doThrowNPE(env); return 0; } } while (0)
247 #define NPE_CHECK_RETURN_VOID(env, object) \
248 do { if (NULL == (object)) { doThrowNPE(env); return; } } while (0)
/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...]
/frameworks/base/media/jni/mediaeditor/
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...]
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c69 // Definition of one GL object in this demo.
105 static void freeGLObject(GLOBJECT *object) argument
107 if (object == NULL)
109 free(object->normalArray);
110 free(object->colorArray);
111 free(object->vertexArray);
112 free(object);
146 static void drawGLObject(GLOBJECT *object) argument
148 assert(object != NULL);
150 glVertexPointer(object
[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/native/libs/binder/
H A DBinder.cpp138 const void* objectID, void* object, void* cleanupCookie,
154 e->mObjects.attach(objectID, object, cleanupCookie, func);
218 // the BpRefBase object holding it (when it is constructed), to the
219 // owner of the BpRefBase object when it first acquires that BpRefBase.
137 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
/frameworks/base/core/java/android/os/
H A DHandler.java44 * a {@link Message} object containing a bundle of data that will be
395 * Posts a message to an object that implements Runnable.
631 * 'object' that are in the message queue. If <var>object</var> is null,
634 public final void removeMessages(int what, Object object) { argument
635 mQueue.removeMessages(this, what, object);
657 * whose obj is 'object' in the message queue.
659 public final boolean hasMessages(int what, Object object) { argument
660 return mQueue.hasMessages(this, what, object);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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";
/frameworks/compile/slang/
H A DRSSpec.mk50 $(call generate-rs-spec-inc,rs-object-type-enums)
/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...]

Completed in 1561 milliseconds

12345