/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | ServiceBindPerfTest.java | 59 private void bindService(Intent intent, ServiceConnection serviceConnection, int flags) { 60 final boolean success = mContext.bindService(intent, serviceConnection, flags); 72 final ServiceConnection serviceConnection = createServiceConnectionReportTime(); 75 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 80 TargetPackageUtils.unbindFromService(mContext, serviceConnection); 94 final ServiceConnection serviceConnection = createServiceConnectionReportTime(); 97 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 102 TargetPackageUtils.unbindFromService(mContext, serviceConnection); 121 final ServiceConnection serviceConnection = createServiceConnectionReportTime(); 125 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); [all …]
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TargetPackageUtils.java | 54 public static void killTargetPackage(Context context, ServiceConnection serviceConnection) { in killTargetPackage() argument 55 unbindFromService(context, serviceConnection); in killTargetPackage() 74 final ServiceConnection serviceConnection = bindAndWaitForConnectedService(context, intent); in startTargetPackage() local 86 return serviceConnection; in startTargetPackage() 115 final ServiceConnection serviceConnection = new ServiceConnection() { in bindAndWaitForConnectedService() local 126 final boolean success = context.bindService(intent, serviceConnection, in bindAndWaitForConnectedService() 139 return serviceConnection; in bindAndWaitForConnectedService() 142 public static void unbindFromService(Context context, ServiceConnection serviceConnection) { in unbindFromService() argument 143 if (serviceConnection != null) { in unbindFromService() 144 context.unbindService(serviceConnection); in unbindFromService()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/ |
D | ShadowCar.java | 52 public static Car createCar(Context context, ServiceConnection serviceConnection) { in createCar() argument 53 if (serviceConnection != null) { in createCar() 57 serviceConnection.onServiceConnected(null, null); in createCar() 66 serviceConnection.onServiceDisconnected(null); in createCar()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityButtonController.java | 60 AccessibilityButtonController(@NonNull IAccessibilityServiceConnection serviceConnection) { in AccessibilityButtonController() argument 61 mServiceConnection = serviceConnection; in AccessibilityButtonController()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyChain.java | 757 private final ServiceConnection serviceConnection; field in KeyChain.KeyChainConnection 760 ServiceConnection serviceConnection, in KeyChainConnection() argument 763 this.serviceConnection = serviceConnection; in KeyChainConnection() 767 context.unbindService(serviceConnection); in close()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 150 TelecomServiceConnection serviceConnection = new TelecomServiceConnection(); in connectToTelecom() local 157 if (mContext.bindServiceAsUser(intent, serviceConnection, flags, UserHandle.SYSTEM)) { in connectToTelecom() 158 mServiceConnection = serviceConnection; in connectToTelecom()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsUtils.java | 118 ServiceConnection serviceConnection) { in startBinding() argument 129 context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE); in startBinding()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 513 HttpsServiceConnection serviceConnection; in getServiceConnection() local 517 serviceConnection = (HttpsServiceConnection) mHttpsTransport.getServiceConnection(); in getServiceConnection() 518 if (serviceConnection != null) { in getServiceConnection() 519 serviceConnection.setSSLSocketFactory(mSocketFactory); in getServiceConnection() 525 return serviceConnection; in getServiceConnection()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 4072 public void addServiceLocked(AccessibilityServiceConnection serviceConnection) { in addServiceLocked() argument 4073 if (!mBoundServices.contains(serviceConnection)) { in addServiceLocked() 4074 serviceConnection.onAdded(); in addServiceLocked() 4075 mBoundServices.add(serviceConnection); in addServiceLocked() 4076 mComponentNameToServiceMap.put(serviceConnection.mComponentName, serviceConnection); in addServiceLocked() 4088 public void removeServiceLocked(AccessibilityServiceConnection serviceConnection) { in removeServiceLocked() argument 4089 mBoundServices.remove(serviceConnection); in removeServiceLocked() 4090 serviceConnection.onRemoved(); in removeServiceLocked() 4093 serviceConnection.getServiceInfo().getComponentName()))) { in removeServiceLocked() 4114 public void serviceDisconnectedLocked(AccessibilityServiceConnection serviceConnection) { in serviceDisconnectedLocked() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 1112 ServiceConnection serviceConnection = new ServiceConnection() { in registerServiceLocked() local 1169 serviceConnection, in registerServiceLocked()
|