Home
last modified time | relevance | path

Searched refs:onServiceConnected (Results 1 – 25 of 220) sorted by relevance

123456789

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHapClientProfileTest.java91 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in onServiceConnected_isProfileReady()
107 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in getConnectionStatus_returnCorrectConnectionState()
117 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in isEnabled_connectionPolicyAllowed_returnTrue()
125 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in isEnabled_connectionPolicyForbidden_returnFalse()
134 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in getConnectionPolicy_returnCorrectConnectionPolicy()
143 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in setEnabled_connectionPolicyAllowed_setConnectionPolicyAllowed_returnFalse()
153 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in setEnabled_connectionPolicyForbidden_setConnectionPolicyAllowed_returnTrue()
164 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in setEnabled_connectionPolicyAllowed_setConnectionPolicyForbidden_returnTrue()
174 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in setEnabled_connectionPolicyForbidden_setConnectionPolicyForbidden_returnTrue()
185 mServiceListener.onServiceConnected(BluetoothProfile.HAP_CLIENT, mService); in getConnectedDevices_returnCorrectList()
[all …]
DVolumeControlProfileTest.java81 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in onServiceConnected_isProfileReady()
97 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in getConnectionStatus_returnCorrectConnectionState()
107 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in isEnabled_connectionPolicyAllowed_returnTrue()
115 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in isEnabled_connectionPolicyForbidden_returnFalse()
124 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in getConnectionPolicy_returnCorrectConnectionPolicy()
133 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in setEnabled_connectionPolicyAllowed_setConnectionPolicyAllowed_returnFalse()
143 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in setEnabled_connectionPolicyForbidden_setConnectionPolicyAllowed_returnTrue()
154 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in setEnabled_connectionPolicyAllowed_setConnectionPolicyForbidden_returnTrue()
164 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in setEnabled_connectionPolicyForbidden_setConnectionPolicyForbidden_returnTrue()
175 mServiceListener.onServiceConnected(BluetoothProfile.VOLUME_CONTROL, mService); in getConnectedDevices_returnCorrectList()
[all …]
DHfpClientProfileTest.java63 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET_CLIENT, mService); in setUp()
DSapProfileTest.java62 mServiceListener.onServiceConnected(BluetoothProfile.SAP, mService); in setUp()
DMapClientProfileTest.java63 mServiceListener.onServiceConnected(BluetoothProfile.MAP_CLIENT, mService); in setUp()
DPbapClientProfileTest.java63 mServiceListener.onServiceConnected(BluetoothProfile.PBAP_CLIENT, mService); in setUp()
DHidDeviceProfileTest.java63 mServiceListener.onServiceConnected(BluetoothProfile.HID_DEVICE, mService); in setUp()
DA2dpSinkProfileTest.java63 mServiceListener.onServiceConnected(BluetoothProfile.A2DP_SINK, mService); in setUp()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportConnectionTest.java159 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_callsListenerWhenConnected()
174 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
188 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenAlreadyConnected_callsListener()
233 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener()
246 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedAfterNewConnection_callsListener()
248 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedAfterNewConnection_callsListener()
299 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents()
321 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnect_whenConnected_returnsTransport()
333 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnect_afterOnServiceDisconnected_returnsNull()
382 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testUnbind_whenConnected_logsDisconnectedAndUnboundTransitionEvents()
[all …]
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamControllerTest.java131 serviceConnection.onServiceConnected(mDreamName, mIBinder); in startDream_attachOnServiceConnected()
147 serviceConnection.onServiceConnected(mDreamName, mIBinder); in startDream_dreamListenerNotified()
159 captureServiceConnection().onServiceConnected(mDreamName, mIBinder); in stopDream_dreamListenerNotified()
178 serviceConnection.onServiceConnected(mDreamName, mIBinder); in startDream_attachOnServiceConnectedInPreviewMode()
192 captureServiceConnection().onServiceConnected(mDreamName, mIBinder); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
208 captureServiceConnection().onServiceConnected(newDreamName, newBinder); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
226 captureServiceConnection().onServiceConnected(mDreamName, mIBinder); in stopDream_detachFromService()
243 serviceConnection.onServiceConnected(mDreamName, mIBinder); in serviceDisconnect_resetsScreenTimeout()
262 captureServiceConnection().onServiceConnected(mDreamName, mIBinder); in binderDied_resetsScreenTimeout()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java193 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
203 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
207 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
216 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in onServiceConnected_addsWindowTokens()
232 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in binderDied_keysGetFlushed()
246 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedService_notInEnabledServiceList_doNotInitClient()
258 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in sendGesture_touchableDevice_injectEvents()
275 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in sendGesture_untouchableDevice_performGestureResultFailed()
292 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in sendGesture_invalidDisplay_performGestureResultFailed()
312 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in binderDied_resetAllMagnification()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java46 void onServiceConnected(); in onServiceConnected() method
156 public void onServiceConnected(ComponentName name, IBinder service) { in createServiceConnection()
162 mConnectionListener.onServiceConnected(); in createServiceConnection()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java32 public void onServiceConnected() { in onServiceConnected() method in AELogger
33 super.onServiceConnected(); in onServiceConnected()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java71 @Override public void onServiceConnected(ComponentName name, IBinder service) {
78 @Override public void onServiceConnected(ComponentName name, IBinder service) {
85 @Override public void onServiceConnected(ComponentName name, IBinder service) {
/frameworks/base/core/java/com/android/internal/textservice/
DITextServicesSessionListener.aidl28 oneway void onServiceConnected(in ISpellCheckerSession spellCheckerSession); in onServiceConnected() method
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java91 mMixin.onServiceConnected(); in onServiceConnected_shouldGetSuggestion()
102 mMixin.onServiceConnected(); in onServiceConnected_hostNotAttached_shouldDoNothing()
DSuggestionControllerMixinCompatTest.java91 mMixin.onServiceConnected(); in onServiceConnected_shouldGetSuggestion()
102 mMixin.onServiceConnected(); in onServiceConnected_hostNotAttached_shouldDoNothing()
/frameworks/base/core/java/android/content/
DServiceConnection.java45 void onServiceConnected(ComponentName name, IBinder service); in onServiceConnected() method
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DSharedConnectivityClientCallback.java76 void onServiceConnected(); in onServiceConnected() method
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/
DISharedConnectivityCallback.aidl34 oneway void onServiceConnected(); in onServiceConnected() method
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPersistentConnectionTest.java155 conn.getServiceConnectionForTest().onServiceConnected(cn, in testAll()
203 conn.getServiceConnectionForTest().onServiceConnected(cn, in testAll()
243 conn.getServiceConnectionForTest().onServiceConnected(cn, in testAll()
420 conn.getServiceConnectionForTest().onServiceConnected(cn, in testResetBackoff()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerProvider.java51 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() method in PrintSpoolerProvider
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DMainActivity.java40 public void onServiceConnected(ComponentName name, IBinder service) {
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java63 public void onServiceConnected(ComponentName name, IBinder service) {
73 public void onServiceConnected(ComponentName name, IBinder service) {
DBinderWorkSourceNestedService.java55 public void onServiceConnected(ComponentName name, IBinder service) {

123456789