HomeSort by relevance Sort by last modified time
    Searched refs:mConnection (Results 51 - 75 of 137) sorted by null

1 23 4 5 6

  /packages/services/BuiltInPrintService/src/com/android/bips/
LocalPrintJob.java 65 private P2pPrinterConnection mConnection;
146 mConnection = new P2pPrinterConnection(mPrintService, printer, this);
150 if (P2pUtils.isOnConnectedInterface(mPrintService, printer) && mConnection == null) {
152 mConnection = new P2pPrinterConnection(mPrintService, printer, this);
275 if (mConnection != null) {
276 mConnection.close();
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
RegisteredMediaRouteProvider.java 360 private Connection mConnection;
369 mConnection = connection;
385 if (mConnection != null) {
386 mConnection.releaseRouteController(mControllerId);
387 mConnection = null;
400 if (mConnection != null) {
401 mConnection.selectRoute(mControllerId);
413 if (mConnection != null) {
414 mConnection.unselectRoute(mControllerId, reason);
420 if (mConnection != null)
    [all...]
  /frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
RegisteredMediaRouteProvider.java 352 private Connection mConnection;
361 mConnection = connection;
377 if (mConnection != null) {
378 mConnection.releaseRouteController(mControllerId);
379 mConnection = null;
392 if (mConnection != null) {
393 mConnection.selectRoute(mControllerId);
405 if (mConnection != null) {
406 mConnection.unselectRoute(mControllerId, reason);
412 if (mConnection != null)
    [all...]
  /external/apache-http/android/src/android/net/http/
RequestHandle.java 48 private Connection mConnection;
88 mConnection = conn;
292 if (mConnection != null) {
293 mConnection.processRequests(mRequest);
463 // mConnection is non-null if and only if the requests are synchronous.
464 if (mConnection != null) {
469 mConnection = newHandle.mConnection;
  /frameworks/base/core/java/android/bluetooth/
BluetoothA2dpSink.java 137 synchronized (mConnection) {
140 mContext.unbindService(mConnection);
146 synchronized (mConnection) {
184 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
203 synchronized (mConnection) {
207 mContext.unbindService(mConnection);
488 private final ServiceConnection mConnection = new ServiceConnection() {
BluetoothMap.java 65 synchronized (mConnection) {
68 mContext.unbindService(mConnection);
74 synchronized (mConnection) {
111 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
143 synchronized (mConnection) {
147 mContext.unbindService(mConnection);
387 private final ServiceConnection mConnection = new ServiceConnection() {
BluetoothMapClient.java 81 synchronized (mConnection) {
84 mContext.unbindService(mConnection);
90 synchronized (mConnection) {
127 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
159 synchronized (mConnection) {
163 mContext.unbindService(mConnection);
396 private final ServiceConnection mConnection = new ServiceConnection() {
BluetoothSap.java 103 synchronized (mConnection) {
106 mContext.unbindService(mConnection);
112 synchronized (mConnection) {
149 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
183 synchronized (mConnection) {
187 mContext.unbindService(mConnection);
412 private final ServiceConnection mConnection = new ServiceConnection() {
BluetoothHealth.java 106 synchronized (mConnection) {
109 mContext.unbindService(mConnection);
115 synchronized (mConnection) {
493 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
512 synchronized (mConnection) {
516 mContext.unbindService(mConnection);
525 private final ServiceConnection mConnection = new ServiceConnection() {
BluetoothHidHost.java 233 synchronized (mConnection) {
236 mContext.unbindService(mConnection);
242 synchronized (mConnection) {
281 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
300 synchronized (mConnection) {
304 mContext.unbindService(mConnection);
506 private final ServiceConnection mConnection = new ServiceConnection() {
  /frameworks/base/services/core/java/com/android/server/connectivity/
PacManager.java 82 private ServiceConnection mConnection;
300 if ((mProxyConnection != null) && (mConnection != null)) {
305 mConnection = new ServiceConnection() {
337 mContext.bindService(intent, mConnection,
380 if (mConnection != null) {
381 mContext.unbindService(mConnection);
382 mConnection = null;
  /frameworks/base/core/java/android/hardware/usb/
UsbRequest.java 64 private UsbDeviceConnection mConnection;
95 mConnection = Preconditions.checkNotNull(connection, "connection");
113 mConnection = null;
192 if (mConnection.getContext().getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.P
258 if (mConnection.getContext().getApplicationInfo().targetSdkVersion
  /frameworks/base/media/java/android/mtp/
MtpDevice.java 56 private UsbDeviceConnection mConnection;
97 mConnection = connection;
112 if (mConnection != null) {
117 mConnection.close();
118 mConnection = null;
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
LiveChannelsTestController.java 49 private final TestInputControlConnection mConnection = new TestInputControlConnection();
94 TestInputControlUtils.createIntent(), mConnection, Context.BIND_AUTO_CREATE);
104 if (mConnection.isBound()) {
105 mInstrumentation.getContext().unbindService(mConnection);
128 mConnection.updateChannelState(channel, data);
  /packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
CallScreeningServiceFilter.java 148 private ServiceConnection mConnection;
193 if (mConnection != null) {
195 mContext.unbindService(mConnection);
196 mConnection = null;
244 mConnection = connection;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
ProjectionActivity.java 55 protected final ServiceConnection mConnection = new ServiceConnection() {
126 bindService(mStartIntent, mConnection, Context.BIND_AUTO_CREATE);
144 unbindService(mConnection);
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingFragment.java 54 private final ServiceConnection mConnection = new ServiceConnection() {
126 getActivity().bindService(new Intent(getActivity(), MessagingService.class), mConnection,
147 getActivity().unbindService(mConnection);
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingFragment.java 54 private final ServiceConnection mConnection = new ServiceConnection() {
126 getActivity().bindService(new Intent(getActivity(), MessagingService.class), mConnection,
147 getActivity().unbindService(mConnection);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
MessengerServiceActivities.java 66 private ServiceConnection mConnection = new ServiceConnection() {
118 MessengerService.class), mConnection, Context.BIND_AUTO_CREATE);
140 unbindService(mConnection);
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessagingFragment.java 54 private final ServiceConnection mConnection = new ServiceConnection() {
126 getActivity().bindService(new Intent(getActivity(), MessagingService.class), mConnection,
147 getActivity().unbindService(mConnection);
  /frameworks/base/core/tests/coretests/src/android/os/
BinderThreadPriorityTest.java 38 private ServiceConnection mConnection = new ServiceConnection() {
65 mConnection, Context.BIND_AUTO_CREATE);
93 getContext().unbindService(mConnection);
  /packages/services/BuiltInPrintService/src/com/android/bips/jni/
PdfRender.java 68 private ServiceConnection mConnection = new ServiceConnection() {
84 context.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE);
89 mContext.unbindService(mConnection);
  /frameworks/native/services/surfaceflinger/tests/unittests/
EventThreadTest.cpp 85 sp<MockEventThreadConnection> mConnection;
103 mConnection = createConnection(mConnectionEventCallRecorder);
199 mThread->requestNextVsync(mConnection);
261 mThread->setVsyncRate(1, mConnection);
287 mThread->setVsyncRate(2, mConnection);
317 mThread->setVsyncRate(1, mConnection);
326 mConnection = nullptr;
  /cts/tests/tests/telecom/src/android/telecom/cts/
RemoteConnectionTest.java 52 MockConnection mConnection;
66 mConnection.setActive();
70 assertConnectionState(mConnection, Connection.STATE_ACTIVE);
76 assertConnectionState(mConnection, Connection.STATE_HOLDING);
82 assertConnectionState(mConnection, Connection.STATE_ACTIVE);
88 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED);
103 assertConnectionState(mConnection, Connection.STATE_RINGING);
109 assertConnectionState(mConnection, Connection.STATE_ACTIVE);
124 assertConnectionState(mConnection, Connection.STATE_RINGING);
130 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/vcard/
VCardService.java 63 final MediaScannerConnection mConnection;
67 mConnection = new MediaScannerConnection(VCardService.this, this);
72 mConnection.connect();
78 mConnection.scanFile(mPath, null);
84 mConnection.disconnect();

Completed in 1235 milliseconds

1 23 4 5 6