Searched refs:con (Results 1 – 8 of 8) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | hap_restorecon.cpp | 376 context_t con = context_new(secontext); in HapLabelLookup() local 377 if (con == nullptr) { in HapLabelLookup() 382 int res = HapContextsLookup(false, apl, packageName, con, hapFlags); in HapLabelLookup() 386 context_free(con); in HapLabelLookup() 389 secontext = context_str(con); in HapLabelLookup() 393 context_free(con); in HapLabelLookup() 400 context_free(con); in HapLabelLookup() 407 context_free(con); in HapLabelLookup() 414 context_free(con); in HapLabelLookup() 417 context_free(con); in HapLabelLookup() [all …]
|
D | service_checker.cpp | 241 char *con = nullptr; in GetThisContext() local 242 int rc = getcon(&con); in GetThisContext() 247 context = std::string(con); in GetThisContext() 248 freecon(con); in GetThisContext()
|
/base/telephony/cellular_data/test/ |
D | zero_branch_test.cpp | 287 DataConnectionManager con { runner, 0 }; variable 288 con.connectionMonitor_ = nullptr; 289 con.ccmDefaultState_ = nullptr; 291 con.RemoveConnectionStateMachine(stateMachine); 292 ASSERT_TRUE(con.GetActiveConnectionByCid(0) == nullptr); 293 ASSERT_TRUE(con.isNoActiveConnection()); 296 CcmDefaultState ccmDefaultState { con, "CcmDefaultState" }; 309 con.GetDataFlowType(); 310 con.GetDefaultBandWidthsConfig(); 311 con.GetDefaultTcpBufferConfig(); [all …]
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | hap_restorecon.h | 71 context_t con, unsigned int hapFlags); 72 int TypeSet(const std::string &type, context_t con);
|
/base/telephony/cellular_call/services/control/src/ |
D | cs_control.cpp | 219 auto con = FindConnectionByState<CsConnectionMap &, CellularCallConnectionCS *>( in Answer() local 221 if (con == nullptr) { in Answer() 225 auto callReportInfo = con->GetCallReportInfo(); in Answer() 226 int32_t result = con->HangUpRequest(callReportInfo.accountId); in Answer() 245 auto con = FindConnectionByState<CsConnectionMap &, CellularCallConnectionCS *>( in Answer() local 247 if (con != nullptr) { in Answer() 254 con->SwitchCallRequest(callInfo.slotId); in Answer()
|
D | ims_control.cpp | 171 auto con = FindConnectionByState<ImsConnectionMap &, CellularCallConnectionIMS *>( in Answer() local 173 if (con == nullptr) { in Answer() 177 auto callReportInfo = con->GetCallReportInfo(); in Answer() 178 …int32_t result = con->HangUpRequest(callReportInfo.accountId, callReportInfo.accountNum, callRepor… in Answer() 188 auto con = FindConnectionByState<ImsConnectionMap &, CellularCallConnectionIMS *>( in Answer() local 190 if (con == nullptr) { in Answer() 194 return con->SwitchCallRequest(callInfo.slotId); in Answer()
|
/base/telephony/cellular_call/services/control/include/ |
D | control_base.h | 266 bool SetConnectionData(T1 &&t1, const int32_t &key, const T2 &con) in SetConnectionData() argument 268 if (!t1.insert(std::make_pair(key, con)).second) { in SetConnectionData()
|
/base/security/selinux_adapter/test/unittest/hap_restorecon/ |
D | unit_test.cpp | 634 char *con = nullptr; variable 635 ASSERT_EQ(0, getpidcon(pid, &con)); 636 EXPECT_STREQ(con, TEST_HAP_DOMAIN.c_str()); 637 freecon(con);
|