Searched refs:object (Results 26 - 50 of 122) sorted by relevance

12345

/frameworks/base/core/jni/
H A Dandroid_debug_JNITest.cpp33 static jint android_debug_JNITest_part1(JNIEnv* env, jobject object, argument
45 clazz = env->GetObjectClass(object);
66 result = env->CallIntMethod(object, part2id,
H A Dandroid_util_FileObserver.cpp40 static jint android_os_fileobserver_init(JNIEnv* env, jobject object) argument
53 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) argument
86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument
125 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) argument
H A Dandroid_net_LocalSocketImpl.cpp51 socket_connect_local(JNIEnv *env, jobject object, argument
87 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, argument
119 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, int backlog) argument
143 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) argument
184 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, argument
239 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, int optID) argument
287 JNIEnv *env, jobject object, jobject fileDescriptor, int optID,
354 static jint socket_pending (JNIEnv *env, jobject object, argument
379 static jint socket_available (JNIEnv *env, jobject object, argument
431 * fields in the LocalSocketImpl object
286 socket_setOption( JNIEnv *env, jobject object, jobject fileDescriptor, int optID, jint boolValue, jint intValue) argument
553 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument
633 socket_read(JNIEnv *env, jobject object, jobject fileDescriptor) argument
666 socket_readba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
711 socket_write(JNIEnv *env, jobject object, jint b, jobject fileDescriptor) argument
733 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
771 socket_get_peer_credentials(JNIEnv *env, jobject object, jobject fileDescriptor) argument
[all...]
H A Dandroid_os_Parcel.cpp251 static void android_os_Parcel_writeStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument
255 const status_t err = parcel->writeStrongBinder(ibinderForJavaObject(env, object));
262 static void android_os_Parcel_writeFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument
267 parcel->writeDupFileDescriptor(jniGetFDFromFileDescriptor(env, object));
414 jobject object = jniCreateFileDescriptor(env, fd); local
415 if (object == NULL) {
418 return object;
438 jobject object = jniCreateFileDescriptor(env, fd); local
439 if (object == NULL) {
442 return object;
445 android_os_Parcel_closeFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument
459 android_os_Parcel_clearFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java68 * Retrieves an iterator object that you can use to iterate over the MIME types that
71 * @return The iterator object
78 * Retrieves an iterator object that you can use to iterate over the file suffixes that
81 * @return The iterator object.
141 * @param object The object to be compared.
144 public boolean equals(Object object) { argument
145 if (object instanceof DrmSupportInfo) {
146 DrmSupportInfo info = (DrmSupportInfo) object;
/frameworks/base/core/java/android/os/
H A DMessageQueue.java94 * with {@link #addIdleHandler}. If the given object is not currently
362 boolean hasMessages(Handler h, int what, Object object) { argument
370 if (p.target == h && p.what == what && (object == null || p.obj == object)) {
379 boolean hasMessages(Handler h, Runnable r, Object object) { argument
387 if (p.target == h && p.callback == r && (object == null || p.obj == object)) {
408 void removeMessages(Handler h, int what, Object object) { argument
418 && (object == null || p.obj == object)) {
442 removeMessages(Handler h, Runnable r, Object object) argument
476 removeCallbacksAndMessages(Handler h, Object object) argument
[all...]
/frameworks/base/media/java/android/media/
H A DTimedText.java38 * <li> Register the {@link MediaPlayer.OnTimedTextListener} callback on a MediaPlayer object that is used for playback</li>
368 * @return the characters as a String object in the TimedText. Applications
378 * by a Rect object.
433 Object object = null;
438 object = mStyleList;
443 object = mFontList;
448 object = mHighlightPosList;
453 object = mKaraokeList;
458 object = mHyperTextList;
464 object
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DEffect.java184 public boolean equals(Object object) { argument
185 if (!(object instanceof Effect)) {
188 return mUniqueId.equals(((Effect)object).mUniqueId);
H A DOverlay.java208 public boolean equals(Object object) { argument
209 if (!(object instanceof Overlay)) {
212 return mUniqueId.equals(((Overlay)object).mUniqueId);
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java39 * <p>However the TextView is referenced, it will be filled with the toString() of each object in
170 * Adds the specified object at the end of the array.
172 * @param object The object to add at the end of the array.
174 public void add(T object) { argument
177 mOriginalValues.add(object);
179 mObjects.add(object);
218 * Inserts the specified object at the specified index in the array.
220 * @param object The object t
223 insert(T object, int index) argument
239 remove(T object) argument
[all...]
/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/native/libs/binder/
H A DProcessState.cpp84 void ProcessState::setContextObject(const sp<IBinder>& object) argument
86 setContextObject(object, String16("default"));
94 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument
97 mContexts.add(name, object);
103 sp<IBinder> object(
107 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
109 if (object != NULL) return object;
126 object = reply.readStrongBinder();
132 if (object !
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java52 break; // an animator can only be attached to one object
57 public static Tweener to(Object object, long duration, Object... vars) { argument
99 Tweener tween = sTweens.get(object);
102 anim = ObjectAnimator.ofPropertyValuesHolder(object,
105 sTweens.put(object, tween);
108 anim = sTweens.get(object).animator;
109 replace(props, object); // Cancel all animators for given object
132 Tweener from(Object object, long duration, Object... vars) { argument
134 // toVars[v] = object[
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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...]
/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/services/java/com/android/server/power/
H A DDisplayPowerState.java101 public void setValue(DisplayPowerState object, float value) {
102 object.setElectronBeamLevel(value);
106 public Float get(DisplayPowerState object) {
107 return object.getElectronBeamLevel();
114 public void setValue(DisplayPowerState object, int value) {
115 object.setScreenBrightness(value);
119 public Integer get(DisplayPowerState object) {
120 return object.getScreenBrightness();
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java81 // Sets up the WebView and injects the supplied object. Intended to be called from setUp().
82 protected void setUpWebView(final Object object, final String name) throws Exception { argument
87 // loading so that the Java object is injected.
93 webView.addJavascriptInterface(object, name);
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java129 public void destroyItem(ViewGroup container, int position, Object object) { argument
130 Fragment fragment = (Fragment)object;
135 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
136 + " v=" + ((Fragment)object).getView());
147 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
148 Fragment fragment = (Fragment)object;
172 public boolean isViewFromObject(View view, Object object) { argument
173 return ((Fragment)object).getView() == view;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentStatePagerAdapter.java125 public void destroyItem(ViewGroup container, int position, Object object) { argument
126 Fragment fragment = (Fragment)object;
131 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
132 + " v=" + ((Fragment)object).getView());
143 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
144 Fragment fragment = (Fragment)object;
168 public boolean isViewFromObject(View view, Object object) { argument
169 return ((Fragment)object).getView() == view;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemWrapperJB.java24 MenuItemWrapperJB(android.view.MenuItem object) { argument
26 super(object, false);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java45 /** Mapping of instantiated object to row ID */
110 public void destroyItem(View container, int position, Object object) { argument
111 mObjectRowMap.remove(object);
113 super.destroyItem(container, position, object);
117 public int getItemPosition(Object object) { argument
118 final Integer rowId = mObjectRowMap.get(object);
/frameworks/wilhelm/src/
H A Dsles_allinclusive.h53 // object priorities, preemption, loss of control, device configuration
108 predestroy_ok, // OK to destroy object now
123 #define INTERFACE_EXPLICIT 1 // must be requested explicitly during object creation
124 #define INTERFACE_DYNAMIC 2 // can be requested after object creation
178 // Describes how an interface is related to a given object
181 #define INTERFACE_INITIALIZED 1 ///< not requested at object creation time
182 #define INTERFACE_EXPOSED 2 ///< requested at object creation time
211 // OpenSL ES and OpenMAX AL object IDs come from different ranges, and some objects such as
212 // Engine, Output Mix, LED, and Vibra belong to both APIs, so we keep both object IDs
213 SLuint16 mSLObjectID; // OpenSL ES object I
[all...]
H A Dsles.c22 /** \brief Return true if the specified interface exists and has been initialized for this object.
24 * interface but this particular object has not had the interface exposed at object creation time
27 * entry that the object is locked for either shared or exclusive access.
52 /** \brief Map an IObject to it's "object ID" (which is really a class ID) */
57 // Note this returns the OpenSL ES object ID in preference to the OpenMAX AL if both available
68 /** \brief Acquire a strong reference to an object.
69 * Check that object has the specified "object ID" (which is really a class ID) and is in the
74 SLresult AcquireStrongRef(IObject *object, SLuint3 argument
105 ReleaseStrongRefAndUnlockExclusive(IObject *object) argument
127 ReleaseStrongRef(IObject *object) argument
[all...]
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFObject.hxx36 llvm::OwningPtr<ELFObjectTy> object(new ELFObjectTy());
39 object->header.reset(ELFHeaderTy::read(AR));
40 if (!object->header) {
45 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get()));
46 if (!object->shtab) {
52 for (size_t i = 0; i < object->header->getSectionHeaderNum(); ++i) {
53 if ((*object->shtab)[i]->getType() == SHT_PROGBITS) {
54 object->stab.push_back(NULL);
58 ELFSectionTy::read(AR, object
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorClasses.h41 * Java layer class/object name strings
337 * @param pObject (OUT) Java object to hold media
367 jobject object,
392 jobject object,
425 jobject object,
475 jobject object,
501 jobject object,
526 jobject object,
551 jobject object,
570 * Set version information to Java object
[all...]

Completed in 781 milliseconds

12345