Loading usb/gadget/aidl/default/UsbGadget.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -92,6 +92,9 @@ void currentFunctionsAppliedCallback(bool functionsApplied, void *payload) { ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback>& callback, int64_t in_transactionId) { if (callback == nullptr) { return ScopedAStatus::fromExceptionCode(EX_NULL_POINTER); } ScopedAStatus ret = callback->getCurrentUsbFunctionsCb( mCurrentUsbFunctions, mCurrentUsbFunctionsApplied ? Status::FUNCTIONS_APPLIED : Status::FUNCTIONS_NOT_APPLIED, Loading Loading
usb/gadget/aidl/default/UsbGadget.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -92,6 +92,9 @@ void currentFunctionsAppliedCallback(bool functionsApplied, void *payload) { ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback>& callback, int64_t in_transactionId) { if (callback == nullptr) { return ScopedAStatus::fromExceptionCode(EX_NULL_POINTER); } ScopedAStatus ret = callback->getCurrentUsbFunctionsCb( mCurrentUsbFunctions, mCurrentUsbFunctionsApplied ? Status::FUNCTIONS_APPLIED : Status::FUNCTIONS_NOT_APPLIED, Loading