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

1234567891011>>

/frameworks/base/opengl/java/android/opengl/
H A DEGLObjectHandle.java32 protected EGLObjectHandle(int handle) { argument
33 mHandle = handle;
35 protected EGLObjectHandle(long handle) { argument
36 mHandle = handle;
50 * Returns the native handle of the wrapped EGL object. This handle can be
53 * For example, EGLDisplay dpy = (EGLDisplay)handle;
55 * @return the native handle of the wrapped EGL object.
H A DEGLConfig.java25 private EGLConfig(long handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(long handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(long handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(long handle) { argument
26 super(handle);
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLObjectHandle.java32 protected EGLObjectHandle(int handle) { argument
33 mHandle = handle;
35 protected EGLObjectHandle(long handle) { argument
36 mHandle = handle;
50 * Returns the native handle of the wrapped EGL object. This handle can be
53 * For example, EGLDisplay dpy = (EGLDisplay)handle;
55 * @return the native handle of the wrapped EGL object.
H A DEGLConfig.java25 private EGLConfig(long handle) { argument
26 super(handle);
H A DEGLContext.java25 private EGLContext(long handle) { argument
26 super(handle);
H A DEGLDisplay.java25 private EGLDisplay(long handle) { argument
26 super(handle);
H A DEGLSurface.java25 private EGLSurface(long handle) { argument
26 super(handle);
/frameworks/native/services/sensorservice/
H A DBatteryService.h33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
39 int handle; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } argument
44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
50 bool addSensor(uid_t uid, int handle);
54 enableSensor(uid_t uid, int handle) argument
57 disableSensor(uid_t uid, int handle) argument
[all...]
H A DSensorInterface.cpp50 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags,
56 status_t HardwareSensor::flush(void* ident, int handle) { argument
57 return mSensorDevice.flush(ident, handle);
60 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument
61 return mSensorDevice.setDelay(ident, handle, ns);
64 void HardwareSensor::autoDisable(void *ident, int handle) { argument
65 mSensorDevice.autoDisable(ident, handle);
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*/) {
57 virtual void autoDisable(void* /*ident*/, int /*handle*/) { }
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 DBatteryService.cpp41 bool BatteryService::addSensor(uid_t uid, int handle) { argument
43 Info key(uid, handle);
53 bool BatteryService::removeSensor(uid_t uid, int handle) { argument
55 ssize_t index = mActivations.indexOf(Info(uid, handle));
63 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument
65 if (addSensor(uid, handle)) {
67 mBatteryStatService->noteStartSensor(uid, handle);
72 void BatteryService::disableSensorImpl(uid_t uid, int handle) { argument
74 if (removeSensor(uid, handle)) {
76 mBatteryStatService->noteStopSensor(uid, handle);
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallInfo.java31 private String handle; field in class:CallInfo
33 public CallInfo(String handle) { argument
34 this.handle = handle;
38 return handle;
75 destination.writeString(handle);
H A DICallService.aidl34 * Determines if the CallService can make calls to the handle.
38 void isCompatibleWith(String handle);
41 * Attempts to call the relevant party using the specified handle, be it a phone number,
42 * SIP address, or some other kind of user ID. Note that the set of handle types is
44 * handle-calling systems. See {@link #isCompatibleWith}.
48 void call(String handle);
/frameworks/rs/cpp/
H A DrsDispatch.cpp24 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int device_api) { argument
27 dispatchTab.SetNativeLibDir = (SetNativeLibDirFnPtr)dlsym(handle, "rsaContextSetNativeLibDir");
33 dispatchTab.AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
38 dispatchTab.TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
43 dispatchTab.ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData");
48 dispatchTab.ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements");
53 dispatchTab.DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate");
58 dispatchTab.DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy");
63 dispatchTab.DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig");
68 dispatchTab.ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreat
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpServer.java47 public void sendObjectAdded(int handle) { argument
48 native_send_object_added(handle);
51 public void sendObjectRemoved(int handle) { argument
52 native_send_object_removed(handle);
70 private native final void native_send_object_added(int handle); argument
71 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/cmds/servicemanager/
H A Dbctest.c13 uint32_t handle; local
25 handle = bio_get_ref(&reply);
27 if (handle)
28 binder_acquire(bs, handle);
32 return handle;
64 uint32_t handle; local
76 handle = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr");
77 if (!handle) {
81 svcmgr = handle;
82 fprintf(stderr,"svcmgr is via %x\n", handle);
[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 lockYCbCr(buffer_handle_t handle,
51 status_t unlock(buffer_handle_t handle);
53 status_t lockAsync(buffer_handle_t handle,
56 status_t lockAsyncYCbCr(buffer_handle_t handle,
60 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
62 // dumps information about the mapping of this handle
63 void dump(buffer_handle_t handle);
[all...]
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp54 sound_model_handle_t *handle)
56 if (modelMemory == 0 || handle == NULL) {
68 reply.read(handle, sizeof(sound_model_handle_t));
73 virtual status_t unloadSoundModel(sound_model_handle_t handle) argument
77 data.write(&handle, sizeof(sound_model_handle_t));
85 virtual status_t startRecognition(sound_model_handle_t handle, argument
90 data.write(&handle, sizeof(sound_model_handle_t));
104 virtual status_t stopRecognition(sound_model_handle_t handle) argument
108 data.write(&handle, sizeof(sound_model_handle_t));
136 sound_model_handle_t handle; local
53 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
146 sound_model_handle_t handle; local
154 sound_model_handle_t handle; local
166 sound_model_handle_t handle; local
[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
167 getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const argument
[all...]
/frameworks/av/include/soundtrigger/
H A DISoundTrigger.h36 sound_model_handle_t *handle) = 0;
38 virtual status_t unloadSoundModel(sound_model_handle_t handle) = 0;
40 virtual status_t startRecognition(sound_model_handle_t handle,
42 virtual status_t stopRecognition(sound_model_handle_t handle) = 0;
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp53 handle = NULL;
66 handle = NULL;
82 handle = inHandle;
95 handle = buffer->handle;
100 if (handle) {
108 mBufferMapper.unregisterBuffer(handle);
109 native_handle_close(handle);
110 native_handle_delete(const_cast<native_handle*>(handle));
113 allocator.free(handle);
[all...]

Completed in 426 milliseconds

1234567891011>>