Searched refs:handle (Results 1 - 25 of 158) sorted by relevance

1234567

/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLObjectHandle.java27 protected EGLObjectHandle(int handle) { argument
28 mHandle = handle;
32 * Returns the native handle of the wrapped EGL object. This handle can be
35 * For example, EGLDisplay dpy = (EGLDisplay)handle;
37 * @return the native handle of the wrapped EGL object.
H A DEGLConfig.java25 private EGLConfig(int handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(int handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(int handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(int handle) { argument
26 super(handle);
/frameworks/base/opengl/java/android/opengl/
H A DEGLObjectHandle.java27 protected EGLObjectHandle(int handle) { argument
28 mHandle = handle;
32 * Returns the native handle of the wrapped EGL object. This handle can be
35 * For example, EGLDisplay dpy = (EGLDisplay)handle;
37 * @return the native handle of the wrapped EGL object.
H A DEGLConfig.java25 private EGLConfig(int handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(int handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(int handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(int handle) { argument
26 super(handle);
/frameworks/native/services/sensorservice/
H A DBatteryService.h34 status_t noteStartSensor(int uid, int handle);
35 status_t noteStopSensor(int uid, int handle);
37 void enableSensorImpl(uid_t uid, int handle);
38 void disableSensorImpl(uid_t uid, int handle);
43 int handle; member in struct:android::BatteryService::Info
45 Info() : uid(0), handle(0), count(0) { }
46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } argument
48 return (uid == rhs.uid) ? (handle < rh
58 enableSensor(uid_t uid, int handle) argument
61 disableSensor(uid_t uid, int handle) argument
[all...]
H A DBatteryService.cpp41 status_t BatteryService::noteStartSensor(int uid, int handle) { argument
45 data.writeInt32(handle);
52 status_t BatteryService::noteStopSensor(int uid, int handle) { argument
56 data.writeInt32(handle);
63 bool BatteryService::addSensor(uid_t uid, int handle) { argument
65 Info key(uid, handle);
75 bool BatteryService::removeSensor(uid_t uid, int handle) { argument
77 ssize_t index = mActivations.indexOf(Info(uid, handle));
85 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument
87 if (addSensor(uid, handle)) {
94 disableSensorImpl(uid_t uid, int handle) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpServer.java46 public void sendObjectAdded(int handle) { argument
47 native_send_object_added(handle);
50 public void sendObjectRemoved(int handle) { argument
51 native_send_object_removed(handle);
65 private native final void native_send_object_added(int handle); argument
66 private native final void native_send_object_removed(int handle); argument
H A DMtpPropertyList.java53 public void append(int handle, int property, int type, long value) { argument
58 mObjectHandles[index] = handle;
64 public void append(int handle, int property, String value) { argument
69 mObjectHandles[index] = handle;
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c22 static int32_t drm_getString(uint8_t* string, int32_t len, int32_t handle) argument
27 if (DRM_FILE_FAILURE == DRM_file_read(handle, &string[i], 1))
37 static int32_t drm_putString(uint8_t* string, int32_t handle) argument
44 if (DRM_FILE_FAILURE == DRM_file_write(handle, &string[i], 1))
60 int32_t handle; local
77 &handle);
82 &handle);
83 DRM_file_write(handle, (uint8_t *)"0\n", 2);
84 DRM_file_close(handle);
88 &handle);
160 int32_t handle; local
258 int32_t handle; local
387 int32_t handle; local
448 int32_t handle; local
[all...]
/frameworks/native/include/ui/
H A DGraphicBufferMapper.h41 status_t registerBuffer(buffer_handle_t handle);
43 status_t unregisterBuffer(buffer_handle_t handle);
45 status_t lock(buffer_handle_t handle,
48 status_t unlock(buffer_handle_t handle);
50 // dumps information about the mapping of this handle
51 void dump(buffer_handle_t handle);
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp49 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) argument
54 err = mAllocMod->registerBuffer(mAllocMod, handle);
57 handle, err, strerror(-err));
61 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) argument
66 err = mAllocMod->unregisterBuffer(mAllocMod, handle);
69 handle, err, strerror(-err));
73 status_t GraphicBufferMapper::lock(buffer_handle_t handle, argument
79 err = mAllocMod->lock(mAllocMod, handle, usage,
87 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) argument
92 err = mAllocMod->unlock(mAllocMod, handle);
[all...]
H A DGraphicBuffer.cpp46 handle = NULL;
59 handle = NULL;
75 handle = inHandle;
88 handle = buffer->handle;
93 if (handle) {
101 mBufferMapper.unregisterBuffer(handle);
102 native_handle_close(handle);
103 native_handle_delete(const_cast<native_handle*>(handle));
106 allocator.free(handle);
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteCommon.h32 /* throw a SQLiteException with a message appropriate for the error in handle */
33 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle);
38 /* throw a SQLiteException with a message appropriate for the error in handle
41 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message);
H A Dandroid_database_SQLiteCommon.cpp23 /* throw a SQLiteException with a message appropriate for the error in handle */
24 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument
25 throw_sqlite3_exception(env, handle, NULL);
33 /* throw a SQLiteException with a message appropriate for the error in handle
36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument
37 if (handle) {
42 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle),
43 sqlite3_errmsg(handle), message);
/frameworks/av/media/mtp/
H A DMtpDatabase.h44 MtpObjectHandle handle,
63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
87 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) = 0;
89 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle,
94 virtual MtpResponseCode deleteFile(MtpObjectHandle handle) = 0;
96 virtual MtpObjectHandleList* getObjectReferences(MtpObjectHandle handle) = 0;
98 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle,
[all...]
H A DMtpDevice.h85 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
86 void* getThumbnail(MtpObjectHandle handle, int& outLength);
89 bool deleteObject(MtpObjectHandle handle);
90 MtpObjectHandle getParent(MtpObjectHandle handle);
91 MtpObjectHandle getStorageID(MtpObjectHandle handle);
98 bool readObject(MtpObjectHandle handle,
102 bool readObject(MtpObjectHandle handle, const char* destPath, int group,
/frameworks/native/include/binder/
H A DIPCThreadState.h61 status_t transact(int32_t handle,
65 void incStrongHandle(int32_t handle);
66 void decStrongHandle(int32_t handle);
67 void incWeakHandle(int32_t handle);
68 void decWeakHandle(int32_t handle);
69 status_t attemptIncStrongHandle(int32_t handle);
70 static void expungeHandle(int32_t handle, IBinder* binder);
71 status_t requestDeathNotification( int32_t handle,
73 status_t clearDeathNotification( int32_t handle,
95 int32_t handle,
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionListenerProxy.java53 handle(t, "onCalling()");
67 handle(t, "onRinging()");
80 handle(t, "onRingingBack()");
94 handle(t, "onCallEstablished()");
107 handle(t, "onCallEnded()");
121 handle(t, "onCallTransferring()");
134 handle(t, "onCallBusy()");
148 handle(t, "onCallChangeFailed()");
162 handle(t, "onError()");
175 handle(
222 private void handle(Throwable t, String message) { method in class:SipSessionListenerProxy
[all...]
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_file.h166 * Opens a file with the given name and returns its file handle.
190 * @param handle Pointer where the result handle value is placed when the function
197 int32_t* handle);
219 * DRM_FILE_FAILURE is returned if the handle is invalid (e.g., as a
222 * @param handle File handle as returned by DRM_file_open().
228 int32_t DRM_file_read(int32_t handle,
237 * DRM_FILE_FAILURE is returned if the handle is invalid (e.g., as a
240 * @param handle Fil
[all...]

Completed in 248 milliseconds

1234567