/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeRenderSession.java | 43 private final RenderSessionImpl mSession; field in BridgeRenderSession 53 return mSession.getImage(); in getImage() 58 return mSession.isAlphaChannelImage(); in isAlphaChannelImage() 63 return mSession.getViewInfos(); in getRootViews() 68 return mSession.getSystemViewInfos(); in getSystemRootViews() 73 return mSession.getDefaultProperties(viewObject); in getDefaultProperties() 92 mLastResult = mSession.acquire(timeout); in render() 94 mLastResult = mSession.render(false /*freshRender*/); in render() 97 mSession.release(); in render() 109 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT); in animate() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvView.java | 79 private Session mSession; field in TvView 203 if (hasWindowFocus() && mSession != null) { in setMain() 204 mSession.setMain(); in setMain() 263 if (mSession == null) { in setStreamVolume() 267 mSession.setStreamVolume(volume); in setStreamVolume() 300 if (mSession != null) { in tune() 301 mSession.tune(channelUri, params); in tune() 338 if (mSession != null) { in resetInternal() 356 if (mSession != null) { in requestUnblockContent() 357 mSession.requestUnblockContent(unblockedRating); in requestUnblockContent() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerService.java | 37 private PlayerSession mSession; field in PlayerService 48 if (mSession == null) { in onCreate() 49 mSession = onCreatePlayerController(); in onCreate() 50 mSession.createSession(); in onCreate() 51 mSession.setListener(mPlayerListener); in onCreate() 52 mNotifyHelper = new NotificationHelper(this, mSession.mSession); in onCreate() 73 mSession.onDestroy(); in onDestroy() 74 mSession = null; in onDestroy() 126 mSession.setContent(params); in sendRequest() 128 mSession.setNextContent(params); in sendRequest() [all …]
|
D | PlayerSession.java | 42 protected MediaSession mSession; field in PlayerSession 78 mSession = new MediaSession(mContext, "OneMedia"); in createSession() 79 mSession.setCallback(mCallback); in createSession() 80 mSession.setPlaybackState(mPlaybackState); in createSession() 81 mSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS in createSession() 83 mSession.setActive(true); in createSession() 96 if (mSession != null) { in releaseSession() 97 mSession.release(); in releaseSession() 98 mSession = null; in releaseSession() 107 return mSession.getSessionToken(); in getSessionToken() [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSessionService.java | 40 VoiceInteractionSession mSession; field in VoiceInteractionSessionService 80 if (mSession != null) { in doNewSession() 81 mSession.doDestroy(); in doNewSession() 82 mSession = null; in doNewSession() 84 mSession = onNewSession(args); in doNewSession() 86 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor); in doNewSession() 87 mSession.doCreate(mSystemService, token, args); in doNewSession()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSession.java | 236 private final ISipSession mSession; field in SipSession 240 mSession = realSession; in SipSession() 262 return mSession.getLocalIp(); in getLocalIp() 276 return mSession.getLocalProfile(); in getLocalProfile() 291 return mSession.getPeerProfile(); in getPeerProfile() 306 return mSession.getState(); in getState() 320 return mSession.isInCall(); in isInCall() 334 return mSession.getCallId(); in getCallId() 365 mSession.register(duration); in register() 382 mSession.unregister(); in unregister() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 413 private ImsCallSession mSession = null; field in ImsCall 467 if (mSession != null) { in close() 468 mSession.close(); in close() 469 mSession = null; in close() 535 if (mSession == null) { in getLocalCallProfile() 541 return mSession.getLocalCallProfile(); in getLocalCallProfile() 556 if (mSession == null) { in getRemoteCallProfile() 562 return mSession.getRemoteCallProfile(); in getRemoteCallProfile() 593 if (mSession == null) { in getState() 597 return mSession.getState(); in getState() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapClient.java | 376 private final BluetoothPbapSession mSession; field in BluetoothPbapClient 519 mSession = new BluetoothPbapSession(device, mSessionHandler); in BluetoothPbapClient() 527 mSession.start(); in connect() 532 if (mSession != null) { in finalize() 533 mSession.stop(); in finalize() 541 mSession.stop(); in disconnect() 548 mSession.abort(); in abort() 565 return mSession.makeRequest(req); in setPhoneBookFolderRoot() 578 return mSession.makeRequest(req); in setPhoneBookFolderUp() 592 return mSession.makeRequest(req); in setPhoneBookFolderDown() [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 612 private SipSessionGroup.SipSessionImpl mSession; field in SipService.SipKeepAliveProcessCallback 627 if (mSession != null) { in start() 649 mSession = (SipSessionGroup.SipSessionImpl) in start() 651 mSession.startKeepAliveProcess(mInterval, this); in start() 660 if (mSession != null) { in stop() 661 mSession.stopKeepAliveProcess(); in stop() 662 mSession = null; in stop() 676 if (mSession == null) return; in restart() 680 mSession.stopKeepAliveProcess(); in restart() 682 mSession.startKeepAliveProcess(mInterval, this); in restart() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMasObexClientSession.java | 53 private ClientSession mSession; field in BluetoothMasObexClientSession.ClientThread 92 mRequest.execute(mSession); in run() 112 mSession = new ClientSession(mTransport); in connect() 117 headerset = mSession.connect(headerset); in connect() 130 mSession.disconnect(null); in disconnect() 135 mSession.close(); in disconnect()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 29 private IWindowSession mSession; field in BaseIWindow 33 mSession = session; in setSession() 41 mSession.finishDrawing(this); in resized() 75 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets() 96 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 68 private final RenderSessionImpl mSession; field in AnimationThread 76 mSession = scene; in AnimationThread() 111 RenderSession session = mSession.getSession(); in run() 141 result = mSession.acquire(250); in run() 156 if (mSession.render(false /*freshRender*/).isSuccess()) { in run() 160 mSession.release(); in run()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingSessionCallback.java | 184 private volatile CameraCaptureSession mSession; field in BlockingSessionCallback.SessionFuture 188 mSession = session; in setSession() 204 return mSession != null; in isDone() 210 return mSession; in get() 221 if (mSession == null) { in get() 224 return mSession; in get()
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/ |
D | now-playing.jd | 34 mSession = new MediaSession(this, "MusicService"); 35 mSession.setCallback(new MediaSessionCallback()); 36 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | 40 setSessionToken(mSession.getSessionToken()); 54 if (!mSession.isActive()) { 55 mSession.setActive(true); 75 mSession.setPlaybackState(stateBuilder.build()); 121 mSession.setMetadata(metadataBuilder.build()); 133 mSession.setSessionActivity(pi);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 74 if (mActiveSession != null && mActiveSession.mSession != null) { 76 mActiveSession.mSession.closeSystemDialogs(); 108 IVoiceInteractionSession mSession; field in VoiceInteractionManagerServiceImpl.SessionConnection 150 if (mSession != null) { in cancel() 152 mSession.destroy(); in cancel() 157 if (mSession != null) { in cancel() 159 mAm.finishVoiceTask(mSession); in cancel() 171 mSession = null; in cancel() 182 pw.print(prefix); pw.print("mSession="); pw.println(mSession); in dump() 239 mActiveSession.mSession = session; in deliverNewSessionLocked() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioCapability.java | 88 private int mSession; field in RadioCapability 130 mSession = session; in RadioCapability() 161 return mSession; in getSession()
|
/frameworks/base/media/java/android/media/ |
D | RemoteControlClient.java | 336 private MediaSession mSession; field in RemoteControlClient 391 mSession = helper.getSession(mRcMediaIntent); in registerWithSession() 400 mSession = null; in unregisterWithSession() 413 return mSession; in getMediaSession() 589 if (mSession != null && mMetadataBuilder != null) { in apply() 591 mSession.setMetadata(mMediaMetadata); in apply() 696 if (mSession != null) { in setPlaybackStateInt() 705 mSession.setPlaybackState(mSessionPlaybackState); in setPlaybackStateInt() 764 if (mSession != null) { in setTransportControlFlags() 769 mSession.setPlaybackState(mSessionPlaybackState); in setTransportControlFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightController.java | 65 private CameraCaptureSession mSession; field in FlashlightController 191 if (mSession == null) { in updateFlashlight() 201 mSession.capture(request, null, mHandler); in updateFlashlight() 219 mSession = null; in teardown() 312 mSession = session; 322 if (mSession == null || mSession == session) {
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | SimplePlayer.java | 59 int mSession; field in SimplePlayer 93 mSession = session; in set() 111 if (mSession != 0) { in playOrPause() 112 mMediaPlayer.setAudioSessionId(mSession); in playOrPause() 113 Log.d(TAG, "mMediaPlayer.setAudioSessionId(): "+ mSession); in playOrPause()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 168 return holder == null ? null : holder.mSession; in getSession() 267 holder.mSession.setFlags(holder.mFlags); in addRccListener() 282 holder.mSession.setFlags(holder.mFlags); in removeRccListener() 310 holder.mSession.setFlags(holder.mFlags); in addMediaButtonListener() 311 holder.mSession.setMediaButtonReceiver(pi); in addMediaButtonListener() 325 holder.mSession.setFlags(holder.mFlags); in removeMediaButtonListener() 461 public final MediaSession mSession; field in MediaSessionLegacyHelper.SessionHolder 470 mSession = session; in SessionHolder() 476 mSession.setCallback(null); in update() 477 mSession.release(); in update() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | CryptoPlugin.h | 34 CryptoPlugin(const android::sp<Session>& session) : mSession(session) {} in CryptoPlugin() 51 android::sp<Session> mSession; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaBassBoostTest.java | 50 private int mSession = -1; field in MediaBassBoostTest 185 if (mBassBoost == null || session != mSession) { in getBassBoost() 186 if (session != mSession && mBassBoost != null) { in getBassBoost() 192 mSession = session; in getBassBoost()
|
D | MediaVirtualizerTest.java | 50 private int mSession = -1; field in MediaVirtualizerTest 186 if (mVirtualizer == null || session != mSession) { in getVirtualizer() 187 if (session != mSession && mVirtualizer != null) { in getVirtualizer() 193 mSession = session; in getVirtualizer()
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 80 MediaSession.Token mSession; field in MediaBrowserService 192 if (mSession != null) { in connect() 194 mSession, connection.root.getExtras()); in connect() 331 if (mSession != null) { in setSessionToken() 334 mSession = token; in setSessionToken() 357 return mSession; in getSessionToken()
|
/frameworks/base/docs/html/training/tv/playback/ |
D | now-playing.jd | 50 mSession = new MediaSession(this, "MusicService"); 51 mSession.setCallback(new MediaSessionCallback()); 52 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | 56 setSessionToken(mSession.getSessionToken()); 74 if (!mSession.isActive()) { 75 mSession.setActive(true); 99 mSession.setPlaybackState(stateBuilder.build()); 149 mSession.setMetadata(metadataBuilder.build()); 166 mSession.setSessionActivity(pi);
|