/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
BaseBindingActivity.java | 39 private ServiceConnection mServiceConnection; 109 if (mServiceConnection == null) { 112 mServiceConnection = new ServiceConnection() { 143 mServiceConnection, 152 if (mServiceConnection != null) { 154 mServiceConnection.onServiceDisconnected(null /*name*/); 155 unbindService(mServiceConnection); 156 mServiceConnection = null;
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
TelecomLoaderService.java | 71 private TelecomServiceConnection mServiceConnection; 90 if (mServiceConnection != null) { 92 mContext.unbindService(mServiceConnection); 93 mServiceConnection = null; 103 mServiceConnection = serviceConnection;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ServiceBinder.java | 82 if (mServiceConnection == null) { 122 mServiceConnection = this; 131 mServiceConnection = null; 151 private ServiceConnection mServiceConnection; 226 if (mServiceConnection == null) { 231 mContext.unbindService(mServiceConnection); 232 mServiceConnection = null;
|
/frameworks/base/media/java/android/media/browse/ |
MediaBrowser.java | 74 private MediaServiceConnection mServiceConnection; 123 if (mServiceConnection != null) { 124 throw new RuntimeException("mServiceConnection should be null. Instead it is " 125 + mServiceConnection); 142 final ServiceConnection thisConnection = mServiceConnection = new MediaServiceConnection(); 146 bound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); 161 if (thisConnection == mServiceConnection) { 211 if (mServiceConnection != null) { 212 mContext.unbindService(mServiceConnection); 215 mServiceConnection = null [all...] |
/external/chromium_org/tools/android/memconsumer/java/src/org/chromium/memconsumer/ |
MemConsumer.java | 29 private ServiceConnection mServiceConnection = new ServiceConnection() { 95 mServiceConnection, 101 unbindService(mServiceConnection);
|
/cts/tests/tests/os/src/android/os/cts/ |
TokenWatcherTest.java | 39 private ServiceConnection mServiceConnection; 66 mServiceConnection = new ServiceConnection() { 89 getContext().bindService(secondaryIntent, mServiceConnection, Context.BIND_AUTO_CREATE); 105 getContext().unbindService(mServiceConnection);
|
/cts/tests/tests/security/src/android/security/cts/ |
ClonedSecureRandomTest.java | 67 private ServiceConnection mServiceConnection = new ServiceConnection() { 129 getContext().bindService(mSeparateIntent, mServiceConnection, 0); 144 getContext().unbindService(mServiceConnection);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ServiceMonitor.java | 158 private SC mServiceConnection; 219 mContext.unbindService(mServiceConnection); 239 mServiceConnection = new SC(); 240 mBound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
|
/frameworks/base/core/java/android/widget/ |
RemoteViewsAdapter.java | 76 private RemoteViewsAdapterServiceConnection mServiceConnection; 207 adapter.mServiceConnection.getRemoteViewsFactory(); [all...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeApp.java | 65 ServiceConnection mServiceConnection = new ServiceConnection() { 135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection,
|
/frameworks/base/services/core/java/com/android/server/location/ |
GeofenceProxy.java | 97 mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.OWNER); 100 private ServiceConnection mServiceConnection = new ServiceConnection() {
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerController.java | 151 mContext.unbindService(mServiceConnection); 155 mContext.bindService(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); 158 private ServiceConnection mServiceConnection = new ServiceConnection() {
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 63 private ServiceConnection mServiceConnection = new ServiceConnection() { 86 mServiceConnection, 96 unbindService(mServiceConnection);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceControlActivity.java | 69 private final ServiceConnection mServiceConnection = new ServiceConnection() { 174 bindService(gattServiceIntent, mServiceConnection, BIND_AUTO_CREATE); 196 unbindService(mServiceConnection);
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceControlActivity.java | 69 private final ServiceConnection mServiceConnection = new ServiceConnection() { 174 bindService(gattServiceIntent, mServiceConnection, BIND_AUTO_CREATE); 196 unbindService(mServiceConnection);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
DeviceControlActivity.java | 69 private final ServiceConnection mServiceConnection = new ServiceConnection() { 174 bindService(gattServiceIntent, mServiceConnection, BIND_AUTO_CREATE); 196 unbindService(mServiceConnection);
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeech.java | 655 private Connection mServiceConnection; 738 if (mServiceConnection == null) { 742 return mServiceConnection.runAction(action, errorResult, method, reconnect, [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintSpooler.java | 72 private final ServiceConnection mServiceConnection = new MyServiceConnection(); 367 mContext.bindServiceAsUser(mIntent, mServiceConnection, 402 mContext.unbindService(mServiceConnection);
|
RemotePrintService.java | 72 private final ServiceConnection mServiceConnection = new RemoteServiceConneciton(); 509 mContext.bindServiceAsUser(mIntent, mServiceConnection, 534 mContext.unbindService(mServiceConnection); 548 mContext.unbindService(mServiceConnection);
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
FmFavoriteActivity.java | 443 mServiceConnection, Context.BIND_AUTO_CREATE); 452 unbindService(mServiceConnection); 533 private final ServiceConnection mServiceConnection = new ServiceConnection() {
|
FmRecordActivity.java | 118 bindService(new Intent(this, FmService.class), mServiceConnection, 284 unbindService(mServiceConnection); 321 private final ServiceConnection mServiceConnection = new ServiceConnection() {
|
FmMainActivity.java | 341 private final ServiceConnection mServiceConnection = new ServiceConnection() { 654 mServiceConnection, Context.BIND_AUTO_CREATE); 709 unbindService(mServiceConnection); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
InputPairer.java | 233 private BluetoothProfile.ServiceListener mServiceConnection = 572 adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.INPUT_DEVICE);
|