Home
last modified time | relevance | path

Searched refs:mContextHubInfo (Results 1 – 16 of 16) sorted by relevance

/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorBase.java50 private final ContextHubInfo mContextHubInfo; field in ChreCrossValidatorBase
71 mContextHubInfo = contextHubInfo; in ChreCrossValidatorBase()
86 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, callback); in ChreCrossValidatorBase()
96 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNappBinary); in init()
117 mContextHubManager, mContextHubInfo, mNappBinary.getNanoAppId()); in deinit()
135 ChreTestUtil.queryNanoAppsAssertSuccess(mContextHubManager, mContextHubInfo); in unloadAllNanoApps()
139 mContextHubManager, mContextHubInfo, state.getNanoAppId()); in unloadAllNanoApps()
195 mContextHubManager, mContextHubInfo, mNappBinary.getNanoAppId()); in reloadNanoApp()
197 mContextHubManager, mContextHubInfo, mNappBinary); in reloadNanoApp()
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubTrivialNanoAppsTestExecutor.java35 private final ContextHubInfo mContextHubInfo; field in ContextHubTrivialNanoAppsTestExecutor
39 mContextHubInfo = info; in ContextHubTrivialNanoAppsTestExecutor()
46 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in run()
49 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in run()
DContextHubBadNanoAppsTestExecutor.java39 private final ContextHubInfo mContextHubInfo; field in ContextHubBadNanoAppsTestExecutor
43 mContextHubInfo = info; in ContextHubBadNanoAppsTestExecutor()
74 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in runInvalidBinaryTest()
DContextHubPendingIntentTestExecutor.java66 private final ContextHubInfo mContextHubInfo; field in ContextHubPendingIntentTestExecutor
75 mContextHubInfo = contextHubInfo; in ContextHubPendingIntentTestExecutor()
145 mContextHubManager.loadNanoApp(mContextHubInfo, mNanoAppBinary); in checkLoadNanoApp()
148 ContextHubManager.EVENT_NANOAPP_LOADED, mContextHubInfo, mNanoAppId); in checkLoadNanoApp()
167 ContextHubManager.EVENT_NANOAPP_MESSAGE, mContextHubInfo, mNanoAppId); in waitForIdFromNanoApp()
183 ContextHubManager.EVENT_NANOAPP_UNLOADED, mContextHubInfo, mNanoAppId); in checkUnloadNanoApp()
DContextHubGeneralTestExecutor.java74 private final ContextHubInfo mContextHubInfo; field in ContextHubGeneralTestExecutor
171 mContextHubInfo = info; in ContextHubGeneralTestExecutor()
230 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in init()
237 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in init()
305 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, in deinit()
380 return mContextHubInfo; in getContextHubInfo()
DContextHubClientSendMessageTestExecutor.java63 private final ContextHubInfo mContextHubInfo; field in ContextHubClientSendMessageTestExecutor
71 mContextHubInfo = contextHubInfo; in ContextHubClientSendMessageTestExecutor()
95 mContextHubInfo.getMaxPacketLengthBytes()); in createNanoAppMessage()
142 createNanoAppMessage(mContextHubInfo.getMaxPacketLengthBytes()); in testSingleMessage()
DContextHubReliableMessageTestExecutor.java68 private final ContextHubInfo mContextHubInfo; field in ContextHubReliableMessageTestExecutor
72 mContextHubInfo = contextHubInfo; in ContextHubReliableMessageTestExecutor()
95 .that(mContextHubInfo.getMaxPacketLengthBytes()) in maximumMessageSizeTest()
/system/chre/java/test/rpc_service/src/com/google/android/chre/test/rpc_service/
DContextHubRpcServiceTestExecutor.java63 private final ContextHubInfo mContextHubInfo; field in ContextHubRpcServiceTestExecutor
71 mContextHubInfo = info; in ContextHubRpcServiceTestExecutor()
89 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
95 mContextHubInfo); in findServiceTest()
111 mRpcClient = new ChreRpcClient(mContextHubManager, mContextHubInfo, mNanoAppId, in callbackModeTest()
137 ContextHubClient contextHubClient = mContextHubManager.createClient(mContextHubInfo, in pendingIntentModeTest()
156 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java57 private final ContextHubInfo mContextHubInfo; field in ContextHubFrameworkPermissionsTestExecutor
72 mContextHubInfo = info; in ContextHubFrameworkPermissionsTestExecutor()
78 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in ContextHubFrameworkPermissionsTestExecutor()
109 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
133 "cmd contexthub deny " + mContextHubInfo.getId() in permissionsDisabledTest()
179 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
DContextHubChrePermissionsTestExecutor.java57 private final ContextHubInfo mContextHubInfo; field in ContextHubChrePermissionsTestExecutor
66 mContextHubInfo = info; in ContextHubChrePermissionsTestExecutor()
70 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in ContextHubChrePermissionsTestExecutor()
90 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
131 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubServiceTestHelper.java54 private final ContextHubInfo mContextHubInfo; field in ContextHubServiceTestHelper
59 mContextHubInfo = info; in ContextHubServiceTestHelper()
87 return mContextHubManager.createClient(mContextHubInfo, callback); in createClient()
98 return mContextHubManager.createClient(mContextHubInfo, pendingIntent, nanoAppId); in createClient()
129 return mContextHubManager.loadNanoApp(mContextHubInfo, nanoAppBinary); in loadNanoApp()
144 return mContextHubManager.unloadNanoApp(mContextHubInfo, nanoAppId); in unloadNanoApp()
156 mContextHubInfo); in queryNanoApps()
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java63 private final ContextHubInfo mContextHubInfo; field in ContextHubSettingsTestExecutor
81 mContextHubInfo = info.get(0); in ContextHubSettingsTestExecutor()
83 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in ContextHubSettingsTestExecutor()
131 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
206 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java64 private final ContextHubInfo mContextHubInfo; field in ContextHubAudioConcurrencyTestExecutor
85 mContextHubInfo = info; in ContextHubAudioConcurrencyTestExecutor()
89 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in ContextHubAudioConcurrencyTestExecutor()
137 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
182 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/host/hal_generic/common/
Dmulti_client_context_hub_base.cc173 if (mContextHubInfo == nullptr) { in getContextHubs()
179 return mContextHubInfo != nullptr; in getContextHubs()
185 if (mContextHubInfo != nullptr) { in getContextHubs()
186 contextHubInfos->push_back(*mContextHubInfo); in getContextHubs()
675 mContextHubInfo = std::make_unique<ContextHubInfo>(); in handleHubInfoResponse()
676 mContextHubInfo->name = getStringFromByteVector(response.name); in handleHubInfoResponse()
677 mContextHubInfo->vendor = getStringFromByteVector(response.vendor); in handleHubInfoResponse()
678 mContextHubInfo->toolchain = getStringFromByteVector(response.toolchain); in handleHubInfoResponse()
679 mContextHubInfo->id = kDefaultHubId; in handleHubInfoResponse()
680 mContextHubInfo->peakMips = response.peak_mips; in handleHubInfoResponse()
[all …]
Dmulti_client_context_hub_base.h170 std::unique_ptr<ContextHubInfo> mContextHubInfo; variable
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java76 private final ContextHubInfo mContextHubInfo; field in ContextHubStressTestExecutor
96 mContextHubInfo = info; in ContextHubStressTestExecutor()
174 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in init()
177 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in init()
307 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()