/frameworks/av/camera/ |
H A D | Camera.cpp | 235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) argument 240 c->releaseRecordingFrameHandle(handle); 400 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument 411 proxylistener->recordingFrameHandleCallbackTimestamp(timestamp, handle); 422 listener->postRecordingFrameHandleTimestamp(timestamp, handle); 425 releaseRecordingFrameHandle(handle); 485 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { argument 487 mCamera->releaseRecordingFrameHandle(handle);
|
H A D | ICamera.cpp | 163 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 167 data.writeNativeHandle(handle); 171 // Close the native handle because camera received a dup copy. 172 native_handle_close(handle); 173 native_handle_delete(handle); 182 for (auto& handle : handles) { 183 data.writeNativeHandle(handle); 187 // Close the native handle because camera received a dup copy. 188 for (auto& handle : handles) { 189 native_handle_close(handle); [all...] |
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioArgsParser.h | 50 void *handle = dlopen("libaaudio.so", RTLD_NOW); local 51 if (handle != nullptr) { 53 dlsym(handle, "AAudioStreamBuilder_setUsage"); 57 dlsym(handle, "AAudioStreamBuilder_setContentType"); 61 dlsym(handle, "AAudioStreamBuilder_setInputPreset"); 65 dlsym(handle, "AAudioStream_getUsage"); 69 dlsym(handle, "AAudioStream_getContentType"); 73 dlsym(handle, "AAudioStream_getInputPreset"); 86 dlclose(handle);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 327 int EffectRelease(effect_handle_t handle) argument 343 if (e1->object == handle) { 363 ALOGW("EffectRelease() fx %p library already unloaded", handle);
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 169 extern "C" int EffectRelease(effect_handle_t handle) { argument 170 EqualizerContext * pContext = (EqualizerContext *)handle; 172 ALOGV("EffectLibReleaseEffect %p", handle); 352 // pEqualizer - handle to instance data 524 // pEqualizer - handle to instance data
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 207 audio_patch_handle_t *handle, 209 virtual status_t releaseAudioPatch(audio_patch_handle_t handle, 232 audio_patch_handle_t *handle, 234 virtual status_t stopAudioSource(audio_patch_handle_t handle); 376 // handle special cases for sonification strategy while in call: mute streams or replace by 391 // returns its handle if any. 479 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) argument 481 return mAudioPatches.addAudioPatch(handle, patch); 483 virtual status_t removeAudioPatch(audio_patch_handle_t handle) argument 485 return mAudioPatches.removeAudioPatch(handle); [all...] |
/frameworks/base/core/java/android/service/trust/ |
H A D | TrustAgentService.java | 219 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 221 onEscrowTokenAdded(token, handle, user); 226 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 228 onEscrowTokenStateReceived(handle, tokenState); 233 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 235 onEscrowTokenRemoved(handle, success); 310 * @param handle the handle to the corresponding internal synthetic password. A user is unlocked 311 * by presenting both handle and escrow token. 315 public void onEscrowTokenAdded(byte[] token, long handle, UserHandl argument 325 onEscrowTokenStateReceived(long handle, @TokenState int tokenState) argument 335 onEscrowTokenRemoved(long handle, boolean successful) argument 501 isEscrowTokenActive(long handle, UserHandle user) argument 524 removeEscrowToken(long handle, UserHandle user) argument 546 unlockUserWithToken(long handle, byte[] token, UserHandle user) argument 650 onEscrowTokenAdded(byte[] token, long handle, UserHandle user) argument 658 onTokenStateReceived(long handle, int tokenState) argument 665 onEscrowTokenRemoved(long handle, boolean successful) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_HwBlob.cpp | 99 void JHwBlob::setTo(const void *ptr, size_t handle) { argument 106 mHandle = handle; 109 status_t JHwBlob::getHandle(size_t *handle) const { 114 *handle = mHandle; 175 size_t handle; local 176 status_t err = parcel->writeBuffer(data(), size(), &handle); 185 err = info.mBlob->writeEmbeddedToParcel(parcel, handle, info.mOffset); 199 size_t handle; local 201 data(), size(), &handle, parentHandle, parentOffset); 210 err = info.mBlob->writeEmbeddedToParcel(parcel, handle, inf 221 NewObject(JNIEnv *env, const void *ptr, size_t handle) argument 526 size_t handle; local [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 202 * @param objectHandle handle of the object to read 217 * @param objectHandle handle of the object to read 239 * @param objectHandle handle of the object to read 258 * @param objectHandle handle of the object to read 278 * @param objectHandle the handle of the object 290 * @param objectHandle handle of the object to delete 298 * Retrieves the object handle for the parent of an object on the device. 300 * @param objectHandle handle of the object to query 301 * @return the parent's handle, or zero if it is in the root of the storage 310 * @param objectHandle handle o 414 getObjectSizeLong(int handle, int format) argument 442 native_reap_event_request(int handle) argument 443 native_discard_event_request(int handle) argument 444 native_get_object_size_long(int handle, int format) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ValidateNotificationPeople.java | 87 // maps raw person handle to resolved person object 247 for (String handle : people) { 248 if (TextUtils.isEmpty(handle)) continue; 251 final String cacheKey = getCacheKey(context.getUserId(), handle); 254 pendingLookups.add(handle); 279 private String getCacheKey(int userId, String handle) { argument 280 return Integer.toString(userId) + ":" + handle; 488 for (final String handle: mPendingLookups) { 490 final Uri uri = Uri.parse(handle); 492 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle); [all...] |
/frameworks/native/cmds/lshal/ |
H A D | test.cpp | 60 const native_handle_t *handle = hh.getNativeHandle(); variable 61 if (handle->numFds < 1) { 64 int fd = handle->data[0];
|
/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 330 data.payload.handle = target; 353 writebuf.txn.target.handle = target; 522 void bio_put_ref(struct binder_io *bio, uint32_t handle) argument 526 if (handle) 536 obj->handle = handle; 653 return obj->handle;
|
H A D | service_manager.c | 138 uint32_t handle; member in struct:svcinfo 166 if (si->handle) { 167 binder_release(bs, si->handle); 168 si->handle = 0; 182 if (!si || !si->handle) { 199 return si->handle; 202 int do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, argument 206 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 209 if (!handle || (len == 0) || (len > 127)) 214 str8(s, len), handle, ui 258 uint32_t handle; local [all...] |
/frameworks/native/libs/binder/ |
H A D | ProcessState.cpp | 231 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 234 if (N <= (size_t)handle) { 238 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 241 return &mHandleToObject.editItemAt(handle); 244 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 250 handle_entry* e = lookupHandleLocked(handle); 258 if (handle == 0) { 274 // stop special casing handle 0 for context manager and add 275 // a driver API to get a handle to the context manager with 285 b = BpBinder::create(handle); 301 getWeakProxyForHandle(int32_t handle) argument 332 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 58 handle = NULL; 86 GraphicBuffer::GraphicBuffer(const native_handle_t* handle, argument 93 mInitCheck = initWithHandle(handle, method, width, height, format, 99 if (handle) { 107 mBufferMapper.freeBuffer(handle); 110 allocator.free(handle); 112 handle = NULL; 137 if (handle && 145 if (handle) { 147 allocator.free(handle); 187 initWithHandle(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument 222 ANativeWindowBuffer::handle = handle; member in class:android::ANativeWindowBuffer [all...] |
/frameworks/native/libs/vr/libbufferhub/ |
H A D | buffer_hub-test.cpp | 765 LocalChannelHandle handle = s1.take(); local 766 EXPECT_TRUE(handle.valid()); 792 // Detached buffer handle can be use to construct a new DetachedBuffer object. 793 auto d = DetachedBuffer::Import(std::move(handle)); 794 EXPECT_FALSE(handle.valid()); 863 auto b2 = DetachedBuffer::Import(std::move(h1->handle())); 895 // Gets the channel handle for the producer. 921 // Detached buffer handle can be use to construct a new DetachedBuffer object. 935 // Gets the channel handle for the producer.
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_client.cpp | 415 ProducerQueue::ProducerQueue(LocalChannelHandle handle) argument 416 : BASE(std::move(handle)) { 463 "return %zu buffer handle(s), but returned %zu instead.", 587 LocalChannelHandle handle) { 588 return std::unique_ptr<ConsumerQueue>(new ConsumerQueue(std::move(handle))); 591 ConsumerQueue::ConsumerQueue(LocalChannelHandle handle) argument 592 : BufferHubQueue(std::move(handle)) { 586 Import( LocalChannelHandle handle) argument
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 102 // system server, it will kill itself. There is no intention to handle the poll result, 117 void SensorDevice::handleDynamicSensorConnection(int handle, bool connected) { argument 121 mActivationCount.add(handle, model); 122 checkReturn(mSensors->activate(handle, 0 /* enabled */)); 124 mActivationCount.removeItem(handle); 137 int32_t handle = s.handle; local 138 const Info& info = mActivationCount.valueFor(handle); 141 result.appendFormat("0x%08x) active-count = %zu; ", handle, info.batchParams.size()); 219 void SensorDevice::autoDisable(void *ident, int handle) { argument 230 activate(void* ident, int handle, int enabled) argument 316 batch( void* ident, int handle, int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument 379 setDelay(void* ident, int handle, int64_t samplingPeriodNs) argument 388 flush(void* ident, int handle) argument [all...] |
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 42 const DecryptHandle* handle, Parcel* data) { 43 data->writeInt32(handle->decryptId); 44 data->writeString8(handle->mimeType); 45 data->writeInt32(handle->decryptApiType); 46 data->writeInt32(handle->status); 48 int size = handle->copyControlVector.size(); 51 data->writeInt32(handle->copyControlVector.keyAt(i)); 52 data->writeInt32(handle->copyControlVector.valueAt(i)); 55 size = handle->extendedData.size(); 58 data->writeString8(handle 41 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument 69 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument 102 clearDecryptHandle(DecryptHandle* handle) argument 624 DecryptHandle* handle = NULL; local 649 DecryptHandle* handle = NULL; local 676 DecryptHandle* handle = NULL; local 1131 DecryptHandle handle; local 1151 DecryptHandle handle; local 1332 DecryptHandle* handle local 1352 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local 1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local 1396 DecryptHandle* handle = new DecryptHandle(); local 1411 DecryptHandle handle; local 1442 DecryptHandle handle; local 1498 DecryptHandle handle; local 1515 DecryptHandle handle; local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 406 DecryptHandle* handle = new DecryptHandle(); local 407 if (NULL != handle) { 408 handle->decryptId = mDecryptSessionId + 1; 413 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 423 delete handle; handle = NULL; 425 return handle; 434 DecryptHandle* handle = new DecryptHandle(); local 435 if (NULL != handle) { 436 handle 463 DecryptHandle* handle = new DecryptHandle(); local [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 270 DecryptHandle* handle = NULL; local 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 274 return handle;
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 267 int32_t DownmixLib_Release(effect_handle_t handle) { argument 268 downmix_module_t *pDwmModule = (downmix_module_t *)handle; 270 ALOGV("DownmixLib_Release() %p", handle); 271 if (handle == NULL) { 829 * pDownmixer handle to instance data 883 * pDownmixer handle to instance data
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 271 int VisualizerLib_Release(effect_handle_t handle) { argument 272 VisualizerContext * pContext = (VisualizerContext *)handle; 274 ALOGV("VisualizerLib_Release %p", handle);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 535 buffer_handle_t handle; local 547 handle = buffer->handle; 577 handle = grallocMeta.pHandle; 600 handle, 605 handle, 610 ALOGE("Unable to lock image buffer %p for access", handle); 650 if (mapper.unlock(handle) != OK) { 651 ALOGE("Unable to unlock image buffer %p for access", handle);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 428 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { argument 434 mRequest.setParameter(1, handle); 441 MtpObjectInfo* info = new MtpObjectInfo(handle); 450 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { argument 454 mRequest.setParameter(1, handle); 519 bool MtpDevice::sendObject(MtpObjectHandle handle, int size, int srcFD) { argument 523 mLastSendObjectInfoObjectHandle != handle) { 539 bool MtpDevice::deleteObject(MtpObjectHandle handle) { argument 543 mRequest.setParameter(1, handle); 552 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { argument 563 getStorageID(MtpObjectHandle handle) argument 632 getObjectPropValue(MtpObjectHandle handle, MtpProperty* property) argument 651 readObject(MtpObjectHandle handle, ReadObjectCallback callback, uint32_t expectedLength, void* clientData) argument 659 readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) argument 678 readObject(MtpObjectHandle handle, int fd) argument 683 readObjectInternal(MtpObjectHandle handle, ReadObjectCallback callback, const uint32_t* expectedLength, void* clientData) argument 803 readPartialObject(MtpObjectHandle handle, uint32_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument 825 readPartialObject64(MtpObjectHandle handle, uint64_t offset, uint32_t size, uint32_t *writtenSize, ReadObjectCallback callback, void* clientData) argument 927 reapEventRequest(int handle, uint32_t (*parameters)[3]) argument 942 discardEventRequest(int handle) argument [all...] |