Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java122 mHandleToSensor.put(sensor.getHandle(), sensor); in SystemSensorManager()
327 int ret = sInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, in injectSensorDataImpl()
339 mHandleToSensor.remove(sensor.getHandle()); in cleanupSensorConnection()
390 mHandleToSensor.put(s.getHandle(), s); in updateDynamicSensorList()
495 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()
502 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
512 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
543 int sensorHandle = (sensor == null) ? -1 : sensor.getHandle(); in configureDirectChannelImpl()
666 int handle = sensor.getHandle(); in addSensor()
701 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.java486 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
506 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE || in unloadKeyphraseSoundModel()
519 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel()
558 int status = mModule.unloadSoundModel(modelData.getHandle()); in unloadGenericSoundModel()
599 return mModule.getModelState(modelData.getHandle()); in getGenericModelState()
969 modelData.getHandle(), e); in sendErrorCallbacksToAllLocked()
1005 Slog.d(TAG, "Stopping previously started dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
1006 if (mModule.stopRecognition(modelData.getHandle()) != STATUS_OK) { in forceStopAndUnloadModelLocked()
1010 Slog.e(TAG, "Failed to stop model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
1014 Slog.d(TAG, "Unloading previously loaded dangling model " + modelData.getHandle()); in forceStopAndUnloadModelLocked()
[all …]
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp99 mModel.getHandle(), devices.data(), devices.size(), supported), in checkSupportedOperations()
112 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in prepareForExecution()
251 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in TEST_F()
262 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in TEST_F()
299 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in TEST_F()
318 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in TEST_F()
337 ASSERT_EQ(ANeuralNetworksCompilation_createForDevices(mModel.getHandle(), mDevices.data(), in TEST_F()
/frameworks/ml/nn/runtime/test/
DTestNeuralNetworksWrapper.h230 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle() function
256 model->getHandle(), devices.empty() ? nullptr : devices.data(), devices.size(), in createForDevices()
262 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation()
311 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle() function
322 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution()
323 int result = ANeuralNetworksExecution_create(compilation->getHandle(), &mExecution); in Execution()
404 [](const Event* e) { return e->getHandle(); }); in startComputeWithDependencies()
485 ANeuralNetworksExecution* getHandle() { return mExecution; }; in getHandle() function
DTestMemoryDomain.cpp217 const auto* annCompilation = compilation.getHandle(); in allocateDeviceMemory()
285 ASSERT_NE(compilation.getHandle(), nullptr); in TEST_P()
321 ASSERT_NE(compilation.getHandle(), nullptr); in TEST_P()
406 ASSERT_NE(compilation.getHandle(), nullptr); in TEST_P()
439 ASSERT_NE(compilation.getHandle(), nullptr); in TEST_F()
/frameworks/base/core/jni/
Dandroid_os_HidlMemory.cpp35 jmethodID getHandle; // NativeHandle HidlMemory.getHandle() member
105 jobject jhandle = env->CallObjectMethod(jobj, gFields.getHandle); in javaToNative()
151 gFields.getHandle = GetMethodIDOrDie(env, in register_android_os_HidlMemory()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp130 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
135 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
153 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp249 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
263 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
283 composer->addRegionSamplingListener(greenSampleArea, mTopLayer->getHandle(), greenListener); in TEST_F()
287 composer->addRegionSamplingListener(graySampleArea, mTopLayer->getHandle(), grayListener); in TEST_F()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp32 a.getHandle() == b.getHandle () && in sensorsMatch()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h298 ANeuralNetworksModel* getHandle() const { return mModel; } in getHandle() function
343 ANeuralNetworksEvent* getHandle() const { return mEvent; } in getHandle() function
352 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation()
399 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle() function
408 int result = ANeuralNetworksExecution_create(compilation->getHandle(), &mExecution); in Execution()
470 [](const Event* e) { return e->getHandle(); }); in startComputeWithDependencies()
/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java103 win.mWinAnimator.mSurfaceController.getHandle(), win.getFrameNumber()); in finish()
105 win.mWinAnimator.mSurfaceController.getHandle(), win.getFrameNumber()); in finish()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp979 .reparent(layerR, parent->getHandle()) in TEST_P()
980 .reparent(layerG, parent->getHandle()) in TEST_P()
1009 .setRelativeLayer(layerG, layerR->getHandle(), 1) in setRelativeZBasicHelper()
1016 .setRelativeLayer(layerG, layerR->getHandle(), 1) in setRelativeZBasicHelper()
1029 Transaction().setRelativeLayer(layerG, layerR->getHandle(), -1).apply(); in setRelativeZBasicHelper()
1062 .reparent(layerB, parent->getHandle()) in TEST_P()
1066 Transaction().setRelativeLayer(layerG, layerR->getHandle(), -1).setLayer(layerB, -2).apply(); in TEST_P()
1070 sp<IBinder> parentHandle = parent->getHandle(); in TEST_P()
1096 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P()
1110 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P()
[all …]
DInvalidHandles_test.cpp63 sf->captureLayers(mNotSc->getHandle(), &outBuffer, Rect::EMPTY_RECT, 1.0f)); in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java135 glUniform1f(mWallpaper.getHandle(ImageGLWallpaper.U_AOD2OPACITY), 1); in onDrawFrame()
136 glUniform1f(mWallpaper.getHandle(ImageGLWallpaper.U_PER85), threshold); in onDrawFrame()
137 glUniform1f(mWallpaper.getHandle(ImageGLWallpaper.U_REVEAL), reveal); in onDrawFrame()
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/base/opengl/java/android/opengl/
DEGLObjectHandle.java43 public int getHandle() { in getHandle() method in EGLObjectHandle
/frameworks/base/native/android/
Dsensor.cpp201 sensorHandle = static_cast<Sensor const *>(sensor)->getHandle(); in ASensorManager_configureDirectReport()
219 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()
357 return static_cast<Sensor const*>(sensor)->getHandle(); in ASensor_getHandle()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java37 public String getHandle() { in getHandle() method in CallInfo
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DConferenceParticipant.java145 Uri address = getHandle(); in getParticipantPresentation()
230 public Uri getHandle() { in getHandle() method in ConferenceParticipant
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp181 aaudio_handle_t handle = serviceStream->getHandle(); in binderDied()
205 << serviceStream->getHandle() in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h34 audio_patch_handle_t getHandle() const { return mHandle; } in getHandle() function

12345