Home
last modified time | relevance | path

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

/system/chre/java/test/utils/src/com/google/android/utils/chre/
DSettingsUtil.java67 ChreTestUtil.executeShellCommand( in setWifiScanningSettings()
78 ChreTestUtil.executeShellCommand(mInstrumentation, "svc wifi " + value); in setWifi()
87 String out = ChreTestUtil.executeShellCommand( in isWifiScanningAlwaysEnabled()
89 return ChreTestUtil.convertToIntegerOrFail(out) > 0; in isWifiScanningAlwaysEnabled()
96 String out = ChreTestUtil.executeShellCommand( in isWifiEnabled()
98 return ChreTestUtil.convertToIntegerOrFail(out) > 0; in isWifiEnabled()
DChreTestUtil.java45 public class ChreTestUtil { class
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubTrivialNanoAppsTestExecutor.java22 import com.google.android.utils.chre.ChreTestUtil;
46 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in run()
49 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in run()
DContextHubNanoAppInfoEventsTestExecutor.java22 import com.google.android.utils.chre.ChreTestUtil;
69 if (!ChreTestUtil.loadNanoApp(getContextHubManager(), getContextHubInfo(), in handleMessageFromNanoApp()
98 if (!ChreTestUtil.unloadNanoApp(getContextHubManager(), getContextHubInfo(), in handleMessageFromNanoApp()
DContextHubBadNanoAppsTestExecutor.java22 import com.google.android.utils.chre.ChreTestUtil;
74 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in runInvalidBinaryTest()
DContextHubInfoByIdTestExecutor.java22 import com.google.android.utils.chre.ChreTestUtil;
53 ChreTestUtil.getNanoAppVersion(getContextHubManager(), getContextHubInfo(), in handleMessageFromNanoApp()
DContextHubGeneralTestExecutor.java27 import com.google.android.utils.chre.ChreTestUtil;
205 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in init()
252 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, in deinit()
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubWwanSettingsTestExecutor.java28 import com.google.android.utils.chre.ChreTestUtil;
89 ChreTestUtil.executeShellCommand( in setAirplaneMode()
92 ChreTestUtil.executeShellCommand( in setAirplaneMode()
138 String out = ChreTestUtil.executeShellCommand( in isAirplaneModeOn()
140 return ChreTestUtil.convertToIntegerOrFail(out) > 0; in isAirplaneModeOn()
DContextHubMicDisableSettingsTestExecutor.java24 import com.google.android.utils.chre.ChreTestUtil;
75 ChreTestUtil.executeShellCommand(mInstrumentation, in setMicrophoneDisableSetting()
DContextHubSettingsTestExecutor.java31 import com.google.android.utils.chre.ChreTestUtil;
132 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
216 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorBase.java29 import com.google.android.utils.chre.ChreTestUtil;
95 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNappBinary); in init()
115 ChreTestUtil.unloadNanoAppAssertSuccess( in deinit()
127 ChreTestUtil.queryNanoAppsAssertSuccess(mContextHubManager, mContextHubInfo); in unloadAllNanoApps()
130 ChreTestUtil.unloadNanoAppAssertSuccess( in unloadAllNanoApps()
DChreCrossValidatorSensor.java32 import com.google.android.utils.chre.ChreTestUtil;
436 ChreTestUtil.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restrictSensors()
444 ChreTestUtil.executeShellCommand( in unrestrictSensors()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java32 import com.google.android.utils.chre.ChreTestUtil;
108 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
135 ChreTestUtil.executeShellCommandWithAppPerms( in permissionsDisabledTest()
182 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
DContextHubChrePermissionsTestExecutor.java32 import com.google.android.utils.chre.ChreTestUtil;
91 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
132 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java32 import com.google.android.utils.chre.ChreTestUtil;
125 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppBinary); in init()
170 ChreTestUtil.unloadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java34 import com.google.android.utils.chre.ChreTestUtil;
150 ChreTestUtil.loadNanoAppAssertSuccess(mContextHubManager, mContextHubInfo, in init()
247 ChreTestUtil.unloadNanoApp(mContextHubManager, mContextHubInfo, mNanoAppId); in deinit()