示例#1
0
文件: Hal.cpp 项目: Jar-win/Waterfox
void
SetFMRadioFrequency(const uint32_t aFrequency) {
  PROXY_IF_SANDBOXED(SetFMRadioFrequency(aFrequency));
}
示例#2
0
 void EnableNotifications() {
   PROXY_IF_SANDBOXED(EnableNetworkNotifications());
 }
示例#3
0
 void GetCurrentInformationInternal(NetworkInformation* aInfo) {
   PROXY_IF_SANDBOXED(GetCurrentNetworkInformation(aInfo));
 }
示例#4
0
void FactoryReset()
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(FactoryReset());
}
示例#5
0
 void DisableNotifications() {
   PROXY_IF_SANDBOXED(DisableBatteryNotifications());
 }
示例#6
0
void
FMRadioSeek(const FMRadioSeekDirection& aDirection) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(FMRadioSeek(aDirection));
}
示例#7
0
void
SetFMRadioFrequency(const uint32_t aFrequency) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(SetFMRadioFrequency(aFrequency));
}
示例#8
0
 void DisableNotifications() {
   PROXY_IF_SANDBOXED(DisableSystemTimeChangeNotifications());
 }
示例#9
0
void 
AdjustSystemClock(int64_t aDeltaMilliseconds)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(AdjustSystemClock(aDeltaMilliseconds));
}
示例#10
0
void SetCpuSleepAllowed(bool allowed)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(SetCpuSleepAllowed(allowed));
}
示例#11
0
void SetScreenBrightness(double brightness)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(SetScreenBrightness(clamped(brightness, 0.0, 1.0)));
}
示例#12
0
void SetScreenEnabled(bool enabled)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(SetScreenEnabled(enabled));
}
示例#13
0
 void GetCurrentInformationInternal(ScreenConfiguration* aInfo) {
   PROXY_IF_SANDBOXED(GetCurrentScreenConfiguration(aInfo));
 }
示例#14
0
 void DisableNotifications() {
   PROXY_IF_SANDBOXED(DisableScreenConfigurationNotifications());
 }
示例#15
0
void
EnableFMRadio(const FMRadioSettings& aInfo) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(EnableFMRadio(aInfo));
}
示例#16
0
void 
SetTimezone(const nsCString& aTimezoneSpec)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(SetTimezone(aTimezoneSpec));
}
示例#17
0
void
DisableFMRadio() {
  AssertMainThread();
  PROXY_IF_SANDBOXED(DisableFMRadio());
}
示例#18
0
void
DisableSensorNotifications(SensorType aSensor) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(DisableSensorNotifications(aSensor));
}
示例#19
0
void
GetFMRadioSettings(FMRadioSettings* aInfo) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(GetFMRadioSettings(aInfo));
}
示例#20
0
void Reboot()
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(Reboot());
}
示例#21
0
void
CancelFMRadioSeek() {
  AssertMainThread();
  PROXY_IF_SANDBOXED(CancelFMRadioSeek());
}
示例#22
0
void PowerOff()
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(PowerOff());
}
示例#23
0
 void EnableNotifications() {
   PROXY_IF_SANDBOXED(EnableBatteryNotifications());
 }
示例#24
0
void
GetWakeLockInfo(const nsAString &aTopic, WakeLockInformation *aWakeLockInfo)
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(GetWakeLockInfo(aTopic, aWakeLockInfo));
}
示例#25
0
 void GetCurrentInformationInternal(BatteryInformation* aInfo) {
   PROXY_IF_SANDBOXED(GetCurrentBatteryInformation(aInfo));
 }
示例#26
0
void
UnlockScreenOrientation()
{
  AssertMainThread();
  PROXY_IF_SANDBOXED(UnlockScreenOrientation());
}
示例#27
0
 void DisableNotifications() {
   PROXY_IF_SANDBOXED(DisableNetworkNotifications());
 }
示例#28
0
void
DisableSwitchNotifications(hal::SwitchDevice aDevice) {
  AssertMainThread();
  PROXY_IF_SANDBOXED(DisableSwitchNotifications(aDevice));
}
示例#29
0
 void EnableNotifications() {
   PROXY_IF_SANDBOXED(EnableWakeLockNotifications());
 }
示例#30
0
文件: Hal.cpp 项目: Jar-win/Waterfox
void
FMRadioSeek(const FMRadioSeekDirection& aDirection) {
  PROXY_IF_SANDBOXED(FMRadioSeek(aDirection));
}