/cts/tests/tests/print/src/android/print/cts/services/ |
PrinterDiscoverySessionCallbacks.java | 25 private StubbablePrinterDiscoverySession mSession; 28 mSession = session; 32 return mSession;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeRenderSession.java | 43 private final RenderSessionImpl mSession; 53 return mSession.getImage(); 58 return mSession.isAlphaChannelImage(); 63 return mSession.getViewInfos(); 68 return mSession.getSystemViewInfos(); 73 return mSession.getDefaultProperties(viewObject); 92 mLastResult = mSession.acquire(timeout); 94 mLastResult = mSession.render(false /*freshRender*/); 97 mSession.release(); 109 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT) [all...] |
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSessionService.java | 40 VoiceInteractionSession mSession; 80 if (mSession != null) { 81 mSession.doDestroy(); 82 mSession = null; 84 mSession = onNewSession(args); 86 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor); 87 mSession.doCreate(mSystemService, token, args);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
HeadsetMediaButton.java | 55 private final MediaSession mSession; 62 mSession = new MediaSession(context, HeadsetMediaButton.class.getSimpleName()); 63 mSession.setCallback(mSessionCallback); 64 mSession.setFlags(MediaSession.FLAG_EXCLUSIVE_GLOBAL_PRIORITY 66 mSession.setPlaybackToLocal(AUDIO_ATTRIBUTES); 89 if (!mSession.isActive()) { 90 mSession.setActive(true); 98 if (mSession.isActive()) { 99 mSession.setActive(false);
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerService.java | 37 private PlayerSession mSession; 48 if (mSession == null) { 49 mSession = onCreatePlayerController(); 50 mSession.createSession(); 51 mSession.setListener(mPlayerListener); 52 mNotifyHelper = new NotificationHelper(this, mSession.mSession); 73 mSession.onDestroy(); 74 mSession = null; 126 mSession.setContent(params) [all...] |
PlayerSession.java | 42 protected MediaSession mSession; 78 mSession = new MediaSession(mContext, "OneMedia"); 79 mSession.setCallback(mCallback); 80 mSession.setPlaybackState(mPlaybackState); 81 mSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS 83 mSession.setActive(true); 96 if (mSession != null) { 97 mSession.release(); 98 mSession = null; 107 return mSession.getSessionToken() [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Preloader.java | 41 private volatile PreloaderSession mSession; 54 mSession = null; 60 if (mSession == null) { 62 mSession = new PreloaderSession(id); 64 mSession.getWebView()); 65 return mSession; 66 } else if (mSession.mId.equals(id)) { 68 return mSession; 71 if (LOGD_ENABLED) Log.d(LOGTAG, "Existing session in progress : " + mSession.mId + 78 if (mSession != null && mSession.mId.equals(id)) [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvView.java | 78 private Session mSession; 201 if (hasWindowFocus() && mSession != null) { 202 mSession.setMain(); 261 if (mSession == null) { 265 mSession.setStreamVolume(volume); 298 if (mSession != null) { 299 mSession.tune(channelUri, params); 336 if (mSession != null) { 354 if (mSession != null) { 355 mSession.requestUnblockContent(unblockedRating) [all...] |
/packages/apps/Camera2/src/com/android/camera/processing/ |
ProcessingTask.java | 34 public final CaptureSession mSession; 42 mSession = session;
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 29 private IWindowSession mSession; 33 mSession = session; 41 mSession.finishDrawing(this); 75 mSession.wallpaperOffsetsComplete(asBinder()); 96 mSession.wallpaperCommandComplete(asBinder(), null);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSession.java | 236 private final ISipSession mSession; 240 mSession = realSession; 262 return mSession.getLocalIp(); 276 return mSession.getLocalProfile(); 291 return mSession.getPeerProfile(); 306 return mSession.getState(); 320 return mSession.isInCall(); 334 return mSession.getCallId(); 365 mSession.register(duration); 382 mSession.unregister() [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
AnimationThread.java | 68 private final RenderSessionImpl mSession; 76 mSession = scene; 111 RenderSession session = mSession.getSession(); 141 result = mSession.acquire(250); 156 if (mSession.render(false /*freshRender*/).isSuccess()) { 160 mSession.release();
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasObexClientSession.java | 53 private ClientSession mSession; 92 mRequest.execute(mSession); 112 mSession = new ClientSession(mTransport); 117 headerset = mSession.connect(headerset); 130 mSession.disconnect(null); 135 mSession.close();
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
CryptoPlugin.h | 34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {} 51 android::sp<Session> mSession;
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
BluetoothPbapClient.java | 376 private final BluetoothPbapSession mSession; 519 mSession = new BluetoothPbapSession(device, mSessionHandler); 527 mSession.start(); 532 if (mSession != null) { 533 mSession.stop(); 541 mSession.stop(); 548 mSession.abort(); 565 return mSession.makeRequest(req); 578 return mSession.makeRequest(req); 592 return mSession.makeRequest(req) [all...] |
/packages/apps/Settings/src/com/android/settings/net/ |
SummaryForAllUidLoader.java | 32 private final INetworkStatsSession mSession; 45 mSession = session; 62 return mSession.getSummaryForAllUid(template, start, end, false);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsCall.java | 400 private ImsCallSession mSession = null; 432 if (mSession != null) { 433 mSession.close(); 434 mSession = null; 496 if (mSession == null) { 502 return mSession.getLocalCallProfile(); 533 if (mSession == null) { 537 return mSession.getState(); 549 return mSession; 577 if (mSession == null) [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipService.java | 612 private SipSessionGroup.SipSessionImpl mSession; 627 if (mSession != null) { 649 mSession = (SipSessionGroup.SipSessionImpl) 651 mSession.startKeepAliveProcess(mInterval, this); 660 if (mSession != null) { 661 mSession.stopKeepAliveProcess(); 662 mSession = null; 676 if (mSession == null) return; 680 mSession.stopKeepAliveProcess(); 682 mSession.startKeepAliveProcess(mInterval, this) [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
BlockingSessionCallback.java | 184 private volatile CameraCaptureSession mSession; 188 mSession = session; 204 return mSession != null; 210 return mSession; 221 if (mSession == null) { 224 return mSession;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 74 if (mActiveSession != null && mActiveSession.mSession != null) { 76 mActiveSession.mSession.closeSystemDialogs(); 108 IVoiceInteractionSession mSession; 150 if (mSession != null) { 152 mSession.destroy(); 157 if (mSession != null) { 159 mAm.finishVoiceTask(mSession); 171 mSession = null; 182 pw.print(prefix); pw.print("mSession="); pw.println(mSession); [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
Camera2Focuser.java | 54 private final CameraCaptureSession mSession; 116 mSession = session; 219 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); 220 mSession.capture(requestBuilder.build(), listener, mHandler); 256 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); 257 mSession.capture(requestBuilder.build(), listener, mHandler); 280 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); 281 mSession.capture(requestBuilder.build(), listener, mHandler);
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraDeviceTest.java | 68 private CameraCaptureSession mSession; 595 mSession.capture(/*request*/null, /*listener*/null, mHandler); 605 mSession.capture(unConfiguredRequest, /*listener*/null, mHandler); 614 mSession.setRepeatingRequest(/*request*/null, /*listener*/null, mHandler); 624 mSession.setRepeatingRequest(unConfiguredRequest, /*listener*/null, mHandler); 633 mSession.captureBurst(/*requests*/null, /*listener*/null, mHandler); 642 mSession.captureBurst(emptyRequests, /*listener*/null, mHandler); 652 mSession.captureBurst(unConfiguredRequests, /*listener*/null, mHandler); 661 mSession.setRepeatingBurst(/*requests*/null, /*listener*/null, mHandler); 670 mSession.setRepeatingBurst(emptyRequests, /*listener*/null, mHandler) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
PostProcTestBase.java | 25 protected int mSession = -1;
|
/developers/demos/MusicDemo/src/main/java/com/example/android/musicservicedemo/ |
MusicService.java | 123 private MediaSession mSession; 182 mSession = new MediaSession(this, "MusicService"); 183 setSessionToken(mSession.getSessionToken()); 184 mSession.setCallback(new MediaSessionCallback()); 185 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | 198 // (mSession.setQueue(emptylist)), uncomment the lines below: 202 mSession.setExtras(extras); 222 mSession.release(); 336 mSession.setQueue(mPlayingQueue); 337 mSession.setQueueTitle(getString(R.string.random_queue_title)) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaBassBoostTest.java | 50 private int mSession = -1; 185 if (mBassBoost == null || session != mSession) { 186 if (session != mSession && mBassBoost != null) { 192 mSession = session;
|