/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageInstaller.java | 56 protected PackageInstaller.SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() argument 57 return sessionInfos.get(sessionId); in getSessionInfo() 63 sessionInfo.sessionId = nextSessionId++; in createSession() 72 callbackInfo.callback.onCreated(sessionInfo.sessionId); in createSession() 77 return sessionInfo.sessionId; in createSession() 81 protected void abandonSession(int sessionId) { in abandonSession() argument 82 sessionInfos.remove(sessionId); in abandonSession() 83 sessions.remove(sessionId); in abandonSession() 89 callbackInfo.callback.onFinished(sessionId, false); in abandonSession() 97 protected PackageInstaller.Session openSession(int sessionId) throws IOException { in openSession() argument [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageInstallerTest.java | 47 int sessionId = packageInstaller.createSession(createSessionParams("packageName")); in packageInstallerCreateAndAbandonSession() local 49 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in packageInstallerCreateAndAbandonSession() 54 packageInstaller.abandonSession(sessionId); in packageInstallerCreateAndAbandonSession() 56 assertThat(packageInstaller.getSessionInfo(sessionId)).isNull(); in packageInstallerCreateAndAbandonSession() 59 verify(mockCallback).onCreated(sessionId); in packageInstallerCreateAndAbandonSession() 60 verify(mockCallback).onFinished(sessionId, false); in packageInstallerCreateAndAbandonSession() 65 int sessionId = packageInstaller.createSession(createSessionParams("packageName")); in packageInstallerOpenSession() local 67 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in packageInstallerOpenSession() 79 int sessionId = packageInstaller.createSession(createSessionParams("packageName")); in sessionOpenWriteDoesNotThrowException() local 80 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in sessionOpenWriteDoesNotThrowException() [all …]
|
/external/v8/src/inspector/ |
D | v8-console.h | 23 int sessionId); 125 void keysCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId); 127 int sessionId); 129 int sessionId); 131 int sessionId); 133 int sessionId); 135 int sessionId); 137 int sessionId); 139 int sessionId); 140 void copyCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId); [all …]
|
D | inspected-context.cc | 96 bool InspectedContext::isReported(int sessionId) const { in isReported() 97 return m_reportedSessionIds.find(sessionId) != m_reportedSessionIds.cend(); in isReported() 100 void InspectedContext::setReported(int sessionId, bool reported) { in setReported() argument 102 m_reportedSessionIds.insert(sessionId); in setReported() 104 m_reportedSessionIds.erase(sessionId); in setReported() 107 InjectedScript* InspectedContext::getInjectedScript(int sessionId) { in getInjectedScript() argument 108 auto it = m_injectedScripts.find(sessionId); in getInjectedScript() 112 bool InspectedContext::createInjectedScript(int sessionId) { in createInjectedScript() argument 114 InjectedScript::create(this, sessionId); in createInjectedScript() 117 CHECK(m_injectedScripts.find(sessionId) == m_injectedScripts.end()); in createInjectedScript() [all …]
|
D | inspected-context.h | 36 bool isReported(int sessionId) const; 37 void setReported(int sessionId, bool reported); 42 InjectedScript* getInjectedScript(int sessionId); 43 bool createInjectedScript(int sessionId); 44 void discardInjectedScript(int sessionId);
|
D | v8-console.cc | 49 InjectedScript* injectedScript(int sessionId) { in injectedScript() argument 52 return context->getInjectedScript(sessionId); in injectedScript() 55 V8InspectorSessionImpl* session(int sessionId) { in session() argument 56 return m_inspector->sessionById(m_groupId, sessionId); in session() 447 int sessionId) { in keysCallback() argument 462 int sessionId) { in valuesCallback() argument 484 static void setFunctionBreakpoint(ConsoleHelper& helper, int sessionId, in setFunctionBreakpoint() argument 489 V8InspectorSessionImpl* session = helper.session(sessionId); in setFunctionBreakpoint() 500 const v8::FunctionCallbackInfo<v8::Value>& info, int sessionId) { in debugFunctionCallback() argument 509 setFunctionBreakpoint(helper, sessionId, function, in debugFunctionCallback() [all …]
|
D | v8-inspector-session-impl.cc | 46 V8InspectorImpl* inspector, int contextGroupId, int sessionId, in create() argument 49 inspector, contextGroupId, sessionId, channel, state)); in create() 54 int sessionId, in V8InspectorSessionImpl() argument 58 m_sessionId(sessionId), in V8InspectorSessionImpl() 191 int sessionId = m_sessionId; in discardInjectedScripts() local 193 [&sessionId](InspectedContext* context) { in discardInjectedScripts() 194 context->discardInjectedScript(sessionId); in discardInjectedScripts() 228 int sessionId = m_sessionId; in releaseObjectGroup() local 230 m_contextGroupId, [&objectGroup, &sessionId](InspectedContext* context) { in releaseObjectGroup() 231 InjectedScript* injectedScript = context->getInjectedScript(sessionId); in releaseObjectGroup() [all …]
|
D | v8-inspector-impl.cc | 160 int sessionId = ++m_lastSessionId; in connect() local 162 V8InspectorSessionImpl::create(this, contextGroupId, sessionId, channel, in connect() 164 m_sessions[contextGroupId][sessionId] = session.get(); in connect() 170 map.erase(session->sessionId()); in disconnect() 349 int sessionId) { in sessionById() argument 352 auto it2 = it->second.find(sessionId); in sessionById() 387 for (auto& sessionId : ids) { in forEachSession() local 390 auto sessionIt = it->second.find(sessionId); in forEachSession()
|
D | v8-inspector-session-impl.h | 35 V8InspectorImpl*, int contextGroupId, int sessionId, 46 int sessionId() const { return m_sessionId; } in sessionId() function 95 V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId, int sessionId,
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiAwareManagerFacade.java | 122 j.put(NS_KEY_SESSION_ID, ns.sessionId); in getJsonString() 148 int type = 0, role = 0, clientId = 0, sessionId = 0, peerId = 0; in getNetworkSpecifier() local 164 sessionId = j.getInt((NS_KEY_SESSION_ID)); in getNetworkSpecifier() 185 return new WifiAwareNetworkSpecifier(type, role, clientId, sessionId, peerId, peerMac, pmk, in getNetworkSpecifier() 398 int sessionId = getNextSessionId(); in wifiAwareAttach() local 402 new AwareAttachCallbackPostsEvents(sessionId, useIdInCallbackEventName), in wifiAwareAttach() 404 ? new AwareIdentityChangeListenerPostsEvents(sessionId, in wifiAwareAttach() 406 return sessionId; in wifiAwareAttach() 456 Integer sessionId, in wifiAwareUpdatePublish() 461 DiscoverySession session = mDiscoverySessions.get(sessionId); in wifiAwareUpdatePublish() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | FacadeManagerFactory.java | 48 public FacadeManager create(String sessionId) throws IllegalArgumentException { in create() argument 54 if (mFacadeManagers.containsKey(sessionId)) { in create() 55 throw new IllegalArgumentException("SessionID " + sessionId + " already exists."); in create() 57 mFacadeManagers.put(sessionId, facadeManager); in create() 63 public boolean destroy(String sessionId) { in destroy() argument 64 RpcReceiverManager removed = mFacadeManagers.remove(sessionId); in destroy()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | AbstractSessionContext.java | 119 public final SSLSession getSession(byte[] sessionId) { in getSession() argument 120 if (sessionId == null) { in getSession() 123 ByteArray key = new ByteArray(sessionId); in getSession() 242 final NativeSslSession getSessionFromCache(byte[] sessionId) { in getSessionFromCache() argument 243 if (sessionId == null) { in getSessionFromCache() 250 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache() 262 return getSessionFromPersistentCache(sessionId); in getSessionFromCache() 286 abstract NativeSslSession getSessionFromPersistentCache(byte[] sessionId); in getSessionFromPersistentCache() argument
|
D | ServerSessionContext.java | 59 NativeSslSession getSessionFromPersistentCache(byte[] sessionId) { in getSessionFromPersistentCache() argument 61 byte[] data = persistentCache.getSessionData(sessionId); in getSessionFromPersistentCache()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | AbstractSessionContext.java | 118 public final SSLSession getSession(byte[] sessionId) { in getSession() argument 119 if (sessionId == null) { in getSession() 122 ByteArray key = new ByteArray(sessionId); in getSession() 241 final NativeSslSession getSessionFromCache(byte[] sessionId) { in getSessionFromCache() argument 242 if (sessionId == null) { in getSessionFromCache() 249 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache() 261 return getSessionFromPersistentCache(sessionId); in getSessionFromCache() 285 abstract NativeSslSession getSessionFromPersistentCache(byte[] sessionId); in getSessionFromPersistentCache() argument
|
D | ServerSessionContext.java | 57 NativeSslSession getSessionFromPersistentCache(byte[] sessionId) { in getSessionFromPersistentCache() argument 59 byte[] data = persistentCache.getSessionData(sessionId); in getSessionFromPersistentCache()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
D | RuntimeData.java | 34 private String sessionId; field in RuntimeData 54 sessionId = "<none>"; in RuntimeData() 70 sessionId = id; in setSessionId() 80 return sessionId; in getSessionId() 98 final SessionInfo info = new SessionInfo(sessionId, startTimeStamp, in collect()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
D | MessageHandler.java | 75 String sessionId = "" + senderId; in handleMessage() local 78 if (mRpcReceiverManagerFactory.getRpcReceiverManagers().containsKey(sessionId)) { in handleMessage() 80 mRpcReceiverManagerFactory.getRpcReceiverManagers().get(sessionId); in handleMessage() 82 receiverManager = mRpcReceiverManagerFactory.create(sessionId); in handleMessage()
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
D | Agent.java | 160 String sessionId = options.getSessionId(); in startup() local 161 if (sessionId == null) { in startup() 162 sessionId = createSessionId(); in startup() 164 data.setSessionId(sessionId); in startup()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/ |
D | ClientHello.java | 35 public byte[] sessionId; field in ClientHello 45 sessionId = IoUtils.readTlsVariableLengthByteVector(in, 32); in parseBody() 95 + new BigInteger(1, sessionId).toString(16) + ", cipher suites: " + cipherSuites in toString()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
D | RpcReceiverManagerFactory.java | 29 RpcReceiverManager create(String sessionId); in create() argument 37 boolean destroy(String sessionId); in destroy() argument
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/ |
D | ClientHello.java | 37 public byte[] sessionId; field in ClientHello 47 sessionId = IoUtils.readTlsVariableLengthByteVector(in, 32); in parseBody() 97 + new BigInteger(1, sessionId).toString(16) + ", cipher suites: " + cipherSuites in toString()
|
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
D | AbstractAgentMojo.java | 87 String sessionId; field in AbstractAgentMojo 192 if (sessionId != null) { in createAgentOptions() 193 agentOptions.setSessionId(sessionId); in createAgentOptions()
|
/external/boringssl/src/ssl/test/runner/ |
D | handshake_messages.go | 258 sessionId []byte member 313 bytes.Equal(m.sessionId, m1.sessionId) && 380 sessionId := hello.addU8LengthPrefixed() 381 sessionId.addBytes(m.sessionId) 684 !reader.readU8LengthPrefixedBytes(&m.sessionId) || 685 len(m.sessionId) > 32 { 980 sessionId []byte member 1019 sessionId := hello.addU8LengthPrefixed() 1020 sessionId.addBytes(m.sessionId) 1092 if !reader.readU8LengthPrefixedBytes(&m.sessionId) || [all …]
|
D | handshake_client.go | 62 hello.sessionId = newHello.sessionId 371 hello.sessionId = make([]byte, sessionIdLen) 372 if _, err := io.ReadFull(c.config.rand(), hello.sessionId); err != nil { 377 hello.sessionId = session.sessionId 386 if len(hello.sessionId) == 0 && maxVersion >= VersionTLS13 { 387 hello.sessionId = make([]byte, 32) 388 if _, err := io.ReadFull(c.config.rand(), hello.sessionId); err != nil { 410 hello.sessionId = c.config.Bugs.SendClientHelloSessionID 421 sessionId: nil, 777 if c.config.Bugs.RequireSessionIDs && len(hs.session.sessionId) == 0 { [all …]
|
D | common.go | 279 …sessionId []uint8 // Session ID supplied by the server. nil if the session … member 317 Get(sessionId string) (session *sessionState, ok bool) 320 Put(sessionId string, session *sessionState) 1971 func (c *lruServerSessionCache) Put(sessionId string, session *sessionState) { 1972 c.lruSessionCache.Put(sessionId, session) 1975 func (c *lruServerSessionCache) Get(sessionId string) (*sessionState, bool) { 1976 cs, ok := c.lruSessionCache.Get(sessionId)
|