Lines Matching refs:hal

26 using namespace mozilla::hal;
433 hal::UnregisterBatteryObserver(this); in ActorDestroy()
434 hal::UnregisterNetworkObserver(this); in ActorDestroy()
435 hal::UnregisterScreenConfigurationObserver(this); in ActorDestroy()
438 hal::UnregisterSensorObserver(SensorType(sensor), this); in ActorDestroy()
440 hal::UnregisterWakeLockObserver(this); in ActorDestroy()
441 hal::UnregisterSystemClockChangeObserver(this); in ActorDestroy()
442 hal::UnregisterSystemTimezoneChangeObserver(this); in ActorDestroy()
445 hal::UnregisterSwitchObserver(SwitchDevice(switchDevice), this); in ActorDestroy()
461 hal::Vibrate(pattern, newID); in RecvVibrate()
475 hal::CancelVibrate(newID); in RecvCancelVibrate()
482 hal::RegisterBatteryObserver(this); in RecvEnableBatteryNotifications()
488 hal::UnregisterBatteryObserver(this); in RecvDisableBatteryNotifications()
495 hal::GetCurrentBatteryInformation(aBatteryInfo); in RecvGetCurrentBatteryInformation()
506 hal::RegisterNetworkObserver(this); in RecvEnableNetworkNotifications()
512 hal::UnregisterNetworkObserver(this); in RecvDisableNetworkNotifications()
518 hal::GetCurrentNetworkInformation(aNetworkInfo); in RecvGetCurrentNetworkInformation()
530 hal::RegisterScreenConfigurationObserver(this); in RecvEnableScreenConfigurationNotifications()
536 hal::UnregisterScreenConfigurationObserver(this); in RecvDisableScreenConfigurationNotifications()
542 hal::GetCurrentScreenConfiguration(aScreenConfiguration); in RecvGetCurrentScreenConfiguration()
553 *aAllowed = hal::LockScreenOrientation(aOrientation); in RecvLockScreenOrientation()
560 hal::UnlockScreenOrientation(); in RecvUnlockScreenOrientation()
574 *aEnabled = hal::GetScreenEnabled(); in RecvGetScreenEnabled()
584 hal::SetScreenEnabled(aEnabled); in RecvSetScreenEnabled()
594 *aEnabled = hal::GetKeyLightEnabled(); in RecvGetKeyLightEnabled()
604 hal::SetKeyLightEnabled(aEnabled); in RecvSetKeyLightEnabled()
614 *aAllowed = hal::GetCpuSleepAllowed(); in RecvGetCpuSleepAllowed()
624 hal::SetCpuSleepAllowed(aAllowed); in RecvSetCpuSleepAllowed()
634 *aBrightness = hal::GetScreenBrightness(); in RecvGetScreenBrightness()
644 hal::SetScreenBrightness(aBrightness); in RecvSetScreenBrightness()
654 hal::AdjustSystemClock(aDeltaMilliseconds); in RecvAdjustSystemClock()
664 hal::SetTimezone(aTimezoneSpec); in RecvSetTimezone()
674 *aTimezoneSpec = hal::GetTimezone(); in RecvGetTimezone()
684 *aTimezoneOffset = hal::GetTimezoneOffset(); in RecvGetTimezoneOffset()
691 hal::RegisterSystemClockChangeObserver(this); in RecvEnableSystemClockChangeNotifications()
698 hal::UnregisterSystemClockChangeObserver(this); in RecvDisableSystemClockChangeNotifications()
705 hal::RegisterSystemTimezoneChangeObserver(this); in RecvEnableSystemTimezoneChangeNotifications()
712 hal::UnregisterSystemTimezoneChangeObserver(this); in RecvDisableSystemTimezoneChangeNotifications()
720 hal::RegisterSensorObserver(aSensor, this); in RecvEnableSensorNotifications()
726 hal::UnregisterSensorObserver(aSensor, this); in RecvDisableSensorNotifications()
743 hal::ModifyWakeLock(aTopic, aLockAdjust, aHiddenAdjust, aProcessID); in RecvModifyWakeLock()
751 hal::RegisterWakeLockObserver(this); in RecvEnableWakeLockNotifications()
758 hal::UnregisterWakeLockObserver(this); in RecvDisableWakeLockNotifications()
765 hal::GetWakeLockInfo(aTopic, aWakeLockInfo); in RecvGetWakeLockInfo()
778 hal::RegisterSwitchObserver(aDevice, this); in RecvEnableSwitchNotifications()
785 hal::UnregisterSwitchObserver(aDevice, this); in RecvDisableSwitchNotifications()
795 RecvGetCurrentSwitchState(const SwitchDevice& aDevice, hal::SwitchState *aState) override in RecvGetCurrentSwitchState()
798 *aState = hal::GetCurrentSwitchState(aDevice); in RecvGetCurrentSwitchState()
831 hal::FactoryReset(reason); in RecvFactoryReset()
846 hal::NotifyBatteryChange(aBatteryInfo); in RecvNotifyBatteryChange()
851 RecvNotifySensorChange(const hal::SensorData &aSensorData) override;
855 hal::NotifyNetworkChange(aNetworkInfo); in RecvNotifyNetworkChange()
861 hal::NotifyWakeLockChange(aWakeLockInfo); in RecvNotifyWakeLockChange()
867 hal::NotifyScreenConfigurationChange(aScreenConfiguration); in RecvNotifyScreenConfigurationChange()
872 RecvNotifySwitchChange(const mozilla::hal::SwitchEvent& aEvent) override { in RecvNotifySwitchChange()
873 hal::NotifySwitchChange(aEvent); in RecvNotifySwitchChange()
879 hal::NotifySystemClockChange(aClockDeltaMS); in RecvNotifySystemClockChange()
886 hal::NotifySystemTimezoneChange(aSystemTimezoneChangeInfo); in RecvNotifySystemTimezoneChange()
892 HalChild::RecvNotifySensorChange(const hal::SensorData &aSensorData) { in RecvNotifySensorChange()
893 hal::NotifySensorChange(aSensorData); in RecvNotifySensorChange()