Searched refs:handle (Results 201 - 225 of 490) sorted by relevance

1234567891011>>

/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DEntityDeletionOrUpdateAdapter.java66 public final int handle(T entity) { method in class:EntityDeletionOrUpdateAdapter
/frameworks/av/include/media/audiohal/
H A DDeviceHalInterface.h71 audio_io_handle_t handle,
81 audio_io_handle_t handle,
/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DDeviceHalInterface.h71 audio_io_handle_t handle,
81 audio_io_handle_t handle,
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) argument
28 : mHandle(handle),
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp47 audio_io_handle_t handle,
94 handle,
46 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp178 NativeInputWindowHandle* handle; local
180 handle = reinterpret_cast<NativeInputWindowHandle*>(ptr);
189 handle = new NativeInputWindowHandle(inputApplicationHandle, objWeak);
190 handle->incStrong((void*)android_server_InputWindowHandle_getHandle);
192 reinterpret_cast<jlong>(handle));
194 return handle;
207 NativeInputWindowHandle* handle = reinterpret_cast<NativeInputWindowHandle*>(ptr); local
208 handle->decStrong((void*)android_server_InputWindowHandle_getHandle);
H A Dcom_android_server_locksettings_SyntheticPasswordManager.cpp41 const gatekeeper::password_handle_t *handle = local
43 jlong sid = handle->user_id;
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
H A DVtsHalSensorManagerV1_0TargetTest.cpp117 if (mem.handle() == nullptr || mem.handle()->numFds != 1) {
121 void *buf = mmap(nullptr, size, PROT_READ, MAP_SHARED, mem.handle()->data[0], 0);
148 ASSERT_NE(mem.handle(), nullptr);
207 int32_t handle;
210 handle = info.sensorHandle;
235 ASSERT_OK(chan->configure(handle, RateLevel::FAST, [&](auto token, auto res) {
241 ASSERT_OK(chan->configure(handle, RateLevel::STOP, [](auto token, auto res) {
253 << "configure token and sensor handle don't match.";
/frameworks/native/libs/sensor/include/sensor/
H A DSensorEventQueue.h87 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
89 status_t disableSensor(int32_t handle) const;
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dipc_helper.h70 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
71 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
72 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
74 const LocalChannelHandle& handle) override;
76 const BorrowedChannelHandle& handle) override;
78 const RemoteChannelHandle& handle) override;
98 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
100 LocalChannelHandle* handle) override;
/frameworks/native/services/sensorservice/
H A DSensorRegistrationInfo.h37 SensorRegistrationInfo(int32_t handle, const String8 &packageName, argument
39 mSensorHandle = handle;
/frameworks/av/media/libaudiohal/2.0/
H A DDeviceHalLocal.cpp105 audio_io_handle_t handle,
112 ALOGV("open_output_stream handle: %d devices: %x flags: %#x"
114 handle, devices, flags,
118 mDev, handle, devices, flags, config, &halStream, address);
127 audio_io_handle_t handle,
135 ALOGV("open_input_stream handle: %d devices: %x flags: %#x "
137 handle, devices, flags,
141 mDev, handle, devices, config, &halStream, flags, address, source);
104 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
126 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
/frameworks/av/media/libaudiohal/4.0/
H A DDeviceHalLocal.cpp106 audio_io_handle_t handle,
113 ALOGV("open_output_stream handle: %d devices: %x flags: %#x"
115 handle, devices, flags,
119 mDev, handle, devices, flags, config, &halStream, address);
128 audio_io_handle_t handle,
136 ALOGV("open_input_stream handle: %d devices: %x flags: %#x "
138 handle, devices, flags,
142 mDev, handle, devices, config, &halStream, flags, address, source);
105 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
127 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp56 jfieldID handle; member in struct:__anon839::SensorOffsets
99 sensorOffsets.handle = GetFieldIDOrDie(_env, sensorClass, "mHandle", "I");
171 env->SetIntField(sensor, sensorOffsets.handle, nativeSensor.getHandle());
241 native_handle_t *handle = native_handle_init(ashmemHandle, 1, 0); local
242 handle->data[0] = fd;
243 nativeHandle = handle;
273 jint handle, jint type, jfloatArray floats, jintArray ints) {
288 return mgr->setOperationParameter(handle, type, floatVector, int32Vector);
348 value[1] = float(buffer[i].dynamic_sensor_meta.handle);
446 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jin argument
272 nativeSetOperationParameter(JNIEnv *_env, jclass _this, jlong sensorManager, jint handle, jint type, jfloatArray floats, jintArray ints) argument
453 nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) argument
469 nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jfloatArray values, jint accuracy, jlong timestamp) argument
[all...]
H A Dandroid_os_HwBlob.cpp99 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/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java87 // 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/libs/vr/libpdx/private/pdx/
H A Dservice.h149 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
150 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
151 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
153 const LocalChannelHandle& handle) override;
155 const BorrowedChannelHandle& handle) override;
157 const RemoteChannelHandle& handle) override;
160 bool GetFileHandle(FileReference ref, LocalHandle* handle) override;
162 LocalChannelHandle* handle) override;
170 Status<void> Reply(const LocalHandle& handle);
171 Status<void> Reply(const BorrowedHandle& handle);
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle);
110 native_handle_t* handle) {
113 source->recordingFrameHandleCallbackTimestamp(timestamp/1000, handle);
963 native_handle_t* handle = nullptr; local
970 handle = metadata->pHandle;
974 if (handle != nullptr) {
991 // Frame contains a VideoNativeHandleMetadata. Send the handle back to camera.
992 releaseRecordingFrameHandle(handle);
997 mInflightReturnedHandles.push_back(handle);
1190 void CameraSource::releaseRecordingFrameHandle(native_handle_t* handle) { argument
109 postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) argument
1218 recordingFrameHandleCallbackTimestamp(int64_t timestampUs, native_handle_t* handle) argument
1268 native_handle_t* handle = handles[i]; local
1422 recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp406 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/services/soundtrigger/
H A DSoundTriggerHalHidl.cpp142 sound_model_handle_t *handle)
144 if (handle == NULL) {
226 *handle = (sound_model_handle_t)modelId;
227 sp<SoundModel> model = new SoundModel(*handle, callback, cookie, halHandle);
228 mSoundModels.add(*handle, model);
238 int SoundTriggerHalHidl::unloadSoundModel(sound_model_handle_t handle) argument
245 sp<SoundModel> model = removeModel(handle);
247 ALOGE("unloadSoundModel model not found for handle %u", handle);
265 int SoundTriggerHalHidl::startRecognition(sound_model_handle_t handle, argument
139 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument
313 stopRecognition(sound_model_handle_t handle) argument
391 getModel(sound_model_handle_t handle) argument
397 removeModel(sound_model_handle_t handle) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper.cpp53 // handle transmissions interrupted by signals.
106 // to handle transmissions interrupted by signals as well as the case when
241 Status<FileReference> SendPayload::PushFileHandle(const LocalHandle& handle) { argument
242 if (handle) {
244 file_handles_.push_back(handle.Get());
247 return handle.Get();
252 const BorrowedHandle& handle) {
253 if (handle) {
255 file_handles_.push_back(handle.Get());
258 return handle
251 PushFileHandle( const BorrowedHandle& handle) argument
262 PushFileHandle(const RemoteHandle& handle) argument
352 GetFileHandle(FileReference ref, LocalHandle* handle) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c103 void *handle = NULL; local
133 handle = dlopen("libstagefright.so", RTLD_NOW);
134 if(handle == 0)
140 pfunc = dlsym(handle, "voGetAMRWBEncAPI");
256 dlclose(handle);
/frameworks/av/media/libstagefright/omx/1.0/
H A DOmx.cpp103 OMX_COMPONENTTYPE *handle; local
106 instance.get(), &handle);
116 instance->setHandle(handle);
213 if (instance->handle() != NULL) {
215 static_cast<OMX_COMPONENTTYPE*>(instance->handle()));
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp513 void CameraClient::releaseRecordingFrameHandle(native_handle_t *handle) { argument
514 if (handle == nullptr) return;
526 ALOGE("%s: %d: No callback buffer available. Dropping a native handle.", __FUNCTION__,
528 native_handle_close(handle);
529 native_handle_delete(handle);
534 native_handle_close(handle);
535 native_handle_delete(handle);
542 metadata->pHandle = handle;
556 for (auto& handle : handles) {
581 metadata->pHandle = handle;
935 native_handle_t* handle = nullptr; local
1093 native_handle_t* handle = nullptr; local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGatt.java340 public void onCharacteristicRead(String address, int status, int handle,
344 + " handle=" + handle + " Status=" + status);
361 mService.readCharacteristic(mClientIf, address, handle, authReq);
372 handle);
397 public void onCharacteristicWrite(String address, int status, int handle) {
400 + " handle=" + handle + " Status=" + status);
412 handle);
421 mService.writeCharacteristic(mClientIf, address, handle,
[all...]

Completed in 502 milliseconds

1234567891011>>