Searched refs:g_cbStub (Results 1 – 2 of 2) sorted by relevance
40 static struct CbStubInfo g_cbStub[MAX_CBSTUB_SIZE]; variable141 (void)memset_s(g_cbStub, sizeof(g_cbStub), 0, sizeof(g_cbStub)); in InitCbStubTable()277 if (!g_cbStub[i].inUse) { in SetRemoteObject()287 g_cbStub[idx].cbStub = *object; in SetRemoteObject()288 g_cbStub[idx].cbDieId = 0; in SetRemoteObject()289 g_cbStub[idx].inUse = true; in SetRemoteObject()291 ShowIpcSvcInfo(&(g_cbStub[idx].cbStub)); in SetRemoteObject()312 if (!g_cbStub[cbStubIdx].inUse) { in AddCbDeathRecipient()316 …ret = AddDeathRecipient(g_cbStub[cbStubIdx].cbStub, ClientDeathCallback, (void *)cbDataIdx, &cbId); in AddCbDeathRecipient()318 g_cbStub[cbStubIdx].cbDieId = cbId; in AddCbDeathRecipient()[all …]
36 static struct CbStubInfo g_cbStub[MAX_CBSTUB_SIZE]; variable164 g_cbStub[i].inUse = false; in InitCbStubTable()268 if (!g_cbStub[i].inUse) { in SetRemoteObject()277 g_cbStub[idx].cbStub = object; in SetRemoteObject()278 g_cbStub[idx].inUse = true; in SetRemoteObject()285 if ((cbStubIdx < 0) || (cbStubIdx >= MAX_CBSTUB_SIZE) || (!g_cbStub[cbStubIdx].inUse)) { in AddCbDeathRecipient()290 …bRet = g_cbStub[cbStubIdx].cbStub->AddDeathRecipient(new(std::nothrow) DevAuthDeathRecipient(cbDat… in AddCbDeathRecipient()300 g_cbStub[idx].inUse = false; in ResetRemoteObject()308 if ((objIdx < 0) || (objIdx >= MAX_CBSTUB_SIZE) || (!g_cbStub[objIdx].inUse)) { in ActCallback()319 sptr<ICommIpcCallback> proxy = iface_cast<ICommIpcCallback>(g_cbStub[objIdx].cbStub); in ActCallback()