Home
last modified time | relevance | path

Searched refs:mContextHubManager (Results 1 – 15 of 15) sorted by relevance

/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubChreApiTestExecutor.java48 protected final ContextHubManager mContextHubManager; field in ContextHubChreApiTestExecutor
58 mContextHubManager = mContext.getSystemService(ContextHubManager.class); in ContextHubChreApiTestExecutor()
59 Assert.assertTrue(mContextHubManager != null); in ContextHubChreApiTestExecutor()
60 List<ContextHubInfo> contextHubs = mContextHubManager.getContextHubs(); in ContextHubChreApiTestExecutor()
63 mContextHubClient = mContextHubManager.createClient(mContextHub, this); in ContextHubChreApiTestExecutor()
68 mContextHubManager, mContextHub, nanoapp.getNanoAppId(), in ContextHubChreApiTestExecutor()
81 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHub, nanoapp); in init()
92 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHub, in deinit()
DContextHubTrivialNanoAppsTestExecutor.java33 private final ContextHubManager mContextHubManager; field in ContextHubTrivialNanoAppsTestExecutor
38 mContextHubManager = manager; in ContextHubTrivialNanoAppsTestExecutor()
46 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in run()
49 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in run()
DContextHubBadNanoAppsTestExecutor.java37 private final ContextHubManager mContextHubManager; field in ContextHubBadNanoAppsTestExecutor
42 mContextHubManager = manager; in ContextHubBadNanoAppsTestExecutor()
74 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in runInvalidBinaryTest()
DContextHubHostEndpointInfoTestExecutor.java81 ContextHubClient firstClient = mContextHubManager.createClient(mContextHub, this); in testGetHostEndpointInfo()
82 ContextHubClient secondClient = mContextHubManager.createClient(mContextHub, this); in testGetHostEndpointInfo()
146 ContextHubClient client = mContextHubManager.createClient(mContextHub, this); in testGetHostEndpointNotificationOnDisconnect()
DContextHubGeneralTestExecutor.java72 private final ContextHubManager mContextHubManager; field in ContextHubGeneralTestExecutor
170 mContextHubManager = manager; in ContextHubGeneralTestExecutor()
230 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in init()
237 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in init()
305 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, in deinit()
376 return mContextHubManager; in getContextHubManager()
DContextHubPendingIntentTestExecutor.java67 private final ContextHubManager mContextHubManager; field in ContextHubPendingIntentTestExecutor
76 mContextHubManager = contextHubManager; in ContextHubPendingIntentTestExecutor()
145 mContextHubManager.loadNanoApp(mContextHubInfo, mNanoAppBinary); in checkLoadNanoApp()
DContextHubNanoAppRequirementsTestExecutor.java85 for (long nanoappId: mContextHubManager.getPreloadedNanoAppIds(mContextHub)) { in ContextHubNanoAppRequirementsTestExecutor()
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorBase.java48 private final ContextHubManager mContextHubManager; field in ChreCrossValidatorBase
70 mContextHubManager = contextHubManager; 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/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java61 private final ContextHubManager mContextHubManager; field in ContextHubSettingsTestExecutor
75 mContextHubManager = in ContextHubSettingsTestExecutor()
77 Assert.assertTrue(mContextHubManager != null); in ContextHubSettingsTestExecutor()
79 List<ContextHubInfo> info = mContextHubManager.getContextHubs(); 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/rpc_service/src/com/google/android/chre/test/rpc_service/
DContextHubRpcServiceTestExecutor.java62 private final ContextHubManager mContextHubManager; field in ContextHubRpcServiceTestExecutor
70 mContextHubManager = manager; in ContextHubRpcServiceTestExecutor()
89 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
94 List<NanoAppState> stateList = ChreTestUtil.queryNanoAppsAssertSuccess(mContextHubManager, 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/
DContextHubChrePermissionsTestExecutor.java55 private final ContextHubManager mContextHubManager; field in ContextHubChrePermissionsTestExecutor
65 mContextHubManager = manager; 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()
DContextHubFrameworkPermissionsTestExecutor.java55 private final ContextHubManager mContextHubManager; field in ContextHubFrameworkPermissionsTestExecutor
71 mContextHubManager = manager; in ContextHubFrameworkPermissionsTestExecutor()
78 mContextHubClient = mContextHubManager.createClient(mContextHubInfo, this); in ContextHubFrameworkPermissionsTestExecutor()
109 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
179 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubServiceTestHelper.java55 private final ContextHubManager mContextHubManager; field in ContextHubServiceTestHelper
60 mContextHubManager = manager; 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()
155 ContextHubTransaction<List<NanoAppState>> transaction = mContextHubManager.queryNanoApps( in queryNanoApps()
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java62 private final ContextHubManager mContextHubManager; field in ContextHubAudioConcurrencyTestExecutor
84 mContextHubManager = manager; 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/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java74 private final ContextHubManager mContextHubManager; field in ContextHubStressTestExecutor
95 mContextHubManager = manager; 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()