/system/connectivity/wificond/ |
D | client_interface_binder.cpp | 48 return Status::ok(); in getPacketCounters() 51 return Status::ok(); in getPacketCounters() 57 return Status::ok(); in signalPoll() 60 return Status::ok(); in signalPoll() 65 return Status::ok(); in getMacAddress() 69 return Status::ok(); in getMacAddress() 74 return Status::ok(); in getInterfaceName() 77 return Status::ok(); in getInterfaceName() 84 return Status::ok(); in getWifiScannerImpl() 87 return Status::ok(); in getWifiScannerImpl() [all …]
|
D | server.cpp | 73 return Status::ok(); in registerWificondEventCallback() 78 return Status::ok(); in registerWificondEventCallback() 88 return Status::ok(); in unregisterWificondEventCallback() 93 return Status::ok(); in unregisterWificondEventCallback() 100 return Status::ok(); in RegisterCallback() 105 return Status::ok(); in RegisterCallback() 115 return Status::ok(); in UnregisterCallback() 120 return Status::ok(); in UnregisterCallback() 129 return Status::ok(); // Logging was done internally in createApInterface() 148 return Status::ok(); in createApInterface() [all …]
|
/system/media/audio_utils/tests/ |
D | fifo_multiprocess.cpp | 77 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); in main() local 78 printf("writer unmap front ok=%d\n", ok); in main() 79 ok = ashmem_set_prot_region(frontFd, PROT_READ); in main() 80 printf("writer prot read front ok=%d\n", ok); in main() 140 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); in main() local 141 printf("reader unmap rear ok=%d\n", ok); in main() 142 ok = ashmem_set_prot_region(rearFd, PROT_READ); in main() 143 printf("reader prot read rear ok=%d\n", ok); in main() 151 ok = munmap(data, BUFFER_SIZE); in main() 152 printf("reader unmap data ok=%d\n", ok); in main() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 58 return Status::ok(); in IsEnabled() 64 return Status::ok(); in GetState() 70 return Status::ok(); in Enable() 77 return Status::ok(); in EnableNoAutoConnect() 83 return Status::ok(); in Disable() 89 return Status::ok(); in GetAddress() 97 return Status::ok(); in GetUUIDs() 104 return Status::ok(); in SetName() 110 return Status::ok(); in GetName() 117 return Status::ok(); in SetScanMode() [all …]
|
D | bluetooth_a2dp_sink_binder_server.cc | 42 return Status::ok(); in Register() 47 return Status::ok(); in Unregister() 56 return Status::ok(); in Enable() 62 return Status::ok(); in Enable() 66 return Status::ok(); in Enable() 75 return Status::ok(); in Disable() 80 return Status::ok(); in Disable() 90 return Status::ok(); in Connect() 96 return Status::ok(); in Connect() 100 return Status::ok(); in Connect() [all …]
|
D | bluetooth_avrcp_control_binder_server.cc | 51 return Status::ok(); in Register() 57 return Status::ok(); in Unregister() 63 return Status::ok(); in UnregisterAll() 73 return Status::ok(); in Enable() 79 return Status::ok(); in Enable() 83 return Status::ok(); in Enable() 93 return Status::ok(); in Disable() 98 return Status::ok(); in Disable() 109 return Status::ok(); in SendPassThroughCommand() 116 return Status::ok(); in SendPassThroughCommand() [all …]
|
D | bluetooth_le_advertiser_binder_server.cc | 50 return Status::ok(); in RegisterAdvertiser() 57 return Status::ok(); in UnregisterAdvertiser() 63 return Status::ok(); in UnregisterAll() 77 return Status::ok(); in StartMultiAdvertising() 106 return Status::ok(); in StartMultiAdvertising() 110 return Status::ok(); in StartMultiAdvertising() 122 return Status::ok(); in StopMultiAdvertising() 151 return Status::ok(); in StopMultiAdvertising() 155 return Status::ok(); in StopMultiAdvertising()
|
D | bluetooth_low_energy_binder_server.cc | 50 return Status::ok(); in RegisterClient() 56 return Status::ok(); in UnregisterClient() 62 return Status::ok(); in UnregisterAll() 77 return Status::ok(); in Connect() 82 return Status::ok(); in Connect() 95 return Status::ok(); in Disconnect() 99 return Status::ok(); in Disconnect() 113 return Status::ok(); in SetMtu() 117 return Status::ok(); in SetMtu()
|
/system/core/fastboot/ |
D | vendor_boot_img_utils.cpp | 41 if (auto res = CheckAdvance(old_data_ptr_, old_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() 43 if (auto res = CheckAdvance(new_data_ptr_, new_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() 57 !res.ok()) in Replace() 63 !res.ok()) in Replace() 71 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_skip, __FUNCTION__); !res.ok()) in Skip() 74 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_skip, __FUNCTION__); !res.ok()) in Skip() 147 if (!expect_header_size.ok()) return expect_header_size.error(); in check_vendor_boot_hdr() 196 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer() 209 if (auto res = check_vendor_boot_hdr(vendor_boot, 3); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() 212 if (!hdr_size.ok()) return hdr_size.error(); in replace_default_vendor_ramdisk() [all …]
|
/system/gsid/ |
D | gsi_service.cpp | 137 return binder::Status::ok(); in openInstall() 142 return binder::Status::ok(); in openInstall() 151 return binder::Status::ok(); in openInstall() 164 return binder::Status::ok(); in closeInstall() 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() 216 return binder::Status::ok(); in closePartition() 221 return binder::Status::ok(); in closePartition() [all …]
|
/system/core/init/ |
D | check_builtins.cpp | 56 if (!uid.ok()) { in check_chown() 64 if (!gid.ok()) { in check_chown() 76 if (!result.ok()) { in check_exec() 97 if (auto result = IsKnownInterface(args[1]); !result.ok()) { in check_interface_restart() 128 if (!options.ok()) { in check_mount_all() 136 if (!options.ok()) { in check_mkdir() 146 if (!restorecon_info.ok()) { in check_restorecon() 169 if (auto result = IsLegalPropertyValue(name, value); !result.ok()) { in check_setprop() 201 if (!rlimit.ok()) return rlimit.error(); in check_setrlimit() 207 if (!options.ok()) { in check_swapon_all() [all …]
|
/system/netd/tests/ |
D | TestUnsolService.cpp | 86 return binder::Status::ok(); in onInterfaceClassActivityChanged() 92 return binder::Status::ok(); in onQuotaLimitReached() 100 return binder::Status::ok(); in onInterfaceDnsServerInfo() 106 return binder::Status::ok(); in onInterfaceAddressUpdated() 114 return binder::Status::ok(); in onInterfaceAddressRemoved() 119 return binder::Status::ok(); in onInterfaceAdded() 124 return binder::Status::ok(); in onInterfaceRemoved() 129 return binder::Status::ok(); in onInterfaceChanged() 134 return binder::Status::ok(); in onInterfaceLinkStateChanged() 140 return binder::Status::ok(); in onRouteChanged() [all …]
|
/system/tools/aidl/tests/ |
D | aidl_test_service.cpp | 131 return Status::ok(); in GetName() 145 return Status::ok(); in RealName() 156 return Status::ok(); in RealName() 166 return Status::ok(); in ReverseArray() 173 return Status::ok(); in RepeatNullable() 186 return Status::ok(); in RepeatSimpleParcelable() 196 return Status::ok(); in RepeatGenericParcelable() 203 return Status::ok(); in RepeatPersistableBundle() 236 return Status::ok(); in ReverseUnion() 246 return Status::ok(); in RepeatFileDescriptor() [all …]
|
/system/libbase/ |
D | result_test.cpp | 43 ASSERT_TRUE(Result<std::string>("success").ok()); in TEST() 53 Result<void> ok = {}; in TEST() local 54 EXPECT_RESULT_OK(ok); in TEST() 55 ok.value(); // should not crash in TEST() 56 ASSERT_DEATH(ok.error(), ""); in TEST() 59 EXPECT_FALSE(fail.ok()); in TEST() 62 EXPECT_TRUE(ok != fail); in TEST() 65 auto test = [](bool ok) -> Result<void> { in TEST() argument 66 if (ok) return {}; in TEST() 69 EXPECT_TRUE(test(true).ok()); in TEST() [all …]
|
/system/apex/apexd/ |
D | apexd.cpp | 187 if (!scan.ok()) { in PreAllocateLoopDevices() 194 if (!apex_file.ok()) { in PreAllocateLoopDevices() 290 if (!ret.ok()) { in ~DmVerityDevice() 316 if (!result.ok()) { in CreateVerityDevice() 348 if (!all_active_apex_files.ok()) { in RemovePreviouslyActiveApexFiles() 354 if (!apex_file.ok()) { in RemovePreviouslyActiveApexFiles() 410 if (!verified_manifest.ok()) { in VerifyMountedImage() 445 if (!exists.ok()) { in MountPackageImpl() 470 if (ret.ok()) { in MountPackageImpl() 484 if (!public_key.ok()) { in MountPackageImpl() [all …]
|
D | apexservice.cpp | 63 return BinderStatus::ok(); in CheckCallerIsRoot() 132 return BinderStatus::ok(); in CheckDebuggable() 145 if (res.ok()) { in stagePackages() 146 return BinderStatus::ok(); in stagePackages() 159 if (res.ok()) { in unstagePackages() 160 return BinderStatus::ok(); in unstagePackages() 179 if (!packages.ok()) { in submitStagedSession() 194 return BinderStatus::ok(); in submitStagedSession() 201 if (!success.ok()) { in markStagedSessionReady() 208 return BinderStatus::ok(); in markStagedSessionReady() [all …]
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 49 return Status::ok(); in OnAdvertiserRegistered() 81 return Status::ok(); in OnAdvertiserRegistered() 88 return Status::ok(); in OnMultiAdvertiseCallback() 233 return Status::ok(); in OnServerRegistered() 269 return Status::ok(); in OnServerRegistered() 275 return Status::ok(); in OnServerRegistered() 279 return Status::ok(); in OnServerRegistered() 289 return Status::ok(); in OnServiceAdded() 310 return Status::ok(); in OnServiceAdded() 332 return Status::ok(); in OnCharacteristicReadRequest() [all …]
|
/system/extras/libjsonpb/parse/include/jsonpb/ |
D | error_or.h | 32 CHECK(ok()); 36 CHECK(ok()); 40 CHECK(ok()); 44 CHECK(ok()); 48 CHECK(!ok()); in error() 51 bool ok() const { return data_.index() != 0; } in ok() function
|
/system/libfmq/tests/aidl/default/ |
D | TestAidlMsgQ.cpp | 39 return ndk::ScopedAStatus::ok(); in configureFmqSyncReadWrite() 66 return ndk::ScopedAStatus::ok(); in getFmqUnsyncWrite() 78 return ndk::ScopedAStatus::ok(); in requestBlockingRead() 89 return ndk::ScopedAStatus::ok(); in requestBlockingReadDefaultEventFlagBits() 105 return ndk::ScopedAStatus::ok(); in requestBlockingReadRepeat() 112 return ndk::ScopedAStatus::ok(); in requestReadFmqSync() 119 return ndk::ScopedAStatus::ok(); in requestReadFmqUnsync() 129 return ndk::ScopedAStatus::ok(); in requestWriteFmqSync() 140 return ndk::ScopedAStatus::ok(); in requestWriteFmqUnsync() 144 return ndk::ScopedAStatus::ok(); in requestWriteFmqUnsync()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 42 Status(int code, std::string msg) : mCode(code), mMsg(std::move(msg)) { assert(!ok()); } in Status() 45 : mCode(result.ok() ? 0 : result.error().code()), in Status() 46 mMsg(result.ok() ? "" : result.error().message()) {} in Status() 50 bool ok() const { return code() == 0; } in ok() function 67 const Status ok{0}; 79 return status.ok(); in isOk()
|
/system/connectivity/wificond/scanning/ |
D | scanner_impl.cpp | 118 return Status::ok(); in getScanResults() 123 return Status::ok(); in getScanResults() 129 return Status::ok(); in getPnoScanResults() 134 return Status::ok(); in getPnoScanResults() 141 return Status::ok(); in scan() 192 return Status::ok(); in scan() 197 return Status::ok(); in scan() 205 return Status::ok(); in startPnoScan() 336 return Status::ok(); in stopPnoScan() 357 return Status::ok(); in abortScan() [all …]
|
/system/update_engine/aosp/ |
D | binder_service_android.cc | 70 return Status::ok(); in bind() 87 return Status::ok(); in bind() 98 return Status::ok(); in unbind() 114 return Status::ok(); in applyPayload() 129 return Status::ok(); in applyPayloadFd() 136 return Status::ok(); in suspend() 143 return Status::ok(); in resume() 150 return Status::ok(); in cancel() 157 return Status::ok(); in resetStatus() 171 return Status::ok(); in verifyPayloadApplicable() [all …]
|
/system/logging/logcat/tests/ |
D | logcat_benchmark.cpp | 43 bool ok; in BM_logcat_sorted_order() member in BM_logcat_sorted_order::timestamp 47 ok = false; in BM_logcat_sorted_order() 49 ok = sscanf(buffer, "%d-%d %d:%d:%d.%d ", &month, &day, &hour, in BM_logcat_sorted_order() 59 return !ok || !T.ok || (month < T.month) || in BM_logcat_sorted_order() 73 return ok; in BM_logcat_sorted_order()
|
/system/netd/libnetdutils/ |
D | SyscallsTest.cpp | 63 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 65 EXPECT_EQ(status::ok, result.status()); in TEST_F() 79 return status::ok; in TEST_F() 100 .WillOnce(Return(status::ok)); in TEST_F() 101 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 120 .WillOnce(Return(status::ok)); in TEST_F() 121 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F() 137 .WillOnce(Return(status::ok)); in TEST_F() 138 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F() 154 .WillOnce(Return(status::ok)); in TEST_F() [all …]
|
/system/security/ondevice-signing/ |
D | odsign_main.cpp | 74 if (!trustedPublicKey.ok()) { in verifyExistingCert() 79 if (!publicKeyFromExistingCert.ok()) { in verifyExistingCert() 94 if (!publicKey.ok()) { in createX509Cert() 128 if (!digest.ok()) { in computeDigests() 165 if (!result.ok()) { in verifyIntegrityFsVerity() 175 if (!result.ok()) { in verifyIntegrityNoFsVerity() 201 if (!signResult.ok()) { in getOdsignInfo() 234 if (!signResult.ok()) { in persistDigests() 267 if (!signInfo.ok()) { in verifyArtifacts() 279 if (!integrityStatus.ok()) { in verifyArtifacts() [all …]
|