Lines Matching refs:appToken
30 const sp<IBinder>& appToken, in addOperation() argument
33 mMap[token] = Operation(handle, keyid, purpose, dev, std::move(characteristics), appToken); in addOperation()
37 if (mAppTokenMap.find(appToken) == mAppTokenMap.end()) { in addOperation()
38 appToken->linkToDeath(mDeathRecipient); in addOperation()
40 mAppTokenMap[appToken].push_back(token); in addOperation()
79 sp<IBinder> appToken = entry->second.appToken; in removeOperation() local
85 removeOperationTracking(token, appToken); in removeOperation()
89 void OperationMap::removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken) { in removeOperationTracking() argument
90 auto appEntry = mAppTokenMap.find(appToken); in removeOperationTracking()
92 ALOGE("Entry for %p contains unmapped application token %p", token.get(), appToken.get()); in removeOperationTracking()
99 appToken->unlinkToDeath(mDeathRecipient); in removeOperationTracking()
140 std::vector<sp<IBinder>> OperationMap::getOperationsForToken(const sp<IBinder>& appToken) { in getOperationsForToken() argument
141 auto appEntry = mAppTokenMap.find(appToken); in getOperationsForToken()
153 characteristics(characteristics_), appToken(appToken_) {} in Operation()
156 : handle(0), keyid(0), device(nullptr), characteristics(), appToken(nullptr) {} in Operation()