Searched refs:handle (Results 51 - 75 of 253) sorted by relevance

1234567891011

/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java38 * SlidingDrawer hides content out of the screen and allows the user to drag a handle
41 * A special widget composed of two children views: the handle, that the users drags,
42 * and the content, attached to the handle and dragged with it.
49 * Inside an XML layout, SlidingDrawer must define the id of the handle and of the
58 * android:handle="@+id/handle"
62 * android:id="@id/handle"
170 * Invoked when the user starts dragging/flinging the drawer's handle.
175 * Invoked when the user stops dragging/flinging the drawer's handle.
231 throw new IllegalArgumentException("The handle attribut
[all...]
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java76 // ", handle=" + sensor.getHandle());
227 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument
229 private static native int nativeDisableSensor(long eventQ, int handle); argument
253 int handle = sensor.getHandle();
254 if (mActiveSensors.get(handle)) return false;
257 mActiveSensors.put(handle, true);
273 int handle = mActiveSensors.keyAt(i);
274 Sensor sensor = sHandleToSensor.get(handle);
277 mActiveSensors.put(handle, false);
288 final int handle
343 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
345 dispatchFlushCompleteEvent(int handle) argument
380 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument
409 dispatchFlushCompleteEvent(int handle) argument
447 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
472 dispatchFlushCompleteEvent(int handle) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java39 AudioDevicePort(AudioHandle handle, int[] samplingRates, int[] channelMasks, argument
41 super(handle,
/frameworks/base/services/core/java/com/android/server/am/
H A DUserStartedState.java43 public UserStartedState(UserHandle handle, boolean initial) { argument
44 mHandle = handle;
H A DContentProviderRecord.java98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
99 if (handle == null) {
100 handle = new ExternalProcessHandle(token);
101 externalProcessTokenToHandle.put(token, handle);
103 handle.mAcquisitionCount++;
111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
112 if (handle != null) {
114 handle.mAcquisitionCount--;
115 if (handle.mAcquisitionCount == 0) {
130 ExternalProcessHandle handle
[all...]
/frameworks/native/include/gui/
H A DISensorEventConnection.h39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp39 if (err != 0 || graphicBuffer->handle == 0) {
44 "failed (%s), handle=%p",
45 w, h, strerror(-err), graphicBuffer->handle);
H A DISensorEventConnection.cpp56 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument
61 data.writeInt32(handle);
70 virtual status_t setEventRate(int handle, nsecs_t ns) argument
74 data.writeInt32(handle);
104 int handle = data.readInt32(); local
109 status_t result = enableDisable(handle, enabled, samplingPeriodNs,
116 int handle = data.readInt32(); local
118 status_t result = setEventRate(handle, ns);
/frameworks/native/services/sensorservice/
H A DRotationVectorSensor.h44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
58 virtual status_t setDelay(void* ident, int handle, int64_t ns);
H A DSensorService.cpp210 // add to our handle->SensorInterface mapping
334 int handle = mActiveSensors.keyAt(i); local
335 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n",
336 getSensorName(handle).string(),
337 handle,
361 int handle = buffer[i].sensor; local
363 handle = buffer[i].meta_data.sensor;
365 if (connection->hasSensor(handle)) {
366 SensorInterface* sensor = mSensorMap.valueFor(handle);
371 sensor->autoDisable(connection.get(), handle);
625 int handle = event.sensor; local
634 getSensorRecord(int handle) argument
675 int handle = mActiveSensors.keyAt(i); local
713 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
813 disable(const sp<SensorEventConnection>& connection, int handle) argument
828 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument
834 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument
857 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns) argument
890 const int handle = connection->mSensorInfo.keyAt(i); local
1091 addSensor(int32_t handle) argument
1103 removeSensor(int32_t handle) argument
1124 const int handle = mSensorInfo.keyAt(i); local
1132 setFirstFlushPending(int32_t handle, bool value) argument
1164 const int handle = mSensorInfo.keyAt(i); local
1192 incrementPendingFlushCount(int32_t handle) argument
1491 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
1506 setEventRate( int handle, nsecs_t samplingPeriodNs) argument
[all...]
H A DLinearAccelerationSensor.cpp57 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument
58 return mGravitySensor.setDelay(ident, handle, ns);
67 hwSensor.handle = '_lin';
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestSetMessageStatus.java34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
H A DBluetoothMasRequestPushMessage.java57 String handle = (String) headerset.getHeader(HeaderSet.NAME);
58 if (handle != null) {
60 new BigInteger(handle, 16);
62 mMsgHandle = handle;
/frameworks/base/telecomm/java/android/telecom/
H A DConferenceParticipant.java30 * The conference participant's handle (e.g., phone number).
55 * @param handle The conference participant's handle (e.g., phone number).
60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument
61 mHandle = handle;
76 Uri handle = source.readParcelable(classLoader);
80 return new ConferenceParticipant(handle, displayName, endpoint, state);
129 * The conference participant's handle (e.g., phone number).
H A DConnectionRequest.java41 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
46 Uri handle,
48 this(accountHandle, handle, extras, VideoProfile.VideoState.AUDIO_ONLY);
53 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
60 Uri handle,
64 mAddress = handle;
82 * The handle (e.g., phone number) to which the {@link Connection} is to connect.
44 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras) argument
58 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState) argument
/frameworks/native/include/binder/
H A DProcessState.h56 sp<IBinder> getStrongProxyForHandle(int32_t handle);
57 wp<IBinder> getWeakProxyForHandle(int32_t handle);
58 void expungeHandle(int32_t handle, IBinder* binder);
80 handle_entry* lookupHandleLocked(int32_t handle);
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp41 const DecryptHandle* handle, Parcel* data) {
42 data->writeInt32(handle->decryptId);
43 data->writeString8(handle->mimeType);
44 data->writeInt32(handle->decryptApiType);
45 data->writeInt32(handle->status);
47 int size = handle->copyControlVector.size();
50 data->writeInt32(handle->copyControlVector.keyAt(i));
51 data->writeInt32(handle->copyControlVector.valueAt(i));
54 size = handle->extendedData.size();
57 data->writeString8(handle
40 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument
68 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument
101 clearDecryptHandle(DecryptHandle* handle) argument
621 DecryptHandle* handle = NULL; local
646 DecryptHandle* handle = NULL; local
673 DecryptHandle* handle = NULL; local
1113 DecryptHandle handle; local
1133 DecryptHandle handle; local
1311 DecryptHandle* handle local
1331 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local
1355 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local
1375 DecryptHandle* handle = new DecryptHandle(); local
1390 DecryptHandle handle; local
1416 DecryptHandle handle; local
1460 DecryptHandle handle; local
1477 DecryptHandle handle; local
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp109 jlong handle = _env->CallLongMethod(obj, mid); local
110 return reinterpret_cast<void*>(handle);
114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
116 (EGLContext)handle == EGL_NO_CONTEXT) {
121 (EGLDisplay)handle == EGL_NO_DISPLAY) {
126 (EGLSurface)handle == EGL_NO_SURFACE) {
130 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));
/frameworks/opt/emoji/
H A DEmojiFactory.cpp76 void *handle = dlopen(library_name, RTLD_LAZY | RTLD_LOCAL); local
77 if (handle == NULL) {
86 reinterpret_cast<EmojiFactory *(*)()>(dlsym(handle,
94 dlclose(handle);
101 dlclose(handle);
113 dlclose(handle);
120 g_handles->push(handle);
/frameworks/av/media/mtp/
H A DMtpServer.cpp246 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { argument
247 ALOGV("sendObjectAdded %d\n", handle);
248 sendEvent(MTP_EVENT_OBJECT_ADDED, handle);
251 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { argument
252 ALOGV("sendObjectRemoved %d\n", handle);
253 sendEvent(MTP_EVENT_OBJECT_REMOVED, handle);
281 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument
283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd);
287 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { argument
291 if (edit->mHandle == handle) retur
296 removeEditObject(MtpObjectHandle handle) argument
952 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, local
[all...]
/frameworks/native/libs/binder/
H A DProcessState.cpp165 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument
168 if (N <= (size_t)handle) {
172 status_t err = mHandleToObject.insertAt(e, N, handle+1-N);
175 return &mHandleToObject.editItemAt(handle);
178 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument
184 handle_entry* e = lookupHandleLocked(handle);
192 if (handle == 0) {
208 // stop special casing handle 0 for context manager and add
209 // a driver API to get a handle to the context manager with
219 b = new BpBinder(handle);
235 getWeakProxyForHandle(int32_t handle) argument
266 expungeHandle(int32_t handle, IBinder* binder) argument
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp94 int usage, buffer_handle_t* handle, int32_t* stride)
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
126 list.add(*handle, rec);
132 status_t GraphicBufferAllocator::free(buffer_handle_t handle) argument
137 err = mAllocDev->free(mAllocDev, handle);
143 list.removeItem(handle);
93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
/frameworks/av/include/drm/
H A Ddrm_framework_common.h258 * Defines decryption handle
325 bool operator<(const DecryptHandle& handle) const {
326 return (decryptId < handle.decryptId);
329 bool operator==(const DecryptHandle& handle) const {
330 return (decryptId == handle.decryptId);
/frameworks/av/include/media/
H A DEffectsFactoryApi.h91 // a handle on the effect control interface.
103 // pHandle: address where to return the effect handle.
110 // *pHandle: updated with the effect handle.
120 // Description: Releases the effect engine whose handle is given as argument.
125 // handle: handle on the effect interface to be released.
130 // -EINVAL invalid interface handle
133 int EffectRelease(effect_handle_t handle);
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.h33 void setDecoderHandle(const HANDLE_AACDECODER handle);

Completed in 352 milliseconds

1234567891011