Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 708) sorted by relevance

12345678910>>...29

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java158 listener.reset(); in testEvents()
183 listener.reset(); in testEvents()
209 listener.reset(); in testEvents()
264 listener.reset(); in injectIgnitionStateAndAssert()
312 listener.reset(); in injectGearEventAndAssert()
357 listener1.reset(); in testEventsWithMultipleListeners()
358 listener2.reset(); in testEventsWithMultipleListeners()
359 listener3.reset(); in testEventsWithMultipleListeners()
396 listener1.reset(); in testEventsWithMultipleListeners()
397 listener2.reset(); in testEventsWithMultipleListeners()
[all …]
DCarDrivingRestrictionsTest.java95 listener.reset(); in testDrivingStateChange()
116 listener.reset(); in testDrivingStateChange()
128 listener.reset(); in testDrivingStateChange()
144 listener.reset(); in testDrivingStateChange()
163 listener.reset(); in testDrivingStateChange()
186 listener.reset(); in testDrivingStateChangeForMalformedInputs()
206 listener.reset(); in testDrivingStateChangeForMalformedInputs()
219 listener.reset(); in testDrivingStateChangeForMalformedInputs()
251 void reset() { in reset() method in CarDrivingRestrictionsTest.DrivingStateListener
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java115 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/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java157 change1.reset(); in testFocusChange()
158 change2.reset(); in testFocusChange()
184 change1.reset(); in testFocusChange()
185 change2.reset(); in testFocusChange()
192 change1.reset(); in testFocusChange()
193 change2.reset(); in testFocusChange()
200 change1.reset(); in testFocusChange()
201 change2.reset(); in testFocusChange()
238 listener1.reset(); in testFilter()
239 listener2.reset(); in testFilter()
[all …]
/packages/apps/Nfc/nci/jni/
DNfcTag.cpp676 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/Settings/tests/robotests/src/com/android/settings/display/
DDisplayWhiteBalancePreferenceControllerTest.java4 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/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothDeviceConnectionPolicyTest.java200 reset(mMockBluetoothService); in testReceivePowerShutdownPrepare_disableBluetooth()
223 reset(mMockBluetoothService); in testReceivePowerOnBluetoothPersistedOff_doNothing()
246 reset(mMockBluetoothService); in testReceivePowerOnBluetoothOffNotPersisted_BluetoothOnConnectDevices()
269 reset(mMockBluetoothService); in testReceivePowerOnBluetoothOn_connectDevices()
293 reset(mMockBluetoothService); in testReceiveAdapterTurningOff_doNothing()
313 reset(mMockBluetoothService); in testReceiveAdapterOff_doNothing()
333 reset(mMockBluetoothService); in testReceiveAdapterTurningOn_doNothing()
353 reset(mMockBluetoothService); in testReceiveAdapterOn_connectDevices()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DKeyValueRow.java111 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/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java105 ShadowConnectivityManager.reset(); in tearDown()
106 ShadowWifiManager.reset(); in tearDown()
107 ShadowBluetoothAdapter.reset(); in tearDown()
108 ShadowRecoverySystem.reset(); in tearDown()
109 ShadowTelephonyManager.reset(); in tearDown()
110 ShadowNetworkPolicyManager.reset(); in tearDown()
111 ShadowContentResolver.reset(); in tearDown()
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp82 mSslFd.reset(socket(mServer.ss.ss_family, type, mServer.protocol)); in tcpConnect()
93 mSslFd.reset(); in tcpConnect()
109 mSslFd.reset(); in tcpConnect()
142 mSslCtx.reset(SSL_CTX_new(TLS_method())); in initialize()
182 mEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in initialize()
185 mLoopThread.reset(new std::thread(&DnsTlsSocket::loop, this)); in initialize()
275 mSsl.reset(); in sslDisconnect()
277 mSslFd.reset(); in sslDisconnect()
400 mLoopThread.reset(); in ~DnsTlsSocket()
DDnsTlsTransport.cpp85 mSocket.reset(); in doConnect()
112 mReconnectThread.reset(new std::thread(&DnsTlsTransport::doReconnect, this)); in onClosed()
127 mSocket.reset(); in doReconnect()
145 mReconnectThread.reset(); in ~DnsTlsTransport()
149 mSocket.reset(); in ~DnsTlsTransport()
Dres_init.cpp104 sock.reset(); in res_init()
108 statp->tcp_nssock.reset(); in res_init()
124 sock.reset(); in fromResState()
129 resOutput.tcp_nssock.reset(); in fromResState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBatteryFixSliceTest.java78 ShadowBatteryTipLoader.reset(); in tearDown()
79 ShadowSliceBackgroundWorker.reset(); in tearDown()
80 ShadowEarlyWarningTip.reset(); in tearDown()
145 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowBatteryTipLoader
165 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowSliceBackgroundWorker
185 public static void reset() { in reset() method in BatteryFixSliceTest.ShadowEarlyWarningTip
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
DDvrRecordingServiceTest.java65 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/
DNetworkIpProvisioningMetricsTest.java47 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DWordComposer.java116 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/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManager.java155 reset(); in stop()
164 reset(); in disconnectDevice()
167 private void reset() { in reset() method in CarBlePeripheralManager
187 reset(); in connectToDevice()
222 reset(); in startAssociation()
256 reset(); in stopAssociation()
337 reset(); in disconnectWithError()
425 reset();
484 reset();
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp70 ctx_.reset(SSL_CTX_new(TLS_server_method())); in startServer()
146 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
158 event_fd_.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in startServer()
292 socket_.reset(); in stopServer()
293 backend_socket_.reset(); in stopServer()
294 event_fd_.reset(); in stopServer()
295 ctx_.reset(); in stopServer()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.kt120 val reset: Intent = Intent(context, TimerService::class.java) in build() constant
126 val intent2: PendingIntent = Utils.pendingServiceIntent(context, reset) in build()
138 val reset: Intent = TimerService.createResetUnexpiredTimersIntent(context) in build() constant
142 val intent1: PendingIntent = Utils.pendingServiceIntent(context, reset) in build()
224 val reset: Intent = TimerService.createResetExpiredTimersIntent(context) in buildHeadsUp() constant
225 val intent1: PendingIntent = Utils.pendingServiceIntent(context, reset) in buildHeadsUp()
328 val reset: Intent = Intent(context, TimerService::class.java) in buildMissed() constant
334 val intent1: PendingIntent = Utils.pendingServiceIntent(context, reset) in buildMissed()
340 val reset: Intent = TimerService.createResetMissedTimersIntent(context) in buildMissed() constant
344 val intent1: PendingIntent = Utils.pendingServiceIntent(context, reset) in buildMissed()
DTimerNotificationBuilder.java121 final Intent reset = new Intent(context, TimerService.class) in build() local
127 final PendingIntent intent2 = Utils.pendingServiceIntent(context, reset); in build()
139 final Intent reset = TimerService.createResetUnexpiredTimersIntent(context); in build() local
143 final PendingIntent intent1 = Utils.pendingServiceIntent(context, reset); in build()
226 final Intent reset = TimerService.createResetExpiredTimersIntent(context); in buildHeadsUp() local
227 final PendingIntent intent1 = Utils.pendingServiceIntent(context, reset); in buildHeadsUp()
327 final Intent reset = new Intent(context, TimerService.class) in buildMissed() local
333 final PendingIntent intent1 = Utils.pendingServiceIntent(context, reset); in buildMissed()
339 final Intent reset = TimerService.createResetMissedTimersIntent(context); in buildMissed() local
343 final PendingIntent intent1 = Utils.pendingServiceIntent(context, reset); in buildMissed()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java123 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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java32 import static org.mockito.Mockito.reset;
512 reset(mPublisherService); in testOnSystemServiceDisconnected()
534 reset(mPublisherService, mSystemClientLog); in testOnSystemServiceDisconnected_ServiceReboundByAndroid()
559 reset(mPublisherService); in testOnSystemServiceBindingDied()
595 reset(mPublisherService); in testOnUserServiceDisconnected()
617 reset(mPublisherService, mUserClientLog); in testOnUserServiceDisconnected_ServiceReboundByAndroid()
641 reset(mPublisherService); in testOnUserServiceBindingDied()
677 reset(mPublisherService); in testOnUserSwitched_UserChange()
694 reset(mPublisherService); in testOnUserSwitched_UserChange_ForegroundUserNotUnlocked()
711 reset(mPublisherService); in testOnUserSwitched_UserChange_ToSystemUser()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java144 private void reset(@Nullable SampleChunk chunk) { in reset() method in SampleChunk.IoState
149 private void reset(SampleChunk chunk, long offset) { in reset() method in SampleChunk.IoState
165 reset(chunk, offset); in openRead()
179 reset(chunk); in openWrite()
195 reset(next); in read()
229 reset(nextChunk); in write()
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java205 reset(); in onEnterAction()
220 mTracker.sendHideChannelSwitch(mViewDurationTimer.reset()); in onExitAction()
233 private void reset() { in reset() method in KeypadChannelSwitchView
234 mTypedChannelNumber.reset(); in reset()
251 mTypedChannelNumber.reset(); in onNumberKeyUp()
254 mTypedChannelNumber.reset(); in onNumberKeyUp()
258 mTypedChannelNumber.reset(); in onNumberKeyUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java40 import static org.mockito.Mockito.reset;
218 reset(mPreference); in getSummary_PrivateDnsModeOpportunistic()
242 reset(mPreference); in getSummary_PrivateDnsModeProviderHostname()
260 reset(mController); in getSummary_PrivateDnsDefaultMode()
261 reset(mPreference); in getSummary_PrivateDnsDefaultMode()
268 reset(mController); in getSummary_PrivateDnsDefaultMode()
269 reset(mPreference); in getSummary_PrivateDnsDefaultMode()

12345678910>>...29