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

12345678

/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/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/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 DSensorInterface.h40 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0;
43 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, argument
46 return setDelay(ident, handle, samplingPeriodNs);
51 virtual status_t flush(void* ident, int handle) { argument
57 virtual void autoDisable(void *ident, int handle) { } argument
76 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
78 virtual status_t setDelay(void* ident, int handle, int64_t ns);
79 virtual status_t flush(void* ident, int handle);
82 virtual void autoDisable(void *ident, int handle);
H A DSensorInterface.cpp53 status_t HardwareSensor::batch(void* ident, int handle, int flags, argument
59 status_t HardwareSensor::flush(void* ident, int handle) { argument
60 return mSensorDevice.flush(ident, handle);
63 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument
64 return mSensorDevice.setDelay(ident, handle, ns);
67 void HardwareSensor::autoDisable(void *ident, int handle) { argument
68 mSensorDevice.autoDisable(ident, handle);
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/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 lockYCbCr(buffer_handle_t handle,
51 status_t unlock(buffer_handle_t handle);
53 // dumps information about the mapping of this handle
54 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::lockYCbCr(buffer_handle_t handle, argument
93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usag
101 unlock(buffer_handle_t handle) argument
[all...]
H A DGraphicBuffer.cpp45 handle = NULL;
58 handle = NULL;
74 handle = inHandle;
87 handle = buffer->handle;
92 if (handle) {
100 mBufferMapper.unregisterBuffer(handle);
101 native_handle_close(handle);
102 native_handle_delete(const_cast<native_handle*>(handle));
105 allocator.free(handle);
[all...]
/frameworks/rs/cpp/
H A DRenderScript.cpp73 static bool loadSymbols(void* handle) { argument
75 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
80 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
85 RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData");
90 RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements");
95 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate");
100 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy");
105 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig");
110 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");;
115 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetNam
407 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); local
[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...]
/frameworks/native/include/binder/
H A DIPCThreadState.h63 status_t transact(int32_t handle,
67 void incStrongHandle(int32_t handle);
68 void decStrongHandle(int32_t handle);
69 void incWeakHandle(int32_t handle);
70 void decWeakHandle(int32_t handle);
71 status_t attemptIncStrongHandle(int32_t handle);
72 static void expungeHandle(int32_t handle, IBinder* binder);
73 status_t requestDeathNotification( int32_t handle,
75 status_t clearDeathNotification( int32_t handle,
97 int32_t handle,
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp57 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) argument
60 mLayers.add(handle, layer);
75 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const
79 wp<Layer> layer(mLayers.valueFor(handle));
82 ALOGE_IF(lbc==0, "getLayerUser(name=%p) is dead", handle.get());
112 sp<IBinder>* handle,
123 sp<IBinder>* handle; member in class:android::MessageCreateLayer
134 sp<IBinder>* handle,
137 handle(handle), gb
109 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
131 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
154 destroySurface(const sp<IBinder>& handle) argument
[all...]

Completed in 398 milliseconds

12345678