Searched refs:mCurrentConnection (Results 1 – 1 of 1) sorted by relevance
74 private TestConnection mCurrentConnection; field in ServiceTest79 if (mCurrentConnection != null) { in tearDown()80 mContext.unbindService(mCurrentConnection); in tearDown()81 mCurrentConnection = null; in tearDown()116 assertThat(mCurrentConnection.takePid(), not(NOT_STARTED)); in testRestart_boundService_restarted()141 final int restartedServicePid = mCurrentConnection.takePid(); in testRestart_boundNotStickyStartedService_restarted()157 assertThat(mCurrentConnection.takePid(), is(NOT_STARTED)); in testRestart_notStickyStartedNoAutoCreateBoundService_notRestarted()187 mCurrentConnection = new TestConnection(); in bindService()188 assertThat(mContext.bindService(mServiceIntent, mCurrentConnection, flags), is(true)); in bindService()189 return mCurrentConnection.takePid(); in bindService()