Lines Matching refs:binder
67 using android::binder::LazyServiceRegistrar;
101 binder::Status status = CheckUid(); \
107 binder::Status status = CheckUid(AccessLevel::SystemOrShell); \
132 binder::Status GsiService::openInstall(const std::string& install_dir, int* _aidl_return) { in openInstall()
137 return binder::Status::ok(); in openInstall()
142 return binder::Status::ok(); in openInstall()
151 return binder::Status::ok(); in openInstall()
154 binder::Status GsiService::closeInstall(int* _aidl_return) { in closeInstall()
164 return binder::Status::ok(); in closeInstall()
167 binder::Status GsiService::createPartition(const ::std::string& name, int64_t size, bool readOnly, in createPartition()
175 return binder::Status::ok(); in createPartition()
183 return binder::Status::ok(); in createPartition()
197 return binder::Status::ok(); in createPartition()
206 return binder::Status::ok(); in createPartition()
209 binder::Status GsiService::closePartition(int32_t* _aidl_return) { in closePartition()
216 return binder::Status::ok(); in closePartition()
221 return binder::Status::ok(); in closePartition()
224 binder::Status GsiService::commitGsiChunkFromStream(const android::os::ParcelFileDescriptor& stream, in commitGsiChunkFromStream()
231 return binder::Status::ok(); in commitGsiChunkFromStream()
235 return binder::Status::ok(); in commitGsiChunkFromStream()
258 binder::Status GsiService::getInstallProgress(::android::gsi::GsiProgress* _aidl_return) { in getInstallProgress()
266 return binder::Status::ok(); in getInstallProgress()
269 binder::Status GsiService::commitGsiChunkFromAshmem(int64_t bytes, bool* _aidl_return) { in commitGsiChunkFromAshmem()
275 return binder::Status::ok(); in commitGsiChunkFromAshmem()
278 return binder::Status::ok(); in commitGsiChunkFromAshmem()
281 binder::Status GsiService::setGsiAshmem(const ::android::os::ParcelFileDescriptor& ashmem, in setGsiAshmem()
286 return binder::Status::ok(); in setGsiAshmem()
289 return binder::Status::ok(); in setGsiAshmem()
292 binder::Status GsiService::enableGsiAsync(bool one_shot, const std::string& dsuSlot, in enableGsiAsync()
301 return binder::Status::ok(); in enableGsiAsync()
304 binder::Status GsiService::enableGsi(bool one_shot, const std::string& dsuSlot, int* _aidl_return) { in enableGsi()
310 return binder::Status::ok(); in enableGsi()
329 return binder::Status::ok(); in enableGsi()
332 binder::Status GsiService::isGsiEnabled(bool* _aidl_return) { in isGsiEnabled()
341 return binder::Status::ok(); in isGsiEnabled()
344 binder::Status GsiService::removeGsiAsync(const sp<IGsiServiceCallback>& resultCallback) { in removeGsiAsync()
352 return binder::Status::ok(); in removeGsiAsync()
355 binder::Status GsiService::removeGsi(bool* _aidl_return) { in removeGsi()
367 return binder::Status::ok(); in removeGsi()
370 binder::Status GsiService::disableGsi(bool* _aidl_return) { in disableGsi()
375 return binder::Status::ok(); in disableGsi()
378 binder::Status GsiService::isGsiRunning(bool* _aidl_return) { in isGsiRunning()
383 return binder::Status::ok(); in isGsiRunning()
386 binder::Status GsiService::isGsiInstalled(bool* _aidl_return) { in isGsiInstalled()
391 return binder::Status::ok(); in isGsiInstalled()
394 binder::Status GsiService::isGsiInstallInProgress(bool* _aidl_return) { in isGsiInstallInProgress()
399 return binder::Status::ok(); in isGsiInstallInProgress()
402 binder::Status GsiService::cancelGsiInstall(bool* _aidl_return) { in cancelGsiInstall()
411 return binder::Status::ok(); in cancelGsiInstall()
414 binder::Status GsiService::getInstalledGsiImageDir(std::string* _aidl_return) { in getInstalledGsiImageDir()
419 return binder::Status::ok(); in getInstalledGsiImageDir()
422 binder::Status GsiService::getActiveDsuSlot(std::string* _aidl_return) { in getActiveDsuSlot()
427 return binder::Status::ok(); in getActiveDsuSlot()
430 binder::Status GsiService::getInstalledDsuSlots(std::vector<std::string>* _aidl_return) { in getInstalledDsuSlots()
434 return binder::Status::ok(); in getInstalledDsuSlots()
437 binder::Status GsiService::zeroPartition(const std::string& name, int* _aidl_return) { in zeroPartition()
443 return binder::Status::ok(); in zeroPartition()
449 return binder::Status::ok(); in zeroPartition()
452 static binder::Status BinderError(const std::string& message, in BinderError()
454 return binder::Status::fromServiceSpecificError(static_cast<int32_t>(status), message.c_str()); in BinderError()
457 binder::Status GsiService::dumpDeviceMapperDevices(std::string* _aidl_return) { in dumpDeviceMapperDevices()
486 return binder::Status::ok(); in dumpDeviceMapperDevices()
489 binder::Status GsiService::getAvbPublicKey(AvbPublicKey* dst, int32_t* _aidl_return) { in getAvbPublicKey()
495 return binder::Status::ok(); in getAvbPublicKey()
501 return binder::Status::ok(); in getAvbPublicKey()
504 return binder::Status::ok(); in getAvbPublicKey()
507 binder::Status GsiService::suggestScratchSize(int64_t* _aidl_return) { in suggestScratchSize()
529 return binder::Status::ok(); in suggestScratchSize()
557 static binder::Status UidSecurityError() { in UidSecurityError()
560 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(message.c_str())); in UidSecurityError()
566 binder::Status getAllBackingImages(std::vector<std::string>* _aidl_return);
567 binder::Status createBackingImage(const std::string& name, int64_t size, int flags,
569 binder::Status deleteBackingImage(const std::string& name) override;
570 binder::Status mapImageDevice(const std::string& name, int32_t timeout_ms,
572 binder::Status unmapImageDevice(const std::string& name) override;
573 binder::Status backingImageExists(const std::string& name, bool* _aidl_return) override;
574 binder::Status isImageMapped(const std::string& name, bool* _aidl_return) override;
575 binder::Status getAvbPublicKey(const std::string& name, AvbPublicKey* dst,
577 binder::Status zeroFillNewImage(const std::string& name, int64_t bytes) override;
578 binder::Status removeAllImages() override;
579 binder::Status removeDisabledImages() override;
580 binder::Status getMappedImageDevice(const std::string& name, std::string* device) override;
593 binder::Status ImageService::getAllBackingImages(std::vector<std::string>* _aidl_return) { in getAllBackingImages()
595 return binder::Status::ok(); in getAllBackingImages()
598 binder::Status ImageService::createBackingImage(const std::string& name, int64_t size, int flags, in createBackingImage()
621 return binder::Status::ok(); in createBackingImage()
624 binder::Status ImageService::deleteBackingImage(const std::string& name) { in deleteBackingImage()
632 return binder::Status::ok(); in deleteBackingImage()
635 binder::Status ImageService::mapImageDevice(const std::string& name, int32_t timeout_ms, in mapImageDevice()
644 return binder::Status::ok(); in mapImageDevice()
647 binder::Status ImageService::unmapImageDevice(const std::string& name) { in unmapImageDevice()
655 return binder::Status::ok(); in unmapImageDevice()
658 binder::Status ImageService::backingImageExists(const std::string& name, bool* _aidl_return) { in backingImageExists()
664 return binder::Status::ok(); in backingImageExists()
667 binder::Status ImageService::isImageMapped(const std::string& name, bool* _aidl_return) { in isImageMapped()
673 return binder::Status::ok(); in isImageMapped()
676 binder::Status ImageService::getAvbPublicKey(const std::string& name, AvbPublicKey* dst, in getAvbPublicKey()
689 return binder::Status::ok(); in getAvbPublicKey()
696 return binder::Status::ok(); in getAvbPublicKey()
703 return binder::Status::ok(); in getAvbPublicKey()
710 return binder::Status::ok(); in getAvbPublicKey()
713 return binder::Status::ok(); in getAvbPublicKey()
716 binder::Status ImageService::zeroFillNewImage(const std::string& name, int64_t bytes) { in zeroFillNewImage()
728 return binder::Status::ok(); in zeroFillNewImage()
731 binder::Status ImageService::removeAllImages() { in removeAllImages()
738 return binder::Status::ok(); in removeAllImages()
741 binder::Status ImageService::removeDisabledImages() { in removeDisabledImages()
748 return binder::Status::ok(); in removeDisabledImages()
751 binder::Status ImageService::getMappedImageDevice(const std::string& name, std::string* device) { in getMappedImageDevice()
758 return binder::Status::ok(); in getMappedImageDevice()
765 binder::Status GsiService::openImageService(const std::string& prefix, in openImageService()
808 return binder::Status::ok(); in openImageService()
811 binder::Status GsiService::CheckUid(AccessLevel level) { in CheckUid()
820 return binder::Status::ok(); in CheckUid()