Searched refs:handle (Results 126 - 150 of 286) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java81 // maps raw person handle to resolved person object
234 final String handle = people[personIdx];
235 if (TextUtils.isEmpty(handle)) continue;
238 final String cacheKey = getCacheKey(context.getUserId(), handle);
241 pendingLookups.add(handle);
263 private String getCacheKey(int userId, String handle) { argument
264 return Integer.toString(userId) + ":" + handle;
435 for (final String handle: mPendingLookups) {
437 final Uri uri = Uri.parse(handle);
439 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle);
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp411 DecryptHandle* handle = new DecryptHandle(); local
412 if (NULL != handle) {
413 handle->decryptId = mDecryptSessionId + 1;
418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
428 delete handle; handle = NULL;
430 return handle;
439 DecryptHandle* handle = new DecryptHandle(); local
440 if (NULL != handle) {
441 handle
468 DecryptHandle* handle = new DecryptHandle(); local
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h466 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle));
485 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle));
518 handle.data = mHeap->base();
519 handle.size = mBufSize * mNumBufs;
520 handle.handle = this;
528 handle.release = __put_memory;
541 camera_memory_t handle; member in class:android::CameraHardwareInterface::CameraHeapMemory
553 return &mem->handle;
561 CameraHeapMemory *mem = static_cast<CameraHeapMemory *>(data->handle);
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp51 jfieldID handle; member in struct:android::SensorOffsets
78 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I");
163 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle());
310 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, argument
313 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency,
317 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument
319 return receiver->getSensorEventQueue()->disableSensor(handle);
333 static jint nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, argument
339 sensor_event.sensor = handle;
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c102 void *handle = NULL; local
132 handle = dlopen("libstagefright.so", RTLD_NOW);
133 if(handle == 0)
139 pfunc = dlsym(handle, "voGetAMRWBEncAPI");
255 dlclose(handle);
/frameworks/av/radio/
H A DRadio.cpp94 sp<Radio> Radio::attach(radio_handle_t handle, argument
105 radio = new Radio(handle, callback);
106 status_t status = service->attach(handle, radio, config, withAudio, radio->mIRadio);
120 Radio::Radio(radio_handle_t handle, const sp<RadioCallback>& callback) argument
121 : mHandle(handle), mCallback(callback)
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp133 result.appendFormat(", %p [%4ux%4u:%4u,%3X]", buffer->handle,
240 (item->mGraphicBuffer.get() ? item->mGraphicBuffer->handle : 0),
242 (slot.mGraphicBuffer.get() ? slot.mGraphicBuffer->handle : 0));
247 (item->mGraphicBuffer->handle == slot.mGraphicBuffer->handle);
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp51 void AnimatorManager::setAnimationHandle(AnimationHandle* handle) { argument
52 LOG_ALWAYS_FATAL_IF(mAnimationHandle && handle, "Already have an AnimationHandle!");
53 mAnimationHandle = handle;
55 "Lost animation handle on %p (%s) with outstanding animators!",
71 "Trying to start new animators on %p (%s) without an animation handle!",
172 ALOGD("endAllStagingAnimators on %p (%s) with handle %p",
/frameworks/rs/api/
H A Drs_object_types.spec25 // Opaque handle to a RenderScript object. Do not use this directly.
46 An opaque handle to a RenderScript element.
55 An opaque handle to a RenderScript type.
64 An opaque handle to a RenderScript allocation.
73 An opaque handle to a RenderScript sampler object.
82 An opaque handle to a RenderScript script object.
139 value: RS_TYPE_ELEMENT = 1000, "A handle to an Element."
140 value: RS_TYPE_TYPE = 1001, "A handle to a Type."
141 value: RS_TYPE_ALLOCATION = 1002, "A handle to an Allocation."
142 value: RS_TYPE_SAMPLER = 1003, "A handle t
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.h175 audio_patch_handle_t handle) :
176 mPatch(patch), mHandle(handle) {}
179 snprintf(buffer, size, "Patch handle: %u\n", mHandle);
189 audio_patch_handle_t handle) :
191 mData = new CreateAudioPatchConfigEventData(patch, handle);
199 ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : argument
200 mHandle(handle) {}
203 snprintf(buffer, size, "Patch handle: %u\n", mHandle);
211 ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : argument
213 mData = new ReleaseAudioPatchConfigEventData(handle);
174 CreateAudioPatchConfigEventData(const struct audio_patch patch, audio_patch_handle_t handle) argument
188 CreateAudioPatchConfigEvent(const struct audio_patch patch, audio_patch_handle_t handle) argument
[all...]
H A DAudioStreamOut.h49 audio_io_handle_t handle,
H A DSpdifStreamOut.h47 audio_io_handle_t handle,
/frameworks/native/include/binder/
H A DBpBinder.h30 BpBinder(int32_t handle);
32 inline int32_t handle() const { return mHandle; } function in class:android::BpBinder
/frameworks/native/libs/binder/
H A DParcel.cpp113 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
121 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
129 int size = ashmem_get_size_region(obj.handle);
163 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
171 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
178 int size = ashmem_get_size_region(obj.handle);
183 close(obj.handle);
218 const int32_t handle = proxy ? proxy->handle() : 0; local
221 obj.handle
252 const int32_t handle = proxy ? proxy->handle() : 0; local
882 writeNativeHandle(const native_handle* handle) argument
[all...]
/frameworks/native/services/sensorservice/
H A DRotationVectorSensor.cpp59 status_t RotationVectorSensor::setDelay(void* ident, int /*handle*/, int64_t ns) {
68 hwSensor.handle = '_rov';
108 status_t GyroDriftSensor::setDelay(void* ident, int /*handle*/, int64_t ns) {
117 hwSensor.handle = '_gbs';
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java128 * <code>obj</code> contains handle of message as allocated by MSE
419 String handle = req.getMsgHandle();
421 client.sendToClient(EVENT_PUSH_MESSAGE, request.isSuccess(), handle);
956 * @param handle handle of message to retrieve
965 public boolean getMessage(String handle, CharsetType charset, boolean attachment) { argument
972 new BigInteger(handle, 16);
977 BluetoothMasRequest request = new BluetoothMasRequestGetMessage(handle, charset,
988 * @param handle handle o
993 setMessageReadStatus(String handle, boolean read) argument
1022 setMessageDeletedStatus(String handle, boolean deleted) argument
[all...]
/frameworks/av/include/media/
H A DIAudioPolicyService.h138 audio_patch_handle_t *handle) = 0;
141 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) = 0;
166 audio_io_handle_t *handle) = 0;
167 virtual status_t stopAudioSource(audio_io_handle_t handle) = 0;
/frameworks/av/include/media/stagefright/
H A DFileSource.h44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
H A DMediaHTTP.h53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.h23 SUB_FX_HOST, // Index of HOST in the descriptor and handle arrays
25 SUB_FX_OFFLOAD, // Index of OFFLOAD in the descriptor and handle arrays
37 int EffectProxyRelease(effect_handle_t handle);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioInputDescriptor.h42 audio_io_handle_t mIoHandle; // input handle
87 * return io handle of active input or 0 if no input is active
93 audio_devices_t getSupportedDevices(audio_io_handle_t handle) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp80 dstConfig->ext.mix.handle = mIoHandle;
92 port->ext.mix.handle = mIoHandle;
192 audio_devices_t AudioInputCollection::getSupportedDevices(audio_io_handle_t handle) const
194 sp<AudioInputDescriptor> inputDesc = valueFor(handle);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp187 audio_patch_handle_t *handle,
190 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs);
193 status_t AudioPolicyService::AudioPolicyClient::releaseAudioPatch(audio_patch_handle_t handle, argument
196 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs);
186 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h100 buffer_handle_t *handle,
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp67 ZipArchiveHandle handle; local
68 const int32_t error = OpenArchive(zipFileName, &handle);
71 CloseArchive(handle);
75 return new ZipFileRO(handle, strdup(zipFileName));

Completed in 502 milliseconds

1234567891011>>