Searched refs:sessionId (Results 1 - 25 of 208) sorted by relevance

123456789

/frameworks/base/core/java/android/content/pm/
H A DIPackageInstallerCallback.aidl21 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);
H A DIPackageInstaller.aidl33 void updateSessionAppIcon(int sessionId, in Bitmap appIcon);
34 void updateSessionAppLabel(int sessionId, String appLabel);
36 void abandonSession(int sessionId);
38 IPackageInstallerSession openSession(int sessionId);
40 PackageInstaller.SessionInfo getSessionInfo(int sessionId);
51 void setPermissionsResult(int sessionId, boolean accepted);
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.cpp54 CasPlugin *plugin, CasSessionId *sessionId) {
55 CHECK(sessionId);
62 sessionId->push_back(byteArray[3]);
63 sessionId->push_back(byteArray[2]);
64 sessionId->push_back(byteArray[1]);
65 sessionId->push_back(byteArray[0]);
68 mIDToSessionMap.add(*sessionId, session);
73 const CasSessionId& sessionId) {
76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId);
80 return mIDToSessionMap.valueFor(sessionId);
53 addSession( CasPlugin *plugin, CasSessionId *sessionId) argument
72 findSession( const CasSessionId& sessionId) argument
83 destroySession(const CasSessionId& sessionId) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp51 Vector<uint8_t> sessionId; local
52 sessionId.appendArray(
56 mSessions.add(sessionId, new Session(sessionId));
57 return mSessions.valueFor(sessionId);
61 const Vector<uint8_t>& sessionId) {
63 if (mSessions.indexOfKey(sessionId) < 0) {
66 return mSessions.valueFor(sessionId);
71 mSessions.removeItem(session->sessionId());
60 findSession( const Vector<uint8_t>& sessionId) argument
H A DDrmPlugin.h46 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) { argument
66 if (sessionId.size() == 0) {
74 const Vector<uint8_t>& sessionId,
76 if (sessionId.size() == 0 || keySetId.size() == 0) {
83 const Vector<uint8_t>& sessionId,
85 if (sessionId.size() == 0) {
167 const Vector<uint8_t>& sessionId, const String8& algorithm) {
168 if (sessionId
73 restoreKeys( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keySetId) argument
82 queryKeyStatus( const Vector<uint8_t>& sessionId, KeyedVector<String8, String8>& infoMap) const argument
166 setCipherAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument
174 setMacAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument
182 encrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument
196 decrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument
210 sign( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& message, Vector<uint8_t>& signature) argument
223 verify( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& message, const Vector<uint8_t>& signature, bool& match) argument
236 signRSA( const Vector<uint8_t>& sessionId, const String8& algorithm, const Vector<uint8_t>& message, const Vector<uint8_t>& wrappedKey, Vector<uint8_t>& signature) argument
[all...]
H A DCryptoFactory.cpp46 android::Vector<uint8_t> sessionId; local
47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size);
49 CryptoPlugin *clearKeyPlugin = new CryptoPlugin(sessionId);
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockSessionLibrary.cpp43 CasPlugin *plugin, CasSessionId *sessionId) {
49 sessionId->push_back(byteArray[3]);
50 sessionId->push_back(byteArray[2]);
51 sessionId->push_back(byteArray[1]);
52 sessionId->push_back(byteArray[0]);
55 mIDToSessionMap.add(*sessionId, session);
60 const CasSessionId& sessionId) {
63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId);
67 return mIDToSessionMap.valueFor(sessionId);
70 void MockSessionLibrary::destroySession(const CasSessionId& sessionId) { argument
42 addSession( CasPlugin *plugin, CasSessionId *sessionId) argument
59 findSession( const CasSessionId& sessionId) argument
[all...]
/frameworks/base/core/java/android/view/autofill/
H A DIAutoFillManagerClient.aidl43 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values);
48 void authenticate(int sessionId, int authenticationId, in IntentSender intent,
55 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds,
61 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height,
67 void requestHideFillUi(int sessionId, in AutofillId id);
72 void notifyNoFillUi(int sessionId, in AutofillId id);
H A DIAutoFillManager.aidl39 boolean restoreSession(int sessionId, in IBinder activityToken, in IBinder appCallback);
40 void updateSession(int sessionId, in AutofillId id, in Rect bounds,
44 boolean hasCallback, int flags, String packageName, int sessionId, int action);
45 void finishSession(int sessionId, int userId);
46 void cancelSession(int sessionId, int userId);
47 void setAuthenticationResult(in Bundle data, int sessionId, int authenticationId, int userId);
48 void setHasCallback(int sessionId, int userId, boolean hasIt);
/frameworks/av/drm/libmediadrm/aidl/android/media/
H A DIDescrambler.aidl23 void setMediaCasSession(in byte[] sessionId);
H A DICas.aidl25 void closeSession(in byte[] sessionId);
26 void setSessionPrivateData(in byte[] sessionId, in byte[] pvtData);
27 void processEcm(in byte[] sessionId, in MediaCas.ParcelableCasData ecm);
/frameworks/native/include/media/drm/
H A DDrmAPI.h130 // 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,
380 sendEvent(EventType eventType, int extra, Vector<uint8_t> const *sessionId, Vector<uint8_t> const *data) argument
392 sendExpirationUpdate(Vector<uint8_t> const *sessionId, int64_t expiryTimeInMS) argument
403 sendKeysChange(Vector<uint8_t> const *sessionId, Vector<DrmPlugin::KeyStatus> const *keyStatusList, bool hasNewUsableKey) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c90 int sessionId = -1; local
104 sessionId = candidateSessionId;
115 return sessionId;
126 int sessionId = -1; local
136 sessionId = candidateSessionId;
145 return sessionId;
153 static void FwdLockFile_ReleaseSession(int sessionId) { argument
155 assert(0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] !
259 int sessionId = FwdLockFile_AcquireSession(fileDesc); local
301 int sessionId = FwdLockFile_FindSession(fileDesc); local
318 int sessionId = FwdLockFile_FindSession(fileDesc); local
356 int sessionId = FwdLockFile_FindSession(fileDesc); local
371 int sessionId = FwdLockFile_FindSession(fileDesc); local
412 int sessionId = FwdLockFile_FindSession(fileDesc); local
438 int sessionId = FwdLockFile_FindSession(fileDesc); local
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmSessionManager.cpp32 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { argument
34 for (size_t i = 0; i < sessionId.size(); ++i) {
35 sessionIdStr.appendFormat("%u ", sessionId[i]);
68 int pid, const 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) { argument
89 ALOGV("useSession(%s)", GetSessionIdString(sessionId)
67 addSession( int pid, const sp<DrmSessionClientInterface>& drm, const Vector<uint8_t> &sessionId) argument
104 removeSession(const Vector<uint8_t> &sessionId) argument
145 Vector<uint8_t> sessionId; local
211 getLeastUsedSession_l( int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId) argument
[all...]
H A DDrm.cpp67 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { argument
72 status_t err = drm->closeSession(sessionId);
76 drm->sendEvent(DrmPlugin::kDrmPluginEventSessionReclaimed, 0, &sessionId, NULL);
128 Vector<uint8_t> const *sessionId,
137 writeByteArray(obj, sessionId);
145 void Drm::sendExpirationUpdate(Vector<uint8_t> const *sessionId, argument
154 writeByteArray(obj, sessionId);
162 void Drm::sendKeysChange(Vector<uint8_t> const *sessionId, argument
172 writeByteArray(obj, sessionId);
351 status_t Drm::openSession(Vector<uint8_t> &sessionId) { argument
127 sendEvent(DrmPlugin::EventType eventType, int extra, Vector<uint8_t> const *sessionId, Vector<uint8_t> const *data) argument
382 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId); local
387 closeSession(Vector<uint8_t> const &sessionId) argument
405 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, DrmPlugin::KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, DrmPlugin::KeyRequestType *keyRequestType) argument
428 provideKeyResponse(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &response, Vector<uint8_t> &keySetId) argument
460 restoreKeys(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keySetId) argument
477 queryKeyStatus(Vector<uint8_t> const &sessionId, KeyedVector<String8, String8> &infoMap) const argument
640 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
657 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
674 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
694 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
714 sign(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> &signature) argument
733 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
753 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument
[all...]
H A DDescramblerImpl.cpp41 static String8 sessionIdToString(const CasSessionId &sessionId) { argument
43 for (size_t i = 0; i < sessionId.size(); i++) {
44 result.appendFormat("%02x ", sessionId[i]);
63 Status DescramblerImpl::setMediaCasSession(const CasSessionId& sessionId) { argument
64 ALOGV("setMediaCasSession: sessionId=%s",
65 sessionIdToString(sessionId).string());
67 return getBinderStatus(mPlugin->setMediaCasSession(sessionId));
H A DIDrm.cpp117 virtual status_t openSession(Vector<uint8_t> &sessionId) { argument
125 readVector(reply, sessionId);
130 virtual status_t closeSession(Vector<uint8_t> const &sessionId) { argument
134 writeVector(data, sessionId);
144 getKeyRequest(Vector<uint8_t> const &sessionId, argument
153 writeVector(data, sessionId);
176 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, argument
181 writeVector(data, sessionId);
207 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, argument
212 writeVector(data, sessionId);
222 queryKeyStatus(Vector<uint8_t> const &sessionId, KeyedVector<String8, String8> &infoMap) const argument
397 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
411 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
425 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
447 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
469 sign(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> &signature) argument
489 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
510 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument
613 Vector<uint8_t> sessionId; local
623 Vector<uint8_t> sessionId; local
632 Vector<uint8_t> sessionId, initData; local
666 Vector<uint8_t> sessionId, response, keySetId; local
687 Vector<uint8_t> sessionId, keySetId; local
697 Vector<uint8_t> sessionId; local
830 Vector<uint8_t> sessionId; local
840 Vector<uint8_t> sessionId; local
850 Vector<uint8_t> sessionId, keyId, input, iv, output; local
864 Vector<uint8_t> sessionId, keyId, input, iv, output; local
878 Vector<uint8_t> sessionId, keyId, message, signature; local
891 Vector<uint8_t> sessionId, keyId, message, signature; local
906 Vector<uint8_t> sessionId, message, wrappedKey, signature; local
[all...]
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp54 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { argument
55 mReclaimedSessions.push_back(sessionId);
87 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { argument
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; local
142 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
93 ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, const Vector<uint8_t>& sessionId, int64_t timeStamp) argument
206 Vector<uint8_t> sessionId; local
235 Vector<uint8_t> sessionId; local
[all...]
/frameworks/av/services/mediadrm/tests/
H A DDrmSessionManager_test.cpp50 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { argument
51 mReclaimedSessions.push_back(sessionId);
83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { argument
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; local
138 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
142 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
89 ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, const Vector<uint8_t>& sessionId, int64_t timeStamp) argument
202 Vector<uint8_t> sessionId; local
231 Vector<uint8_t> sessionId; local
[all...]
/frameworks/av/include/media/
H A DDrmSessionManager.h37 Vector<uint8_t> sessionId; member in struct:android::SessionInfo
50 void addSession(int pid, const 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);
/frameworks/av/media/libmedia/include/media/
H A DDrmSessionManager.h37 Vector<uint8_t> sessionId; member in struct:android::SessionInfo
50 void addSession(int pid, const 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);
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DPublishDiscoverySession.java35 public PublishDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { argument
36 super(manager, clientId, sessionId);
H A DSubscribeDiscoverySession.java39 int sessionId) {
40 super(manager, clientId, sessionId);
38 SubscribeDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java56 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, MediaSessionStatu
452 logStatus(String message, String sessionId, MediaSessionStatus sessionStatus, String itemId, MediaItemStatus itemStatus) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java56 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, MediaSessionStatu
452 logStatus(String message, String sessionId, MediaSessionStatus sessionStatus, String itemId, MediaItemStatus itemStatus) argument
[all...]

Completed in 343 milliseconds

123456789