Home
last modified time | relevance | path

Searched refs:verifyStateChange (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java172 verifyStateChange(MIGRATION_STATE_ALLOWED); in testOnPackageInstalledOrChanged_fromIdleState_migrationAwarePackage()
188 verifyStateChange(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testOnPackageInstalledOrChanged_fromIdleState_migrationUnawarePackage()
213 verifyStateChange(MIGRATION_STATE_ALLOWED); in testOnPackageInstalledOrChanged_fromAppUpgradeRequiredState_migrationAwarePackage()
313 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromIdleState_migrationAwarePackage()
327 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromAppUpgradeRequiredState_migrationAwarePackage()
341 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromModuleUpgradeRequiredState_migrationAwarePackage()
355 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromAllowedState_migrationAwarePackage()
369 verifyStateChange(MIGRATION_STATE_COMPLETE); in testOnPackageRemoved_fromInProgressState_migrationAwarePackage()
398 verifyStateChange(MIGRATION_STATE_ALLOWED); in testReconcilePackageChangesWithStates_fromIdleState_migrationAwarePackageAvailable()
417 verifyStateChange(MIGRATION_STATE_APP_UPGRADE_REQUIRED); in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawarePackageAvailable()
[all …]
DMigrationStateChangeJobTest.java181 verifyStateChange(MIGRATION_STATE_ALLOWED, true); in testExecutePauseJob_timeExpired_shouldChangeState()
222 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromIdleState()
240 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromAllowedState()
260 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromAppUpgradeRequiredState()
280 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_fromModuleUpgradeRequiredState()
299 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_afterAllowedStateTimeoutPeriod_fromAllowedState()
319 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_afterAllowedStateTimeoutPeriod_fromInProgressState()
349 verifyStateChange(MIGRATION_STATE_COMPLETE, true); in testExecuteCompleteJob_stateChangeJobsEnabled()
358 private void verifyStateChange(int state, boolean timeoutReached) { in verifyStateChange() method in MigrationStateChangeJobTest
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java374 private void verifyStateChange(int prevState, int currState) { in verifyStateChange() method in AdapterServiceTest
382 private void verifyStateChange(int prevState, int currState, int timeoutMs) { in verifyStateChange() method in AdapterServiceTest
391 private static void verifyStateChange(IBluetoothCallback cb, int prevState, int currState) { in verifyStateChange() method in AdapterServiceTest
411 verifyStateChange(callback, STATE_OFF, STATE_BLE_TURNING_ON); in offToBleOn()
422 verifyStateChange(callback, STATE_BLE_TURNING_ON, STATE_BLE_ON); in offToBleOn()
435 verifyStateChange(callback, STATE_ON, STATE_TURNING_OFF); in onToBleOn()
448 verifyStateChange(callback, STATE_TURNING_OFF, STATE_BLE_ON); in onToBleOn()
486 verifyStateChange(callback, STATE_BLE_ON, STATE_TURNING_ON); in doEnable()
504 verifyStateChange(callback, STATE_TURNING_ON, STATE_ON); in doEnable()
540 verifyStateChange(callback, STATE_BLE_ON, STATE_BLE_TURNING_OFF); in doDisable()
[all …]