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

Commit c070e1ba authored by Roshan Pius's avatar Roshan Pius Committed by Automerger Merge Worker
Browse files

Merge "Nfc AIdl interface updated following" into main am: e8ba6317

parents 2fc593a6 e8ba6317
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49,4 +49,5 @@ parcelable NfcConfig {
  byte[] offHostRouteUicc;
  byte[] offHostRouteEse;
  byte defaultIsoDepRoute;
  byte[] offHostSimPipeIds = {};
}
+4 −0
Original line number Diff line number Diff line
@@ -86,4 +86,8 @@ parcelable NfcConfig {
     * Default IsoDep route. 0x00 if there aren't any. Refer to NCI spec.
     */
    byte defaultIsoDepRoute;
    /**
     * Pipe IDs for UICC. Empty if not available
     */
    byte[] offHostSimPipeIds = {};
}
+5 −0
Original line number Diff line number Diff line
@@ -423,6 +423,11 @@ TEST_P(NfcAidl, CheckGetConfigValues) {
        EXPECT_GE((uint8_t)configValue.defaultIsoDepRoute, MIN_OFFHOST_ROUTE_ID);
        EXPECT_LE((uint8_t)configValue.defaultIsoDepRoute, MAX_OFFHOST_ROUTE_ID);
    }
    for (auto simPipeId : configValue.offHostSimPipeIds) {
        LOG(INFO) << StringPrintf("offHostSimPipeId= %x", simPipeId);
        EXPECT_GE(simPipeId, MIN_OFFHOST_ROUTE_ID);
        EXPECT_LE(simPipeId, MAX_OFFHOST_ROUTE_ID);
    }
}

/*