Searched refs:handle (Results 1 - 25 of 352) 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);
55 enableSensor(uid_t uid, int handle) argument
58 disableSensor(uid_t uid, int handle) argument
[all...]
H A DBatteryService.cpp36 bool BatteryService::addSensor(uid_t uid, int handle) { argument
38 Info key(uid, handle);
48 bool BatteryService::removeSensor(uid_t uid, int handle) { argument
50 ssize_t index = mActivations.indexOf(Info(uid, handle));
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument
60 if (addSensor(uid, handle)) {
62 mBatteryStatService->noteStartSensor(uid, handle);
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { argument
69 if (removeSensor(uid, handle)) {
71 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.cpp26 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int targetApiLevel) { argument
29 dispatchTab.SetNativeLibDir = (SetNativeLibDirFnPtr)dlsym(handle, "rsaContextSetNativeLibDir");
36 dispatchTab.Allocation1DData = (Allocation1DDataFnPtr)dlsym(handle, "rsAllocation1DData");
37 dispatchTab.Allocation1DElementData = (Allocation1DElementDataFnPtr)dlsym(handle, "rsAllocation1DElementData");
38 dispatchTab.Allocation1DRead = (Allocation1DReadFnPtr)dlsym(handle, "rsAllocation1DRead");
39 dispatchTab.Allocation2DData = (Allocation2DDataFnPtr)dlsym(handle, "rsAllocation2DData");
40 dispatchTab.Allocation2DRead = (Allocation2DReadFnPtr)dlsym(handle, "rsAllocation2DRead");
41 dispatchTab.Allocation3DData = (Allocation3DDataFnPtr)dlsym(handle, "rsAllocation3DData");
42 dispatchTab.Allocation3DRead = (Allocation3DReadFnPtr)dlsym(handle, "rsAllocation3DRead");
43 dispatchTab.AllocationCopy2DRange = (AllocationCopy2DRangeFnPtr)dlsym(handle, "rsAllocationCopy2DRang
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpServer.java50 public void sendObjectAdded(int handle) { argument
51 native_send_object_added(handle);
54 public void sendObjectRemoved(int handle) { argument
55 native_send_object_removed(handle);
73 private native final void native_send_object_added(int handle); argument
74 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;
63 uint32_t handle; local
75 handle = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr");
76 if (!handle) {
80 svcmgr = handle;
81 fprintf(stderr,"svcmgr is via %x\n", handle);
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp52 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) argument
56 gralloc1_error_t error = mDevice->retain(handle);
58 handle, error);
69 buffer->getNativeBuffer()->handle, error);
74 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) argument
78 gralloc1_error_t error = mDevice->release(handle);
80 handle, error);
94 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, argument
97 return lockAsync(handle, usage, bounds, vaddr, -1);
100 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_ argument
106 unlock(buffer_handle_t handle) argument
117 lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr, int fenceFd) argument
157 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
275 unlockAsync(buffer_handle_t handle, int *fenceFd) argument
[all...]
H A DGraphicBuffer.cpp53 handle = NULL;
66 handle = NULL;
83 handle = inHandle;
97 handle = buffer->handle;
102 if (handle) {
110 mBufferMapper.unregisterBuffer(handle);
111 native_handle_close(handle);
112 native_handle_delete(const_cast<native_handle*>(handle));
115 allocator.free(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/include/ui/
H A DGraphicBufferMapper.h38 status_t registerBuffer(buffer_handle_t handle);
41 status_t unregisterBuffer(buffer_handle_t handle);
43 status_t lock(buffer_handle_t handle,
46 status_t lockYCbCr(buffer_handle_t handle,
49 status_t unlock(buffer_handle_t handle);
51 status_t lockAsync(buffer_handle_t handle,
54 status_t lockAsyncYCbCr(buffer_handle_t handle,
58 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
/frameworks/native/services/surfaceflinger/
H A DClient.h47 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer);
51 sp<Layer> getLayerUser(const sp<IBinder>& handle) const;
58 sp<IBinder>* handle,
61 virtual status_t destroySurface(const sp<IBinder>& handle);
63 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const;
65 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const;
67 const sp<IBinder>& handle, bool* outTransformToDisplayInverse) const;
/frameworks/av/media/libmedia/
H A DIDataSource.cpp108 sp<DecryptHandle> handle; local
110 handle = new DecryptHandle();
111 handle->decryptId = reply.readInt32();
112 handle->mimeType = reply.readString8();
113 handle->decryptApiType = reply.readInt32();
114 handle->status = reply.readInt32();
118 handle->decryptInfo = new DecryptInfo();
119 handle->decryptInfo->decryptBufferLength = bufferLength;
126 handle->copyControlVector.add(key, value);
133 handle
187 sp<DecryptHandle> handle = DrmInitialization(mime); local
[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;

Completed in 477 milliseconds

1234567891011>>