Lines Matching refs:deviceID
129 static int32_t CheckBinderParams(const void *serviceName, uint32_t nameLen, const char *deviceID,
132 if (serviceName == NULL || deviceID == NULL || remoteObject == NULL) {
137 if (strlen((char *)serviceName) != nameLen || strlen(deviceID) != idLen) {
144 static DBinderServiceStub *QueryDBinderStub(const char *serviceName, const char *deviceID,
151 if (IsSameStub(node, serviceName, deviceID, binderObject)) {
169 const char *deviceID, uint32_t idLen, uintptr_t binderObject)
171 if (serviceName == NULL || deviceID == NULL) {
176 DBinderServiceStub *node = QueryDBinderStub(serviceName, deviceID, binderObject);
187 if (GetDBinderStub(serviceName, deviceID, binderObject, node) != ERR_NONE) {
224 char *toDeviceID = stub->deviceID;
238 RPC_LOG_ERROR("deviceID invalid");
532 RPC_LOG_ERROR("remote deviceID invalid");
802 int32_t MakeRemoteBinder(const void *serviceName, uint32_t nameLen, const char *deviceID, uint32_t idLen,
806 if (CheckBinderParams(serviceName, nameLen, deviceID, idLen, remoteObject) != ERR_NONE) {
812 DBinderServiceStub *dBinderServiceStub = FindOrNewDBinderStub(name, nameLen, deviceID, idLen, binderObject);