Home
last modified time | relevance | path

Searched refs:binderStatus (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/powerstats/
DAidlStateResidencyDataProvider.cpp49 binderStatus AidlStateResidencyDataProvider::unregisterCallbackInternal( in unregisterCallbackInternal()
53 return binderStatus::fromExceptionCode(binderStatus::EX_NULL_POINTER, "callback is null"); in unregisterCallbackInternal()
70 return removed ? binderStatus::ok() in unregisterCallbackInternal()
71 : binderStatus::fromExceptionCode(binderStatus::EX_ILLEGAL_ARGUMENT, in unregisterCallbackInternal()
76 binderStatus status = unregisterCallbackInternal(who.promote()); in binderDied()
82 binderStatus AidlStateResidencyDataProvider::unregisterCallback( in unregisterCallback()
87 binderStatus AidlStateResidencyDataProvider::registerCallback( in registerCallback()
94 return binderStatus::fromExceptionCode( in registerCallback()
95 binderStatus::EX_NULL_POINTER, "Invalid callback. Callback is null"); in registerCallback()
103 return binderStatus::fromExceptionCode(binderStatus::EX_ILLEGAL_ARGUMENT, "Invalid entity"); in registerCallback()
[all …]
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DAidlStateResidencyDataProvider.h33 using binderStatus = android::binder::Status; variable
49 binderStatus registerCallback(const std::string &entityName,
51 binderStatus unregisterCallback(const sp<IPixelPowerStatsCallback> &callback) override;
64 binderStatus unregisterCallbackInternal(const sp<IBinder> &callback);