/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 268 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { argument 269 ALOGV("sendObjectAdded %d\n", handle); 270 sendEvent(MTP_EVENT_OBJECT_ADDED, handle); 273 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { argument 274 ALOGV("sendObjectRemoved %d\n", handle); 275 sendEvent(MTP_EVENT_OBJECT_REMOVED, handle); 303 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument 305 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 309 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { argument 313 if (edit->mHandle == handle) retur 318 removeEditObject(MtpObjectHandle handle) argument 981 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, local [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorEventConnection.cpp | 92 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { argument 94 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); 97 mSensorInfo.indexOfKey(handle) >= 0) { 100 mSensorInfo.add(handle, FlushInfo()); 104 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { argument 106 if (mSensorInfo.removeItem(handle) >= 0) { 112 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { 114 return mSensorInfo.indexOfKey(handle) >= 0; 125 const int handle = mSensorInfo.keyAt(i); local 126 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); 138 setFirstFlushPending(int32_t handle, bool value) argument 169 const int handle = mSensorInfo.keyAt(i); local 199 incrementPendingFlushCount(int32_t handle) argument 391 const int handle = mSensorInfo.keyAt(i); local 504 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument 519 setEventRate( int handle, nsecs_t samplingPeriodNs) argument 529 configureChannel(int handle, int rateLevel) argument [all...] |
H A D | SensorDevice.h | 76 void handleDynamicSensorConnection(int handle, bool connected); 82 status_t activate(void* ident, int handle, int enabled); 83 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 86 status_t setDelay(void* ident, int handle, int64_t ns); 87 status_t flush(void* ident, int handle); 98 void autoDisable(void *ident, int handle);
|
H A D | CorrectedGyroSensor.h | 41 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
H A D | GravitySensor.h | 41 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
H A D | LinearAccelerationSensor.h | 43 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
/frameworks/av/camera/ |
H A D | ICameraClient.cpp | 86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 91 data.writeNativeHandle(handle); 112 for (auto& handle : handles) { 113 data.writeNativeHandle(handle); 171 native_handle_t* handle = data.readNativeHandle(); local 172 if (handle == nullptr) { 173 ALOGE("%s: Received a null native handle", __FUNCTION__); 177 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle. 178 recordingFrameHandleCallbackTimestamp(timestamp, handle); 203 native_handle_t* handle local [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 71 descriptor.handle = 73 ALOGI("loaded default module %s, handle %d", descriptor.properties.description, 74 descriptor.handle); 77 mModules.add(descriptor.handle, module); 108 status_t SoundTriggerHwService::attach(const sound_trigger_module_handle_t handle, argument 112 ALOGV("attach module %d", handle); 122 ssize_t index = mModules.indexOfKey(handle); 567 sound_model_handle_t *handle) 569 ALOGV("loadSoundModel() handle"); 606 this, handle); 565 loadSoundModel(const sp<IMemory>& modelMemory, sp<ModuleClient> moduleClient, sound_model_handle_t *handle) argument 627 unloadSoundModel(sound_model_handle_t handle) argument 634 unloadSoundModel_l(sound_model_handle_t handle) argument 653 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 706 stopRecognition(sound_model_handle_t handle) argument 801 getModel( sound_model_handle_t handle) argument 906 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle, audio_devices_t device, sound_trigger_sound_model_type_t type, sp<ModuleClient>& moduleClient) argument 964 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 979 unloadSoundModel(sound_model_handle_t handle) argument 993 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 1008 stopRecognition(sound_model_handle_t handle) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | ProcessState.cpp | 179 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 182 if (N <= (size_t)handle) { 186 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 189 return &mHandleToObject.editItemAt(handle); 192 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 198 handle_entry* e = lookupHandleLocked(handle); 206 if (handle == 0) { 222 // stop special casing handle 0 for context manager and add 223 // a driver API to get a handle to the context manager with 233 b = new BpBinder(handle); 249 getWeakProxyForHandle(int32_t handle) argument 280 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 110 OMX_COMPONENTTYPE *handle; local 113 instance.get(), &handle); 120 instance->setHandle(handle); 164 CHECK(instance->handle() != NULL); 166 static_cast<OMX_COMPONENTTYPE *>(instance->handle())); 167 ALOGV("freeNode: handle destroyed: %p", instance->handle());
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 97 buffer_handle_t* handle, uint32_t* stride, 118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle); 132 list.add(*handle, rec); 144 status_t GraphicBufferAllocator::free(buffer_handle_t handle) argument 149 // mapper to get the handle. We just need to free the handle now. 150 mMapper.freeBuffer(handle); 154 list.removeItem(handle); 95 allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, buffer_handle_t* handle, uint32_t* stride, uint64_t , std::string requestorName) argument
|
/frameworks/av/media/mtp/tests/ |
H A D | MtpFfsHandle_test.cpp | 54 std::unique_ptr<IMtpHandle> handle; member in class:android::MtpFfsHandleTest 65 handle = std::unique_ptr<IMtpHandle>(get_ffs_handle()); 66 MtpFfsHandle *ffs_handle = static_cast<MtpFfsHandle*>(handle.get()); 94 EXPECT_EQ(handle->read(buf, TEST_PACKET_SIZE), TEST_PACKET_SIZE); 101 EXPECT_EQ(handle->write(dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE); 119 EXPECT_EQ(handle->receiveFile(mfr, false), 0); 139 EXPECT_EQ(handle->receiveFile(mfr, false), 0); 162 EXPECT_EQ(handle->sendFile(mfr), 0); 191 EXPECT_EQ(handle->sendFile(mfr), 0); 228 EXPECT_EQ(handle [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_HwBlob.h | 37 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle); 42 void setTo(const void *ptr, size_t handle); 44 status_t getHandle(size_t *handle) const;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserState.java | 64 public UserState(UserHandle handle) { argument 65 mHandle = handle; 66 mUnlockProgress = new ProgressReporter(handle.getIdentifier());
|
/frameworks/av/include/drm/ |
H A D | drm_framework_common.h | 254 * Defines decryption handle 321 bool operator<(const DecryptHandle& handle) const { 322 return (decryptId < handle.decryptId); 325 bool operator==(const DecryptHandle& handle) const { 326 return (decryptId == handle.decryptId);
|
/frameworks/av/include/media/ |
H A D | EffectsFactoryApi.h | 91 // 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/include/media/stagefright/ |
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/av/media/libeffects/factory/include/media/ |
H A D | EffectsFactoryApi.h | 91 // 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 D | DrcPresModeWrap.h | 33 void setDecoderHandle(const HANDLE_AACDECODER handle);
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
H A D | amrwbdec_test.cpp | 82 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local 83 if (handle == NULL) { 163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels); 168 sf_close(handle);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/av/media/libstagefright/include/ |
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 48 AnimationHandle* handle = new AnimationHandle(node, *this); local 49 addAnimationHandle(handle); 53 void AnimationContext::addAnimationHandle(AnimationHandle* handle) { argument 54 handle->insertAfter(&mNextFrameAnimations); 115 "Releasing the handle for an RenderNode with outstanding animators!");
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 199 * @param objectHandle handle of the object to read 214 * @param objectHandle handle of the object to read 236 * @param objectHandle handle of the object to read 255 * @param objectHandle handle of the object to read 275 * @param objectHandle the handle of the object 287 * @param objectHandle handle of the object to delete 295 * Retrieves the object handle for the parent of an object on the device. 297 * @param objectHandle handle of the object to query 298 * @return the parent's handle, or zero if it is in the root of the storage 307 * @param objectHandle handle o 411 getObjectSizeLong(int handle, int format) argument 439 native_reap_event_request(int handle) argument 440 native_discard_event_request(int handle) argument 441 native_get_object_size_long(int handle, int format) argument [all...] |
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | service_endpoint.h | 56 Message* message, const LocalChannelHandle& handle) override; 58 Message* message, const BorrowedChannelHandle& handle) override; 60 Message* message, const RemoteChannelHandle& handle) override; 66 const LocalHandle& handle) override; 68 const BorrowedHandle& handle) override; 70 const RemoteHandle& handle) override; 72 Message* message, const LocalChannelHandle& handle) override; 74 Message* message, const BorrowedChannelHandle& handle) override; 76 Message* message, const RemoteChannelHandle& handle) override;
|