Home
last modified time | relevance | path

Searched refs:isBound (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPersistentConnectionTest.java127 assertFalse(conn.isBound()); in testAll()
140 assertTrue(conn.isBound()); in testAll()
158 assertTrue(conn.isBound()); in testAll()
171 assertFalse(conn.isBound()); in testAll()
180 assertTrue(conn.isBound()); in testAll()
194 assertTrue(conn.isBound()); in testAll()
206 assertTrue(conn.isBound()); in testAll()
218 assertFalse(conn.isBound()); in testAll()
234 assertTrue(conn.isBound()); in testAll()
246 assertTrue(conn.isBound()); in testAll()
[all …]
/frameworks/base/core/java/android/net/
DLocalSocket.java40 private boolean isBound; field in LocalSocket
74 this.isBound = false; in LocalSocket()
101 socket.isBound = true; in createConnectedLocalSocket()
150 isBound = true; in connect()
165 if (isBound) { in bind()
171 isBound = true; in bind()
277 public synchronized boolean isBound() { in isBound() method in LocalSocket
278 return isBound; in isBound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManagerTest.kt101 assertTrue(mContext.isBound(componentName)) in testBindService()
112 assertFalse(mContext.isBound(componentName)) in testUnbindService()
122 assertTrue(mContext.isBound(componentName)) in testMaybeBindAndLoad()
132 assertFalse(mContext.isBound(componentName)) in testMaybeUnbind_bindingAndCallback()
165 assertTrue(mContext.isBound(componentName)) in testMaybeBindAndSubscribe()
176 assertTrue(mContext.isBound(componentName)) in testMaybeBindAndAction()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java184 if (!isBound()) { in handleOnAllPrintJobsHandled()
216 if (!isBound()) { in handleRequestCancelPrintJob()
243 if (!isBound()) { in handleOnPrintJobQueued()
270 if (!isBound()) { in handleCreatePrinterDiscoverySession()
297 if (!isBound()) { in handleDestroyPrinterDiscoverySession()
339 if (!isBound()) { in handleStartPrinterDiscovery()
367 if (!isBound()) { in handleStopPrinterDiscovery()
397 if (!isBound()) { in handleValidatePrinters()
440 if (!isBound()) { in handleRequestCustomPrinterIcon()
465 if (!isBound()) { in handleStartPrinterStateTracking()
[all …]
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java597 if (!isBound()) return; in cancelNotification()
627 if (!isBound()) return; in cancelNotification()
668 if (!isBound()) return; in cancelNotifications()
694 if (!isBound()) return; in snoozeNotification()
717 if (!isBound()) return; in snoozeNotification()
739 if (!isBound()) return; in setNotificationsShown()
763 if (!isBound()) return; in updateNotificationChannel()
786 if (!isBound()) return null; in getNotificationChannels()
810 if (!isBound()) return null; in getNotificationChannelGroups()
843 if (!isBound()) return; in setOnNotificationPostedTrim()
[all …]
DConditionProviderService.java216 if (!isBound() || conditions == null) return; in notifyConditions()
236 public boolean isBound() { in isBound() method in ConditionProviderService
DNotificationAssistantService.java263 if (!isBound()) return; in adjustNotification()
281 if (!isBound()) return; in adjustNotifications()
303 if (!isBound()) return; in unsnoozeNotification()
466 if (!isBound()) { in handleMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java120 assertEquals(times > 0, mContext.isBound(mTileServiceComponentName)); in verifyBind()
133 assertFalse(mContext.isBound(mTileServiceComponentName)); in testUnbind()
193 assertFalse(mContext.isBound(mTileServiceComponentName)); in testListeningNotListeningBeforeBind()
207 assertFalse(mContext.isBound(mTileServiceComponentName)); in testNoClickOfNotListeningAnymore()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java119 assertThat(mContext.isBound(mComponentName)).isTrue(); in testShow()
150 assertThat(mContext.isBound(mComponentName)).isFalse(); in testHide()
195 assertThat(mContext.isBound(mComponentName)).isFalse(); in verifyViewDismissed()
/frameworks/base/core/java/com/android/internal/infra/
DServiceConnector.java409 } else if (isBound()) { in enqueueJobThread()
495 private boolean isBound() { in isBound() method in ServiceConnector.Impl
654 } else if (isBound()) { in stateToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java169 if (!isBound()) return; in unsnoozeNotification()
/frameworks/base/services/core/java/com/android/server/am/
DPersistentConnection.java215 public final boolean isBound() { in isBound() method in PersistentConnection
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java398 public boolean isBound() { in isBound() method in ProxyServer
/frameworks/base/core/java/com/android/internal/widget/
DGapWorker.java275 if (holder.isBound()) { in prefetchPositionWithDeadline()
DRecyclerView.java5551 if (mState.isPreLayout() && holder.isBound()) { in tryGetViewHolderForPositionByDeadline()
5554 } else if (!holder.isBound() || holder.needsUpdate() || holder.isInvalid()) { in tryGetViewHolderForPositionByDeadline()
10239 boolean isBound() { in isBound() method in RecyclerView.ViewHolder
10349 if (!isBound()) sb.append(" unbound"); in toString()
10461 || !viewHolder.isBound()) { in getAdapterPositionFor()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java292 public boolean isBound(ComponentName component) { in isBound() method in TestableContext
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java518 pw.print(conn.isBound() ? "bound" : "not-bound"); in dumpSimple()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java600 public boolean isBound() { in isBound() method in TrustAgentWrapper
DTrustManagerService.java1209 fout.print(" bound=" + dumpBool(info.agent.isBound()));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java639 public boolean isBound() { in isBound() method in ImsServiceController
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java1147 assertFalse(service.isBound(cn, 0)); in testOnNullBinding()
1175 assertTrue(service.isBound(cn, 0)); in testOnServiceConnected()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1404 boolean isBound(ComponentName cn, int userId) { in isBound() method in ManagedServices
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2737 boolean isBound = context.bindServiceAsUser( in sendOnUnsyncableAccount()
2741 if (isBound) { in sendOnUnsyncableAccount()
/frameworks/base/api/
Dtest-lint-baseline.txt2314 OnNameExpected: android.service.notification.ConditionProviderService#isBound():
Dtest-current.txt3680 method @Deprecated public boolean isBound();

12