/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/ |
D | MediationTestSdkApiImpl.java | 94 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/ |
D | AppOwnedSdkSandboxInterfaceTest.java | 54 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()
|
D | SdkSandboxMediationTest.java | 111 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()
|
D | SdkSandboxManagerTest.java | 204 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/ |
D | ShadowServiceManagerExtend.java | 38 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/ |
D | TISBindHelper.java | 66 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/ |
D | NfcCardEmulationOccurredTest.java | 233 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/ |
D | RemoteDevicePolicyManager.java | 63 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/ |
D | CarOemProxyService.java | 124 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/ |
D | MediaBrowserProxyService.java | 246 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/ |
D | InCallServiceImpl.java | 120 IBinder iBinder = super.onBind(intent); in onBind() local 122 return iBinder; in onBind()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/mediacognitionservices/ |
D | MediaCognitionServiceTest.java | 83 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/ |
D | FakeSdkSandboxManagerLocal.java | 82 public void registerAdServicesManagerService(IBinder iBinder, boolean published) {} in registerAdServicesManagerService() argument
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxManagerLocal.java | 202 void registerAdServicesManagerService(IBinder iBinder, boolean published); in registerAdServicesManagerService() argument
|
D | SdkSandboxManagerService.java | 1479 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/ |
D | AdServicesManager.java | 83 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/ |
D | ForceEnableNotesRolePreferenceControllerTest.java | 144 public static IOverlayManager asInterface(IBinder iBinder) { in asInterface() argument
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | FindP2pPrintersFragment.java | 82 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
|
D | AddPrintersFragment.java | 133 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected() argument
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxManagerServiceUnitTest.java | 303 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/ |
D | ConcreteClientModeManagerTest.java | 1609 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()
|
D | ActiveModeWardenTest.java | 4290 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/ |
D | BackupSettingsHelperTest.java | 370 public static IBackupManager asInterface(IBinder iBinder) { in asInterface() argument
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualMachine.java | 1577 IBinder iBinder = in connectToVsockServer() local 1579 if (iBinder == null) { in connectToVsockServer() 1582 return iBinder; in connectToVsockServer()
|