Home
last modified time | relevance | path

Searched refs:appUid (Results 1 - 25 of 184) sorted by relevance

12345678

/foundation/multimedia/audio_framework/services/audio_service/test/unittest/client/
H A Dfast_audio_stream_unit_test.cpp43 int32_t appUid = static_cast<int32_t>(getuid()); in HWTEST() local
45 fastAudioStream = std::make_shared<FastAudioStream>(STREAM_MUSIC, AUDIO_MODE_PLAYBACK, appUid); in HWTEST()
63 int32_t appUid = static_cast<int32_t>(getuid()); in HWTEST() local
65 fastAudioStream = std::make_shared<FastAudioStream>(STREAM_MUSIC, AUDIO_MODE_PLAYBACK, appUid); in HWTEST()
83 int32_t appUid = static_cast<int32_t>(getuid()); in HWTEST() local
85 fastAudioStream = std::make_shared<FastAudioStream>(STREAM_MUSIC, AUDIO_MODE_PLAYBACK, appUid); in HWTEST()
113 int32_t appUid = static_cast<int32_t>(getuid()); in HWTEST() local
116 fastAudioStream = std::make_shared<FastAudioStream>(STREAM_MUSIC, AUDIO_MODE_PLAYBACK, appUid); in HWTEST()
/foundation/multimedia/player_framework/services/services/engine_intf/
H A Di_engine_factory.h49 virtual int32_t Score(Scene scene, const int32_t& appUid, const std::string &uri = "") in Score() argument
52 (void)appUid; in Score()
68 virtual std::unique_ptr<IRecorderEngine> CreateRecorderEngine(int32_t appUid, int32_t appPid, uint32_t appTokenId, in CreateRecorderEngine() argument
71 (void)appUid; in CreateRecorderEngine()
87 virtual std::unique_ptr<ITransCoderEngine> CreateTransCoderEngine(int32_t appUid, int32_t appPid, in CreateTransCoderEngine() argument
90 (void)appUid; in CreateTransCoderEngine()
/foundation/multimedia/player_framework/services/engine/histreamer/factory/
H A Dhst_engine_factory.cpp42 int32_t Score(Scene scene, const int32_t& appUid, const std::string& uri) override;
47 std::unique_ptr<IRecorderEngine> CreateRecorderEngine(int32_t appUid, int32_t appPid, uint32_t appTokenId,
51 std::unique_ptr<ITransCoderEngine> CreateTransCoderEngine(int32_t appUid, int32_t appPid, uint32_t appTokenId,
59 int32_t HstEngineFactory::Score(Scene scene, const int32_t& appUid, const std::string& uri) in Score() argument
65 std::string bundleName = GetClientBundleName(appUid); in Score()
72 int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) in CreateRecorderEngine()
76 appUid, appPid, appTokenId, appFullTokenId)); in CreateRecorderEngine()
87 int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) in CreateTransCoderEngine()
90 auto transCoder = std::make_unique<HiTransCoderImpl>(appUid, appPid, appTokenId, appFullTokenId); in CreateTransCoderEngine()
71 CreateRecorderEngine( int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) CreateRecorderEngine() argument
86 CreateTransCoderEngine( int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) CreateTransCoderEngine() argument
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_param_cache.cpp243 int32_t appUid = static_cast<int32_t>(GetCallingUid()); in SetDnsCache() local
245 if (IsInterceptDomain(appUid, hostName, isMatchAllow)) { in SetDnsCache()
278 int32_t appUid = static_cast<int32_t>(GetCallingUid()); in GetDnsCache() local
280 if (IsInterceptDomain(appUid, hostName, isMatchAllow)) { in GetDnsCache()
281 NotifyDomianIntercept(appUid, hostName); in GetDnsCache()
343 int32_t DnsParamCache::GetUserId(int32_t appUid) in GetUserId() argument
345 int32_t userId = appUid / USER_ID_DIVIDOR; in GetUserId()
349 bool DnsParamCache::GetDnsServersByAppUid(int32_t appUid, std::vector<std::string> &servers) in GetDnsServersByAppUid() argument
354 DNS_CONFIG_PRINT("GetDnsServersByAppUid: appUid=%{public}d", appUid); in GetDnsServersByAppUid()
427 GetFirewallRuleAction(int32_t appUid, const std::vector<sptr<NetFirewallDomainRule>> &rules) GetFirewallRuleAction() argument
457 IsInterceptDomain(int32_t appUid, const std::string &hostName, bool &isMatchAllow) IsInterceptDomain() argument
623 NotifyDomianIntercept(int32_t appUid, const std::string &hostName) NotifyDomianIntercept() argument
[all...]
/foundation/multimedia/media_foundation/engine/scene/standard/
H A Dhst_engine_factory.cpp42 std::unique_ptr<IPlayerEngine> HstEngineFactory::CreatePlayerEngine(int32_t appUid, int32_t appPid, uint32_t appTokenId) in CreatePlayerEngine() argument
46 auto player = std::unique_ptr<HiPlayerImpl>(new (std::nothrow) HiPlayerImpl(appUid, appPid)); in CreatePlayerEngine()
57 int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) in CreateRecorderEngine()
61 appUid, appPid, appTokenId, appFullTokenId)); in CreateRecorderEngine()
56 CreateRecorderEngine( int32_t appUid, int32_t appPid, uint32_t appTokenId, uint64_t appFullTokenId) CreateRecorderEngine() argument
H A Dhst_engine_factory.h31 int32_t appUid = 0, int32_t appPid = 0, uint32_t appTokenId = 0) override;
34 std::unique_ptr<IRecorderEngine> CreateRecorderEngine(int32_t appUid, int32_t appPid,
/foundation/multimedia/player_framework/services/services/factory/
H A Dengine_factory_repo.cpp93 int32_t EngineFactoryRepo::LoadHistreamerEngine(const int32_t& appUid) in LoadHistreamerEngine() argument
120 IEngineFactory::Scene scene, const int32_t& appUid, const std::string &uri) in GetEngineFactory()
123 (void)LoadHistreamerEngine(appUid); in GetEngineFactory()
134 int32_t score = factory->Score(scene, appUid, uri); in GetEngineFactory()
145 "appUid: %{public}d", FAKE_POINTER(target.get()), maxScore, appUid); in GetEngineFactory()
119 GetEngineFactory( IEngineFactory::Scene scene, const int32_t& appUid, const std::string &uri) GetEngineFactory() argument
H A Dengine_factory_repo.h29 std::shared_ptr<IEngineFactory> GetEngineFactory(IEngineFactory::Scene scene, const int32_t& appUid,
35 int32_t LoadHistreamerEngine(const int32_t& appUid);
/foundation/multimedia/player_framework/services/utils/
H A Dmedia_permission.cpp42 int32_t MediaPermission::CheckNetWorkPermission(int32_t appUid, int32_t appPid, uint32_t appTokenId) in CheckNetWorkPermission() argument
44 if (appUid == ROOT_UID) { in CheckNetWorkPermission()
48 MEDIA_LOGD("enter and check appUid: %{public}d", appUid); in CheckNetWorkPermission()
H A Dmedia_dfx.cpp142 std::string module, std::string status, int32_t appUid, int32_t appPid) in EventWriteWithAppInfo()
152 "APP_UID", appUid, in EventWriteWithAppInfo()
157 std::string module, std::string status, int32_t appUid, int32_t appPid, std::string bundleName) in EventWriteBundleName()
167 "APP_UID", appUid, in EventWriteBundleName()
302 void BehaviorEventWriteForScreenCapture(std::string status, std::string module, int32_t appUid, int32_t appPid) in BehaviorEventWriteForScreenCapture() argument
307 module, status, appUid, appPid); in BehaviorEventWriteForScreenCapture()
314 int32_t appUid = IPCSkeleton::GetCallingUid(); in StatisticEventWriteBundleName() local
316 std::string bundleName = GetClientBundleName(appUid); in StatisticEventWriteBundleName()
319 module, status, appUid, appPid, bundleName); in StatisticEventWriteBundleName()
141 EventWriteWithAppInfo(std::string eventName, OHOS::HiviewDFX::HiSysEvent::EventType type, std::string module, std::string status, int32_t appUid, int32_t appPid) EventWriteWithAppInfo() argument
156 EventWriteBundleName(std::string eventName, OHOS::HiviewDFX::HiSysEvent::EventType type, std::string module, std::string status, int32_t appUid, int32_t appPid, std::string bundleName) EventWriteBundleName() argument
/foundation/multimedia/media_foundation/services/media_monitor/server/include/
H A Dmedia_monitor_wrapper.h31 typedef MediaMonitorErr GetBundleInfoFromUid(int32_t appUid, BundleInfo *bundleInfoRes);
37 MediaMonitorErr GetBundleInfo(int32_t appUid, BundleInfo *bundleInfo);
/foundation/multimedia/media_foundation/services/media_monitor/server/src/
H A Dmedia_monitor_wrapper.cpp55 MediaMonitorErr MediaMonitorWrapper::GetBundleInfo(int32_t appUid, BundleInfo *bundleInfo) in GetBundleInfo() argument
61 return getBundleInfoFromUid_(appUid, bundleInfo); in GetBundleInfo()
H A Dboundle_mgr_wrap_to_c.cpp28 extern "C" MediaMonitorErr GetBundleInfoFromUid(int32_t appUid, BundleInfo *bundleInfoRes) in GetBundleInfoFromUid() argument
46 bundleMgrProxy->GetNameForUid(appUid, bundleName); in GetBundleInfoFromUid()
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Ddns_param_cache.h135 int32_t GetUserId(int32_t appUid);
137 bool GetDnsServersByAppUid(int32_t appUid, std::vector<std::string> &servers);
147 FirewallRuleAction GetFirewallRuleAction(int32_t appUid, const std::vector<sptr<NetFirewallDomainRule>> &rules);
151 bool IsInterceptDomain(int32_t appUid, const std::string &host, bool &isMatchAllow);
153 void NotifyDomianIntercept(int32_t appUid, const std::string &host);
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_rule_manager.cpp180 int32_t NetFirewallRuleManager::DeleteNetFirewallRuleByAppId(const int32_t appUid) in DeleteNetFirewallRuleByAppId() argument
185 NetFirewallDbHelper::GetInstance().QueryEnabledFirewallRules(GetCurrentAccountId(), appUid, rules); in DeleteNetFirewallRuleByAppId() local
187 NETMGR_EXT_LOG_I("DeleteNetFirewallRuleByAppId: current appUid has no rule"); in DeleteNetFirewallRuleByAppId()
190 int32_t ret = NetFirewallDbHelper::GetInstance().DeleteFirewallRuleRecordByAppId(appUid); in DeleteNetFirewallRuleByAppId()
296 rule->appUid = outRule.appUid; in GetNetFirewallRule()
419 ipRule->appUid = rule.appUid; in ExtractIpRules()
446 domainRule->appUid = rule.appUid; in ExtractDomainRules()
[all...]
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetfirewall_parcel.cpp265 parcel.WriteInt32(appUid); in Marshalling()
308 parcel.ReadInt32(ptr->appUid); in Unmarshalling()
336 NET_FIREWALL_IS_ENABLED << EQUAL << this->isEnabled << COMMA << NET_FIREWALL_APP_ID << EQUAL << this->appUid << in ToString()
348 parcel.WriteInt32(appUid); in Marshalling()
360 parcel.ReadInt32(ptr->appUid); in Unmarshalling()
367 parcel.ReadInt32(ptr->appUid); in UnmarshallingBase()
487 if (!parcel.WriteInt32(appUid)) { in Marshalling()
515 if (!parcel.ReadInt32(ptr->appUid)) { in Unmarshalling()
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_bundle_manager.h52 int appUid = 2100; variable
57 info.uid = appUid;
109 int appUid = 2100; variable
114 info.uid = appUid;
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrevent_fuzzer/
H A Dabilityappmgrevent_fuzzer.cpp49 int32_t appUid = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
51 AppMgrEventUtil::SendReStartProcessEvent(eventInfo, appUid, restartTime); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/media_foundation/src/meta/
H A Dmedia_source.cpp73 void MediaSource::SetAppUid(int32_t appUid) in SetAppUid() argument
75 appUid_ = appUid; in SetAppUid()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/mock/
H A Dfscrypt_key_v1_ext_mock.cpp73 bool FscryptKeyV1Ext::GenerateAppkey(uint32_t userId, uint32_t appUid, in GenerateAppkey() argument
77 return IFscryptKeyV1Ext::fscryptKeyV1ExtMock->GenerateAppkey(userId, appUid, keyId, size); in GenerateAppkey()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dnetfirewall_rule_manager_test.cpp29 sptr<NetFirewallRule> GetNetFirewallRuleSptr(NetFirewallRuleType type, int32_t appUid = 0) in GetNetFirewallRuleSptr()
43 rule->appUid = appUid; in GetNetFirewallRuleSptr()
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_rule_manager_test.cpp29 sptr<NetFirewallRule> GetNetFirewallRuleSptr(NetFirewallRuleType type, int32_t appUid = 0) in GetNetFirewallRuleSptr()
43 rule->appUid = appUid; in GetNetFirewallRuleSptr()
/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/
H A Di_audio_stream.h63 int32_t appUid; member
112 AudioStreamType eStreamType, int32_t appUid);
114 AudioStreamType eStreamType, int32_t appUid);
128 virtual bool CheckRecordingCreate(uint32_t appTokenId, uint64_t appFullTokenId, int32_t appUid,
130 virtual bool CheckRecordingStateChange(uint32_t appTokenId, uint64_t appFullTokenId, int32_t appUid,
/foundation/multimedia/audio_framework/services/audio_service/client/include/
H A Dcapturer_in_client.h25 static std::shared_ptr<CapturerInClient> GetInstance(AudioStreamType eStreamType, int32_t appUid);
H A Drenderer_in_client.h25 static std::shared_ptr<RendererInClient> GetInstance(AudioStreamType eStreamType, int32_t appUid);

Completed in 10 milliseconds

12345678