Lines Matching refs:expectedState
301 * @param expectedState The expected state resulting from trying to mount the OBB
304 protected String mountObb(String obbFilePath, String key, int expectedState) {
305 return doMountObb(obbFilePath, key, expectedState);
352 protected String doMountObb_noThrow(String obbFilePath, String key, int expectedState) {
360 success &= (expectedState == obbListener.state());
362 if (OnObbStateChangeListener.MOUNTED == expectedState) {
381 * @param expectedState The expected state resulting from trying to mount the OBB
385 protected String doMountObb(String obbFilePath, String key, int expectedState) {
393 assertEquals("OBB mount state not what was expected!", expectedState, obbListener.state());
395 if (OnObbStateChangeListener.MOUNTED == expectedState) {
399 } else if (OnObbStateChangeListener.UNMOUNTED == expectedState) {
404 assertEquals("Mount state is not what was expected!", expectedState, obbListener.state());