Searched refs:handle (Results 1 - 25 of 253) 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 DSensorInterface.cpp50 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags,
56 status_t HardwareSensor::flush(void* ident, int handle) { argument
57 return mSensorDevice.flush(ident, handle);
60 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument
61 return mSensorDevice.setDelay(ident, handle, ns);
64 void HardwareSensor::autoDisable(void *ident, int handle) { argument
65 mSensorDevice.autoDisable(ident, handle);
H A DSensorInterface.h40 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0;
43 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, argument
46 return setDelay(ident, handle, samplingPeriodNs);
51 virtual status_t flush(void* /*ident*/, int /*handle*/) {
57 virtual void autoDisable(void* /*ident*/, int /*handle*/) { }
76 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
78 virtual status_t setDelay(void* ident, int handle, int64_t ns);
79 virtual status_t flush(void* ident, int handle);
82 virtual void autoDisable(void *ident, int handle);
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/base/media/java/android/mtp/
H A DMtpServer.java47 public void sendObjectAdded(int handle) { argument
48 native_send_object_added(handle);
51 public void sendObjectRemoved(int handle) { argument
52 native_send_object_removed(handle);
70 private native final void native_send_object_added(int handle); argument
71 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.c12 uint32_t handle; local
24 handle = bio_get_ref(&reply);
26 if (handle)
27 binder_acquire(bs, handle);
31 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,
59 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
61 // dumps information about the mapping of this handle
62 void dump(buffer_handle_t handle);
[all...]
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp54 sound_model_handle_t *handle)
56 if (modelMemory == 0 || handle == NULL) {
67 reply.read(handle, sizeof(sound_model_handle_t));
71 virtual status_t unloadSoundModel(sound_model_handle_t handle) argument
75 data.write(&handle, sizeof(sound_model_handle_t));
83 virtual status_t startRecognition(sound_model_handle_t handle, argument
88 data.write(&handle, sizeof(sound_model_handle_t));
102 virtual status_t stopRecognition(sound_model_handle_t handle) argument
106 data.write(&handle, sizeof(sound_model_handle_t));
134 sound_model_handle_t handle; local
53 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
144 sound_model_handle_t handle; local
152 sound_model_handle_t handle; local
164 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/rs/cpp/
H A DRenderScript.cpp81 static bool loadSymbols(void* handle) { argument
83 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
88 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
93 RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNativeData");
98 RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubElements");
103 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate");
108 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy");
113 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig");
118 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");;
123 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetNam
420 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); 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;
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteCommon.h32 /* throw a SQLiteException with a message appropriate for the error in handle */
33 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle);
38 /* throw a SQLiteException with a message appropriate for the error in handle
41 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message);

Completed in 285 milliseconds

1234567891011