Searched refs:handle (Results 1 - 25 of 491) 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/base/services/core/java/com/android/server/
H A DPersistentDataBlockManagerInternal.java24 /** Stores the handle to a lockscreen credential to be used for Factory Reset Protection. */
25 void setFrpCredentialHandle(byte[] handle); argument
27 /** Retrieves handle to a lockscreen credential to be used for Factory Reset Protection. */
/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);
/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/av/services/oboeservice/
H A DAAudioStreamTracker.cpp56 // advance to next legal handle value
58 aaudio_handle_t AAudioStreamTracker::bumpHandle(aaudio_handle_t handle) { argument
59 handle++;
61 if (handle <= 0) {
62 handle = 1;
64 return handle;
69 aaudio_handle_t handle = mPreviousHandle.load(); local
70 // Assign a unique handle.
72 handle = bumpHandle(handle);
96 aaudio_handle_t handle = it.second->getHandle(); local
[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.h54 status_t freeBuffer(buffer_handle_t handle);
56 status_t lock(buffer_handle_t handle,
59 status_t lockYCbCr(buffer_handle_t handle,
62 status_t unlock(buffer_handle_t handle);
64 status_t lockAsync(buffer_handle_t handle,
67 status_t lockAsync(buffer_handle_t handle,
71 status_t lockAsyncYCbCr(buffer_handle_t handle,
75 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
/frameworks/native/libs/ui/include/ui/
H A DGraphicBufferMapper.h54 status_t freeBuffer(buffer_handle_t handle);
56 status_t lock(buffer_handle_t handle,
59 status_t lockYCbCr(buffer_handle_t handle,
62 status_t unlock(buffer_handle_t handle);
64 status_t lockAsync(buffer_handle_t handle,
67 status_t lockAsync(buffer_handle_t handle,
71 status_t lockAsyncYCbCr(buffer_handle_t handle,
75 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);
29 const int32_t handle = data_fd.Get(); local
31 handle,
34 return LocalChannelHandle(this, handle);
44 ChannelEventReceiver* ChannelManager::GetChannelData(int32_t handle) { argument
46 auto channel = channels_.find(handle);

Completed in 592 milliseconds

1234567891011>>