/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 128 InOrder inOrder = inOrder(binder, mBatteryStats); in acquireWifiLockSuccessful() local 130 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0)); in acquireWifiLockSuccessful() 131 inOrder.verify(mBatteryStats).reportFullWifiLockAcquiredFromSource(ws); in acquireWifiLockSuccessful() 149 InOrder inOrder = inOrder(binder, mBatteryStats); in releaseWifiLockSuccessful() local 150 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful() 151 inOrder.verify(mBatteryStats).reportFullWifiLockReleasedFromSource(any(WorkSource.class)); in releaseWifiLockSuccessful() 159 InOrder inOrder = inOrder(binder, mBatteryStats); in releaseWifiLockSuccessful_noBatteryStats() local 160 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful_noBatteryStats() 168 InOrder inOrder = inOrder(binder, mBatteryStats); in releaseLowLatencyWifiLockSuccessful() local 169 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseLowLatencyWifiLockSuccessful() [all …]
|
D | SarManagerTest.java | 175 InOrder inOrder = inOrder(mWifiNative); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() local 181 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 186 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 200 InOrder inOrder = inOrder(mWifiNative); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() local 209 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 222 InOrder inOrder = inOrder(mWifiNative); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() local 229 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 236 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 243 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 248 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() [all …]
|
D | ExternalPnoScanRequestManagerTest.java | 29 import static org.mockito.Mockito.inOrder; 99 InOrder inOrder = inOrder(mCallback, mIBinder); in testSetRequest_success() local 104 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testSetRequest_success() 105 inOrder.verify(mCallback).onRegisterSuccess(); in testSetRequest_success() 110 inOrder.verify(mCallback).onRegisterSuccess(); in testSetRequest_success() 115 inOrder.verify(mCallback).onRegisterFailed(REGISTER_PNO_CALLBACK_RESOURCE_BUSY); in testSetRequest_success() 128 InOrder inOrder = inOrder(mCallback, anotherCallback, mIBinder); in testSetRequest_linkToDeathFailed() local 135 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testSetRequest_linkToDeathFailed() 144 InOrder inOrder = inOrder(mCallback, mIBinder); in testRemoveRequest_explicit() local 151 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testRemoveRequest_explicit() [all …]
|
D | WakeupOnboardingTest.java | 112 InOrder inOrder = Mockito.inOrder(mWifiNotificationManager); in doesNotShowNotificationIfAlreadyShowing() local 113 inOrder.verify(mWifiNotificationManager).notify(eq(WakeupNotificationFactory.ONBOARD_ID), in doesNotShowNotificationIfAlreadyShowing() 115 inOrder.verifyNoMoreInteractions(); in doesNotShowNotificationIfAlreadyShowing() 234 InOrder inOrder = Mockito.inOrder(mWifiNotificationManager); in doesNotShowMultipleNotificationsWithin24Hours() local 235 inOrder.verify(mWifiNotificationManager).notify(eq(WakeupNotificationFactory.ONBOARD_ID), in doesNotShowMultipleNotificationsWithin24Hours() 237 inOrder.verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in doesNotShowMultipleNotificationsWithin24Hours() 238 inOrder.verifyNoMoreInteractions(); in doesNotShowMultipleNotificationsWithin24Hours()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 43 import static org.mockito.Mockito.inOrder; 322 InOrder inOrder = inOrder(mockCallback1, mockCallback2, mockSessionCallback1, in testRequestMacAddresses() local 326 inOrder.verify(mMockNativeManager).start(any(Handler.class)); in testRequestMacAddresses() 327 inOrder.verify(mMockNativeManager).tryToGetAware(new WorkSource(Process.WIFI_UID)); in testRequestMacAddresses() 328 inOrder.verify(mMockNativeManager).releaseAware(); in testRequestMacAddresses() 338 inOrder.verify(mMockNativeManager).tryToGetAware(new WorkSource(uid1, callingPackage)); in testRequestMacAddresses() 339 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), in testRequestMacAddresses() 345 inOrder.verify(mockCallback1).onConnectSuccess(clientId1); in testRequestMacAddresses() 350 inOrder.verify(mockCallback2).onConnectSuccess(clientId2); in testRequestMacAddresses() 354 inOrder.verify(mMockNativeManager).replaceRequestorWs(expectedRequestorWs); in testRequestMacAddresses() [all …]
|
D | WifiAwareDataPathStateManagerTest.java | 36 import static org.mockito.Mockito.inOrder; 239 InOrder inOrder = inOrder(mMockNative); in testCreateDeleteAllInterfaces() local 244 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces() 252 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 267 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 289 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 296 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 318 InOrder inOrder = inOrder(mMockNative, mMockCm, mMockCallback, mMockSessionCallback); in testDataPathWithPortInfoOnSubscriber() local 319 InOrder inOrderM = inOrder(mAwareMetricsMock); in testDataPathWithPortInfoOnSubscriber() 323 peerDiscoveryMac, inOrder, inOrderM, false); in testDataPathWithPortInfoOnSubscriber() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 50 import static org.mockito.Mockito.inOrder; 206 final InOrder inOrder = inOrder(mHardware); in startOffloadController() local 207 inOrder.verify(mHardware, times(1)).getDefaultTetherOffloadDisabled(); in startOffloadController() 208 inOrder.verify(mHardware, times(expectStart ? 1 : 0)).initOffloadConfig(); in startOffloadController() 209 inOrder.verify(mHardware, times(expectStart ? 1 : 0)).initOffloadControl( in startOffloadController() 211 inOrder.verifyNoMoreInteractions(); in startOffloadController() 218 final InOrder inOrder = inOrder(mHardware); in stopOffloadController() local 220 inOrder.verify(mHardware, times(1)).stopOffloadControl(); in stopOffloadController() 221 inOrder.verifyNoMoreInteractions(); in stopOffloadController() 271 final InOrder inOrder = inOrder(mHardware); in testSetUpstreamLinkPropertiesWorking() local [all …]
|
D | BpfCoordinatorTest.java | 68 import static org.mockito.Mockito.inOrder; 570 private <T> T verifyWithOrder(@Nullable InOrder inOrder, @NonNull T t) { in verifyWithOrder() argument 571 if (inOrder != null) { in verifyWithOrder() 572 return inOrder.verify(t); in verifyWithOrder() 594 private void verifyStartUpstreamIpv6Forwarding(@Nullable InOrder inOrder, int downstreamIfIndex, in verifyStartUpstreamIpv6Forwarding() argument 601 verifyWithOrder(inOrder, mBpfUpstream6Map).insertEntry(key, value); in verifyStartUpstreamIpv6Forwarding() 604 private void verifyStopUpstreamIpv6Forwarding(@Nullable InOrder inOrder, int downstreamIfIndex, in verifyStopUpstreamIpv6Forwarding() argument 609 verifyWithOrder(inOrder, mBpfUpstream6Map).deleteEntry(key); in verifyStopUpstreamIpv6Forwarding() 612 private void verifyNoUpstreamIpv6ForwardingChange(@Nullable InOrder inOrder) throws Exception { in verifyNoUpstreamIpv6ForwardingChange() argument 614 if (inOrder != null) { in verifyNoUpstreamIpv6ForwardingChange() [all …]
|
D | EntitlementManagerTest.java | 52 import static org.mockito.Mockito.inOrder; 420 private void assertPermissionChangeCallback(InOrder inOrder) { in assertPermissionChangeCallback() argument 421 inOrder.verify(mPermissionChangeCallback, times(1)).run(); in assertPermissionChangeCallback() 424 private void assertNoPermissionChange(InOrder inOrder) { in assertNoPermissionChange() argument 425 inOrder.verifyNoMoreInteractions(); in assertNoPermissionChange() 430 final InOrder inOrder = inOrder(mPermissionChangeCallback); in verifyPermissionResult() local 437 assertPermissionChangeCallback(inOrder); in verifyPermissionResult() 443 assertNoPermissionChange(inOrder); in verifyPermissionResult() 449 assertPermissionChangeCallback(inOrder); in verifyPermissionResult() 455 final InOrder inOrder = inOrder(mPermissionChangeCallback); in verifyPermissionIfAllNotApproved() local [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 60 import static org.mockito.Mockito.inOrder; 415 InOrder inOrder = inOrder(mCallback, mNetd, mAddressCoordinator); in canBeTetheredAsBluetooth() local 417 inOrder.verify(mAddressCoordinator).requestDownstreamAddress(any(), eq(true)); in canBeTetheredAsBluetooth() 418 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> in canBeTetheredAsBluetooth() 421 inOrder.verify(mNetd).tetherInterfaceAdd(IFACE_NAME); in canBeTetheredAsBluetooth() 422 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsBluetooth() 424 inOrder.verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(IFACE_NAME), in canBeTetheredAsBluetooth() 426 inOrder.verify(mCallback).updateInterfaceState( in canBeTetheredAsBluetooth() 428 inOrder.verify(mCallback).updateLinkProperties( in canBeTetheredAsBluetooth() 438 InOrder inOrder = inOrder(mCallback, mNetd, mAddressCoordinator); in canUnrequestTethering() local [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 …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ClatCoordinatorTest.java | 38 import static org.mockito.Mockito.inOrder; 393 final InOrder inOrder = inOrder(mNetd, mDeps, mIngressMap, mEgressMap); in testStartStopClatd() local 406 inOrder.verify(mDeps).selectIpv4Address(eq(INIT_V4ADDR_STRING), in testStartStopClatd() 410 inOrder.verify(mDeps).generateIpv6Address(eq(BASE_IFACE), in testStartStopClatd() 414 inOrder.verify(mDeps).createTunInterface(eq(STACKED_IFACE)); in testStartStopClatd() 415 inOrder.verify(mDeps).adoptFd(eq(TUN_FD)); in testStartStopClatd() 416 inOrder.verify(mDeps).getInterfaceIndex(eq(STACKED_IFACE)); in testStartStopClatd() 417 inOrder.verify(mNetd).interfaceSetEnableIPv6(eq(STACKED_IFACE), eq(false /* enable */)); in testStartStopClatd() 418 inOrder.verify(mDeps).detectMtu(eq(NAT64_PREFIX_STRING), eq(GOOGLE_DNS_4), eq(MARK)); in testStartStopClatd() 419 inOrder.verify(mNetd).interfaceSetMtu(eq(STACKED_IFACE), in testStartStopClatd() [all …]
|
D | Nat464XlatTest.java | 28 import static org.mockito.Mockito.inOrder; 223 private <T> T verifyWithOrder(@Nullable InOrder inOrder, @NonNull T t) { 224 if (inOrder != null) { 225 return inOrder.verify(t); 231 private void verifyClatdStart(@Nullable InOrder inOrder) throws Exception { 233 verifyWithOrder(inOrder, mClatCoordinator) 236 verifyWithOrder(inOrder, mNetd).clatdStart(eq(BASE_IFACE), eq(NAT64_PREFIX)); 248 private void verifyClatdStop(@Nullable InOrder inOrder) throws Exception { 250 verifyWithOrder(inOrder, mClatCoordinator).clatStop(); 252 verifyWithOrder(inOrder, mNetd).clatdStop(eq(BASE_IFACE)); [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 32 import static org.mockito.Mockito.inOrder; 204 InOrder inOrder = inOrder(mockCallback, mockSessionCallback, mockAwareService); in testConnectFlow() local 213 inOrder.verify(mockAwareService).connect(binder.capture(), any(), any(), in testConnectFlow() 217 inOrder.verify(mockCallback).onAttached(sessionCaptor.capture()); in testConnectFlow() 223 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testConnectFlow() 228 inOrder.verify(mockAwareService).disconnect(eq(clientId), eq(binder.getValue())); in testConnectFlow() 236 inOrder.verify(mockAwareService).connect(binder.capture(), any(), any(), any(), isNull(), in testConnectFlow() 250 InOrder inOrder = inOrder(mockCallback, mockSessionCallback, mockAwareService); in testConnectFailure() local 258 inOrder.verify(mockAwareService).connect(any(), any(), any(), clientProxyCallback.capture(), in testConnectFailure() 262 inOrder.verify(mockCallback).onAttachFailed(); in testConnectFailure() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 26 import static org.mockito.Mockito.inOrder; 589 final InOrder inOrder = inOrder(mMockHeaderController); in entityHeader_shouldShowShortRemainingTime() local 590 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowShortRemainingTime() 593 inOrder.verify(mMockHeaderController).setSecondSummary((String) null); in entityHeader_shouldShowShortRemainingTime() 607 final InOrder inOrder = inOrder(mMockHeaderController); in entityHeader_shouldShowExpiryDate() local 608 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowExpiryDate() 611 inOrder.verify(mMockHeaderController).setSecondSummary((String) null); in entityHeader_shouldShowExpiryDate() 1052 private void verifyDisplayedIpv6Addresses(InOrder inOrder, LinkAddress... addresses) { in verifyDisplayedIpv6Addresses() argument 1056 inOrder.verify(mMockIpv6AddressesPref).setSummary(text); in verifyDisplayedIpv6Addresses() 1065 InOrder inOrder = inOrder(mMockIpAddressPref, mMockGatewayPref, mMockSubnetPref, in onLinkPropertiesChanged_updatesFields() local [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/keyguard/ |
D | CarKeyguardViewControllerTest.java | 22 import static org.mockito.Mockito.inOrder; 173 InOrder inOrder = inOrder(mOverlayViewGlobalStateController); in onShow_bouncerNotSecure_keyguardIsNotVisible() local 174 inOrder.verify(mOverlayViewGlobalStateController).showView(eq(mCarKeyguardViewController), in onShow_bouncerNotSecure_keyguardIsNotVisible() 176 inOrder.verify(mOverlayViewGlobalStateController).hideView(eq(mCarKeyguardViewController), in onShow_bouncerNotSecure_keyguardIsNotVisible() 202 InOrder inOrder = inOrder(mOverlayViewGlobalStateController); in onHide_KeyguardNotVisible() local 203 inOrder.verify(mOverlayViewGlobalStateController).showView(eq(mCarKeyguardViewController), in onHide_KeyguardNotVisible() 205 inOrder.verify(mOverlayViewGlobalStateController).hideView(eq(mCarKeyguardViewController), in onHide_KeyguardNotVisible() 241 InOrder inOrder = inOrder(mOverlayViewGlobalStateController); in onEnterSleepModeAndThenShowKeyguard_bouncerNotSecure_keyguardIsVisible() local 242 inOrder.verify(mOverlayViewGlobalStateController).showView(eq(mCarKeyguardViewController), in onEnterSleepModeAndThenShowKeyguard_bouncerNotSecure_keyguardIsVisible() 244 inOrder.verify(mOverlayViewGlobalStateController, never()).hideView( in onEnterSleepModeAndThenShowKeyguard_bouncerNotSecure_keyguardIsVisible() [all …]
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 136 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_NoCalls() local 137 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_NoCalls() 138 inOrder.verify(mDataOutput).writeInt(0 /* size */); in testWriteState_NoCalls() 149 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_OneCall() local 150 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_OneCall() 151 inOrder.verify(mDataOutput).writeInt(1); in testWriteState_OneCall() 152 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */); in testWriteState_OneCall() 165 InOrder inOrder = Mockito.inOrder(mDataOutput); in testWriteState_MultipleCalls() local 166 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls() 167 inOrder.verify(mDataOutput).writeInt(3 /* size */); in testWriteState_MultipleCalls() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpMemoryStoreTest.java | 28 import static org.mockito.Mockito.inOrder; 232 InOrder inOrder = inOrder(mMockService); in testEnqueuedIpMsRequests() local 234 inOrder.verify(mMockService).storeNetworkAttributes(eq(l2Key), mNapCaptor.capture(), any()); in testEnqueuedIpMsRequests() 235 inOrder.verify(mMockService).retrieveNetworkAttributes(eq(l2Key), any()); in testEnqueuedIpMsRequests() 236 inOrder.verify(mMockService).storeBlob(eq(l2Key), eq(TEST_CLIENT_ID), eq(TEST_DATA_NAME), in testEnqueuedIpMsRequests() 238 inOrder.verify(mMockService).retrieveBlob(eq(l2Key), eq(TEST_CLIENT_ID), in testEnqueuedIpMsRequests() 277 InOrder inOrder = inOrder(mMockService); in testEnqueuedIpMsRequestsWithException() local 279 inOrder.verify(mMockService).storeNetworkAttributes(eq(l2Key), mNapCaptor.capture(), any()); in testEnqueuedIpMsRequestsWithException() 280 inOrder.verify(mMockService).storeBlob(eq(l2Key), eq(TEST_CLIENT_ID), eq(TEST_DATA_NAME), in testEnqueuedIpMsRequestsWithException() 282 inOrder.verify(mMockService).retrieveBlob(eq(l2Key), eq(TEST_CLIENT_ID), in testEnqueuedIpMsRequestsWithException() [all …]
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorageTest.java | 27 import static org.mockito.Mockito.inOrder; 346 InOrder inOrder = inOrder(mTestFileOutputStream); in getIncomingMms_withSavedAtoms() local 348 getAtomsWritten(inOrder).getIncomingMmsPullTimestampMillis()); in getIncomingMms_withSavedAtoms() 350 getAtomsWritten(inOrder).getIncomingMmsPullTimestampMillis()); in getIncomingMms_withSavedAtoms() 351 inOrder.verifyNoMoreInteractions(); in getIncomingMms_withSavedAtoms() 487 InOrder inOrder = inOrder(mTestFileOutputStream); in getOutgoingMms_withSavedAtoms() local 489 getAtomsWritten(inOrder).getOutgoingMmsPullTimestampMillis()); in getOutgoingMms_withSavedAtoms() 491 getAtomsWritten(inOrder).getOutgoingMmsPullTimestampMillis()); in getOutgoingMms_withSavedAtoms() 492 inOrder.verifyNoMoreInteractions(); in getOutgoingMms_withSavedAtoms() 592 InOrder inOrder = inOrder(mTestFileOutputStream); in verifyCurrentStateSavedToFileOnce() local [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/ |
D | GaugeMetricDataConverterTest.java | 112 .asList().containsExactly(123, 123, 123, 234).inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 117 "process.name.1", "process.name.2").inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 120 .asList().containsExactly(1000L, 1100L, 1200L, 1300L).inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 124 .asList().containsExactly(1234L, 2345L, 3456L, 4567L).inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 128 .asList().containsExactly(11111111L, 11111111L, 11111111L, 22222222L).inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 130 .asList().containsExactly(12345678L, 23456789L, 34567890L, 445678901L).inOrder(); in testConvertGaugeDataList_putsCorrectDataIntoPersistableBundle() 204 .asList().containsExactly(123, 123, 123, 123, 123, 234).inOrder(); in testConvertGaugeDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 209 "process.name.1", "process.name.1", "process.name.2").inOrder(); in testConvertGaugeDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 212 .asList().containsExactly(1000L, 1000L, 1100L, 1200L, 1200L, 1300L).inOrder(); in testConvertGaugeDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 216 .asList().containsExactly(1234L, 1234L, 2345L, 3456L, 3456L, 4567L).inOrder(); in testConvertGaugeDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() [all …]
|
D | EventMetricDataConverterTest.java | 74 .asList().containsExactly(12345678L, 23456789L).inOrder(); in testConvertEventDataList_putsCorrectDataIntoPersistableBundle() 77 .asList().containsExactly(1000, 1100).inOrder(); in testConvertEventDataList_putsCorrectDataIntoPersistableBundle() 81 .containsExactly("activityName1", "activityName2").inOrder(); in testConvertEventDataList_putsCorrectDataIntoPersistableBundle() 85 .asList().containsExactly(1234L, 2345L).inOrder(); in testConvertEventDataList_putsCorrectDataIntoPersistableBundle() 122 .asList().containsExactly(12345678L, 12345679L, 23456789L).inOrder(); in testConvertEventDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 125 .asList().containsExactly(1000, 1000, 1100).inOrder(); in testConvertEventDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 129 .containsExactly("activityName1", "activityName1", "activityName2").inOrder(); in testConvertEventDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle() 133 .asList().containsExactly(1234L, 1234L, 2345L).inOrder(); in testConvertEventDataList_forAggregatedAtoms_putsCorrectDataIntoPersistableBundle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | RadioButtonPickerFragmentTest.java | 109 InOrder inOrder = Mockito.inOrder(mFragment); in staticPreferencesPrepended_addedFirst() local 110 inOrder.verify(mFragment).addStaticPreferences(any()); in staticPreferencesPrepended_addedFirst() 111 inOrder.verify(mFragment).getRadioButtonPreferenceCustomLayoutResId(); in staticPreferencesPrepended_addedFirst() 119 InOrder inOrder = Mockito.inOrder(mFragment); in staticPreferencesAppended_addedLast() local 120 inOrder.verify(mFragment).mayCheckOnlyRadioButton(); in staticPreferencesAppended_addedLast() 121 inOrder.verify(mFragment).addStaticPreferences(any()); in staticPreferencesAppended_addedLast()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeLocalRequestSchedulerTest.java | 33 import static org.mockito.Mockito.inOrder; 120 InOrder inOrder = inOrder(mMockConsumer); in testProcessOrder() local 126 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testProcessOrder() 132 InOrder inOrder = inOrder(mMockConsumer); in testPriorityProcessOrder() local 154 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testPriorityProcessOrder() 157 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testPriorityProcessOrder() 160 inOrder.verify(mMockConsumer).onNewProcedureReady(r); in testPriorityProcessOrder()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/ |
D | BlockFileTest.java | 150 InOrder inOrder = Mockito.inOrder(mockVisitor); in visit() local 151 inOrder.verify(mockVisitor).begin(); in visit() 152 inOrder.verify(mockVisitor).visitFileHeader(magic, version, blockCount); in visit() 153 inOrder.verify(mockVisitor).visitBlockInfo(blockInfo1111); in visit() 154 inOrder.verify(mockVisitor).visitBlockInfo(blockInfo2222); in visit() 155 inOrder.verify(mockVisitor).visitBlock(argThat(new BlockMatcher(block1111))); in visit() 156 inOrder.verify(mockVisitor).visitBlock(argThat(new BlockMatcher(block2222))); in visit() 157 inOrder.verify(mockVisitor).end(); in visit()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragmentTest.java | 26 import static org.mockito.Mockito.inOrder; 165 final InOrder inOrder = inOrder(networkRequestDialogFragment); in onMatch_shouldUpdateWifiEntries() local 169 inOrder.verify(networkRequestDialogFragment).updateWifiEntries(); in onMatch_shouldUpdateWifiEntries() 170 inOrder.verify(networkRequestDialogFragment).updateUi(); in onMatch_shouldUpdateWifiEntries() 175 final InOrder inOrder = inOrder(networkRequestDialogFragment); in onWifiStateChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries() local 181 inOrder.verify(networkRequestDialogFragment).updateWifiEntries(); in onWifiStateChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries() 182 inOrder.verify(networkRequestDialogFragment).updateUi(); in onWifiStateChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries() 187 final InOrder inOrder = inOrder(networkRequestDialogFragment); in onWifiEntriesChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries() local 193 inOrder.verify(networkRequestDialogFragment).updateWifiEntries(); in onWifiEntriesChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries() 194 inOrder.verify(networkRequestDialogFragment).updateUi(); in onWifiEntriesChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries()
|