Lines Matching refs:descriptor
118 FunctionDescriptor descriptor) { in doGetFunction() argument
119 switch(descriptor) { in doGetFunction()
317 static_cast<int32_t>(descriptor), in doGetFunction()
318 to_string(descriptor).c_str()); in doGetFunction()
351 static bool isValid(Callback descriptor) { in isValid() argument
352 switch (descriptor) { in isValid()
360 Error EmuHWC2::registerCallback(Callback descriptor, in registerCallback() argument
363 if (!isValid(descriptor)) { in registerCallback()
365 static_cast<int32_t>(descriptor)); in registerCallback()
368 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
374 mCallbacks[descriptor] = {callbackData, pointer}; in registerCallback()
377 ALOGV("unregisterCallback(%s)", to_string(descriptor).c_str()); in registerCallback()
378 mCallbacks.erase(descriptor); in registerCallback()
383 if (descriptor == Callback::Hotplug) { in registerCallback()