/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorBase.java | 50 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/ |
D | ContextHubTrivialNanoAppsTestExecutor.java | 35 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()
|
D | ContextHubBadNanoAppsTestExecutor.java | 39 private final ContextHubInfo mContextHubInfo; field in ContextHubBadNanoAppsTestExecutor 43 mContextHubInfo = info; in ContextHubBadNanoAppsTestExecutor() 74 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in runInvalidBinaryTest()
|
D | ContextHubPendingIntentTestExecutor.java | 66 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()
|
D | ContextHubGeneralTestExecutor.java | 74 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()
|
D | ContextHubClientSendMessageTestExecutor.java | 63 private final ContextHubInfo mContextHubInfo; field in ContextHubClientSendMessageTestExecutor 71 mContextHubInfo = contextHubInfo; in ContextHubClientSendMessageTestExecutor() 95 mContextHubInfo.getMaxPacketLengthBytes()); in createNanoAppMessage() 142 createNanoAppMessage(mContextHubInfo.getMaxPacketLengthBytes()); in testSingleMessage()
|
D | ContextHubReliableMessageTestExecutor.java | 68 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/ |
D | ContextHubRpcServiceTestExecutor.java | 63 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/ |
D | ContextHubFrameworkPermissionsTestExecutor.java | 57 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()
|
D | ContextHubChrePermissionsTestExecutor.java | 57 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/ |
D | ContextHubServiceTestHelper.java | 54 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/ |
D | ContextHubSettingsTestExecutor.java | 63 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/ |
D | ContextHubAudioConcurrencyTestExecutor.java | 64 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/ |
D | multi_client_context_hub_base.cc | 173 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 …]
|
D | multi_client_context_hub_base.h | 170 std::unique_ptr<ContextHubInfo> mContextHubInfo; variable
|
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/ |
D | ContextHubStressTestExecutor.java | 76 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()
|