/system/vold/tests/ |
D | VoldNativeServiceValidation_test.cpp | 30 EXPECT_TRUE(CheckArgumentPath("/").isOk()); in TEST_F() 31 EXPECT_TRUE(CheckArgumentPath("/1/2").isOk()); in TEST_F() 32 EXPECT_TRUE(CheckArgumentPath("/1/2/").isOk()); in TEST_F() 33 EXPECT_TRUE(CheckArgumentPath("/1/2/./3").isOk()); in TEST_F() 34 EXPECT_TRUE(CheckArgumentPath("/1/2/./3/.").isOk()); in TEST_F() 37 .isOk()); in TEST_F() 39 EXPECT_FALSE(CheckArgumentPath("").isOk()); in TEST_F() 40 EXPECT_FALSE(CheckArgumentPath("relative/path").isOk()); in TEST_F() 41 EXPECT_FALSE(CheckArgumentPath("../data/..").isOk()); in TEST_F() 42 EXPECT_FALSE(CheckArgumentPath("/../data/..").isOk()); in TEST_F() [all …]
|
/system/connectivity/wificond/tests/ |
D | server_unittest.cpp | 149 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 156 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 161 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &second_ap_if).isOk()); in TEST_F() 169 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 173 EXPECT_TRUE(server_.tearDownInterfaces().isOk()); in TEST_F() 175 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 181 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 187 kFateInterfaceNameInvalid, &success).isOk()); in TEST_F() 190 EXPECT_TRUE(server_.tearDownApInterface(kFakeInterfaceName, &success).isOk()); in TEST_F() 198 kFakeInterfaceName, &client_if).isOk()); in TEST_F() [all …]
|
D | scanner_unittest.cpp | 129 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &success).isOk()); in TEST_F() 145 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 160 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 175 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 189 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 203 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 217 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 234 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &success).isOk()); in TEST_F() 251 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &single_scan_failure).isOk()); in TEST_F() 253 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &single_scan_failure).isOk()); in TEST_F() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 286 EXPECT_FALSE(netd->networkCreate(config).isOk()); in testNetworkExistsButCannotConnect() 291 if (status.isOk()) { // clean up in testNetworkExistsButCannotConnect() 292 EXPECT_TRUE(netd->networkRemoveInterface(netId, ifc.name()).isOk()); in testNetworkExistsButCannotConnect() 345 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 353 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 357 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 372 EXPECT_TRUE(res.isOk()); in TEST_F() 416 EXPECT_TRUE(status.isOk()) in TEST_F() 425 EXPECT_TRUE(status.isOk()); in TEST_F() 440 EXPECT_TRUE(status.isOk()) in TEST_F() [all …]
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendAidlTest.cpp | 64 ASSERT_TRUE(ret.isOk()); in TEST_F() 72 ASSERT_TRUE(ret.isOk()); in TEST_F() 77 ASSERT_TRUE(ret.isOk()); in TEST_F() 86 ASSERT_TRUE(ret.isOk()); in TEST_F() 96 ASSERT_TRUE(ret.isOk()); in TEST_F() 102 ASSERT_TRUE(ret.isOk()); in TEST_F() 112 ASSERT_TRUE(ret.isOk()); in TEST_F() 118 ASSERT_TRUE(ret.isOk()); in TEST_F() 129 ASSERT_TRUE(ret.isOk()); in TEST_F() 135 ASSERT_TRUE(ret.isOk()); in TEST_F()
|
/system/connectivity/wificond/tests/integration/ |
D | client_interface_test.cpp | 49 kInterfaceName, &client_interface).isOk()); in TEST() 54 EXPECT_TRUE(client_interface->getInterfaceName(&if_name).isOk()); in TEST() 66 kInterfaceName, &client_interface2).isOk()); in TEST() 71 EXPECT_TRUE(service->tearDownClientInterface(kInterfaceName, &succes).isOk()); in TEST() 76 EXPECT_TRUE(service->tearDownInterfaces().isOk()); in TEST() 84 kInterfaceName, &client_interface).isOk()); in TEST() 87 EXPECT_TRUE(client_interface->getMacAddress(&mac_address).isOk()); in TEST()
|
D | ap_interface_test.cpp | 49 EXPECT_TRUE(service->createApInterface(kInterfaceName, &ap_interface).isOk()); in TEST() 54 EXPECT_TRUE(ap_interface->getInterfaceName(&if_name).isOk()); in TEST() 66 kInterfaceName, &ap_interface2).isOk()); in TEST() 71 EXPECT_TRUE(service->tearDownApInterface(kInterfaceName, &success).isOk()); in TEST() 76 EXPECT_TRUE(service->tearDownInterfaces().isOk()); in TEST()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 51 ASSERT_TRUE(status.isOk()); in DoTest() 57 ASSERT_TRUE(status.isOk()); in DoTest() 103 ASSERT_TRUE(status.isOk()); in TEST_F() 109 ASSERT_TRUE(status.isOk()); in TEST_F() 117 ASSERT_TRUE(status.isOk()) << status; in TEST_F() 130 ASSERT_TRUE(status.isOk()) << status; in TEST_F() 139 ASSERT_TRUE(status.isOk()); in TEST_F() 147 ASSERT_TRUE(status.isOk()); in TEST_F() 152 ASSERT_TRUE(status.isOk()); in TEST_F() 160 ASSERT_TRUE(status.isOk()); in TEST_F() [all …]
|
D | aidl_test_client_renamed_interface.cpp | 34 ASSERT_TRUE(service->GetOldNameInterface(&oldName).isOk()); in SetUp() 35 ASSERT_TRUE(service->GetNewNameInterface(&newName).isOk()); in SetUp() 45 ASSERT_TRUE(oldName->RealName(&realName).isOk()); in TEST_F() 52 ASSERT_TRUE(newName->RealName(&realName).isOk()); in TEST_F() 60 ASSERT_TRUE(oldAsNew->RealName(&realName).isOk()); in TEST_F() 68 ASSERT_TRUE(newAsOld->RealName(&realName).isOk()); in TEST_F()
|
D | aidl_test_client_ndk_versioned_interface.cpp | 46 EXPECT_TRUE(status.isOk()) << status.getDescription(); in TEST_F() 53 EXPECT_TRUE(status.isOk()) << status.getDescription(); in TEST_F() 61 EXPECT_TRUE(status.isOk()) << status.getDescription(); in TEST_F() 69 EXPECT_TRUE(status.isOk()) << status.getDescription(); in TEST_F()
|
D | aidl_test_client_versioned_interface.cpp | 55 EXPECT_TRUE(status.isOk()); in TEST_F() 63 EXPECT_FALSE(status.isOk()); in TEST_F() 76 EXPECT_TRUE(status.isOk()); in TEST_F() 84 EXPECT_TRUE(status.isOk()); in TEST_F()
|
D | aidl_test_client_utf8_strings.cpp | 51 ASSERT_TRUE(status.isOk()); in TEST_F() 57 ASSERT_TRUE(status.isOk()); in TEST_F() 63 ASSERT_TRUE(status.isOk()); in TEST_F() 78 ASSERT_TRUE(status.isOk()) << status; in TEST_F() 96 ASSERT_TRUE(status.isOk()) << status; in DoTest() 117 ASSERT_TRUE(status.isOk()) << status; in DoTest()
|
/system/gsid/ |
D | gsi_tool.cpp | 74 if (!status.isOk()) { in ErrorMessage() 124 if (!status.isOk()) { in UpdateProgress() 270 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 276 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 282 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 290 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 305 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 312 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 319 if (!status.isOk()) { in Install() 324 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() [all …]
|
/system/keymaster/include/keymaster/ |
D | remote_provisioning_utils.h | 41 bool isOk() { return status_code_ == 0; } in isOk() function 44 assert(isOk()); 48 assert(isOk()); 52 assert(isOk()); 57 assert(!isOk()); in moveError()
|
/system/netd/server/ |
D | NdcDispatcher.cpp | 177 if (!status.isOk()) { in runCommand() 201 if (!status.isOk()) { in runCommand() 241 if (!status.isOk()) { in runCommand() 256 if (!status.isOk()) { in runCommand() 267 if (!status.isOk()) { in runCommand() 303 if (status.isOk()) { in runCommand() 320 if (status.isOk()) { in runCommand() 337 if (status.isOk()) { in runCommand() 397 if (status.isOk()) { in runCommand() 490 if (status.isOk()) { in runCommand() [all …]
|
D | TetherControllerTest.cpp | 364 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 369 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 373 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 379 ASSERT_TRUE(isOk(result)); in TEST_F() 386 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 394 ASSERT_TRUE(isOk(result)); in TEST_F() 403 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 407 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F() 418 ASSERT_TRUE(isOk(result)); in TEST_F() 429 ASSERT_FALSE(isOk(result)); in TEST_F()
|
/system/security/keystore2/src/km_compat/ |
D | slot_test.cpp | 50 if (!status.isOk()) { in generateAESKey() 66 if (!status.isOk()) { in begin() 106 ASSERT_TRUE(status.isOk()); in TEST() 115 ASSERT_TRUE(!status.isOk()); in TEST() 117 ASSERT_TRUE(!status.isOk()); in TEST() 127 ASSERT_TRUE(status.isOk()); in TEST() 136 ASSERT_TRUE(!status.isOk()); in TEST() 138 ASSERT_TRUE(!status.isOk()); in TEST() 157 ASSERT_TRUE(status.isOk()); in TEST() 161 ASSERT_TRUE(status.isOk()); in TEST()
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 78 if (!status.isOk()) { in ToFiemapStatus() 106 if (!status.isOk()) { in DeleteBackingImage() 122 if (!status.isOk()) { in MapImageDevice() 133 if (!status.isOk()) { in UnmapImageDevice() 144 if (!status.isOk()) { in BackingImageExists() 155 if (!status.isOk()) { in IsImageMapped() 175 if (!status.isOk()) { in GetAllBackingImages() 189 if (!status.isOk()) { in RemoveAllImages() 204 if (!status.isOk()) { in RemoveDisabledImages() 214 if (!status.isOk()) { in GetMappedImageDevice() [all …]
|
/system/security/identity/ |
D | WritableCredential.cpp | 61 if (!asn1AttestationId.isOk()) { in ensureAttestationCertificateExists() 70 if (!status.isOk()) { in ensureAttestationCertificateExists() 92 if (!ensureStatus.isOk()) { in getCredentialKeyCertificateChain() 172 if (!ensureStatus.isOk()) { in personalize() 201 if (!status.isOk()) { in personalize() 207 if (!status.isOk()) { in personalize() 218 if (!status.isOk()) { in personalize() 234 if (!status.isOk()) { in personalize() 242 if (!status.isOk()) { in personalize() 258 if (!status.isOk()) { in personalize()
|
D | Credential.cpp | 91 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in ensureOrReplaceHalBinder() 97 if (!status.isOk()) { in ensureOrReplaceHalBinder() 152 if (!status.isOk()) { in ensureChallenge() 181 if (result.isOk()) { in getTokensFromKeystore2() 409 if (!status.isOk()) { in getEntries() 416 if (!status.isOk()) { in getEntries() 424 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries() 436 if (!status.isOk()) { in getEntries() 458 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries() 478 if (!status.isOk()) { in getEntries() [all …]
|
/system/apex/apexd/ |
D | apexd_checkpoint_vold.cpp | 48 if (!status.isOk()) { in VoldCheckpointInterface() 73 if (!status.isOk()) { in NeedsCheckpoint() 86 if (!status.isOk()) { in NeedsRollback() 98 if (!status.isOk()) { in StartCheckpoint()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 78 inline bool isOk(const Status& status) { in isOk() function 83 #define EXPECT_OK(status) EXPECT_TRUE(isOk(status)) 84 #define ASSERT_OK(status) ASSERT_TRUE(isOk(status)) 113 if (!isOk(tmp)) { \
|
/system/libhidl/base/include/hidl/ |
D | Status.h | 113 bool isOk() const { return mException == EX_NONE; } in isOk() function 168 return mStatus.isOk(); in isOkUnchecked() 171 bool isOk() const { in isOk() function 173 return mStatus.isOk(); in isOk() 239 return isOk() ? mVal : t; in withDefault() 268 return isOk() ? mVal : t; in withDefault() 296 if (other.mStatus.isOk() || !other.mCheckedStatus) { in StatusOf()
|
/system/security/keystore/tests/ |
D | aaid_truncation_test.cpp | 95 ASSERT_TRUE(result.isOk()); in TEST() 104 ASSERT_TRUE(result.isOk()); in TEST() 121 ASSERT_TRUE(result.isOk()); in TEST() 142 ASSERT_TRUE(result.isOk()); in TEST()
|
/system/update_engine/aosp/ |
D | boot_control_android.cc | 106 if (!ret.isOk()) { in IsSlotBootable() 121 if (!ret.isOk()) { in MarkSlotUnbootable() 136 if (!ret.isOk()) { in SetActiveBootSlot() 152 if (!ret.isOk()) { in MarkBootSuccessfulAsync() 168 if (!ret.isOk()) { in IsSlotMarkedSuccessful()
|