NS_IMETHOD Run() {
   hal::FMRadioOperationInformation info;
   info.operation() = mOp;
   info.status() = mStatus;
   info.frequency() = GetFMRadioFrequency();
   hal::NotifyFMRadioStatus(info);
   return NS_OK;
 }
Beispiel #2
0
uint32_t
GetFMRadioFrequency() {
  AssertMainThread();
  RETURN_PROXY_IF_SANDBOXED(GetFMRadioFrequency(), 0);
}