Searched defs:session (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/av/media/libstagefright/wifi-display/
H A Dwfd.cpp106 sp<ANetworkSession> session = new ANetworkSession; local
107 session->start();
111 sp<WifiDisplaySink> sink = new WifiDisplaySink(session);
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp79 sp<ARTPSession> session = new ARTPSession; local
80 looper->registerHandler(session);
166 CHECK_EQ(session->setup(desc), (status_t)OK);
178 CHECK_EQ(session->countTracks(), 1u);
179 sp<MediaSource> source = session->trackAt(0);
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java38 public StrictModeFlash(Display display, SurfaceSession session) { argument
40 mSurface = new Surface(session, "StrictModeFlash",
H A DDimSurface.java35 DimSurface(SurfaceSession session, final int layerStack) { argument
38 mDimSurface = new WindowStateAnimator.SurfaceTrace(session,
43 mDimSurface = new Surface(session, "DimSurface",
H A DWatermark.java54 Watermark(Display display, DisplayMetrics dm, SurfaceSession session, String[] tokens) { argument
116 mSurface = new Surface(session, "WatermarkSurface",
H A DBlackFrame.java38 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b, int layerStack) argument
46 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface("
50 surface = new Surface(session, "BlackSurface",
106 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, argument
114 mBlackSurfaces[0] = new BlackSurface(session, layer,
118 mBlackSurfaces[1] = new BlackSurface(session, layer,
122 mBlackSurfaces[2] = new BlackSurface(session, layer,
126 mBlackSurfaces[3] = new BlackSurface(session, layer,
H A DDimAnimator.java44 DimAnimator (SurfaceSession session, final int layerStack) { argument
47 mDimSurface = new WindowStateAnimator.SurfaceTrace(session,
52 mDimSurface = new Surface(session, "DimAnimator",
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java41 public EnergyProbe(int session) { argument
43 mVisualizer = new Visualizer(session);
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java62 public String session; field in class:VpnConfig
81 out.writeString(session);
99 config.session = in.readString();
/frameworks/base/voip/java/android/net/sip/
H A DSipSessionAdapter.java25 public void onCalling(ISipSession session) { argument
28 public void onRinging(ISipSession session, SipProfile caller, argument
32 public void onRingingBack(ISipSession session) { argument
35 public void onCallEstablished(ISipSession session, argument
39 public void onCallEnded(ISipSession session) { argument
42 public void onCallBusy(ISipSession session) { argument
45 public void onCallTransferring(ISipSession session, argument
49 public void onCallChangeFailed(ISipSession session, int errorCode, argument
53 public void onError(ISipSession session, int errorCode, String message) { argument
56 public void onRegistering(ISipSession session) { argument
59 onRegistrationDone(ISipSession session, int duration) argument
62 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
66 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DSipManager.java45 * <li>Verify session connectivity, with {@link #isOpened isOpened()} and
78 * Key to retrieve the offered session description from an incoming call
194 * string. The intent contains a call ID extra and an offer session
203 * result code and the intent to fill in the call ID and session
383 throw new SipException("Cannot retrieve session with null intent");
398 ISipSession session = mSipService.getPendingSession(callId);
399 if (session == null) {
400 throw new SipException("No pending session for the call");
403 mContext, session.getLocalProfile());
404 call.attachCall(new SipSession(session), offerS
587 getUri(ISipSession session) argument
600 onRegistering(ISipSession session) argument
605 onRegistrationDone(ISipSession session, int duration) argument
612 onRegistrationFailed(ISipSession session, int errorCode, String message) argument
618 onRegistrationTimeout(ISipSession session) argument
[all...]
H A DSipSession.java23 * Represents a SIP session that is associated with a SIP dialog or a standalone
33 * Defines SIP session states, such as "registering", "outgoing call", and "in call".
36 /** When session is ready to initiate a call or transaction. */
107 * Listener for events relating to a SIP session, such as when a session is being registered
115 * @param session the session object that carries out the transaction
117 public void onCalling(SipSession session) { argument
123 * @param session the session objec
127 onRinging(SipSession session, SipProfile caller, String sessionDescription) argument
136 onRingingBack(SipSession session) argument
145 onCallEstablished(SipSession session, String sessionDescription) argument
154 onCallEnded(SipSession session) argument
162 onCallBusy(SipSession session) argument
184 onError(SipSession session, int errorCode, String errorMessage) argument
195 onCallChangeFailed(SipSession session, int errorCode, String errorMessage) argument
204 onRegistering(SipSession session) argument
213 onRegistrationDone(SipSession session, int duration) argument
223 onRegistrationFailed(SipSession session, int errorCode, String errorMessage) argument
232 onRegistrationTimeout(SipSession session) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java184 private void getBassBoost(int session) { argument
185 if (mBassBoost == null || session != mSession) {
186 if (session != mSession && mBassBoost != null) {
191 mBassBoost = new BassBoost(0, session);
192 mSession = session;
H A DMediaPresetReverbTest.java295 // reverb will be chosen by the effect framework as we are on session 0
353 private void getReverb(int session) { argument
354 if (mReverb == null || session != mSession) {
355 if (session != mSession && mReverb != null) {
360 mReverb = new PresetReverb(0, session);
361 mSession = session;
H A DMediaVirtualizerTest.java185 private void getVirtualizer(int session) { argument
186 if (mVirtualizer == null || session != mSession) {
187 if (session != mSession && mVirtualizer != null) {
192 mVirtualizer = new Virtualizer(0, session);
193 mSession = session;
H A DMediaEnvReverbTest.java452 // auxiliary reverb will be chosen by the effect framework as we are on session 0
512 private void getReverb(int session) { argument
513 if (mReverb == null || session != mSession) {
514 if (session != mSession && mReverb != null) {
519 mReverb = new EnvironmentalReverb(0, session);
520 mSession = session;
H A DMediaEqualizerTest.java253 private void getEqualizer(int session) { argument
254 if (mEqualizer == null || session != mSession) {
255 if (session != mSession && mEqualizer != null) {
260 mEqualizer = new Equalizer(0, session);
261 mSession = session;
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java58 * Instantiate a new client session for the input method, by calling
67 * Take care of enabling or disabling an existing session by calling its
71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument
72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled);
76 * Take care of killing an existing session by calling its
80 public void revokeSession(InputMethodSession session) { argument
81 ((AbstractInputMethodSessionImpl)session).revokeSelf();
87 * interface. This takes care of basic maintenance of the session,
95 * Check whether this session has been enabled by the system. If not
103 * Check whether this session ha
[all...]
H A DIInputMethodWrapper.java88 public void sessionCreated(InputMethodSession session) { argument
90 if (session != null) {
92 new IInputMethodSessionWrapper(mContext, session);
255 public void setSessionEnabled(IInputMethodSession session, boolean enabled) { argument
258 session).getInternalInputMethodSession();
262 Log.w(TAG, "Incoming session not of correct type: " + session, e);
266 public void revokeSession(IInputMethodSession session) { argument
269 session).getInternalInputMethodSession();
272 Log.w(TAG, "Incoming session no
[all...]
/frameworks/base/core/java/android/net/
H A DVpnService.java264 * Set the name of this session. It will be displayed in
268 public Builder setSession(String session) { argument
269 mConfig.session = session;
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java77 public void sessionCreated(InputMethodSession session); argument
82 * unique token for the session it has with the system service. It is
153 * use {@link #revokeSession(InputMethodSession)} to destroy the session
156 * @param callback Interface that is called with the newly created session.
161 * Control whether a particular input method session is active.
163 * @param session The {@link InputMethodSession} previously provided through
166 public void setSessionEnabled(InputMethodSession session, boolean enabled); argument
169 * Disable and destroy a session that was previously created with
171 * After this call, the given session interface is no longer active and
174 * @param session Th
177 revokeSession(InputMethodSession session) argument
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionListenerProxy.java46 public void onCalling(final ISipSession session) { argument
51 mListener.onCalling(session);
59 public void onRinging(final ISipSession session, final SipProfile caller, argument
65 mListener.onRinging(session, caller, sessionDescription);
73 public void onRingingBack(final ISipSession session) { argument
78 mListener.onRingingBack(session);
86 public void onCallEstablished(final ISipSession session, argument
92 mListener.onCallEstablished(session, sessionDescription);
100 public void onCallEnded(final ISipSession session) { argument
105 mListener.onCallEnded(session);
127 onCallBusy(final ISipSession session) argument
140 onCallChangeFailed(final ISipSession session, final int errorCode, final String message) argument
154 onError(final ISipSession session, final int errorCode, final String message) argument
168 onRegistering(final ISipSession session) argument
181 onRegistrationDone(final ISipSession session, final int duration) argument
195 onRegistrationFailed(final ISipSession session, final int errorCode, final String message) argument
209 onRegistrationTimeout(final ISipSession session) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h72 int session = 0);
75 int session = 0);
102 int session,
281 InputDesc(int session) : mSessionId(session) {} argument
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java49 * {@link #createSession()} to provide a spell checker session that is corresponding
50 * to requested language and so on. The spell checker session returned by this method
91 * Factory method to create a spell checker session impl
106 public final void setInternalISpellCheckerSession(InternalISpellCheckerSession session) { argument
107 mInternalSession = session;
214 * Request to close this session.
222 * @return Locale for this session
229 * @return Bundle for this session
244 Bundle bundle, Session session) {
246 mSession = session;
243 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java32 public void setSession(IWindowSession session) { argument
33 mSession = session;

Completed in 256 milliseconds

123