Lines Matching refs:calling_uid

3068 Dumpstate::RunStatus Dumpstate::Run(int32_t calling_uid, const std::string& calling_package) {
3069 Dumpstate::RunStatus status = RunInternal(calling_uid, calling_package);
3074 Dumpstate::RunStatus Dumpstate::Retrieve(int32_t calling_uid, const std::string& calling_package,
3077 Dumpstate::RunStatus status = RetrieveInternal(calling_uid, calling_package,
3084 Dumpstate::RunStatus Dumpstate::RetrieveInternal(int32_t calling_uid,
3098 calling_uid, package, String16(), String16(),
3205 Dumpstate::RunStatus Dumpstate::RunInternal(int32_t calling_uid,
3244 MYLOGD("dumpstate calling_uid = %d ; calling package = %s \n",
3245 calling_uid, calling_package.c_str());
3303 am_args, multiuser_get_user_id(calling_uid));
3395 onUiIntensiveBugreportDumpsFinished(calling_uid);
3396 MaybeCheckUserConsent(calling_uid, calling_package);
3427 status = CopyBugreportIfUserConsented(calling_uid);
3586 void Dumpstate::onUiIntensiveBugreportDumpsFinished(int32_t calling_uid) {
3587 if (multiuser_get_app_id(calling_uid) == AID_SHELL || !CalledByApi()) {
3597 void Dumpstate::MaybeCheckUserConsent(int32_t calling_uid, const std::string& calling_package) {
3598 if (multiuser_get_app_id(calling_uid) == AID_SHELL ||
3618 calling_uid, package, String16(), String16(), flags, consent_callback_.get());
3683 Dumpstate::RunStatus Dumpstate::CopyBugreportIfUserConsented(int32_t calling_uid) {
3687 if (multiuser_get_app_id(calling_uid) == AID_SHELL || (options_->skip_user_consent
3755 // calling_uid and calling_package are for user consent to share the bugreport with
3759 status = Run(0 /* calling_uid */, "" /* calling_package */);