Home
last modified time | relevance | path

Searched refs:stop (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DUidRangeUtils.java51 if (!uids.contains(range.start) || !uids.contains(range.stop)) { in isRangeSetInUidRange()
85 if (previousRange.stop > uidRange.start) { in removeRangeSetFromUidRange()
91 start = uidRange.stop + 1; in removeRangeSetFromUidRange()
93 start = uidRange.stop + 1; in removeRangeSetFromUidRange()
97 if (start < uids.stop) { in removeRangeSetFromUidRange()
98 filteredRangeSet.add(new UidRange(start, uids.stop)); in removeRangeSetFromUidRange()
119 if (range1.contains(range2.start) || range1.contains(range2.stop) in doesRangeSetOverlap()
120 || range2.contains(range1.start) || range2.contains(range1.stop)) { in doesRangeSetOverlap()
143 int stop = start; in convertListToUidRange() local
146 if (i <= stop + 1) { in convertListToUidRange()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DUidRange.java36 public final int stop; field in UidRange
43 stop = stopUid; in UidRange()
61 return UserHandle.getUserHandleForUid(stop).getIdentifier(); in getEndUser()
66 return start <= uid && uid <= stop; in contains()
73 return 1 + stop - start; in count()
80 return start <= other.start && other.stop <= stop; in containsRange()
87 result = 31 * result + stop; in hashCode()
98 return start == other.start && stop == other.stop; in equals()
105 return start + "-" + stop; in toString()
119 dest.writeInt(stop); in writeToParcel()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/keepalive/
DIkeNattKeepaliveTest.java159 mIkeNattKeepalive.stop(); in tearDown()
175 mIkeNattKeepalive.stop(); in testStartStopHardwareKeepalive()
186 mIkeNattKeepalive.stop(); in testStartStopHardwareKeepalive()
187 verify(mMockSocketKeepalive).stop(); in testStartStopHardwareKeepalive()
210 ikeNattKeepalive.stop(); in testKeepaliveWithDisableKeepaliveNoTcpConnectionsOption()
233 mIkeNattKeepalive.stop(); in testSwitchToSoftwareKeepalive()
240 verify(mMockSocketKeepalive).stop(); in testSwitchToSoftwareKeepalive()
250 mIkeNattKeepalive.stop(); in testSwitchToSoftwareKeepalive()
251 verify(mMockSocketKeepalive).stop(); in testSwitchToSoftwareKeepalive()
252 verify(mMockSoftwareKeepalive).stop(); in testSwitchToSoftwareKeepalive()
[all …]
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java110 timers.actionInsert.stop(); in doSingle()
114 timers.notifyInsert.stop(); in doSingle()
126 timers.actionUpdate.stop(); in doSingle()
130 timers.notifyUpdate.stop(); in doSingle()
139 timers.actionDelete.stop(); in doSingle()
143 timers.notifyDelete.stop(); in doSingle()
183 timers.actionInsert.stop(); in doBulk()
187 timers.notifyInsert.stop(); in doBulk()
203 timers.actionUpdate.stop(); in doBulk()
207 timers.notifyUpdate.stop(); in doBulk()
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzerTest.cpp218 mAnalyzer->stop(); in TEST_F()
224 mAnalyzer->stop(); in TEST_F()
230 mAnalyzer->stop(); in TEST_F()
238 mAnalyzer->stop(); in TEST_F()
246 mAnalyzer->stop(); in TEST_F()
254 mAnalyzer->stop(); in TEST_F()
262 mAnalyzer->stop(); in TEST_F()
270 mAnalyzer->stop(); in TEST_F()
293 mAnalyzer->stop(); in TEST_F()
323 mAnalyzer->stop(); in TEST_F()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFindSensorTest.java253 mActivityController.pause().stop(); in resultFinishShallForward_onRearDevice()
269 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in resultFinishShallForward_onRearDevice_recreate()
286 mActivityController.pause().stop(); in resultSkipShallForward_onRearDevice()
304 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in resultSkipShallForward_onRearDevice_recreate()
321 mActivityController.pause().stop(); in resultTimeoutShallForward_onRearDevice()
339 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in resultTimeoutShallForward_onRearDevice_recreate()
357 mActivityController.pause().stop(); in clickLottieResultFinishShallForward_onUdfpsDevice()
376 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in clickLottieResultFinishShallForward_onUdfpsDevice_ifActivityRecycled()
394 mActivityController.pause().stop(); in clickLottieResultSkipShallForward_onUdfpsDevice()
413 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in clickLottieResultSkipShallForward_onUdfpsDevice_ifActivityRecycled()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioSession.cpp36 mMediaQualityAnalyzer->stop(); in ~AudioSession()
44 graph->stop(); in ~AudioSession()
57 graph->stop(); in ~AudioSession()
70 graph->stop(); in ~AudioSession()
132 mMediaQualityAnalyzer->stop(); in startGraph()
271 graph->stop(); in addGraph()
279 graph->stop(); in addGraph()
319 graph->stop(); in confirmGraph()
338 graph->stop(); in confirmGraph()
357 graph->stop(); in confirmGraph()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DCheckedTask.java54 if (mCheck.stop()) { in onPreExecute()
62 if (mCheck.stop()) { in doInBackground()
70 if (mCheck.stop()) { in onPostExecute()
78 boolean stop(); in stop() method
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/
DIkeNattKeepalive.java127 public void stop() { in stop() method in IkeNattKeepalive
131 mNattKeepalive.stop(); in stop()
137 mNattKeepalive.stop(); in finishRestartingWithNewHardwareKeepalive()
171 mNattKeepalive.stop(); in restart()
199 void stop(); in stop() method
253 mNattKeepalive.stop(); in onHardwareOffloadError()
270 stop(); in onNetworkError()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DDiscoveryProviderTest.java47 public boolean stop() { in stop() method in DiscoveryProviderTest.FakeDiscoveryProvider
48 if (!super.stop()) { in stop()
71 assertThat(mDiscoveryProvider.stop()).isTrue(); in testStartAndStop()
72 assertThat(mDiscoveryProvider.stop()).isFalse(); in testStartAndStop()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiserTest.kt183 verify(prober).stop(TEST_SERVICE_ID_1) in testAddRemoveService()
184 verify(announcer).stop(TEST_SERVICE_ID_1) in testAddRemoveService()
216 inOrder.verify(prober).stop(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
217 inOrder.verify(announcer).stop(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
218 inOrder.verify(prober).stop(TEST_SERVICE_ID_2) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
243 inOrder.verify(prober).stop(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
244 inOrder.verify(announcer).stop(TEST_SERVICE_ID_1) in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
245 inOrder.verify(announcer).stop(TEST_SERVICE_ID_2) in testAddRemoveServiceWithCustomHost_restartAnnouncingForProbedServices()
275 inOrder.verify(announcer).stop(TEST_SERVICE_ID_1) in testAddMoreAddressesForCustomHost_restartAnnouncingForProbedServices()
288 verify(prober).stop(TEST_SERVICE_ID_1) in testDoubleRemove()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DTestDnsServerTest.kt52 if (testServer.isAlive) testServer.stop() in tearDown()
61 server.stop() in testStartStop()
66 assertFailsWith<IllegalStateException> { testServer.stop() } in testStartStop()
70 testServer.stop() in testStartStop()
72 assertFailsWith<IllegalStateException> { testServer.stop() } in testStartStop()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DTimeLoggerTest.java75 mTimeLogger.stop(); in testTimeLogger_withStartTime()
92 mTimeLogger.stop(); in testTimeLogger_withStartTime_stopsTwice()
99 mTimeLogger.stop(); in testTimeLogger_withStartTime_stopsTwice()
108 mTimeLogger.stop(); in testTimeLogger_withoutStartTime()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextSession.cpp40 mGraphRtpTx->stop(); in ~TextSession()
51 mGraphRtpRx->stop(); in ~TextSession()
62 mGraphRtcp->stop(); in ~TextSession()
242 mGraphRtpTx->stop(); in deactivate()
253 mGraphRtpRx->stop(); in deactivate()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DStopWatchTest.java55 stopWatch.stop(); in testDuration()
70 stopWatch.stop(); in testIsRestartable()
76 stopWatch.stop(); in testIsRestartable()
94 stopWatch.stop(); in testNoops()
/packages/apps/DeskClock/src/com/android/deskclock/
DRingtonePreviewKlaxon.kt28 fun stop(context: Context) { in stop() method
30 getAsyncRingtonePlayer(context).stop() in stop()
35 stop(context) in start()
DAsyncRingtonePlayer.kt78 fun stop() { in <lambda>() method in com.android.deskclock.AsyncRingtonePlayer
144 EVENT_STOP -> playbackDelegate.stop(mContext) in <lambda>()
196 fun stop(context: Context?) in <lambda>() method
244 stop(context) in <lambda>()
323 override fun stop(context: Context?) { in <lambda>() method in com.android.deskclock.AsyncRingtonePlayer.MediaPlayerPlaybackDelegate
333 mMediaPlayer?.stop() in <lambda>()
529 override fun stop(context: Context?) { in <lambda>() method in com.android.deskclock.AsyncRingtonePlayer.RingtonePlaybackDelegate
539 mRingtone!!.stop() in <lambda>()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DDadProxy.java45 public void stop() { in stop() method in DadProxy
46 naForwarder.stop(); in stop()
47 nsForwarder.stop(); in stop()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/profiling/
DLogcatStopWatchTest.java37 watch.stop(); in testSingleStopSingleWrite()
52 watch.stop(); in testMultipleStopsSingleWrite()
53 watch.stop(); in testMultipleStopsSingleWrite()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/
DListOfList.java53 int stop = indexToFirstValue(index + 1); in get() local
54 Preconditions.checkArgument(start < stop, "Empty inner lists are not allowed."); in get()
55 return mValues.subList(start, stop); in get()
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DDampedSpring.java109 stop(); in update()
122 stop(); in update()
141 public void stop() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java123 stop();
138 stop();
256 mPlayer.stop(); in doStart()
272 mPlayer.stop(); in doStart()
314 public void stop() { in stop() method in AudioPlayer
326 mPlayer.stop(); in stop()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java281 mAnnouncer.stop(replacedExitingService); in addService()
293 mProber.stop(id); in removeService()
294 mAnnouncer.stop(id); in removeService()
363 mProber.stop(serviceId); in destroyNow()
364 mAnnouncer.stop(serviceId); in destroyNow()
377 mAnnouncer.stop(serviceId); in maybeRestartProbingForConflict()
473 mProber.stop(probingInfo.getServiceId()); in reprobeServices()
480 mAnnouncer.stop(announcementInfo.getServiceId()); in reannounceServices()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusRingRenderer.java162 mRingRadius.stop(); in start()
181 mRingRadius.stop(); in exit()
196 public void stop(long tMillis) { in stop() method in FocusRingRenderer
198 mRingRadius.stop(); in stop()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/privacy/
DPrivacyChipDrawable.java158 private void lerpRect(Rect start, Rect stop, float amount, RectF out) { in lerpRect() argument
159 float left = MathUtils.lerp(start.left, stop.left, amount); in lerpRect()
160 float top = MathUtils.lerp(start.top, stop.top, amount); in lerpRect()
161 float right = MathUtils.lerp(start.right, stop.right, amount); in lerpRect()
162 float bottom = MathUtils.lerp(start.bottom, stop.bottom, amount); in lerpRect()

12345678910>>...34