Home
last modified time | relevance | path

Searched refs:mAppBinder (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java45 @Mock IBinder mAppBinder; field in LocalOnlyHotspotRequestInfoTest
71 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderLinkToDeathIsCalled()
72 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
80 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, null); in verifyNullCallbackChecked()
88 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, null, mCallback); in verifyNullMessengerChecked()
104 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyUnlinkDeathRecipientUnlinksFromBinder()
106 verify(mAppBinder).unlinkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyUnlinkDeathRecipientUnlinksFromBinder()
114 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderDeathTriggersCallback()
124 doThrow(mRemoteException).when(mAppBinder) in verifyRemoteExceptionTriggersCallback()
126 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyRemoteExceptionTriggersCallback()
[all …]
DWifiServiceImplTest.java191 @Mock IBinder mAppBinder; field in WifiServiceImplTest
1192 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in registerLOHSRequestFull()
1216 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutCorrectPermission()
1228 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationPermission()
1238 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationEnabled()
1250 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
1266 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in testStartLocalOnlyHotspotFailsIfForegroundAppCheckThrowsRemoteException()
1282 mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testHotspotDoesNotStartWhenAlreadyTethering()
1297 mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testHotspotDoesNotStartWhenTetheringDisallowed()
1309 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsExceptionWhenCallerAlreadyRegistered()
[all …]
/frameworks/base/lowpan/tests/src/android/net/lowpan/
DLowpanInterfaceTest.java45 @Mock IBinder mAppBinder; field in LowpanInterfaceTest
DLowpanManagerTest.java48 @Mock IBinder mAppBinder; field in LowpanManagerTest
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java78 @Mock IBinder mAppBinder; field in WifiManagerTest