Searched refs:firstRequest (Results 1 – 2 of 2) sorted by relevance
154 AudioFocusRequest firstRequest = getLastRequest(); in requestAudioFocus_withSameZoneAndUsage_keepsExistingRequest() local157 verify(mMockAudioManager, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withSameZoneAndUsage_keepsExistingRequest()165 AudioFocusRequest firstRequest = getLastRequest(); in requestAudioFocus_withSameZoneAndUsage_notifiesHalOfExistingRequestStatus() local166 OnAudioFocusChangeListener listener = firstRequest.getOnAudioFocusChangeListener(); in requestAudioFocus_withSameZoneAndUsage_notifiesHalOfExistingRequestStatus()183 AudioFocusRequest firstRequest = getLastRequest(); in requestAudioFocus_withDifferentZoneAndSameUsage_keepsExistingRequest() local186 verify(mMockAudioManager, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withDifferentZoneAndSameUsage_keepsExistingRequest()194 AudioFocusRequest firstRequest = getLastRequest(); in requestAudioFocus_withSameZoneAndDifferentUsage_keepsExistingRequest() local197 verify(mMockAudioManager, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withSameZoneAndDifferentUsage_keepsExistingRequest()206 AudioFocusRequest firstRequest = getLastRequest(); in requestAudioFocus_withPreviouslyFailedRequest_doesNothingForOldRequest() local209 verify(mMockAudioManager, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withPreviouslyFailedRequest_doesNothingForOldRequest()
871 final NetworkRequest firstRequest = makeWifiNetworkRequest(); in runIdenticalPendingIntentsRequestTest() local872 final NetworkRequest secondRequest = new NetworkRequest(firstRequest); in runIdenticalPendingIntentsRequestTest()893 mCm.registerNetworkCallback(firstRequest, firstIntent); in runIdenticalPendingIntentsRequestTest()895 mCm.requestNetwork(firstRequest, firstIntent); in runIdenticalPendingIntentsRequestTest()