/frameworks/av/camera/ndk/impl/ |
ACameraCaptureSession.cpp | 62 ALOGE("Stop repeating request failed while closing session %p", this); 78 ALOGE("Error: Device associated with session %p has been closed!", this); 96 ALOGE("Error: Device associated with session %p has been closed!", this); 117 ALOGE("Error: Device associated with session %p has been closed!", this); 138 ALOGE("Error: Device associated with session %p has been closed!", this); 156 ALOGE("Error: Device associated with session %p has been closed!", this); 172 ALOGW("Device is closed but session %d is not notified", mId);
|
/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 34 * connection to the same server, using an SSL session cache can save some time, 52 * @throws IllegalArgumentException if the context does not support a session 79 * Create a session cache using the specified directory. 80 * Individual session entries will be files within the directory. 83 * @param dir to store session files in (created if necessary) 91 * Create a session cache at the default location for this app. 102 Log.w(TAG, "Unable to create SSL session cache in " + dir, e);
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 106 in session, it is ignored. 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || 145 pSession = &loc_eng_ni_data_p->session; 235 pSession->respRecvd = FALSE; /* Reset the user response flag for the next session*/ 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { 295 free(loc_eng_ni_data_p->session.rawRequest); 296 loc_eng_ni_data_p->session.rawRequest = NULL; 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); 301 loc_eng_ni_data_p->session.respRecvd = TRUE; 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond) [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 106 in session, it is ignored. 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || 145 pSession = &loc_eng_ni_data_p->session; 235 pSession->respRecvd = FALSE; /* Reset the user response flag for the next session*/ 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { 295 free(loc_eng_ni_data_p->session.rawRequest); 296 loc_eng_ni_data_p->session.rawRequest = NULL; 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); 301 loc_eng_ni_data_p->session.respRecvd = TRUE; 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond) [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 106 in session, it is ignored. 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || 145 pSession = &loc_eng_ni_data_p->session; 235 pSession->respRecvd = FALSE; /* Reset the user response flag for the next session*/ 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { 295 free(loc_eng_ni_data_p->session.rawRequest); 296 loc_eng_ni_data_p->session.rawRequest = NULL; 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); 301 loc_eng_ni_data_p->session.respRecvd = TRUE; 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond) [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 106 in session, it is ignored. 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || 145 pSession = &loc_eng_ni_data_p->session; 235 pSession->respRecvd = FALSE; /* Reset the user response flag for the next session*/ 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { 295 free(loc_eng_ni_data_p->session.rawRequest); 296 loc_eng_ni_data_p->session.rawRequest = NULL; 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); 301 loc_eng_ni_data_p->session.respRecvd = TRUE; 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond) [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_ni.cpp | 106 in session, it is ignored. 137 if (NULL != loc_eng_ni_data_p->session.rawRequest || 145 pSession = &loc_eng_ni_data_p->session; 235 pSession->respRecvd = FALSE; /* Reset the user response flag for the next session*/ 294 if (NULL != loc_eng_ni_data_p->session.rawRequest) { 295 free(loc_eng_ni_data_p->session.rawRequest); 296 loc_eng_ni_data_p->session.rawRequest = NULL; 298 pthread_mutex_lock(&loc_eng_ni_data_p->session.tLock); 301 loc_eng_ni_data_p->session.respRecvd = TRUE; 302 pthread_cond_signal(&loc_eng_ni_data_p->session.tCond) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
PreviewStarter.java | 32 * When the preview surface is available, creates a capture session, and then 33 * notifies the listener when the session is available. 37 public void onCameraCaptureSessionCreated(CameraCaptureSessionProxy session, Surface 49 * @param sessionListener A callback to be invoked when the capture session 66 // When we have the preview surface, start the capture session. 70 // Need to create a capture session with the single preview stream first 71 // to lock it as the first stream. Then resend the another session with preview
|
/external/boringssl/src/tool/ |
client.cc | 78 { "-session-in", kOptionalArgument, 79 "A file containing a session to resume.", 81 { "-session-out", kOptionalArgument, 82 "A file to write the negotiated session to.", 267 if (args_map.count("-session-in") != 0) { 268 ScopedBIO in(BIO_new_file(args_map["-session-in"].c_str(), "rb")); 270 fprintf(stderr, "Error reading session\n"); 274 ScopedSSL_SESSION session(PEM_read_bio_SSL_SESSION(in.get(), nullptr, 276 if (!session) { 277 fprintf(stderr, "Error reading session\n") [all...] |
/external/clang/test/Modules/ |
fmodules-validate-once-per-build-session.c | 16 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 17 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 25 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 26 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 42 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session % [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winsnmp.h | 229 SNMPAPI_STATUS WINAPI SnmpClose(HSNMP_SESSION session); 230 SNMPAPI_STATUS WINAPI SnmpSendMsg(HSNMP_SESSION session,HSNMP_ENTITY srcEntity,HSNMP_ENTITY dstEntity,HSNMP_CONTEXT context,HSNMP_PDU PDU); 231 SNMPAPI_STATUS WINAPI SnmpRecvMsg(HSNMP_SESSION session,LPHSNMP_ENTITY srcEntity,LPHSNMP_ENTITY dstEntity,LPHSNMP_CONTEXT context,LPHSNMP_PDU PDU); 232 SNMPAPI_STATUS WINAPI SnmpRegister(HSNMP_SESSION session,HSNMP_ENTITY srcEntity,HSNMP_ENTITY dstEntity,HSNMP_CONTEXT context,smiLPCOID notification,smiUINT32 state); 235 SNMPAPI_STATUS WINAPI SnmpCancelMsg(HSNMP_SESSION session,smiINT32 reqId); 244 HSNMP_ENTITY WINAPI SnmpStrToEntity(HSNMP_SESSION session,LPCSTR string); 247 HSNMP_CONTEXT WINAPI SnmpStrToContext(HSNMP_SESSION session,smiLPCOCTETS string); 251 HSNMP_PDU WINAPI SnmpCreatePdu(HSNMP_SESSION session,smiINT PDU_type,smiINT32 request_id,smiINT error_status,smiINT error_index,HSNMP_VBL varbindlist); 254 HSNMP_PDU WINAPI SnmpDuplicatePdu(HSNMP_SESSION session,HSNMP_PDU PDU); 256 HSNMP_VBL WINAPI SnmpCreateVbl(HSNMP_SESSION session,smiLPCOID name,smiLPCVALUE value) [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
HashSessionIdManager.java | 19 package org.eclipse.jetty.server.session; 39 * HashSessionIdManager. An in-memory implementation of the session ID manager. 58 * @return Collection of String session IDs 67 * @return Collection of Sessions for the passed session ID 77 HttpSession session = ref.get(); local 78 if (session!=null) 79 sessions.add(session); 85 /** Get the session ID with any worker ID. 105 /** Get the session ID without any worker ID. 147 public void addSession(HttpSession session) 214 AbstractSession session=(AbstractSession)ref.get(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
MediaSessions.java | 28 import android.media.session.ISessionController; 29 import android.media.session.MediaController; 30 import android.media.session.MediaController.PlaybackInfo; 31 import android.media.session.MediaSession.QueueItem; 32 import android.media.session.MediaSession.Token; 33 import android.media.session.MediaSessionManager; 34 import android.media.session.MediaSessionManager.OnActiveSessionsChangedListener; 35 import android.media.session.PlaybackState; 53 * Convenience client for all media session updates. Provides a callback interface for events 116 private void onRemoteVolumeChangedH(ISessionController session, int flags) [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
AbstractCommandHandler.java | 25 import org.mockftpserver.core.session.Session;
50 * Handle the specified command for the session. This method is declared to throw Exception,
55 * @param session - the session on which the Command was submitted
58 * @throws AssertFailedException - if the command or session is null
61 * org.mockftpserver.core.session.Session)
63 public final void handleCommand(Command command, Session session) throws Exception { [all...] |
SimpleCompositeCommandHandler.java | 23 import org.mockftpserver.core.session.Session;
82 * the CommandHandler instance to which the Nth {@link #handleCommand(Command, Session)} has been or will
96 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
98 public void handleCommand(Command command, Session session) throws Exception {
100 Assert.notNull(session, "session");
105 commandHandler.handleCommand(command, session);
[all...] |
/frameworks/base/core/java/android/service/textservice/ |
SpellCheckerService.java | 48 * {@link #createSession()} to provide a spell checker session that is corresponding 49 * to requested language and so on. The spell checker session returned by this method 50 * should extend {@link SpellCheckerService.Session}. 55 * <p>{@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)} 60 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} for 64 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid 65 * locale before {@link SpellCheckerService.Session#onCreate()} </p> 90 * Factory method to create a spell checker session impl 93 public abstract Session createSession(); 98 public static abstract class Session { [all...] |
/external/curl/lib/vtls/ |
vtls.c | 78 /* convenience macro to check if this handle is using a shared SSL session */ 333 * Check if there's a session ID for the given connection in the cache, and if 349 /* session ID re-use is disabled */ 361 check = &data->state.session[i]; 363 /* not session ID means blank entry */ 368 /* yes, we have a session ID! */ 387 * Kill a single session ID entry in the cache. 389 void Curl_ssl_kill_session(struct curl_ssl_session *session) 391 if(session->sessionid) { 395 curlssl_session_free(session->sessionid) 567 struct curl_ssl_session *session; local [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PrinterDiscoverySessionLifecycleTest.java | 66 // Create the session callbacks that we will be checking. 111 // While the printer discovery session is still alive store the 128 // Wait for all print jobs to be handled after which the session destroyed. 158 // ... last the session is destroyed. 166 // Create the session callbacks that we will be checking. 204 // While the printer discovery session is still alive store the 224 // Wait for all print jobs to be handled after which the session destroyed. 246 // ... last the session is destroyed. 254 // Create the session callbacks that we will be checking. 296 // While the printer discovery session is still alive store th 437 StubbablePrinterDiscoverySession session = ((PrinterDiscoverySessionCallbacks) local [all...] |
/external/autotest/client/tests/kvm/tests/ |
trans_hugepage.py | 22 info = session.cmd("cat /proc/meminfo") 47 session = virt_test_utils.wait_for_login(vm, timeout=login_timeout) 66 session.cmd("mkdir -p %s" % mem_path) 68 session.cmd("mount -t tmpfs -o size=%sM none %s" % (str(mem), mem_path)) 71 session.cmd("dd if=/dev/zero of=%s/1 bs=4000000 count=%s" % 95 output = session.cmd_output(cmd, timeout=dd_timeout) 103 output = session.cmd('pidof dd') 109 session.cmd('kill -9 %s' % i) 111 session.cmd("umount %s" % mem_path) 121 session.close( [all...] |
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
auth.py | 27 #: Name of the session backend to be used. Default is `securecookie`. 30 #: Name of the cookie to save the auth session. Default is `auth`. 49 #: A list of extra user attributes to be stored in the session. 84 #: Required attributes stored in a session. 89 """Initializes the session store. 106 """The list of attributes stored in a session. 211 # Session related --------------------------------------------------------- 214 """Returns an auth session. 219 A session dict. 226 """Serializes values for a session 471 def session(self): member in class:Auth [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
82 * the CommandHandler instance to which the Nth {@link #handleCommand(Command, Session)} has been or will
96 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
98 public void handleCommand(Command command, Session session) throws Exception {
100 Assert.notNull(session, "session");
105 commandHandler.handleCommand(command, session);
[all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
PassCommandHandlerTest.groovy | 22 import org.mockftpserver.core.session.SessionKeys 101 session.removeAttribute(SessionKeys.USERNAME) 124 session.setAttribute(SessionKeys.USERNAME, USERNAME) 125 session.removeAttribute(SessionKeys.USER_ACCOUNT) 141 * Assert that the UserAccount object is in the session, depending on the value of isUserAccountInSession. 142 * @param isUserAccountInSession - true if the UserAccount is expected in the session; false if it is not expected 146 assert session.getAttribute(SessionKeys.USER_ACCOUNT) == expectedValue 150 * Assert that the current directory is set in the session, but only if currentDirectory is not null. 151 * @param currentDirectory - the curent directory expected in the session; null if it is not expected 154 assert session.getAttribute(SessionKeys.CURRENT_DIRECTORY) == currentDirector [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpServerTest.java | 99 public Response serve(IHTTPSession session) { 100 this.uri = session.getUri(); 101 this.method = session.getMethod(); 102 this.header = session.getHeaders(); 103 this.parms = session.getParms(); 106 session.parseBody(this.files); 110 this.queryParameterString = session.getQueryParameterString(); 112 this.decodedParamters = decodeParameters(session.getQueryParameterString()); 156 NanoHTTPD.HTTPSession session = this.testServer.createSession(this.tempFileManager, inputStream, outputStream); local 158 session.execute() [all...] |
/frameworks/base/docs/html/sdk/support_api_diff/22.2.0/changes/ |
android.support.v4.media.session.PlaybackStateCompat.Builder.html | 10 android.support.v4.media.session.PlaybackStateCompat.Builder 74 Class android.support.v4.media.session.<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html" target="_top"><font size="+2"><code>PlaybackStateCompat.Builder</code></font></A> 86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.addCustomAction_added(android.support.v4.media.session.PlaybackStateCompat.CustomAction)"></A> 87 <nobr><code>Builder</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html#addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction)" target="_top"><code>addCustomAction</code></A>(<code>CustomAction</code>)</nobr> 93 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.addCustomAction_added(java.lang.String, java.lang.String, int)"></A> 94 <nobr><code>Builder</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html#addCustomAction(java.lang.String, java.lang.String, int)" target="_top"><code>addCustomAction</code></A>(<code>String,</nobr> String<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 100 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.setActiveQueueItemId_added(long)"></A [all...] |
android.support.v4.media.session.PlaybackStateCompat.html | 10 android.support.v4.media.session.PlaybackStateCompat 74 Class android.support.v4.media.session.<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html" target="_top"><font size="+2"><code>PlaybackStateCompat</code></font></A> 86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getActiveQueueItemId_added()"></A> 87 <nobr><code>long</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getActiveQueueItemId()" target="_top"><code>getActiveQueueItemId</code></A>()</nobr> 93 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getCustomActions_added()"></A> 94 <nobr><code>List<CustomAction></code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getCustomActions()" target="_top"><code>getCustomActions</code></A>()</nobr> 100 <A NAME="android.support.v4.media.session.PlaybackStateCompat.getExtras_added()"></A> 101 <nobr><code>Bundle</code> <A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.html#getExtras()" target="_top"><code>getExtras</code></A>()</nobr> 116 <A NAME="android.support.v4.media.session.PlaybackStateCompat.STATE_CONNECTING"></A [all...] |