Home
last modified time | relevance | path

Searched refs:iBinder (Results 1 – 24 of 24) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/
DMediationTestSdkApiImpl.java94 IBinder iBinder = sandboxedSdk.getInterface(); in getMediateeInterface() local
95 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()
96 return ICtsSdkProviderApi.Stub.asInterface(iBinder); in getMediateeInterface()
103 IBinder iBinder = appOwnedInterface.getInterface(); in getMediateeInterface() local
104 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()
105 return ICtsSdkProviderApi.Stub.asInterface(iBinder); in getMediateeInterface()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DAppOwnedSdkSandboxInterfaceTest.java54 final IBinder iBinder = new Binder(); in testGetInterface() local
57 APP_OWNED_SDK_SANDBOX_INTERFACE_NAME, /*version=*/ 0, iBinder); in testGetInterface()
58 assertThat(appOwnedSdkSandboxInterface.getInterface()).isSameInstanceAs(iBinder); in testGetInterface()
71 final IBinder iBinder = new Binder(); in testWriteToParcel() local
74 APP_OWNED_SDK_SANDBOX_INTERFACE_NAME, /*version=*/ 0, iBinder); in testWriteToParcel()
DSdkSandboxMediationTest.java111 IBinder iBinder = new Binder(); in testGetAppOwnedSdkSandboxInterfaces() local
116 /*interfaceIBinder=*/ iBinder)); in testGetAppOwnedSdkSandboxInterfaces()
126 assertThat(appOwnedSdkSandboxInterfaceList.get(0).getInterface()).isEqualTo(iBinder); in testGetAppOwnedSdkSandboxInterfaces()
138 IBinder iBinder = new Binder(); in testGetAppOwnedSdkSandboxInterfaces_MultipleInterfaces() local
143 /*interfaceIBinder=*/ iBinder)); in testGetAppOwnedSdkSandboxInterfaces_MultipleInterfaces()
172 .containsExactly(iBinder, iBinder2); in testGetAppOwnedSdkSandboxInterfaces_MultipleInterfaces()
DSdkSandboxManagerTest.java204 IBinder iBinder = new Binder(); in testRegisterAndGetAppOwnedSdkSandboxInterface() local
209 /*interfaceIBinder=*/ iBinder)); in testRegisterAndGetAppOwnedSdkSandboxInterface()
216 assertThat(appOwnedSdkSandboxInterfaceList.get(0).getInterface()).isEqualTo(iBinder); in testRegisterAndGetAppOwnedSdkSandboxInterface()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DShadowServiceManagerExtend.java38 final IBinder iBinder = ShadowServiceManager.getService(name); in getService() local
39 if (iBinder == null) { in getService()
42 return iBinder; in getService()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTISBindHelper.java66 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
67 if (!(iBinder instanceof TISBinder)) { in onServiceConnected()
78 mBinder = (TISBinder) iBinder; in onServiceConnected()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DNfcCardEmulationOccurredTest.java233 IBinder iBinder = new Binder(); in testOnPollingLoopDetectedServiceBound() local
235 serviceConnection.onServiceConnected(componentName, iBinder); in testOnPollingLoopDetectedServiceBound()
242 Assert.assertEquals(iBinder, mActiveService); in testOnPollingLoopDetectedServiceBound()
251 IBinder iBinder = new Binder(); in testOnPollingLoopDetectedSTATE_XFER() local
253 serviceConnection.onServiceConnected(componentName, iBinder); in testOnPollingLoopDetectedSTATE_XFER()
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/remotedpm/
DRemoteDevicePolicyManager.java63 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
65 + ", Binder: " + iBinder + ")");
66 mRemoteDpm = IRemoteDevicePolicyManager.Stub.asInterface(iBinder);
/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyService.java124 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
125 Slogf.i(TAG, "onServiceConnected: %s, %s", componentName, iBinder);
127 if (mOemCarService == IOemCarService.Stub.asInterface(iBinder)) {
131 mOemCarService, iBinder);
132 mOemCarService = IOemCarService.Stub.asInterface(iBinder);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMediaBrowserProxyService.java246 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
248 + ", Binder: " + iBinder + ")"); in onServiceConnected()
250 mServiceBinder = IMediaBrowserService.Stub.asInterface(iBinder); in onServiceConnected()
/packages/apps/Dialer/java/com/android/incallui/
DInCallServiceImpl.java120 IBinder iBinder = super.onBind(intent); in onBind() local
122 return iBinder; in onBind()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/mediacognitionservices/
DMediaCognitionServiceTest.java83 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
84 mPrimaryService = IMediaCognitionService.Stub.asInterface(iBinder); // Update interface
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DFakeSdkSandboxManagerLocal.java82 public void registerAdServicesManagerService(IBinder iBinder, boolean published) {} in registerAdServicesManagerService() argument
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxManagerLocal.java202 void registerAdServicesManagerService(IBinder iBinder, boolean published); in registerAdServicesManagerService() argument
DSdkSandboxManagerService.java1479 void registerAdServicesManagerService(IBinder iBinder, boolean published) {
1482 mAdServicesManager = iBinder;
2286 public void registerAdServicesManagerService(IBinder iBinder, boolean published) {
2287 SdkSandboxManagerService.this.registerAdServicesManagerService(iBinder, published);
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DAdServicesManager.java83 IBinder iBinder = in getInstance() local
85 sSingleton = new AdServicesManager(IAdServicesManager.Stub.asInterface(iBinder)); in getInstance()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DForceEnableNotesRolePreferenceControllerTest.java144 public static IOverlayManager asInterface(IBinder iBinder) { in asInterface() argument
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DFindP2pPrintersFragment.java82 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
DAddPrintersFragment.java133 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxManagerServiceUnitTest.java303 final IBinder iBinder = new Binder(); in testRegisterAndGetAppOwnedSdkSandboxInterfaceSuccess() local
310 /*interfaceIBinder=*/ iBinder), in testRegisterAndGetAppOwnedSdkSandboxInterfaceSuccess()
319 assertThat(appOwnedSdkSandboxInterfaceList.get(0).getInterface()).isEqualTo(iBinder); in testRegisterAndGetAppOwnedSdkSandboxInterfaceSuccess()
1724 IBinder iBinder = Mockito.mock(IBinder.class); in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath() local
1730 /*interfaceIBinder=*/ iBinder), in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath()
1735 Mockito.verify(iBinder).linkToDeath(deathRecipient.capture(), ArgumentMatchers.eq(0)); in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteClientModeManagerTest.java1609 IBinder iBinder = mock(IBinder.class); in propagateConnectedWifiScorerToPrimaryClientModeImpl() local
1611 mClientModeManager.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeImpl()
1612 verify(mClientModeImpl).setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeImpl()
1617 mClientModeManager.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeImpl()
1618 verify(mClientModeImpl, times(2)).setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeImpl()
DActiveModeWardenTest.java4290 IBinder iBinder = mock(IBinder.class); in propagateConnectedWifiScorerToPrimaryClientModeManager() local
4292 mActiveModeWarden.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeManager()
4296 verify(mClientModeManager).setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeManager()
4301 mActiveModeWarden.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeManager()
4302 verify(mClientModeManager, times(2)).setWifiConnectedNetworkScorer(iBinder, iScorer, in propagateConnectedWifiScorerToPrimaryClientModeManager()
4309 IBinder iBinder = mock(IBinder.class); in propagateConnectedWifiScorerToPrimaryClientModeManager_enterScanOnlyState() local
4311 mActiveModeWarden.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeManager_enterScanOnlyState()
4315 verify(mClientModeManager).setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in propagateConnectedWifiScorerToPrimaryClientModeManager_enterScanOnlyState()
4324 IBinder iBinder = mock(IBinder.class); in handleWifiScorerSetScoreUpdateObserverFailure() local
4327 mActiveModeWarden.setWifiConnectedNetworkScorer(iBinder, iScorer, TEST_UID); in handleWifiScorerSetScoreUpdateObserverFailure()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DBackupSettingsHelperTest.java370 public static IBackupManager asInterface(IBinder iBinder) { in asInterface() argument
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java1577 IBinder iBinder = in connectToVsockServer() local
1579 if (iBinder == null) { in connectToVsockServer()
1582 return iBinder; in connectToVsockServer()