/system/apex/apexd/ |
D | apexd_session.cpp | 139 [&](const ApexSession &s) { return s.GetState() != state; }), in GetSessionsInState() 149 if (!session.IsFinalized() && session.GetState() != SessionState::UNKNOWN) { in GetActiveSessions() 156 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState() function in android::apex::ApexSession 165 switch (GetState()) { in IsFinalized() 268 << "; state = " << SessionState::State_Name(session.GetState()) in operator <<()
|
D | apexd_session_test.cpp | 118 ASSERT_EQ(SessionState::SUCCESS, migrated_session_1->GetState()); in TEST() 122 ASSERT_EQ(SessionState::ACTIVATION_FAILED, migrated_session_2->GetState()); in TEST()
|
D | apexd_session.h | 53 ::apex::proto::SessionState::State GetState() const;
|
D | apexd.cpp | 307 auto state = dm.GetState(name); in CreateVerityDevice() 1495 auto session_state = (*session).GetState(); in GetStagedApexFiles() 1730 switch (session->GetState()) { in AbortStagedSession() 3245 auto session_state = (*session).GetState(); in MarkStagedSessionReady() 3263 if (session->GetState() == SessionState::SUCCESS) { in MarkStagedSessionSuccessful() 3265 } else if (session->GetState() == SessionState::ACTIVATED) { in MarkStagedSessionSuccessful() 3333 auto state = dm.GetState(dev.name()); in DeleteUnusedVerityDevices()
|
D | apexservice.cpp | 325 switch (session.GetState()) { in ConvertToApexSessionInfo() 851 << " State: " << SessionState_State_Name(session.GetState()) in dump()
|
D | apexd_test.cpp | 1800 dm.GetState("com.android.apex.test_package@2")); in TEST_F() 4602 ASSERT_EQ(apex_session->GetState(), SessionState::ACTIVATION_FAILED); in TEST_F() 4626 ASSERT_EQ(apex_session->GetState(), SessionState::REVERTED); in TEST_F() 4643 dm.GetState("com.android.apex.test_package")); in TEST_F() 4645 dm.GetState("com.android.apex.compressed")); in TEST_F() 4962 ASSERT_EQ(session->GetState(), SessionState::ACTIVATED); in TEST_F() 4993 ASSERT_NE(session->GetState(), SessionState::ACTIVATED); in TEST_F()
|
/system/update_engine/ |
D | libcurl_http_fetcher_unittest.cc | 188 EXPECT_EQ(state_machine_.GetState(), in TEST_F() 195 EXPECT_EQ(state_machine_.GetState(), in TEST_F() 202 EXPECT_EQ(state_machine_.GetState(), in TEST_F()
|
D | libcurl_http_fetcher.h | 53 State GetState() { return state_; } in GetState() function
|
D | libcurl_http_fetcher.cc | 492 if (unresolved_host_state_machine_.GetState() == in CurlPerformOnce() 501 } else if (unresolved_host_state_machine_.GetState() == in CurlPerformOnce()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android_unittest.cc | 369 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P() 378 EXPECT_CALL(dynamicControl(), GetState(T("system"))).Times(0); in TEST_P() 384 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P() 390 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P() 416 GetState(AnyOf(S("vendor"), T("vendor"), S("system"), T("system")))) in TEST_P() 458 GetState(AnyOf(S("vendor"), T("vendor"), S("system"), T("system")))) in TEST_P() 510 EXPECT_CALL(dynamicControl(), GetState(S("system"))) in TEST_P() 518 EXPECT_CALL(dynamicControl(), GetState(T("system"))) in TEST_P() 535 EXPECT_CALL(dynamicControl(), GetState(S("bar"))).Times(0); in TEST_P() 541 EXPECT_CALL(dynamicControl(), GetState(T("bar"))).Times(0); in TEST_P()
|
D | dynamic_partition_control_android.cc | 232 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper() 253 state = GetState(target_partition_name); in MapPartitionOnDeviceMapper() 273 if (DeviceMapper::Instance().GetState(target_partition_name) != in UnmapPartitionOnDeviceMapper() 332 android::dm::DmDeviceState DynamicPartitionControlAndroid::GetState( in GetState() function in chromeos_update_engine::DynamicPartitionControlAndroid 334 return DeviceMapper::Instance().GetState(name); in GetState() 1227 if (GetState(partition_name_suffix) != DmDeviceState::ACTIVE) { in GetDynamicPartitionDevice()
|
D | mock_dynamic_partition_control_android.h | 52 GetState,
|
D | dynamic_partition_control_android.h | 170 virtual android::dm::DmDeviceState GetState(const std::string& name);
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 175 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST_F() 178 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST_F() 181 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST_F() 584 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F() 670 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F() 705 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F() 717 ASSERT_EQ(DmDeviceState::SUSPENDED, dm.GetState("empty-device")); in TEST_F()
|
D | dm.cpp | 93 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExists() 154 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExistsDeferred() 274 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState() function in android::dm::DeviceMapper
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 76 virtual DmDeviceState GetState(const std::string& name) const = 0; 145 DmDeviceState GetState(const std::string& name) const override;
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 143 virtual DmDeviceState GetState(const std::string& name) const override { in GetState() function 144 return impl_.GetState(name); in GetState()
|
/system/vold/ |
D | MetadataCrypt.cpp | 88 if (dm.GetState(kDmNameUserdata) != DmDeviceState::INVALID) { in defaultkey_precreate_dm_device() 191 if (dm_name == kDmNameUserdata && dm.GetState(dm_name) == DmDeviceState::SUSPENDED) { in create_crypto_blk_dev()
|
/system/security/keystore2/src/ |
D | permission.rs | 114 GetState, 503 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::GetState).is_ok()); in check_keystore_permission_test() 513 assert!(check_keystore_permission(&shell_ctx, KeystorePerm::GetState).is_ok()); in check_keystore_permission_test()
|
D | maintenance.rs | 144 check_keystore_permission(KeystorePerm::GetState).context("In get_state.")?; in get_state()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 901 if (dm.GetState(android::gsi::kDsuScratch) != DmDeviceState::INVALID && in GetDsuScratchDevice() 927 if (dm.GetState(partition_name) != DmDeviceState::INVALID && in GetBootScratchDevice() 971 if (dm.GetState(name) != DmDeviceState::INVALID && !DestroyLogicalPartition(name)) { in TruncatePartitionsWithSuffix() 984 *partition_exists = dm.GetState(partition_name) != DmDeviceState::INVALID; in CreateDynamicScratch()
|
D | fs_mgr.cpp | 1305 if (dm.GetState(kUserdataWrapperName) != DmDeviceState::INVALID) { in WrapUserdata() 2179 if (dm.GetState(mount_point) == DmDeviceState::INVALID) { in fs_mgr_is_verity_enabled() 2204 if (dm.GetState(device) == DmDeviceState::INVALID || !dm.GetTableInfo(device, &table)) { in fs_mgr_get_hashtree_info()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 770 if (dm_.GetState(snapshot) == DmDeviceState::INVALID) { in InitiateMerge() 953 if (dm_.GetState(dm_name) == DmDeviceState::INVALID) { in GetSingleTarget() 1731 if (dm_.GetState(user_cow_name) == DmDeviceState::INVALID) { in PerformInitTransition() 1956 if (dm_.GetState(name) == DmDeviceState::ACTIVE && !IsSnapshotDevice(name)) { in RemoveInvalidSnapshots() 2000 if (dm_.GetState(name) == DmDeviceState::INVALID || !IsSnapshotDevice(name)) { in RemoveAllSnapshots() 2657 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapDmUserDevice() 2685 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapUserspaceSnapshotDevice() 4114 if (dm_.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDevicePath() 4125 if (dm_.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDeviceStringOrPath() 4203 if (dm_.GetState(user_cow_name) == DmDeviceState::INVALID) { in DetachFirstStageSnapuserdForSelinux()
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 123 return dm.GetState(image_name) != DmDeviceState::INVALID; in IsImageMapped() 718 if (dm.GetState(name) == DmDeviceState::INVALID) { in GetMappedImageDevice()
|
/system/core/init/ |
D | first_stage_mount.cpp | 192 if (dm.GetState("vroot") != android::dm::DmDeviceState::INVALID) { in GetRootEntry()
|