Searched refs:handle (Results 1 - 25 of 490) 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);
/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);
/frameworks/native/include/ui/
H A DDetachedBufferHandle.h26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be
32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { argument
33 return std::unique_ptr<DetachedBufferHandle>(new DetachedBufferHandle(std::move(handle)));
37 pdx::LocalChannelHandle& handle() { return mHandle; } function in class:android::DetachedBufferHandle
38 const pdx::LocalChannelHandle& handle() const { return mHandle; } function in class:android::DetachedBufferHandle
45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} argument
/frameworks/native/libs/ui/include/ui/
H A DDetachedBufferHandle.h26 // A wrapper that holds a pdx::LocalChannelHandle object. From the handle, a BufferHub buffer can be
32 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { argument
33 return std::unique_ptr<DetachedBufferHandle>(new DetachedBufferHandle(std::move(handle)));
37 pdx::LocalChannelHandle& handle() { return mHandle; } function in class:android::DetachedBufferHandle
38 const pdx::LocalChannelHandle& handle() const { return mHandle; } function in class:android::DetachedBufferHandle
45 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} argument
/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
28 * Retrieves handle to a lockscreen credential to be used for Factory Reset Protection.
/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/native/libs/ui/tests/
H A DGraphicBuffer_test.cpp49 std::unique_ptr<DetachedBufferHandle> handle = DetachedBufferHandle::Create(std::move(channel)); local
51 EXPECT_TRUE(handle->isValid());
52 EXPECT_TRUE(handle->handle().valid());
54 buffer->setDetachedBufferHandle(std::move(handle));
55 EXPECT_TRUE(handle == nullptr);
58 handle = buffer->takeDetachedBufferHandle();
59 EXPECT_TRUE(handle != nullptr);
60 EXPECT_TRUE(handle->isValid());
/frameworks/av/media/mtp/
H A DIMtpDatabase.h40 virtual void endSendObject(MtpObjectHandle handle,
45 MtpObjectHandle handle,
63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
87 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) = 0;
89 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle,
94 virtual MtpResponseCode beginDeleteObject(MtpObjectHandle handle) = 0;
95 virtual void endDeleteObject(MtpObjectHandle handle, boo
[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/base/core/java/com/android/internal/widget/
H A DLockSettingsInternal.java35 * @return a unique 64-bit token handle which is needed to refer to this token later.
41 * @return true if the given handle refers to a valid token previously returned from
44 public abstract boolean removeEscrowToken(long handle, int userId); argument
50 public abstract boolean isEscrowTokenActive(long handle, int userId); argument
/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 1461 milliseconds

1234567891011>>