/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);
|
/frameworks/av/include/media/stagefright/foundation/ |
ANetworkSession.h | 42 int32_t *sessionID); 46 const sp<AMessage> ¬ify, int32_t *sessionID); 49 unsigned localPort, const sp<AMessage> ¬ify, int32_t *sessionID); 56 int32_t *sessionID); 59 int32_t sessionID, const char *remoteHost, unsigned remotePort); 64 const sp<AMessage> ¬ify, int32_t *sessionID); 72 int32_t *sessionID); 74 status_t destroySession(int32_t sessionID); 77 int32_t sessionID, const void *data, ssize_t size = -1, 80 status_t switchToWebSocketMode(int32_t sessionID); [all...] |
/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...] |
/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/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...] |
/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/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/av/media/libstagefright/wifi-display/source/ |
WifiDisplaySource.h | 103 int32_t sessionID, const sp<ParsedMessage> &msg); 178 status_t sendM1(int32_t sessionID); 179 status_t sendM3(int32_t sessionID); 180 status_t sendM4(int32_t sessionID); 190 status_t sendTrigger(int32_t sessionID, TriggerType triggerType); 192 status_t sendM16(int32_t sessionID); 195 int32_t sessionID, const sp<ParsedMessage> &msg); 198 int32_t sessionID, const sp<ParsedMessage> &msg); 201 int32_t sessionID, const sp<ParsedMessage> &msg); 204 int32_t sessionID, const sp<ParsedMessage> &msg) [all...] |
WifiDisplaySource.cpp | 197 int32_t sessionID; 198 CHECK(msg->findInt32("sessionID", &sessionID)); 207 sessionID, 212 mNetSession->destroySession(sessionID); 214 if (sessionID == mClientSessionID) { 225 int32_t sessionID; 226 CHECK(msg->findInt32("sessionID", &sessionID)); 232 mNetSession->destroySession(sessionID); [all...] |
/frameworks/av/include/media/ |
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...] |
Drm.h | 47 virtual status_t openSession(Vector<uint8_t> &sessionId); 49 virtual status_t closeSession(Vector<uint8_t> const &sessionId); 52 getKeyRequest(Vector<uint8_t> const &sessionId, 59 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, 65 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 68 virtual status_t queryKeyStatus(Vector<uint8_t> const &sessionId, 93 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId, 96 virtual status_t setMacAlgorithm(Vector<uint8_t> const &sessionId, 99 virtual status_t encrypt(Vector<uint8_t> const &sessionId, 105 virtual status_t decrypt(Vector<uint8_t> const &sessionId, [all...] |
/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);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
PackageInstallerCompatVL.java | 89 public void onCreated(int sessionId) { 90 pushSessionDisplayToLauncher(sessionId); 94 public void onFinished(int sessionId, boolean success) { 97 String packageName = mActiveSessions.get(sessionId); 98 mActiveSessions.remove(sessionId); 107 public void onProgressChanged(int sessionId, float progress) { 108 SessionInfo session = mInstaller.getSessionInfo(sessionId); 117 public void onActiveChanged(int sessionId, boolean active) { } 120 public void onBadgingChanged(int sessionId) { 121 pushSessionDisplayToLauncher(sessionId); [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
RemotePlayer.java | 56 String sessionId, MediaSessionStatus sessionStatus, 58 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 72 String sessionId, MediaSessionStatus sessionStatus) { 73 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 80 public void onSessionChanged(String sessionId) { 82 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 131 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 133 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 173 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.cpp | 82 status_t MockDrmPlugin::openSession(Vector<uint8_t> &sessionId) 89 sessionId.appendArray((uint8_t *)&r, sizeof(long)); 91 mSessions.add(sessionId); 93 ALOGD("MockDrmPlugin::openSession() -> %s", vectorToString(sessionId).string()); 97 status_t MockDrmPlugin::closeSession(Vector<uint8_t> const &sessionId) 100 ALOGD("MockDrmPlugin::closeSession(%s)", vectorToString(sessionId).string()); 101 ssize_t index = findSession(sessionId); 103 ALOGD("Invalid sessionId"); 111 status_t MockDrmPlugin::getKeyRequest(Vector<uint8_t> const &sessionId, 119 ALOGD("MockDrmPlugin::getKeyRequest(sessionId=%s, initData=%s, mimeType=%s [all...] |
/frameworks/av/media/libmedia/ |
IDrm.cpp | 115 virtual status_t openSession(Vector<uint8_t> &sessionId) { 123 readVector(reply, sessionId); 128 virtual status_t closeSession(Vector<uint8_t> const &sessionId) { 132 writeVector(data, sessionId); 142 getKeyRequest(Vector<uint8_t> const &sessionId, 151 writeVector(data, sessionId); 174 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, 179 writeVector(data, sessionId); 205 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, 210 writeVector(data, sessionId); [all...] |
/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);
|
/external/wpa_supplicant_8/hs20/server/www/ |
remediation.php | 9 echo "SessionID: " . $_GET["session_id"] . "<br>\n";
|