Searched refs:handle (Results 1 - 25 of 484) 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...]
/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/
H A DrsFallbackAdaptation.cpp30 void* handle = dlopen("libRS_internal.so", RTLD_LAZY | RTLD_LOCAL); local
31 if (handle == NULL) {
35 if (loadSymbols(handle, mEntryFuncs) == false) {
41 dlclose(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.AllocationAdapterCreate = (AllocationAdapterCreateFnPtr)dlsym(handle, "rsAllocationAdapterCreat
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dmessage_writer.h13 virtual Status<FileReference> PushFileHandle(const LocalHandle& handle) = 0;
15 const BorrowedHandle& handle) = 0;
16 virtual Status<FileReference> PushFileHandle(const RemoteHandle& handle) = 0;
18 const LocalChannelHandle& handle) = 0;
20 const BorrowedChannelHandle& handle) = 0;
22 const RemoteChannelHandle& handle) = 0;
H A Dmock_message_writer.h13 Status<FileReference>(const LocalHandle& handle));
15 Status<FileReference>(const BorrowedHandle& handle));
17 Status<FileReference>(const RemoteHandle& handle));
19 Status<ChannelReference>(const LocalChannelHandle& handle));
21 Status<ChannelReference>(const BorrowedChannelHandle& handle));
23 Status<ChannelReference>(const RemoteChannelHandle& handle));
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride,
31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
36 "IonBuffer::IonBuffer: handle=%p width=%u height=%u layer_count=%u "
38 handle, width, height, layer_count, stride, format, usage);
39 if (handle != 0) {
40 Import(handle, width, height, layer_count, stride, format, usage);
46 "IonBuffer::~IonBuffer: handle=%p width=%u height=%u stride=%u "
48 handle(), width(), height(), stride(), format(), usage());
57 ALOGD_IF(TRACE, "IonBuffer::operator=: handle_=%p other.handle_=%p", handle(),
91 Reset(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
101 Import(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
138 native_handle_t* handle = native_handle_create(fd_count, int_count); local
[all...]
/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/av/services/soundtrigger/
H A DSoundTriggerHalLegacy.h34 * Only one active recognition per model at a time. The SoundTrigger service will handle
36 * The implementation returns a unique handle used by other functions (unload_sound_model(),
42 sound_model_handle_t *handle);
48 virtual int unloadSoundModel(sound_model_handle_t handle);
54 virtual int startRecognition(sound_model_handle_t handle,
62 virtual int stopRecognition(sound_model_handle_t handle);
/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.h53 status_t freeBuffer(buffer_handle_t handle);
55 status_t lock(buffer_handle_t handle,
58 status_t lockYCbCr(buffer_handle_t handle,
61 status_t unlock(buffer_handle_t handle);
63 status_t lockAsync(buffer_handle_t handle,
66 status_t lockAsync(buffer_handle_t handle,
70 status_t lockAsyncYCbCr(buffer_handle_t handle,
74 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_manager.cpp14 void ChannelManager::CloseHandle(int32_t handle) { argument
16 auto channel = channels_.find(handle);
18 ALOGE("Invalid channel handle: %d", handle);
28 int32_t handle = data_fd.Get(); local
29 channels_.emplace(handle,
31 return LocalChannelHandle(this, handle);
36 ChannelManager::ChannelData* ChannelManager::GetChannelData(int32_t handle) { argument
38 auto channel = channels_.find(handle);
H A Dclient_channel.cpp19 bool GetLocalFileHandle(int index, LocalHandle* handle) { argument
21 handle->Reset(index);
23 *handle = std::move(response.file_descriptors[index]);
30 bool GetLocalChannelHandle(int index, LocalChannelHandle* handle) { argument
32 *handle = LocalChannelHandle{nullptr, index};
35 *handle = ChannelManager::Get().CreateHandle(
43 FileReference PushFileHandle(BorrowedHandle handle) { argument
44 if (!handle)
45 return handle.Get();
46 request.file_descriptors.push_back(std::move(handle));
50 PushChannelHandle(BorrowedChannelHandle handle) argument
225 LocalHandle handle; local
245 LocalChannelHandle handle; local
254 PushFileHandle(void* transaction_state, const LocalHandle& handle) argument
260 PushFileHandle(void* transaction_state, const BorrowedHandle& handle) argument
266 PushChannelHandle( void* transaction_state, const LocalChannelHandle& handle) argument
272 PushChannelHandle( void* transaction_state, const BorrowedChannelHandle& handle) argument
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp64 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) argument
68 mMapper->freeBuffer(handle);
82 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, argument
85 return lockAsync(handle, usage, bounds, vaddr, -1);
88 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, argument
91 return lockAsyncYCbCr(handle, usage, bounds, ycbcr, -1);
94 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) argument
97 status_t error = unlockAsync(handle, &fenceFd);
105 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, argument
108 return lockAsync(handle, usag
111 lockAsync(buffer_handle_t handle, uint64_t producerUsage, uint64_t consumerUsage, const Rect& bounds, void** vaddr, int fenceFd) argument
151 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
171 unlockAsync(buffer_handle_t handle, int *fenceFd) argument
[all...]

Completed in 273 milliseconds

1234567891011>>