Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15f73c3f authored by Jiyong Park's avatar Jiyong Park Committed by Android (Google) Code Review
Browse files

Merge "Implement getInterfaceHash/Version" into tm-dev

parents 84dbe01e 3e973212
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -124,4 +124,14 @@ public class DataIndication extends IRadioDataIndication.Stub {
        NetworkSlicingConfig ret = RILUtils.convertHalSlicingConfig(slicingConfig);
        NetworkSlicingConfig ret = RILUtils.convertHalSlicingConfig(slicingConfig);
        mRil.mApnUnthrottledRegistrants.notifyRegistrants(new AsyncResult(null, ret, null));
        mRil.mApnUnthrottledRegistrants.notifyRegistrants(new AsyncResult(null, ret, null));
    }
    }

    @Override
    public String getInterfaceHash() {
        return IRadioDataIndication.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioDataIndication.VERSION;
    }
}
}
+10 −0
Original line number Original line Diff line number Diff line
@@ -227,4 +227,14 @@ public class DataResponse extends IRadioDataResponse.Stub {
            mRil.processResponseDone(rr, responseInfo, null);
            mRil.processResponseDone(rr, responseInfo, null);
        }
        }
    }
    }

    @Override
    public String getInterfaceHash() {
        return IRadioDataResponse.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioDataResponse.VERSION;
    }
}
}
+10 −0
Original line number Original line Diff line number Diff line
@@ -120,4 +120,14 @@ public class ModemIndication extends IRadioModemIndication.Stub {
        // TODO: This should not require a version number. Setting it to latest RIL version for now.
        // TODO: This should not require a version number. Setting it to latest RIL version for now.
        mRil.notifyRegistrantsRilConnectionChanged(15);
        mRil.notifyRegistrantsRilConnectionChanged(15);
    }
    }

    @Override
    public String getInterfaceHash() {
        return IRadioModemIndication.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioModemIndication.VERSION;
    }
}
}
+10 −0
Original line number Original line Diff line number Diff line
@@ -255,4 +255,14 @@ public class ModemResponse extends IRadioModemResponse.Stub {
                    "Radio power failure");
                    "Radio power failure");
        }
        }
    }
    }

    @Override
    public String getInterfaceHash() {
        return IRadioModemResponse.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioModemResponse.VERSION;
    }
}
}
+10 −0
Original line number Original line Diff line number Diff line
@@ -366,4 +366,14 @@ public class NetworkIndication extends IRadioNetworkIndication.Stub {
        mRil.mVoiceRadioTechChangedRegistrants.notifyRegistrants(
        mRil.mVoiceRadioTechChangedRegistrants.notifyRegistrants(
                new AsyncResult(null, response, null));
                new AsyncResult(null, response, null));
    }
    }

    @Override
    public String getInterfaceHash() {
        return IRadioNetworkIndication.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioNetworkIndication.VERSION;
    }
}
}
Loading