/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 26 import static org.mockito.Mockito.inOrder; 891 private void verifyDisplayedIpv6Addresses(InOrder inOrder, LinkAddress... addresses) { in verifyDisplayedIpv6Addresses() argument 895 inOrder.verify(mockIpv6AddressesPref).setSummary(text); in verifyDisplayedIpv6Addresses() 903 InOrder inOrder = inOrder(mockIpAddressPref, mockGatewayPref, mockSubnetPref, in onLinkPropertiesChanged_updatesFields() local 910 verifyDisplayedIpv6Addresses(inOrder, Constants.IPV6_LINKLOCAL); in onLinkPropertiesChanged_updatesFields() 911 inOrder.verify(mockIpv6Category).setVisible(true); in onLinkPropertiesChanged_updatesFields() 915 inOrder.verify(mockGatewayPref).setSummary(Constants.IPV4_GATEWAY.getHostAddress()); in onLinkPropertiesChanged_updatesFields() 916 inOrder.verify(mockGatewayPref).setVisible(true); in onLinkPropertiesChanged_updatesFields() 921 inOrder.verify(mockIpAddressPref).setSummary(asString(Constants.IPV4_ADDR)); in onLinkPropertiesChanged_updatesFields() 922 inOrder.verify(mockIpAddressPref).setVisible(true); in onLinkPropertiesChanged_updatesFields() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | DvrScheduleManagerTest.java | 121 .inOrder(); in testGetConflictingSchedules_conflict() 130 .inOrder(); in testGetConflictingSchedules_conflict() 139 .inOrder(); in testGetConflictingSchedules_conflict() 142 .inOrder(); in testGetConflictingSchedules_conflict() 151 .inOrder(); in testGetConflictingSchedules_conflict() 154 .inOrder(); in testGetConflictingSchedules_conflict() 163 .inOrder(); in testGetConflictingSchedules_conflict() 166 .inOrder(); in testGetConflictingSchedules_conflict() 169 .inOrder(); in testGetConflictingSchedules_conflict() 178 .inOrder(); in testGetConflictingSchedules_conflict() [all …]
|
D | ScheduledRecordingTest.java | 107 assertThat(sortByPriority(c, b, a)).containsExactly(a, b, c).inOrder(); in testBuild_priority() 111 assertThat(sortByPriority(a, b, c)).containsExactly(b, c, a).inOrder(); in testBuild_priority()
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 121 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_NoCalls() local 122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_NoCalls() 123 inOrder.verify(mDataOutput).writeInt(0 /* size */); in testWriteState_NoCalls() 134 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_OneCall() local 135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_OneCall() 136 inOrder.verify(mDataOutput).writeInt(1); in testWriteState_OneCall() 137 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */); in testWriteState_OneCall() 150 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_MultipleCalls() local 151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls() 152 inOrder.verify(mDataOutput).writeInt(3 /* size */); in testWriteState_MultipleCalls() [all …]
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 72 import static org.mockito.Mockito.inOrder; 485 private <T> T verifyWithTimeout(InOrder inOrder, T t) { 486 if (inOrder != null) { 487 return inOrder.verify(t, timeout(TEST_TIMEOUT_MS)); 493 private void expectAlarmCancelled(InOrder inOrder, OnAlarmListener listener) { 494 inOrder.verify(mAlarm, timeout(TEST_TIMEOUT_MS)).cancel(eq(listener)); 497 private OnAlarmListener expectAlarmSet(InOrder inOrder, String tagMatch, int afterSeconds) { 503 verifyWithTimeout(inOrder, mAlarm).setExact( 1422 private LinkProperties doIpv6OnlyProvisioning(InOrder inOrder, ByteBuffer ra) throws Exception { 1431 verifyWithTimeout(inOrder, mCb).onProvisioningSuccess(captor.capture()); [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | RadioButtonPickerFragmentTest.java | 108 InOrder inOrder = Mockito.inOrder(mFragment); in staticPreferencesPrepended_addedFirst() local 109 inOrder.verify(mFragment).addStaticPreferences(any()); in staticPreferencesPrepended_addedFirst() 110 inOrder.verify(mFragment).getRadioButtonPreferenceCustomLayoutResId(); in staticPreferencesPrepended_addedFirst() 118 InOrder inOrder = Mockito.inOrder(mFragment); in staticPreferencesAppended_addedLast() local 119 inOrder.verify(mFragment).mayCheckOnlyRadioButton(); in staticPreferencesAppended_addedLast() 120 inOrder.verify(mFragment).addStaticPreferences(any()); in staticPreferencesAppended_addedLast()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeLocalRequestSchedulerTest.java | 25 import static org.mockito.Mockito.inOrder; 96 InOrder inOrder = inOrder(mMockConsumer); in testProcessOrder() local 102 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testProcessOrder() 108 InOrder inOrder = inOrder(mMockConsumer); in testAddRequestToFrontProcessOrder() local 124 inOrder.verify(mMockConsumer).onNewProcedureReady(mockHighPriorityRequestArray[i]); in testAddRequestToFrontProcessOrder() 127 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testAddRequestToFrontProcessOrder()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/list/ |
D | DvrHistoryRowAdapterTest.java | 124 assertThat(getHeaderItemCounts()).containsExactly(2, 3).inOrder(); in testOnScheduledRecordingAdded_existingHeader() 141 assertThat(getHeaderItemCounts()).containsExactly(2, 2, 1).inOrder(); in testOnScheduledRecordingAdded_newHeader_addOldest() 158 assertThat(getHeaderItemCounts()).containsExactly(2, 1, 2).inOrder(); in testOnScheduledRecordingAdded_newHeader_addBetween() 175 assertThat(getHeaderItemCounts()).containsExactly(1, 2, 2).inOrder(); in testOnScheduledRecordingAdded_newHeader_addNewest() 186 assertThat(getHeaderItemCounts()).containsExactly(2, 3).inOrder(); in testOnScheduledRecordingAdded_addRecordedProgram() 197 assertThat(getHeaderItemCounts()).containsExactly(2, 1).inOrder(); in testOnScheduledRecordingRemoved_keepHeader() 209 assertThat(getHeaderItemCounts()).containsExactly(2).inOrder(); in testOnScheduledRecordingRemoved_removeHeader() 218 assertThat(getHeaderItemCounts()).containsExactly(2, 3).inOrder(); in testOnScheduledRecordingRemoved_removeRecordedProgram() 275 assertThat(getHeaderItemCounts()).containsExactly(2, 2).inOrder(); in assertInitialState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHeaderControllerTest.java | 22 import static org.mockito.Mockito.inOrder; 109 InOrder inOrder = inOrder(mHeaderController); in connectionStatusChangesWhileScreenOpen() local 113 inOrder.verify(mHeaderController) in connectionStatusChangesWhileScreenOpen() 118 inOrder.verify(mHeaderController).setSummary((CharSequence) null); in connectionStatusChangesWhileScreenOpen() 123 inOrder.verify(mHeaderController) in connectionStatusChangesWhileScreenOpen()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 74 assertThat(RoutineWatchEvaluator.splitTextToWords("")).containsExactly().inOrder(); in testSplitTextToWords() 77 .inOrder(); in testSplitTextToWords() 80 .inOrder(); in testSplitTextToWords() 83 .inOrder(); in testSplitTextToWords() 86 .inOrder(); in testSplitTextToWords() 89 .inOrder(); in testSplitTextToWords() 90 assertThat(RoutineWatchEvaluator.splitTextToWords("A.I.")).containsExactly("A.I").inOrder(); in testSplitTextToWords()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | CameraManagerTest.java | 122 InOrder inOrder = Mockito.inOrder(wrapper); in testOpenCamera() local 123 inOrder.verify(wrapper).open(1); in testOpenCamera() 124 inOrder.verify(wrapper).release(backCamera); in testOpenCamera() 125 inOrder.verify(wrapper).open(0); in testOpenCamera()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 29 import static org.mockito.Mockito.inOrder; 280 InOrder inOrder = inOrder(mCarInputService); in addedKeyEventHandler_registersWithCarInputService() local 289 inOrder.verify(mCarInputService) in addedKeyEventHandler_registersWithCarInputService() 301 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService() 325 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService() 330 inOrder.verify(mCarInputService).setProjectionKeyEventHandler(eq(null), any()); in addedKeyEventHandler_registersWithCarInputService()
|
D | BluetoothProfileDeviceManagerTest.java | 861 InOrder ordered = inOrder(mMockProxies); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 27 import static org.mockito.Mockito.inOrder; 198 InOrder inOrder = inOrder(eventHandler); in keyEventHandler_whenRegisteredAgain_replacesEventList() local 205 inOrder.verify(eventHandler) in keyEventHandler_whenRegisteredAgain_replacesEventList() 213 inOrder.verify(eventHandler, never()) in keyEventHandler_whenRegisteredAgain_replacesEventList()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 127 Mockito.inOrder(mClientManager, mSubscriberService, mVehicleHal); in initHalService() 615 InOrder inOrder = Mockito.inOrder(mClientManager, mVehicleHal); in testHandleStartSessionEvent() local 616 inOrder.verify(mClientManager).onHalDisconnected(); in testHandleStartSessionEvent() 617 inOrder.verify(mVehicleHal).set(response); in testHandleStartSessionEvent() 618 inOrder.verify(mClientManager).onHalConnected(mPublisherClient, mSubscriberClient); in testHandleStartSessionEvent() 621 inOrder.verify(mVehicleHal).set(createHalMessage( in testHandleStartSessionEvent()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 91 InOrder listenerInOrder = Mockito.inOrder(mCallStateListener1); in addCallStateListener_preCall_triggerChanges() 157 InOrder listenerInOrder1 = Mockito.inOrder(mCallStateListener1); in multipleCallStateListeners_triggeredAppropriately() 158 InOrder listenerInOrder2 = Mockito.inOrder(mCallStateListener2); in multipleCallStateListeners_triggeredAppropriately()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvProviderUtilsTest.java | 68 .inOrder(); in testAddExtraColumnsToProjection() 90 .inOrder(); in testAddExtraColumnsToProjection_extraColumnExists()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 27 import static org.mockito.Mockito.inOrder; 168 InOrder orderVerifier = inOrder(mPreference); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()
|