/frameworks/av/media/module/libmediatranscoding/ |
D | TranscodingSessionController.cpp | 40 String8 TranscodingSessionController::sessionToString(const SessionKeyType& sessionKey) { in sessionToString() argument 41 return String8::format("{client:%lld, session:%d}", (long long)sessionKey.first, in sessionToString() 42 sessionKey.second); in sessionToString() 179 SessionKeyType sessionKey = mSessionToWatch; in threadLoop() local 181 ALOGE("Watchdog timeout: %s", sessionToString(sessionKey).c_str()); in threadLoop() 184 mOwner->onError(sessionKey.first, sessionKey.second, in threadLoop() 406 for (auto& sessionKey : mSessionQueues[uid]) { in dumpAllSessions() local 407 auto sessionIt = mSessionMap.find(sessionKey); in dumpAllSessions() 410 sessionToString(sessionKey).c_str()); in dumpAllSessions() 573 const SessionKeyType& sessionKey) { in addUidToSession_l() argument [all …]
|
/frameworks/av/media/module/libmediatranscoding/tests/ |
D | TranscodingClientManager_tests.cpp | 142 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in submit() local 143 if (mSessions.count(sessionKey) > 0) { in submit() 157 mSessions[sessionKey].request = request; in submit() 158 mSessions[sessionKey].callback = clientCallback; in submit() 159 mSessions[sessionKey].allClientUids.insert(clientUid); in submit() 161 mLastSession = sessionKey; in submit() 166 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in addClientUid() local 168 if (mSessions.count(sessionKey) == 0) { in addClientUid() 171 if (mSessions[sessionKey].allClientUids.count(clientUid) > 0) { in addClientUid() 174 mSessions[sessionKey].allClientUids.insert(clientUid); in addClientUid() [all …]
|
/frameworks/base/core/java/android/net/ |
D | VpnProfileState.java | 57 public VpnProfileState(@State int state, @Nullable String sessionKey, boolean alwaysOn, in VpnProfileState() argument 60 mSessionKey = sessionKey; in VpnProfileState()
|
/frameworks/av/media/module/libmediatranscoding/include/media/ |
D | TranscodingSessionController.h | 191 void addUidToSession_l(uid_t uid, const SessionKeyType& sessionKey); 192 void removeSession_l(const SessionKeyType& sessionKey, Session::State finalState, 201 static String8 sessionToString(const SessionKeyType& sessionKey);
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsLogger.cpp | 32 auto sessionKey = sessionId.array(); in toStdVec() local 33 std::vector<uint8_t> vec(sessionKey, sessionKey + sessionId.size()); in toStdVec() 179 std::vector<uint8_t> sessionKey = toStdVec(sessionId); in openSession() local 189 mSessionMap.insert({sessionKey, ctx}); in openSession() 191 reportMediaDrmSessionOpened(sessionKey); in openSession()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 1096 final String sessionKey = vpn.startVpnProfile(TEST_VPN_PKG); in startVpnForVerifyAppExclusionList() local 1099 verify(mConnectivityManager).setVpnDefaultForUids(eq(sessionKey), eq(uidRanges)); in startVpnForVerifyAppExclusionList() 1104 return sessionKey; in startVpnForVerifyAppExclusionList() 1117 final String sessionKey = startVpnForVerifyAppExclusionList(vpn); in testSetAndGetAppExclusionList() local 1125 verify(mConnectivityManager).setVpnDefaultForUids(eq(sessionKey), eq(uidRanges)); in testSetAndGetAppExclusionList() 1133 final String sessionKey = startVpnForVerifyAppExclusionList(vpn); in testRefreshPlatformVpnAppExclusionList_updatesExcludedUids() local 1137 verify(mConnectivityManager).setVpnDefaultForUids(eq(sessionKey), eq(uidRanges)); in testRefreshPlatformVpnAppExclusionList_updatesExcludedUids() 1157 verify(mConnectivityManager).setVpnDefaultForUids(eq(sessionKey), eq(newUidRanges)); in testRefreshPlatformVpnAppExclusionList_updatesExcludedUids() 1175 .setVpnDefaultForUids(eq(sessionKey), eq(newUidRanges)); in testRefreshPlatformVpnAppExclusionList_updatesExcludedUids() 1497 private void verifyVpnManagerEvent(String sessionKey, String category, int errorClass, in verifyVpnManagerEvent() argument [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 144 unsigned char sessionKey[KEY_SIZE]; member 255 if (AES_set_encrypt_key(pSession->sessionKey, KEY_SIZE_IN_BITS, in FwdLockConv_DeriveKeys() 1131 if (!FwdLockGlue_GetRandomNumber(pSession->sessionKey, KEY_SIZE)) { in FwdLockConv_OpenSession() 1133 } else if (!FwdLockGlue_EncryptKey(pSession->sessionKey, KEY_SIZE, in FwdLockConv_OpenSession() 1141 memset(pSession->sessionKey, 0, KEY_SIZE); // Zero out key data. in FwdLockConv_OpenSession()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 839 int errorCode, @NonNull final String packageName, @Nullable final String sessionKey, in buildVpnManagerEventIntent() argument 843 Log.d(TAG, "buildVpnManagerEventIntent: sessionKey = " + sessionKey); in buildVpnManagerEventIntent() 848 intent.putExtra(VpnManager.EXTRA_SESSION_KEY, sessionKey); in buildVpnManagerEventIntent() 863 int errorCode, @NonNull final String packageName, @Nullable final String sessionKey, in sendEventToVpnManagerApp() argument 868 + " on session " + sessionKey); in sendEventToVpnManagerApp() 870 packageName, sessionKey, profileState, underlyingNetwork, nc, lp); in sendEventToVpnManagerApp() 4121 final String sessionKey = in getSessionKeyLocked() local 4124 + ", sessionKey = " + sessionKey); in getSessionKeyLocked() 4125 return sessionKey; in getSessionKeyLocked()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 243 const hardware::CameraExtensionSessionStats& stats, std::string* sessionKey /*out*/);
|
D | CameraService.cpp | 3693 const hardware::CameraExtensionSessionStats& stats, std::string* sessionKey /*out*/) { in reportExtensionSessionStats() argument 3695 *sessionKey = mCameraServiceProxyWrapper->updateExtensionStats(stats); in reportExtensionSessionStats()
|