B2G/hardware/ril/mock-ril/src/js/mock_ril.js
/**
 * Start the mock rill after loading
 */
Start the mock rill after loading
Start the mock rill after loading
function startMockRil() {
    print("startMockRil E:");
    setRadioState(RADIOSTATE_SIM_READY);
    simulatedRadioWorker.addDelayed({
      'reqNum' : CMD_UNSOL_SIGNAL_STRENGTH}, 5000);
    print("startMockRil X:");
}
function startMockRil ( ) { print ( "startMockRil E:" ) ; setRadioState ( RADIOSTATE_SIM_READY ) ; simulatedRadioWorker . addDelayed ( { 'reqNum' : CMD_UNSOL_SIGNAL_STRENGTH } , 5000 ) ; print ( "startMockRil X:" ) ; }
Start the mock rill after loading
Start the mock rill after loading
// send the signal strength after 5 seconds, wait until mock ril is started