Home
last modified time | relevance | path

Searched refs:appHeader (Results 1 – 4 of 4) sorted by relevance

/system/chre/chpp/test/
Dtransport_test.cpp152 EXPECT_EQ(response->appHeader.handle, handle); in validateChppTestResponse()
153 EXPECT_EQ(response->appHeader.type, CHPP_MESSAGE_TYPE_SERVICE_RESPONSE); in validateChppTestResponse()
154 EXPECT_EQ(response->appHeader.transaction, transactionID); in validateChppTestResponse()
157 return response->appHeader.error; in validateChppTestResponse()
229 ChppAppHeader appHeader = {}; in addAppHeaderToBuf() local
230 appHeader.handle = CHPP_HANDLE_NEGOTIATED_RANGE_START; in addAppHeaderToBuf()
231 appHeader.type = CHPP_MESSAGE_TYPE_CLIENT_REQUEST; in addAppHeaderToBuf()
232 appHeader.transaction = 0; in addAppHeaderToBuf()
233 appHeader.error = CHPP_APP_ERROR_NONE; in addAppHeaderToBuf()
234 appHeader.command = 0; in addAppHeaderToBuf()
[all …]
Dtransport_test.h37 struct ChppAppHeader appHeader; member
/system/chre/host/common/
Ddaemon_base.cc83 const auto *appHeader = in loadNanoapp() local
87 uint32_t targetApiVersion = (appHeader->targetChreApiMajorVersion << 24) | in loadNanoapp()
88 (appHeader->targetChreApiMinorVersion << 16); in loadNanoapp()
90 success = sendNanoappLoad(appHeader->appId, appHeader->appVersion, in loadNanoapp()
/system/chre/host/common/test/
Dchre_test_client.cc236 const auto *appHeader = in sendLoadNanoappRequest() local
240 uint32_t targetApiVersion = (appHeader->targetChreApiMajorVersion << 24) | in sendLoadNanoappRequest()
241 (appHeader->targetChreApiMinorVersion << 16); in sendLoadNanoappRequest()
243 sendNanoappLoad(client, appHeader->appId, appHeader->appVersion, in sendLoadNanoappRequest()
244 targetApiVersion, appHeader->flags, binaryBuffer); in sendLoadNanoappRequest()