/frameworks/base/core/java/android/content/pm/ |
IPackageInstallerCallback.aidl | 21 void onSessionCreated(int sessionId); 22 void onSessionBadgingChanged(int sessionId); 23 void onSessionActiveChanged(int sessionId, boolean active); 24 void onSessionProgressChanged(int sessionId, float progress); 25 void onSessionFinished(int sessionId, boolean success);
|
IPackageInstaller.aidl | 32 void updateSessionAppIcon(int sessionId, in Bitmap appIcon); 33 void updateSessionAppLabel(int sessionId, String appLabel); 35 void abandonSession(int sessionId); 37 IPackageInstallerSession openSession(int sessionId); 39 PackageInstaller.SessionInfo getSessionInfo(int sessionId); 50 void setPermissionsResult(int sessionId, boolean accepted);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
ITestResultRepo.java | 35 * @param sessionId the session id 39 public TestResults getResult(int sessionId); 43 * @param sessionId 44 * @return A {@link File} representing the report directory for the given sessionId 46 public File getReportDir(int sessionId);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
SessionLibrary.cpp | 51 Vector<uint8_t> sessionId; 52 sessionId.appendArray( 56 mSessions.add(sessionId, new Session(sessionId)); 57 return mSessions.valueFor(sessionId); 61 const Vector<uint8_t>& sessionId) { 63 return mSessions.valueFor(sessionId); 68 mSessions.removeItem(session->sessionId());
|
DrmPlugin.h | 46 virtual status_t openSession(Vector<uint8_t>& sessionId); 48 virtual status_t closeSession(const Vector<uint8_t>& sessionId); 65 virtual status_t removeKeys(const Vector<uint8_t>& sessionId) { 66 UNUSED(sessionId); 71 const Vector<uint8_t>& sessionId, 73 UNUSED(sessionId); 79 const Vector<uint8_t>& sessionId, 81 UNUSED(sessionId); 153 const Vector<uint8_t>& sessionId, const String8& algorithm) { 154 UNUSED(sessionId); [all...] |
CryptoFactory.cpp | 46 android::Vector<uint8_t> sessionId; 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); 49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId);
|
CryptoPlugin.h | 34 CryptoPlugin(const android::Vector<uint8_t>& sessionId) { 35 mInitStatus = setMediaDrmSession(sessionId); 52 const android::Vector<uint8_t>& sessionId);
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
WifiNanPublishSession.java | 31 public WifiNanPublishSession(WifiNanManager manager, int sessionId) { 32 super(manager, sessionId);
|
WifiNanSubscribeSession.java | 31 public WifiNanSubscribeSession(WifiNanManager manager, int sessionId) { 32 super(manager, sessionId);
|
WifiNanManager.java | 169 int sessionId; 172 sessionId = mService.createSession(listener.callback, events); 173 if (DBG) Log.d(TAG, "publish: session created - sessionId=" + sessionId); 174 mService.publish(sessionId, publishData, publishSettings); 179 return new WifiNanPublishSession(this, sessionId); 185 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { 200 mService.publish(sessionId, publishData, publishSettings); 251 int sessionId; 254 sessionId = mService.createSession(listener.callback, events) [all...] |
IWifiNanManager.aidl | 43 void publish(int sessionId, in PublishData publishData, in PublishSettings publishSettings); 44 void subscribe(int sessionId, in SubscribeData subscribeData, 46 void sendMessage(int sessionId, int peerId, in byte[] message, int messageLength, 48 void stopSession(int sessionId); 49 void destroySession(int sessionId);
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
InvocationResultRepo.java | 56 public IInvocationResult getResult(int sessionId) { 57 if (sessionId < 0 || sessionId >= mResults.size()) { 60 return mResults.get(sessionId);
|
/frameworks/av/include/media/ |
DrmSessionClientInterface.h | 26 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) = 0;
|
IDrm.h | 41 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0; 43 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0; 46 getKeyRequest(Vector<uint8_t> const &sessionId, 53 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, 59 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 62 virtual status_t queryKeyStatus(Vector<uint8_t> const &sessionId, 88 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId, 91 virtual status_t setMacAlgorithm(Vector<uint8_t> const &sessionId, 94 virtual status_t encrypt(Vector<uint8_t> const &sessionId, 100 virtual status_t decrypt(Vector<uint8_t> const &sessionId, [all...] |
DrmSessionManager.h | 37 Vector<uint8_t> sessionId; 50 void addSession(int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t>& sessionId); 51 void useSession(const Vector<uint8_t>& sessionId); 52 void removeSession(const Vector<uint8_t>& sessionId); 65 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId);
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SSLSessionContext.java | 62 * @param sessionId the Session identifier 66 * @throws NullPointerException if <code>sessionId</code> is null. 68 public SSLSession getSession(byte[] sessionId);
|
/frameworks/native/include/media/drm/ |
DrmAPI.h | 130 // in the sessionId parameter. 131 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0; 134 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0; 141 // The scope parameter may be a sessionId or a keySetId, depending on the 143 // kKeyType_Streaming, scope should be set to the sessionId the keys will be 175 // scope may be a sessionId or a keySetId depending on the type of the 176 // response. Scope should be set to the sessionId when the response is 190 virtual status_t removeKeys(Vector<uint8_t> const &sessionId) = 0; 194 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 203 queryKeyStatus(Vector<uint8_t> const &sessionId, [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 90 int sessionId = -1; 104 sessionId = candidateSessionId; 115 return sessionId; 126 int sessionId = -1; 136 sessionId = candidateSessionId; 145 return sessionId; 151 * @param[in] sessionID A session ID. 153 static void FwdLockFile_ReleaseSession(int sessionId) { 155 assert(0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL) [all...] |
/frameworks/av/drm/libmediadrm/ |
DrmSessionManager.cpp | 32 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { 34 for (size_t i = 0; i < sessionId.size(); ++i) { 35 sessionIdStr.appendFormat("%u ", sessionId[i]); 68 int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t> &sessionId) { 69 ALOGV("addSession(pid %d, drm %p, sessionId %s)", pid, drm.get(), 70 GetSessionIdString(sessionId).string()); 75 info.sessionId = sessionId; 88 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { 89 ALOGV("useSession(%s)", GetSessionIdString(sessionId).string()) [all...] |
Drm.cpp | 66 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { 71 status_t err = drm->closeSession(sessionId); 75 drm->sendEvent(DrmPlugin::kDrmPluginEventSessionReclaimed, 0, &sessionId, NULL); 127 Vector<uint8_t> const *sessionId, 136 writeByteArray(obj, sessionId); 144 void Drm::sendExpirationUpdate(Vector<uint8_t> const *sessionId, 153 writeByteArray(obj, sessionId); 161 void Drm::sendKeysChange(Vector<uint8_t> const *sessionId, 171 writeByteArray(obj, sessionId); 343 status_t Drm::openSession(Vector<uint8_t> &sessionId) { [all...] |
/frameworks/av/media/libmediaplayerservice/tests/ |
DrmSessionManager_test.cpp | 54 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { 55 mReclaimedSessions.push_back(sessionId); 87 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { 89 sessionId->push_back(ids[i]); 94 const Vector<uint8_t>& sessionId, int64_t timeStamp) { 96 EXPECT_TRUE(isEqualSessionId(sessionId, info.sessionId)); 141 Vector<uint8_t> sessionId; 142 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); 146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); [all...] |
/frameworks/av/services/mediadrm/tests/ |
DrmSessionManager_test.cpp | 50 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { 51 mReclaimedSessions.push_back(sessionId); 83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { 85 sessionId->push_back(ids[i]); 90 const Vector<uint8_t>& sessionId, int64_t timeStamp) { 92 EXPECT_TRUE(isEqualSessionId(sessionId, info.sessionId)); 137 Vector<uint8_t> sessionId; 138 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); 142 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
WifiNanServiceImpl.java | 142 public void stopSession(int sessionId) { 146 if (VDBG) Log.v(TAG, "stopSession: sessionId=" + sessionId + ", uid=" + getCallingUid()); 148 mStateManager.stopSession(getCallingUid(), sessionId); 152 public void destroySession(int sessionId) { 156 if (VDBG) Log.v(TAG, "destroySession: sessionId=" + sessionId + ", uid=" + getCallingUid()); 158 mStateManager.destroySession(getCallingUid(), sessionId); 168 int sessionId; 170 sessionId = mNextSessionId++ [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
PostProcTestBase.java | 61 int sessionId = am.generateAudioSessionId(); 62 assertTrue("Could not generate session id", sessionId>0); 63 return sessionId;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
ServerSessionContext.java | 56 public SSLSession getSession(byte[] sessionId) { 58 SSLSession cachedSession = super.getSession(sessionId); 66 byte[] data = persistentCache.getSessionData(sessionId);
|