Searched refs:handle (Results 1 - 25 of 347) 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 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.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/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/media/mtp/
H A DMtpDevice.h97 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
98 void* getThumbnail(MtpObjectHandle handle, int& outLength);
100 bool sendObject(MtpObjectHandle handle, int size, int srcFD);
101 bool deleteObject(MtpObjectHandle handle);
102 MtpObjectHandle getParent(MtpObjectHandle handle);
103 MtpObjectHandle getStorageID(MtpObjectHandle handle);
110 // Reads value of |property| for |handle|. Returns true on success.
111 bool getObjectPropValue(MtpObjectHandle handle, MtpProperty* property);
113 bool readObject(MtpObjectHandle handle, ReadObjectCallback callback,
115 bool readObject(MtpObjectHandle handle, cons
[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/native/libs/ui/
H A DGraphicBuffer.cpp53 handle = NULL;
66 handle = NULL;
82 handle = inHandle;
96 handle = buffer->handle;
101 if (handle) {
109 mBufferMapper.unregisterBuffer(handle);
110 native_handle_close(handle);
111 native_handle_delete(const_cast<native_handle*>(handle));
114 allocator.free(handle);
[all...]
/frameworks/av/media/libmedia/
H A DIDataSource.cpp100 sp<DecryptHandle> handle; local
102 handle = new DecryptHandle();
103 handle->decryptId = reply.readInt32();
104 handle->mimeType = reply.readString8();
105 handle->decryptApiType = reply.readInt32();
106 handle->status = reply.readInt32();
110 handle->decryptInfo = new DecryptInfo();
111 handle->decryptInfo->decryptBufferLength = bufferLength;
118 handle->copyControlVector.add(key, value);
125 handle
179 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>>