/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 | 127 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 134 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 139 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &second_ap_if).isOk()); in TEST_F() 147 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 151 EXPECT_TRUE(server_.tearDownInterfaces().isOk()); in TEST_F() 153 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 159 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 165 kFateInterfaceNameInvalid, &success).isOk()); in TEST_F() 168 EXPECT_TRUE(server_.tearDownApInterface(kFakeInterfaceName, &success).isOk()); in TEST_F() 176 kFakeInterfaceName, &client_if).isOk()); in TEST_F() [all …]
|
D | scanner_unittest.cpp | 126 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &success).isOk()); in TEST_F() 141 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 156 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 171 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 185 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 199 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 213 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F() 230 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &success).isOk()); in TEST_F() 260 scanner_impl_->scan(SingleScanSettings(), &single_scan_success).isOk()); in TEST_F() 264 EXPECT_TRUE(scanner_impl_->abortScan().isOk()); in TEST_F() [all …]
|
/system/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 83 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 87 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 113 if (!binder_result.isOk()) { in sign() 117 if (!KSReturn(error_code).isOk()) { in sign() 124 if (!KSReturn(km_response.response_code()).isOk()) { in sign() 130 if (!algorithm.isOk()) { in sign() 146 if (!binder_result.isOk()) { in sign() 152 if (!rc.isOk()) { in sign() 158 if (!result.resultCode.isOk()) { in sign() 170 if (!binder_result.isOk()) { in sign() [all …]
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 95 if (!init_vector_blob.isOk()) { in encryptWithAuthentication() 164 if (!result.isOk()) { in oneShotOperation() 172 if (!result.isOk()) { in oneShotOperation() 188 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in addRandomNumberGeneratorEntropy() 191 if (!rc.isOk()) return rc; in addRandomNumberGeneratorEntropy() 210 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in generateKey() 213 if (!rc.isOk()) return rc; in generateKey() 236 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in getKeyCharacteristics() 239 if (!rc.isOk()) return rc; in getKeyCharacteristics() 265 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in importKey() [all …]
|
D | keymaster_worker.cpp | 146 if (!error.isOk()) { in upgradeKeyBlob() 161 if (!error.isOk()) { in upgradeKeyBlob() 172 if (!error2.isOk()) { in upgradeKeyBlob() 216 if (!error.isOk()) { in createKeyCharacteristicsCache() 240 if (!error.isOk()) { in createKeyCharacteristicsCache() 252 if (!rc.isOk()) { in createKeyCharacteristicsCache() 265 if (!rc.isOk()) { in createKeyCharacteristicsCache() 273 if (!rc.isOk()) { in createKeyCharacteristicsCache() 401 if (!error.isOk()) { in begin() 415 if (!authRc.isOk() && authRc != ResponseCode::OP_AUTH_NEEDED) { in begin() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 288 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 296 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 300 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 315 EXPECT_TRUE(res.isOk()); in TEST_F() 359 EXPECT_TRUE(status.isOk()) in TEST_F() 368 EXPECT_TRUE(status.isOk()); in TEST_F() 383 EXPECT_TRUE(status.isOk()) in TEST_F() 392 EXPECT_TRUE(status.isOk()); in TEST_F() 547 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 551 EXPECT_TRUE(mNetd->networkCreateVpn(TEST_NETID2, true).isOk()); in TEST_F() [all …]
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 74 if (!ret.isOk()) { in getBlob() 99 if (!binder_result.isOk()) { in getPublicKey() 106 if (!rc.isOk()) { in getPublicKey() 113 if (!export_result.resultCode.isOk()) { in getPublicKey() 127 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 131 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 154 if (!binder_result.isOk()) { in sign() 160 if (!rc.isOk()) { in sign() 168 if (!KSReturn(km_response.response_code()).isOk()) { in sign() 175 if (!algorithm.isOk()) { in sign() [all …]
|
/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 | 49 ASSERT_TRUE(status.isOk()); in DoTest() 55 ASSERT_TRUE(status.isOk()); in DoTest() 114 ASSERT_TRUE(status.isOk()); in TEST_F() 120 ASSERT_TRUE(status.isOk()); in TEST_F() 125 ASSERT_TRUE(status.isOk()); in TEST_F() 131 ASSERT_TRUE(status.isOk()); in TEST_F() 137 ASSERT_TRUE(status.isOk()); in TEST_F() 143 ASSERT_TRUE(status.isOk()); in TEST_F() 149 ASSERT_TRUE(status.isOk()); in TEST_F() 156 ASSERT_TRUE(status.isOk()); in TEST_F()
|
D | aidl_test_client_utf8_strings.cpp | 50 ASSERT_TRUE(status.isOk()); in TEST_F() 56 ASSERT_TRUE(status.isOk()); in TEST_F() 62 ASSERT_TRUE(status.isOk()); in TEST_F() 74 ASSERT_TRUE(status.isOk()); in TEST_F() 92 ASSERT_TRUE(status.isOk()); in DoTest() 102 ASSERT_TRUE(status.isOk()); in DoTest()
|
D | aidl_test_client_file_descriptors.cpp | 72 ASSERT_TRUE(status.isOk()); in TEST_F() 90 ASSERT_TRUE(status.isOk()); in TEST_F() 106 ASSERT_TRUE(status.isOk()); in TEST_F() 129 ASSERT_TRUE(status.isOk()); in TEST_F()
|
/system/gsid/ |
D | gsi_tool.cpp | 72 if (!status.isOk()) { in ErrorMessage() 122 if (!status.isOk()) { in UpdateProgress() 268 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 274 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 282 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 297 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 304 if (!status.isOk()) { in Install() 309 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 332 if (!status.isOk() || !ok) { in Wipe() 338 if (gsid->isGsiRunning(&running).isOk() && running) { in Wipe() [all …]
|
/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 | TrafficControllerTest.cpp | 47 using netdutils::isOk; 608 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, DENY, DENYLIST))); in TEST_F() 613 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(DOZABLE_MATCH, uid, ALLOW, ALLOWLIST))); in TEST_F() 618 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(DOZABLE_MATCH, uid, DENY, ALLOWLIST))); in TEST_F() 623 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, DENYLIST))); in TEST_F() 627 ASSERT_FALSE(isOk(mTc.updateOwnerMapEntry(STANDBY_MATCH, uid, ALLOW, DENYLIST))); in TEST_F() 664 ASSERT_TRUE(isOk(mTc.updateUidOwnerMap(appStrUids, BandwidthController::IptJumpReject, in TEST_F() 667 ASSERT_TRUE(isOk(mTc.updateUidOwnerMap(appStrUids, BandwidthController::IptJumpReject, in TEST_F() 676 ASSERT_TRUE(isOk(mTc.updateUidOwnerMap(appStrUids, BandwidthController::IptJumpReturn, in TEST_F() 679 ASSERT_TRUE(isOk(mTc.updateUidOwnerMap(appStrUids, BandwidthController::IptJumpReturn, in TEST_F() [all …]
|
/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 | 56 if (!asn1AttestationId.isOk()) { in ensureAttestationCertificateExists() 65 if (!status.isOk()) { in ensureAttestationCertificateExists() 84 if (!ensureStatus.isOk()) { in getCredentialKeyCertificateChain() 153 if (!ensureStatus.isOk()) { in personalize() 181 if (!status.isOk()) { in personalize() 187 if (!status.isOk()) { in personalize() 198 if (!status.isOk()) { in personalize() 214 if (!status.isOk()) { in personalize() 222 if (!status.isOk()) { in personalize() 238 if (!status.isOk()) { in personalize()
|
D | Credential.cpp | 80 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in loadCredential() 86 if (!status.isOk()) { in loadCredential() 113 if (!status.isOk()) { in selectAuthKey() 154 if (!status.isOk()) { in getTokensFromKeystore() 370 if (!status.isOk()) { in getEntries() 377 if (!status.isOk()) { in getEntries() 385 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries() 397 if (!status.isOk()) { in getEntries() 419 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries() 439 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() 97 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/update_engine/ |
D | boot_control_android.cc | 107 if (!ret.isOk()) { in IsSlotBootable() 122 if (!ret.isOk()) { in MarkSlotUnbootable() 137 if (!ret.isOk()) { in SetActiveBootSlot() 153 if (!ret.isOk()) { in MarkBootSuccessfulAsync() 169 if (!ret.isOk()) { in IsSlotMarkedSuccessful()
|
/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/bt/audio_hal_interface/ |
D | client_interface.cc | 81 if (!hidl_retval.isOk()) { in startStream() 93 if (!hidl_retval.isOk()) { in suspendStream() 204 if (!hidl_retval.isOk()) { in ~BluetoothAudioClientInterface() 228 if (!hidl_retval.isOk()) { in IsSupported() 257 if (!hidl_retval.isOk()) { in GetAudioCapabilities() 287 if (!hidl_retval.isOk()) { in FetchAudioProvider() 317 if (!hidl_retval.isOk()) { in FetchAudioProvider() 322 if (!provider_->linkToDeath(death_recipient_, 0).isOk()) { in FetchAudioProvider() 388 if (!hidl_retval.isOk()) { in StartSession() 426 if (!hidl_retval.isOk()) { in StreamStarted() [all …]
|