Searched refs:sensorInterface (Results 1 – 4 of 4) sorted by relevance
100 sensorInterface = NewSensorInterfaceInstance(); in Init()101 if (sensorInterface == nullptr) { in Init()113 if (sensorInterface == nullptr || sensorInterface->GetAllSensors == nullptr) { in GetAllSensorInfo()164 if (sensorInterface == nullptr || sensorInterface->Enable == nullptr) { in Enable()182 if (sensorInterface == nullptr || sensorInterface->Disable == nullptr) { in Disable()201 if (sensorInterface == nullptr || sensorInterface->SetBatch == nullptr) { in SetBatch()220 if (sensorInterface == nullptr || sensorInterface->SetMode == nullptr) { in SetMode()239 if (sensorInterface == nullptr || sensorInterface->SetOption == nullptr) { in SetOption()257 if (sensorInterface == nullptr || sensorInterface->Register == nullptr) { in Register()305 if (sensorInterface == nullptr || sensorInterface->Unregister == nullptr) { in Unregister()[all …]
31 SensorImpl(): sensorInterface(NULL) {} in SensorImpl()46 const SensorInterface *sensorInterface;
41 sptr<ISensorInterface> sensorInterface = ISensorInterface::Get(); in SensorRegisterAndUnregisterCallbackFuzzTest() local46 ret = sensorInterface->Register(*(int32_t *)data, registerCallback); in SensorRegisterAndUnregisterCallbackFuzzTest()54 ret = sensorInterface->Unregister(*(int32_t *)data, registerCallback); in SensorRegisterAndUnregisterCallbackFuzzTest()
68 sptr<SensorInterfaceStub> sensorInterface = new SensorInterfaceStub(g_sensorInterface); in DoSomethingInterestingWithMyAPI() local69 if (sensorInterface == nullptr) { in DoSomethingInterestingWithMyAPI()73 sensorInterface->OnRemoteRequest(code, data, reply, option); in DoSomethingInterestingWithMyAPI()