Searched refs:mClient1 (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProxySubscriptionManagerTest.java | 56 private Client mClient1; field in ProxySubscriptionManagerTest 70 mClient1 = new Client(); in setUp() 71 mClient1.setLifecycle(mLifecycle_ON_RESUME); in setUp() 110 proxy.addActiveSubscriptionsListener(mClient1); in addActiveSubscriptionsListener_addOneClient_getNoCallback() 111 assertThat(mClient1.getCallbackCount()).isEqualTo(0); in addActiveSubscriptionsListener_addOneClient_getNoCallback() 119 proxy.addActiveSubscriptionsListener(mClient1); in addActiveSubscriptionsListener_addOneClient_changeOnSimGetCallback() 120 assertThat(mClient1.getCallbackCount()).isEqualTo(0); in addActiveSubscriptionsListener_addOneClient_changeOnSimGetCallback() 123 assertThat(mClient1.getCallbackCount()).isEqualTo(1); in addActiveSubscriptionsListener_addOneClient_changeOnSimGetCallback() 131 mClient1.setLifecycle(mLifecycle_ON_PAUSE); in addActiveSubscriptionsListener_addOneClient_noCallbackUntilUiResume() 133 proxy.addActiveSubscriptionsListener(mClient1); in addActiveSubscriptionsListener_addOneClient_noCallbackUntilUiResume() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 147 private Binder mClient1; field in WifiP2pServiceImplTest 928 mClient1 = new Binder(); in setUp() 979 checkIsP2pInitWhenClientConnected(true, false, mClient1, in testP2pInitWhenClientConnectWithWifiEnabled() 980 new WorkSource(mClient1.getCallingUid(), TEST_PACKAGE_NAME)); in testP2pInitWhenClientConnectWithWifiEnabled() 981 checkIsP2pTearDownWhenClientDisconnected(true, false, mClient1, null); in testP2pInitWhenClientConnectWithWifiEnabled() 992 checkIsP2pInitWhenClientConnected(false, false, mClient1, in testP2pDoesntInitWhenClientConnectWithWifiDisabled() 993 new WorkSource(mClient1.getCallingUid(), TEST_PACKAGE_NAME)); in testP2pDoesntInitWhenClientConnectWithWifiDisabled() 994 checkIsP2pTearDownWhenClientDisconnected(false, false, mClient1, null); in testP2pDoesntInitWhenClientConnectWithWifiDisabled() 1003 forceP2pEnabled(mClient1); in checkIsP2pInitForWifiChanges() 1030 forceP2pEnabled(mClient1); in checkIsP2pInitForTwoClientsConnection() [all …]
|