/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SelfRecoveryTest.java | 67 reset(mActiveModeWarden); in testValidTriggerReasonsSendMessageToWifiController() 74 reset(mActiveModeWarden); in testValidTriggerReasonsSendMessageToWifiController() 113 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 122 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 129 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 135 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 140 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 148 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 155 reset(mActiveModeWarden); in testTimeWindowLimiting_typicalUse() 172 reset(mActiveModeWarden); in testTimeWindowLimiting_NativeFailureOff() [all …]
|
D | SoftApManagerTest.java | 48 import static org.mockito.Mockito.reset; 683 reset(mContext); in stopWhenStarted() 720 reset(mContext); in cleanStopOnInterfaceDestroyed() 761 reset(mCallback); in noCallbackOnInterfaceDestroyedWhenAlreadyStopped() 781 reset(mContext, mCallback, mWifiNative); in testInterfaceOnDownHandled() 819 reset(mContext, mCallback, mWifiNative); in testInterfaceOnDownForDifferentInterfaceDoesNotTriggerStop() 839 reset(mContext, mCallback, mWifiNative); in testHostapdOnFailureHandled() 952 reset(mCallback); in testOnSoftApChannelSwitchedEventTriggerSoftApInfoUpdate() 974 reset(mCallback); in testDoesNotTriggerCallbackForSameChannelInfoUpdate() 983 reset(mCallback); in testDoesNotTriggerCallbackForSameChannelInfoUpdate() [all …]
|
D | ConcreteClientModeManagerTest.java | 539 reset(mContext, mListener); in clientModeStopCleansUpState() 576 reset(mContext); in clientModeStartedStopsWhenInterfaceDown() 596 reset(mContext); in clientModeStartedWithConnectedMacRandDoesNotStopWhenInterfaceDown() 612 reset(mContext); in clientModeStartedStopsOnInterfaceDestroyed() 630 reset(mListener); in noCallbackOnInterfaceDestroyedWhenAlreadyStopped() 700 reset(mContext, mListener); in clientModeStopWithWifiOffDeferringTimeNoWifiCalling() 728 reset(mContext, mListener); in clientModeStopWithWifiOffDeferringTimeAndImsOnWwan() 759 reset(mContext, mListener); in clientModeStopWithWifiOffDeferringTimeWithWifiCalling() 808 reset(mContext, mListener); in clientModeStopWithWifiOffDeferringTimeWithWifiCallingAndNetworkLostFirst() 868 reset(mContext, mListener); in clientModeStopWithWifiOffDeferringTimeAndWifiCallingOnImsRegistered() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarSensorManagerTest.java | 162 listener.reset(); in testEvents() 188 listener.reset(); in testEvents() 215 listener.reset(); in testEvents() 270 listener.reset(); in injectIgnitionStateAndAssert() 318 listener.reset(); in injectGearEventAndAssert() 363 listener1.reset(); in testEventsWithMultipleListeners() 364 listener2.reset(); in testEventsWithMultipleListeners() 365 listener3.reset(); in testEventsWithMultipleListeners() 405 listener1.reset(); in testEventsWithMultipleListeners() 406 listener2.reset(); in testEventsWithMultipleListeners() [all …]
|
D | CarDrivingRestrictionsTest.java | 96 listener.reset(); in testDrivingStateChange() 117 listener.reset(); in testDrivingStateChange() 129 listener.reset(); in testDrivingStateChange() 145 listener.reset(); in testDrivingStateChange() 164 listener.reset(); in testDrivingStateChange() 187 listener.reset(); in testDrivingStateChangeForMalformedInputs() 207 listener.reset(); in testDrivingStateChangeForMalformedInputs() 225 listener.reset(); in testDrivingStateChangeForMalformedInputs() 263 void reset() { in reset() method in CarDrivingRestrictionsTest.DrivingStateListener
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 28 import static org.mockito.Mockito.reset; 188 reset(mDelegate); in testSubChangedAndRatTypeChanged() 198 reset(mDelegate); in testSubChangedAndRatTypeChanged() 208 reset(mDelegate); in testSubChangedAndRatTypeChanged() 217 reset(mDelegate); in testSubChangedAndRatTypeChanged() 224 reset(mDelegate); in testSubChangedAndRatTypeChanged() 254 reset(mDelegate); in test5g() 260 reset(mDelegate); in test5g() 267 reset(mDelegate); in test5g() 273 reset(mDelegate); in test5g() [all …]
|
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/ |
D | LiveDataFunctionsTest.java | 115 observer.reset(); in testDistinct() 120 observer.reset(); in testDistinct() 141 observer.reset(); in testFreezable() 147 observer.reset(); in testFreezable() 158 observer.reset(); in testFreezable() 287 observer.reset(); in testIff_changePredicate() 293 observer.reset(); in testIff_changePredicate() 316 observer.reset(); in testIff_changeValue() 322 observer.reset(); in testIff_changeValue() 340 observer.reset(); in testIff_changeValue_doesntNotifyForIrrelevantChanges() [all …]
|
/packages/modules/adb/ |
D | types.h | 78 data_.reset(); in clear() 112 data_.reset(new char[size]); in allocate() 280 explicit weak_ptr(T* ptr) { reset(ptr); } in weak_ptr() 281 weak_ptr(const weak_ptr& copy) { reset(copy.get()); } in weak_ptr() 284 reset(move.get()); in weak_ptr() 285 move.reset(); in weak_ptr() 288 ~weak_ptr() { reset(); } in ~weak_ptr() 295 reset(copy.get()); 304 reset(move.get()); 305 move.reset(); [all …]
|
/packages/modules/adb/daemon/ |
D | shell_service.cpp | 139 fd1->reset(sockets[0]); in CreateSocketpair() 140 fd2->reset(sockets[1]); in CreateSocketpair() 342 child_stdinout_sfd.reset(OpenPtyChildFd(pts_name, &child_error_sfd)); in ForkAndExec() 351 stdinout_sfd_.reset(-1); in ForkAndExec() 352 stderr_sfd_.reset(-1); in ForkAndExec() 353 child_stdinout_sfd.reset(-1); in ForkAndExec() 354 child_stderr_sfd.reset(-1); in ForkAndExec() 355 parent_error_sfd.reset(-1); in ForkAndExec() 397 child_error_sfd.reset(-1); in ForkAndExec() 406 child_error_sfd.reset(-1); in ForkAndExec() [all …]
|
D | usb.cpp | 102 ~ScopedAioContext() { reset(); } in ~ScopedAioContext() 104 ScopedAioContext(ScopedAioContext&& move) { reset(move.release()); } in ScopedAioContext() 108 reset(move.release()); in operator =() 119 result.reset(ctx); in Create() 129 void reset(aio_context_t new_context = 0) { in reset() function 153 worker_event_fd_.reset(eventfd(0, EFD_CLOEXEC)); in UsbFfsConnection() 158 monitor_event_fd_.reset(eventfd(0, EFD_CLOEXEC)); in UsbFfsConnection() 173 aio_context_.reset(); in ~UsbFfsConnection() 174 control_fd_.reset(); in ~UsbFfsConnection() 175 read_fd_.reset(); in ~UsbFfsConnection() [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 158 change1.reset(); in testFocusChange() 159 change2.reset(); in testFocusChange() 185 change1.reset(); in testFocusChange() 186 change2.reset(); in testFocusChange() 193 change1.reset(); in testFocusChange() 194 change2.reset(); in testFocusChange() 201 change1.reset(); in testFocusChange() 202 change2.reset(); in testFocusChange() 240 listener1.reset(); in testFilter() 241 listener2.reset(); in testFilter() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 134 public void reset() { in reset() method in EntitlementManagerTest.WrappedEntitlementManager 317 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 330 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 342 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 355 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 367 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 379 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 390 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 402 mEnMgr.reset(); in testRequestLastEntitlementCacheValue() 516 mEnMgr.reset(); in testRunTetherProvisioning() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicyTest.java | 29 import static org.mockito.Mockito.reset; 309 reset(mMockBluetoothService); in testReceivePowerShutdownPrepare_disableBluetooth() 331 reset(mMockBluetoothService); in testReceivePowerOnBluetoothPersistedOff_doNothing() 355 reset(mMockBluetoothService); in testReceivePowerOnBluetoothOffNotPersisted_BluetoothOnConnectDevices() 377 reset(mMockBluetoothService); in testReceivePowerOnBluetoothOn_connectDevices() 400 reset(mMockBluetoothService); in testReceiveAdapterTurningOff_doNothing() 419 reset(mMockBluetoothService); in testReceiveAdapterOff_doNothing() 438 reset(mMockBluetoothService); in testReceiveAdapterTurningOn_doNothing() 457 reset(mMockBluetoothService); in testReceiveAdapterOn_connectDevices() 486 reset(mMockBluetoothService); in testSeatOnOccupied_driverSeat_parked_connectDevices() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | DisplayWhiteBalancePreferenceControllerTest.java | 4 import static org.mockito.Mockito.reset; 53 SettingsShadowResources.reset(); in tearDown() 140 reset(mPreference); in visibility_configuredAvailableAccessibilityToggled() 145 reset(mPreference); in visibility_configuredAvailableAccessibilityToggled() 155 reset(mPreference); in visibility_configuredAvailableAccessibilityToggled() 161 reset(mPreference); in visibility_configuredAvailableAccessibilityToggled() 180 reset(mPreference); in visibility_configuredAvailableColorModeChanged() 191 reset(mPreference); in visibility_configuredAvailableColorModeChanged()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcTag.cpp | 676 pollBytes.reset(e->NewByteArray(2)); in fillNativeNfcTagMembers3() 703 pollBytes.reset(e->NewByteArray(len)); in fillNativeNfcTagMembers3() 707 pollBytes.reset(e->NewByteArray(0)); in fillNativeNfcTagMembers3() 742 pollBytes.reset(e->NewByteArray(len)); in fillNativeNfcTagMembers3() 753 pollBytes.reset(e->NewByteArray(2)); in fillNativeNfcTagMembers3() 757 pollBytes.reset(e->NewByteArray(0)); in fillNativeNfcTagMembers3() 806 actBytes.reset(e->NewByteArray(1)); in fillNativeNfcTagMembers4() 821 actBytes.reset(e->NewByteArray(1)); in fillNativeNfcTagMembers4() 829 actBytes.reset(e->NewByteArray(0)); in fillNativeNfcTagMembers4() 833 actBytes.reset(e->NewByteArray(1)); in fillNativeNfcTagMembers4() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/ |
D | OverlayViewGlobalStateControllerTest.java | 25 import static org.mockito.Mockito.reset; 267 reset(mWindowInsetsController); in showView_newHighestZOrder_shouldShowNavBarFalse_navigationBarsHidden() 296 reset(mWindowInsetsController); in showView_newHighestZOrder_shouldShowStatusBarFalse_statusBarsHidden() 324 reset(mWindowInsetsController); in showView_newHighestZOrder_fitsNavBarInsets_insetsAdjusted() 387 reset(mWindowInsetsController); in showView_oldHighestZOrder_shouldShowNavBarFalse_navigationBarsHidden() 402 reset(mWindowInsetsController); in showView_oldHighestZOrder_shouldShowNavBarTrue_navigationBarsShown() 417 reset(mWindowInsetsController); in showView_oldHighestZOrder_shouldShowStatusBarFalse_statusBarsHidden() 432 reset(mWindowInsetsController); in showView_oldHighestZOrder_shouldShowStatusBarTrue_statusBarsShown() 645 reset(mWindowInsetsController); in hideView_newHighestZOrder_shouldShowNavBarFalse_navigationBarHidden() 661 reset(mWindowInsetsController); in hideView_newHighestZOrder_shouldShowNavBarTrue_navigationBarShown() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | KeyValueRow.java | 111 TextView reset = ((TextView) findViewById(R.id.table_row_value)); in removeOnClickListener() local 113 reset.setTextColor(mDefaultTextColor); in removeOnClickListener() 115 reset.setPaintFlags(reset.getPaintFlags() & ~Paint.UNDERLINE_TEXT_FLAG); in removeOnClickListener() 116 reset.setOnClickListener(null); in removeOnClickListener() 117 reset.setClickable(false); in removeOnClickListener()
|
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/ |
D | CborUtilsTest.java | 69 mBaos.reset(); in encodeDataItem() 176 mBaos.reset(); in testParseGeekResponseFakeData() 205 mBaos.reset(); in testExtraDeviceConfigEntriesDontFail() 232 mBaos.reset(); in testMissingDeviceConfigDoesntFail() 261 mBaos.reset(); in testMissingDeviceConfigEntriesDoesntFail() 285 mBaos.reset(); in testParseGeekResponseFailsOnWrongType() 299 mBaos.reset(); in testParseGeekResponseFailsOnWrongType() 313 mBaos.reset(); in testParseGeekResponseFailsOnWrongType() 353 mBaos.reset(); in testCreateCertificateRequest() 364 mBaos.reset(); in testCreateCertificateRequest()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 25 import static org.mockito.Mockito.reset; 181 reset(mHandler); in requestANQPElementsWithPendingRequest() 189 reset(mHandler); in requestANQPElementsWithPendingRequest() 213 reset(mHandler); in requestANQPElementsAfterRequestSendFailure() 236 reset(mHandler); in requestANQPElementsAfterRequestSucceeded() 263 reset(mHandler); in requestANQPElementsAfterRequestFailed() 298 reset(mHandler); in requestANQPElementsWithMaxRetries() 317 reset(mHandler); in requestANQPElementsWithMaxRetries() 334 reset(mHandler); in requestANQPElementsWithMaxRetries()
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingServiceTest.java | 65 getService().reset(); in testStartService_null() 91 getService().reset(); in testStartService_noUpcomingRecording() 106 getService().reset(); in testStartService_noUpcomingRecording() 125 getService().reset(); in testStartService_hasUpcomingRecording() 144 getService().reset(); in testStartService_hasUpcomingRecording() 172 private void reset() { in reset() method in DvrRecordingServiceTest.MockDvrRecordingService
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | NetworkIpProvisioningMetricsTest.java | 47 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo() 52 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo() 57 mMetrics.reset(); in testIpProvisioningMetrics_setHostnameTransinfo() 67 mMetrics.reset(); in testIpProvisioningMetrics_addDhcpErrorCode() 93 mMetrics.reset(); in testIpProvisioningMetrics_CollectMetrics() 149 metrics.reset(); in testIpProvisioningMetrics_VerifyConsecutiveMetricsLatency()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 91 Mockito.reset(mPreference); in onUxRestrictionsChanged_restricted_preferenceRestricted() 103 Mockito.reset(mPreference); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted() 122 Mockito.reset(preference1); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted() 123 Mockito.reset(preference2); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted() 152 Mockito.reset(mPreference); in refreshUi_created_available_preferenceShownAndEnabled() 165 Mockito.reset(mPreference); in refreshUi_created_availableForViewing_preferenceShownAndDisabled() 178 Mockito.reset(mPreference); in refreshUi_created_notAvailable_preferenceHidden()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSliceTest.java | 80 ShadowBatteryTipLoader.reset(); in tearDown() 81 ShadowSliceBackgroundWorker.reset(); in tearDown() 82 ShadowEarlyWarningTip.reset(); in tearDown() 153 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowBatteryTipLoader 173 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowSliceBackgroundWorker 193 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowEarlyWarningTip
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | WordComposer.java | 116 public void reset() { in reset() method in WordComposer 117 mCombinerChain.reset(); in reset() 271 reset(); in setBatchInputWord() 291 reset(); in setComposingWord() 426 mInputPointers.reset(); in commitWord() 434 mCombinerChain.reset(); in commitWord() 451 mCombinerChain.reset(); in resumeSuggestionOnLastComposedWord()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | InputPointers.java | 123 public void reset() { in reset() method in InputPointers 125 mXCoordinates.reset(defaultCapacity); in reset() 126 mYCoordinates.reset(defaultCapacity); in reset() 127 mPointerIds.reset(defaultCapacity); in reset() 128 mTimes.reset(defaultCapacity); in reset()
|