Searched refs:mEventConnectionTestHelper (Results 1 – 2 of 2) sorted by relevance
/cts/tests/sensor/sensorratepermission/EventConnectionAPI30/src/android/sensorratepermission/cts/eventconnectionapi30/ |
D | EventConnectionAPI30Test.java | 58 private static SensorRatePermissionEventConnectionTestHelper mEventConnectionTestHelper; field in EventConnectionAPI30Test 90 mEventConnectionTestHelper = new SensorRatePermissionEventConnectionTestHelper( in setUp() 93 mEventConnectionTestHelper != null); in setUp() 108 if (mEventConnectionTestHelper != null) { in tearDown() 109 mEventConnectionTestHelper.flipAndAssertMicToggleOff(mUserID, mSensorPrivacyManager); in tearDown() 120 mEventConnectionTestHelper.flipAndAssertMicToggleOff(mUserID, mSensorPrivacyManager); in testSamplingRateMicToggleOff() 121 List<TestSensorEvent> events = mEventConnectionTestHelper.getSensorEvents( in testSamplingRateMicToggleOff() 127 Assert.assertTrue(mEventConnectionTestHelper.errorWhenBelowExpectedRate(), in testSamplingRateMicToggleOff() 134 mEventConnectionTestHelper.flipAndAssertMicToggleOn(mUserID, mSensorPrivacyManager); in testSamplingRateMicToggleOn() 136 List<TestSensorEvent> events = mEventConnectionTestHelper.getSensorEvents( in testSamplingRateMicToggleOn() [all …]
|
/cts/tests/sensor/sensorratepermission/EventConnectionAPI31/src/android/sensorratepermission/cts/eventconnectionapi31/ |
D | EventConnectionAPI31Test.java | 54 private static SensorRatePermissionEventConnectionTestHelper mEventConnectionTestHelper; field in EventConnectionAPI31Test 84 mEventConnectionTestHelper = new SensorRatePermissionEventConnectionTestHelper( in setUp() 87 mEventConnectionTestHelper != null); in setUp() 97 if (mEventConnectionTestHelper != null) { in tearDown() 98 mEventConnectionTestHelper.flipAndAssertMicToggleOff(mUserID, mSensorPrivacyManager); in tearDown() 104 mEventConnectionTestHelper.flipAndAssertMicToggleOn(mUserID, mSensorPrivacyManager); in testSamplingRateMicToggleOn() 106 List<TestSensorEvent> events = mEventConnectionTestHelper.getSensorEvents(true, in testSamplingRateMicToggleOn() 112 Assert.assertTrue(mEventConnectionTestHelper.errorWhenExceedCappedRate(), in testSamplingRateMicToggleOn() 119 mEventConnectionTestHelper.flipAndAssertMicToggleOff(mUserID, mSensorPrivacyManager); in testSamplingRateMicToggleOff() 121 List<TestSensorEvent> events = mEventConnectionTestHelper.getSensorEvents(true, in testSamplingRateMicToggleOff() [all …]
|