Home
last modified time | relevance | path

Searched defs:sessionId (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/base/core/java/android/content/pm/
DIPackageInstallerCallback.aidl21 void onSessionCreated(int sessionId); in onSessionCreated()
22 void onSessionBadgingChanged(int sessionId); in onSessionBadgingChanged()
23 void onSessionActiveChanged(int sessionId, boolean active); in onSessionActiveChanged()
24 void onSessionProgressChanged(int sessionId, float progress); in onSessionProgressChanged()
25 void onSessionFinished(int sessionId, boolean success); in onSessionFinished()
DIPackageInstaller.aidl32 void updateSessionAppIcon(int sessionId, in Bitmap appIcon); in updateSessionAppIcon()
33 void updateSessionAppLabel(int sessionId, String appLabel); in updateSessionAppLabel()
35 void abandonSession(int sessionId); in abandonSession()
37 IPackageInstallerSession openSession(int sessionId); in openSession()
39 PackageInstaller.SessionInfo getSessionInfo(int sessionId); in getSessionInfo()
50 void setPermissionsResult(int sessionId, boolean accepted); in setPermissionsResult()
DPackageInstaller.java315 public @NonNull Session openSession(int sessionId) throws IOException { in openSession()
334 public void updateSessionAppIcon(int sessionId, @Nullable Bitmap appIcon) { in updateSessionAppIcon()
349 public void updateSessionAppLabel(int sessionId, @Nullable CharSequence appLabel) { in updateSessionAppLabel()
367 public void abandonSession(int sessionId) { in abandonSession()
382 public @Nullable SessionInfo getSessionInfo(int sessionId) { in getSessionInfo()
426 public void setPermissionsResult(int sessionId, boolean accepted) { in setPermissionsResult()
453 public abstract void onCreated(int sessionId); in onCreated()
459 public abstract void onBadgingChanged(int sessionId); in onBadgingChanged()
474 public abstract void onActiveChanged(int sessionId, boolean active); in onActiveChanged()
485 public abstract void onProgressChanged(int sessionId, float progress); in onProgressChanged()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanServiceImpl.java142 public void stopSession(int sessionId) { in stopSession()
148 mStateManager.stopSession(getCallingUid(), sessionId); in stopSession() local
152 public void destroySession(int sessionId) { in destroySession()
158 mStateManager.destroySession(getCallingUid(), sessionId); in destroySession() local
168 int sessionId; in createSession() local
173 mStateManager.createSession(getCallingUid(), sessionId, listener, events); in createSession() local
179 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish()
188 mStateManager.publish(getCallingUid(), sessionId, publishData, publishSettings); in publish() local
192 public void subscribe(int sessionId, SubscribeData subscribeData, in subscribe()
202 mStateManager.subscribe(getCallingUid(), sessionId, subscribeData, subscribeSettings); in subscribe() local
[all …]
DWifiNanClientState.java83 public void createSession(int sessionId, IWifiNanSessionListener listener, int events) { in createSession()
92 public void destroySession(int sessionId) { in destroySession()
103 public WifiNanSessionState getSession(int sessionId) { in getSession()
DWifiNanStateManager.java140 public void stopSession(int uid, int sessionId) { in stopSession()
147 public void destroySession(int uid, int sessionId) { in destroySession()
154 public void createSession(int uid, int sessionId, IWifiNanSessionListener listener, in createSession()
167 public void publish(int uid, int sessionId, PublishData publishData, in publish()
180 public void subscribe(int uid, int sessionId, SubscribeData subscribeData, in subscribe()
193 public void sendMessage(int uid, int sessionId, int peerId, byte[] message, int messageLength, in sendMessage()
419 int sessionId = msg.getData().getInt(MESSAGE_BUNDLE_KEY_SESSION_ID); in handleMessage() local
552 int sessionId) { in fillInTransactionInfoSession()
575 private TransactionInfoSession createTransactionInfoSession(int uid, int sessionId) { in createTransactionInfoSession()
582 private TransactionInfoMessage createTransactionInfoMessage(int uid, int sessionId, in createTransactionInfoMessage()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.h65 virtual status_t removeKeys(const Vector<uint8_t>& sessionId) { in removeKeys()
71 const Vector<uint8_t>& sessionId, in restoreKeys()
79 const Vector<uint8_t>& sessionId, in queryKeyStatus()
153 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm()
160 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm()
167 const Vector<uint8_t>& sessionId, in encrypt()
181 const Vector<uint8_t>& sessionId, in decrypt()
195 const Vector<uint8_t>& sessionId, in sign()
207 const Vector<uint8_t>& sessionId, in verify()
220 const Vector<uint8_t>& sessionId, in signRSA()
DSession.h34 explicit Session(const android::Vector<uint8_t>& sessionId) in Session()
38 const android::Vector<uint8_t>& sessionId() const { return mSessionId; } in sessionId() function
DSessionLibrary.cpp51 Vector<uint8_t> sessionId; in createSession() local
61 const Vector<uint8_t>& sessionId) { in findSession()
DDrmPlugin.cpp32 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { in openSession()
38 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { in closeSession()
/frameworks/base/wifi/java/android/net/wifi/nan/
DIWifiNanManager.aidl43 void publish(int sessionId, in PublishData publishData, in PublishSettings publishSettings); in publish()
44 void subscribe(int sessionId, in SubscribeData subscribeData, in subscribe()
46 void sendMessage(int sessionId, int peerId, in byte[] message, int messageLength, in sendMessage()
48 void stopSession(int sessionId); in stopSession()
49 void destroySession(int sessionId); in destroySession()
DWifiNanManager.java169 int sessionId; in publishRaw() local
185 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish()
251 int sessionId; in subscribeRaw() local
267 public void subscribe(int sessionId, SubscribeData subscribeData, in subscribe()
294 public void stopSession(int sessionId) { in stopSession()
307 public void destroySession(int sessionId) { in destroySession()
320 public void sendMessage(int sessionId, int peerId, byte[] message, int messageLength, in sendMessage()
/frameworks/av/drm/libmediadrm/
DDrm.cpp127 Vector<uint8_t> const *sessionId, in sendEvent()
144 void Drm::sendExpirationUpdate(Vector<uint8_t> const *sessionId, in sendExpirationUpdate()
161 void Drm::sendKeysChange(Vector<uint8_t> const *sessionId, in sendKeysChange()
343 status_t Drm::openSession(Vector<uint8_t> &sessionId) { in openSession()
379 status_t Drm::closeSession(Vector<uint8_t> const &sessionId) { in closeSession()
397 status_t Drm::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
420 status_t Drm::provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
452 status_t Drm::restoreKeys(Vector<uint8_t> const &sessionId, in restoreKeys()
469 status_t Drm::queryKeyStatus(Vector<uint8_t> const &sessionId, in queryKeyStatus()
632 status_t Drm::setCipherAlgorithm(Vector<uint8_t> const &sessionId, in setCipherAlgorithm()
[all …]
DDrmSessionManager.cpp32 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { in GetSessionIdString()
68 int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t> &sessionId) { in addSession()
88 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { in useSession()
104 void DrmSessionManager::removeSession(const Vector<uint8_t> &sessionId) { in removeSession()
145 Vector<uint8_t> sessionId; in reclaimSession() local
212 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId) { in getLeastUsedSession_l()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c90 int sessionId = -1; in FwdLockFile_AcquireSession() local
126 int sessionId = -1; in FwdLockFile_FindSession() local
153 static void FwdLockFile_ReleaseSession(int sessionId) { in FwdLockFile_ReleaseSession()
259 int sessionId = FwdLockFile_AcquireSession(fileDesc); in FwdLockFile_attach() local
301 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_read() local
318 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_lseek() local
356 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_detach() local
371 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_CheckDataIntegrity() local
412 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_CheckHeaderIntegrity() local
438 int sessionId = FwdLockFile_FindSession(fileDesc); in FwdLockFile_GetContentType() local
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java316 final int sessionId = allocateSessionIdLocked(); in allocateStageDirLegacy() local
330 final int sessionId = allocateSessionIdLocked(); in allocateExternalStageCidLegacy() local
387 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readSessionLocked() local
553 private File buildAppIconFile(int sessionId) { in buildAppIconFile()
659 final int sessionId; in createSessionInternal() local
703 public void updateSessionAppIcon(int sessionId, Bitmap appIcon) { in updateSessionAppIcon()
729 public void updateSessionAppLabel(int sessionId, String appLabel) { in updateSessionAppLabel()
741 public void abandonSession(int sessionId) { in abandonSession()
752 public IPackageInstallerSession openSession(int sessionId) { in openSession()
760 private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException { in openSessionInternal()
[all …]
DPackageManagerShellCommand.java140 final int sessionId = doCreateSession(params.sessionParams, in runInstall() local
204 final int sessionId = Integer.parseInt(getNextArg()); in runInstallAbandon() local
209 final int sessionId = Integer.parseInt(getNextArg()); in runInstallCommit() local
216 final int sessionId = doCreateSession(installParams.sessionParams, in runInstallCreate() local
236 final int sessionId = Integer.parseInt(getNextArg()); in runInstallWrite() local
245 final int sessionId = Integer.parseInt(getNextArg()); in runInstallRemove() local
786 final int sessionId = in runRemoveSplit() local
1142 final int sessionId = mInterface.getPackageInstaller() in doCreateSession() local
1147 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit()
1203 private int doRemoveSplit(int sessionId, String splitName, boolean logSuccess) in doRemoveSplit()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java206 public void setSessionId(String sessionId) { in setSessionId()
654 final String sessionId, final String itemId, in performItemAction()
704 private void performSessionAction(final Intent intent, final String sessionId, in performSessionAction()
751 private void adoptSession(String sessionId) { in adoptSession()
880 String sessionId = intent.getStringExtra(MediaControlIntent.EXTRA_SESSION_ID); in onReceive() local
913 sessionId, sessionStatus, itemId, itemStatus); in onReceive() local
929 sessionId, sessionStatus); in onReceive() local
958 String sessionId, MediaSessionStatus sessionStatus, in onItemStatusChanged()
970 String sessionId, MediaSessionStatus sessionStatus) { in onSessionStatusChanged()
978 public void onSessionChanged(String sessionId) { in onSessionChanged()
[all …]
/frameworks/base/media/java/android/media/
DMediaDrm.java631 public native void closeSession(@NonNull byte[] sessionId); in closeSession()
807 public native void restoreKeys(@NonNull byte[] sessionId, @NonNull byte[] keySetId); in restoreKeys()
814 public native void removeKeys(@NonNull byte[] sessionId); in removeKeys()
826 public native HashMap<String, String> queryKeyStatus(@NonNull byte[] sessionId); in queryKeyStatus()
1025 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setCipherAlgorithmNative()
1028 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); in setMacAlgorithmNative()
1032 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in encryptNative()
1037 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in decryptNative()
1042 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in signNative()
1046 @NonNull MediaDrm drm, @NonNull byte[] sessionId, in verifyNative()
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp82 status_t MockDrmPlugin::openSession(Vector<uint8_t> &sessionId) in openSession()
97 status_t MockDrmPlugin::closeSession(Vector<uint8_t> const &sessionId) in closeSession()
111 status_t MockDrmPlugin::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
184 status_t MockDrmPlugin::provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
231 status_t MockDrmPlugin::restoreKeys(Vector<uint8_t> const &sessionId, in restoreKeys()
253 status_t MockDrmPlugin::queryKeyStatus(Vector<uint8_t> const &sessionId, in queryKeyStatus()
511 status_t MockDrmPlugin::setCipherAlgorithm(Vector<uint8_t> const &sessionId, in setCipherAlgorithm()
531 status_t MockDrmPlugin::setMacAlgorithm(Vector<uint8_t> const &sessionId, in setMacAlgorithm()
551 status_t MockDrmPlugin::encrypt(Vector<uint8_t> const &sessionId, in encrypt()
590 status_t MockDrmPlugin::decrypt(Vector<uint8_t> const &sessionId, in decrypt()
[all …]
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { in GetSessionId()
90 const Vector<uint8_t>& sessionId, int64_t timeStamp) { in ExpectEqSessionInfo()
137 Vector<uint8_t> sessionId; in testGetLeastUsedSession() local
202 Vector<uint8_t> sessionId; in TEST_F() local
231 Vector<uint8_t> sessionId; in TEST_F() local
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp87 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { in GetSessionId()
94 const Vector<uint8_t>& sessionId, int64_t timeStamp) { in ExpectEqSessionInfo()
141 Vector<uint8_t> sessionId; in testGetLeastUsedSession() local
206 Vector<uint8_t> sessionId; in TEST_F() local
235 Vector<uint8_t> sessionId; in TEST_F() local
/frameworks/av/media/libmedia/
DIDrm.cpp611 Vector<uint8_t> sessionId; in onTransact() local
621 Vector<uint8_t> sessionId; in onTransact() local
630 Vector<uint8_t> sessionId, initData; in onTransact() local
664 Vector<uint8_t> sessionId, response, keySetId; in onTransact() local
685 Vector<uint8_t> sessionId, keySetId; in onTransact() local
695 Vector<uint8_t> sessionId; in onTransact() local
828 Vector<uint8_t> sessionId; in onTransact() local
838 Vector<uint8_t> sessionId; in onTransact() local
848 Vector<uint8_t> sessionId, keyId, input, iv, output; in onTransact() local
862 Vector<uint8_t> sessionId, keyId, input, iv, output; in onTransact() local
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DRemotePlayer.java131 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in play()
173 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in getStatus()
366 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in enqueueInternal()
408 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, in seekInternal()
453 String sessionId, MediaSessionStatus sessionStatus, in logStatus()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp69 AMediaDrmSessionId sessionId = {NULL, 0}; in notify() local
234 media_status_t AMediaDrm_openSession(AMediaDrm *mObj, AMediaDrmSessionId *sessionId) { in AMediaDrm_openSession()
253 media_status_t AMediaDrm_closeSession(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId) { in AMediaDrm_closeSession()
356 media_status_t AMediaDrm_restoreKeys(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_restoreKeys()
396 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_queryKeyStatus()
584 const AMediaDrmSessionId &sessionId, in encrypt_decrypt_common()
625 media_status_t AMediaDrm_encrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_encrypt()
636 media_status_t AMediaDrm_decrypt(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_decrypt()
647 media_status_t AMediaDrm_sign(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_sign()
686 media_status_t AMediaDrm_verify(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_verify()

1234