Home
last modified time | relevance | path

Searched refs:ConnectionState (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java67 import com.android.car.stats.VmsClientLogger.ConnectionState;
271 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTION_ERROR); in testSystemUserUnlocked_WrongPermission()
282 verify(mSystemClientLog, times(2)).logConnectionState(ConnectionState.CONNECTION_ERROR); in testSystemUserUnlocked_BindFailed()
294 verify(mSystemClientLog, times(2)).logConnectionState(ConnectionState.CONNECTION_ERROR); in testSystemUserUnlocked_BindException()
339 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_WrongPermission()
351 verify(mUserClientLog, times(2)).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_BindFailed()
363 verify(mUserClientLog, times(2)).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_UserBindFailed()
375 verify(mUserClientLog, times(2)).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_BindException()
384 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_SystemRebind()
400 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTION_ERROR); in testUserUnlocked_SystemRebind_BindFailed()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java28 import com.android.car.stats.VmsClientLogger.ConnectionState;
88 .logConnectionState(ConnectionState.CONNECTING); in testLogConnectionState_Connecting()
95 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_Connected()
102 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_Disconnected()
109 .logConnectionState(ConnectionState.TERMINATED); in testLogConnectionState_Terminated()
116 .logConnectionState(ConnectionState.CONNECTION_ERROR); in testLogConnectionState_ConnectionError()
123 .logConnectionState(ConnectionState.CONNECTING); in testLogConnectionState_UnknownUID()
130 .logConnectionState(ConnectionState.CONNECTING); in testLogConnectionState_MultipleClients_MultipleStates()
132 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
134 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
[all …]
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientManager.java45 import com.android.car.stats.VmsClientLogger.ConnectionState;
315 .logConnectionState(ConnectionState.CONNECTED); in onHalConnected()
326 .logConnectionState(ConnectionState.DISCONNECTED); in onHalDisconnected()
414 statsLog.logConnectionState(ConnectionState.CONNECTION_ERROR); in bind()
456 mStatsLog.logConnectionState(ConnectionState.CONNECTING); in bind()
469 mStatsLog.logConnectionState(ConnectionState.CONNECTION_ERROR); in bind()
520 notifyOnDisconnect(ConnectionState.TERMINATED); in terminate()
537 mStatsLog.logConnectionState(ConnectionState.CONNECTED); in onServiceConnected()
543 notifyOnDisconnect(ConnectionState.DISCONNECTED); in onServiceDisconnected()
550 notifyOnDisconnect(ConnectionState.DISCONNECTED); in onBindingDied()
/packages/services/Car/service/src/com/android/car/stats/
DCarStatsService.java28 import com.android.car.stats.VmsClientLogger.ConnectionState;
58 entry.getConnectionStateCount(ConnectionState.CONNECTING),
59 entry.getConnectionStateCount(ConnectionState.CONNECTED),
60 entry.getConnectionStateCount(ConnectionState.DISCONNECTED),
61 entry.getConnectionStateCount(ConnectionState.TERMINATED),
62 entry.getConnectionStateCount(ConnectionState.CONNECTION_ERROR));
DVmsClientLogger.java38 public static class ConnectionState { class in VmsClientLogger
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java35 import com.android.car.radio.service.RadioAppServiceWrapper.ConnectionState;
74 private void onConnectionStateChanged(@ConnectionState int state) { in onConnectionStateChanged()
DDisplayController.java35 import com.android.car.radio.service.RadioAppServiceWrapper.ConnectionState;
119 public void setState(@ConnectionState int state) { in setState()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hearing_aid.cpp28 using bluetooth::hearing_aid::ConnectionState;
45 void OnConnectionState(ConnectionState state, in OnConnectionState()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java39 import com.android.car.radio.service.RadioAppServiceWrapper.ConnectionState;
100 private void onSelfStateChanged(@ConnectionState int state) { in onSelfStateChanged()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java84 public @interface ConnectionState {} annotation in RadioAppServiceWrapper
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java44 enum ConnectionState { enum in BrowsedPlayerWrapper