Home
last modified time | relevance | path

Searched refs:inOrder (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java26 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/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java121 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/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRadioButtonPickerFragmentTest.java108 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/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHeaderControllerTest.java22 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/
DRoutineWatchEvaluatorTest.java69 assertThat(RoutineWatchEvaluator.splitTextToWords("")).containsExactly().inOrder(); in testSplitTextToWords()
72 .inOrder(); in testSplitTextToWords()
75 .inOrder(); in testSplitTextToWords()
78 .inOrder(); in testSplitTextToWords()
81 .inOrder(); in testSplitTextToWords()
84 .inOrder(); in testSplitTextToWords()
85 assertThat(RoutineWatchEvaluator.splitTextToWords("A.I.")).containsExactly("A.I").inOrder(); in testSplitTextToWords()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java122 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/
DCarProjectionServiceTest.java29 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()
DBluetoothProfileDeviceManagerTest.java861 InOrder ordered = inOrder(mMockProxies); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java27 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/
DVmsHalServiceTest.java107 Mockito.inOrder(mPublisherOnHalConnected, mSubscriberService, mVehicleHal); in setUp()
591 InOrder inOrder = Mockito.inOrder(mVehicleHal); in testHandleStartSessionEvent() local
592 inOrder.verify(mVehicleHal).set(response); in testHandleStartSessionEvent()
593 inOrder.verify(mVehicleHal).set(createHalMessage( in testHandleStartSessionEvent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java26 import static org.mockito.Mockito.inOrder;
167 InOrder orderVerifier = inOrder(mPreference); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()