Home
last modified time | relevance | path

Searched refs:getHandle (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java121 mHandleToSensor.put(sensor.getHandle(), sensor); in SystemSensorManager()
326 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
338 mHandleToSensor.remove(sensor.getHandle()); in cleanupSensorConnection()
389 mHandleToSensor.put(s.getHandle(), s); in updateDynamicSensorList()
494 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()
501 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
511 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
542 int sensorHandle = (sensor == null) ? -1 : sensor.getHandle(); in configureDirectChannelImpl()
665 int handle = sensor.getHandle(); in addSensor()
700 final int handle = sensor.getHandle(); in removeSensor()
[all …]
/frameworks/native/services/sensorservice/
DSensorFusion.cpp148 mSensorDevice.activate(ident, mAcc.getHandle(), enabled); in activate()
150 mSensorDevice.activate(ident, mMag.getHandle(), enabled); in activate()
153 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DCorrectedGyroSensor.cpp71 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
76 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns); in setDelay()
DSensorInterface.cpp62 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled); in activate()
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
DSensorList.cpp32 if (handle == si->getSensor().getHandle() && in add()
128 s.getHandle(), in dump()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java480 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
500 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE || in unloadKeyphraseSoundModel()
513 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel()
549 int status = mModule.unloadSoundModel(modelData.getHandle()); in unloadGenericSoundModel()
920 modelData.getHandle(), e); in sendErrorCallbacksToAllLocked()
953 Slog.d(TAG, "Stopping previously started dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
954 if (mModule.stopRecognition(modelData.getHandle()) != STATUS_OK) { in forceStopAndUnloadModelLocked()
958 Slog.e(TAG, "Failed to stop model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
962 Slog.d(TAG, "Unloading previously loaded dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
963 if (mModule.unloadSoundModel(modelData.getHandle()) == STATUS_OK) { in forceStopAndUnloadModelLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java202 … t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent.getHandle());
231 t.reparent(surface, mLeash.getHandle());
232 t.reparent(mLeash, parent.getHandle());
278 t.reparent(surface, parent.getHandle());
311 t.reparent(surface, leash.getHandle());
DWindowSurfaceController.java129 mSurfaceControl.reparentChildren(other.getHandle()); in reparentChildrenInTransaction()
490 IBinder getHandle() { in getHandle() method in WindowSurfaceController
494 return mSurfaceControl.getHandle(); in getHandle()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp129 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
134 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
152 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp662 .setRelativeLayer(layerG, layerR->getHandle(), 1) in TEST_F()
671 Transaction().setRelativeLayer(layerG, layerR->getHandle(), -1).apply(); in TEST_F()
692 Transaction().setRelativeLayer(layerG, layerR->getHandle(), -1).setLayer(layerB, -2).apply(); in TEST_F()
714 .setRelativeLayer(layerG, layerR->getHandle(), 3) in TEST_F()
737 Transaction().setRelativeLayer(layerG, layerR->getHandle(), -3).apply(); in TEST_F()
778 .setRelativeLayer(layerG, layerR->getHandle(), 1) in TEST_F()
781 mClient->destroySurface(layerG->getHandle()); in TEST_F()
1028 .reparent(colorLayer, parentLayer->getHandle()) in TEST_F()
1599 .setRelativeLayer(relative, mFGSurfaceControl->getHandle(), 1) in TEST_F()
1732 t.deferTransactionUntil(mFGSurfaceControl, mSyncSurfaceControl->getHandle(), in TEST_F()
[all …]
DStress_test.cpp37 client->destroySurface(surf->getHandle()); in TEST()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp32 a.getHandle() == b.getHandle () && in sensorsMatch()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h202 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle() function
253 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation()
287 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle() function
296 int result = ANeuralNetworksExecution_create(compilation->getHandle(), &mExecution); in Execution()
/frameworks/base/opengl/java/android/opengl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java37 public String getHandle() { in getHandle() method in CallInfo
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp179 aaudio_handle_t handle = serviceStream->getHandle(); in binderDied()
203 << serviceStream->getHandle() in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioSourceDescriptor.h40 audio_patch_handle_t getHandle() const { return mPatchDesc->mHandle; } in getHandle() function
/frameworks/native/libs/gui/include/gui/
DSurfaceControl.h72 sp<IBinder> getHandle() const;
/frameworks/base/core/jni/
Dandroid_os_HwBlob.h44 status_t getHandle(size_t *handle) const;
/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp215 reinterpret_cast<const ModelBuilder*>(model.getHandle())->setHidlModel(&hidlModel); in graphDump()
336 return reinterpret_cast<ModelBuilder*>(getHandle())->partitionTheWork( in partitionTheWork()
343 const ModelBuilder* mb = reinterpret_cast<const ModelBuilder*>(getHandle()); in dump()
363 reinterpret_cast<const ModelBuilder*>(getHandle())->getOperand(operand); in addOperandOfSameType()
394 return reinterpret_cast<CompilationBuilder*>(getHandle()); in builder()
398 return reinterpret_cast<const CompilationBuilder*>(getHandle()); in builder()
747 reinterpret_cast<const ModelBuilder*>(model->getHandle())); in compare()
/frameworks/base/telecomm/java/android/telecom/
DConferenceParticipant.java131 public Uri getHandle() { in getHandle() method in ConferenceParticipant
/frameworks/native/libs/sensor/include/sensor/
DSensor.h74 int32_t getHandle() const;
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp38 dst.sensorHandle = src.getHandle(); in convertSensor()
/frameworks/base/native/android/
Dsensor.cpp200 sensorHandle = static_cast<Sensor const *>(sensor)->getHandle(); in ASensorManager_configureDirectReport()
218 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()

1234