/external/chromium_org/cloud_print/service/win/ |
D | local_security_policy.cc | 83 ATL::CSid user_sid; in IsPrivilegeSet() local 84 if (!user_sid.LoadAccount(username.c_str())) { in IsPrivilegeSet() 91 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count); in IsPrivilegeSet() 104 ATL::CSid user_sid; in SetPrivilege() local 105 if (!user_sid.LoadAccount(username.c_str())) { in SetPrivilege() 117 ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()), in SetPrivilege()
|
D | setup_listener.cc | 100 ATL::CSid user_sid; in Connect() local 101 if (!user_sid.LoadAccount(ReplaceLocalHostInName(user).c_str())) { in Connect() 104 dacl.AddAllowedAce(user_sid, GENERIC_READ | GENERIC_WRITE); in Connect()
|
/external/chromium_org/chrome_elf/ |
D | breakpad.cc | 71 base::string16 user_sid; in GetUserSidString() local 73 return user_sid; in GetUserSidString() 83 user_sid = sid_string; in GetUserSidString() 88 return user_sid; in GetUserSidString() 162 base::string16 user_sid = IsSystemInstall(exe_path) ? kSystemPrincipalSid : in InitializeCrashReporting() local 164 if (user_sid.empty()) in InitializeCrashReporting() 168 pipe_name += user_sid; in InitializeCrashReporting()
|
/external/chromium_org/base/win/ |
D | win_util_unittest.cc | 44 std::wstring user_sid; in TEST() local 45 EXPECT_TRUE(GetUserSidString(&user_sid)); in TEST() 46 EXPECT_TRUE(!user_sid.empty()); in TEST()
|
D | win_util.h | 42 BASE_EXPORT bool GetUserSidString(std::wstring* user_sid);
|
D | win_util.cc | 79 bool GetUserSidString(std::wstring* user_sid) { in GetUserSidString() argument 101 *user_sid = sid_string; in GetUserSidString()
|
/external/chromium_org/win8/delegate_execute/ |
D | crash_server_init.cc | 78 base::string16 user_sid; in InitializeCrashReporting() local 79 if (base::win::GetUserSidString(&user_sid)) { in InitializeCrashReporting() 80 pipe_name += user_sid; in InitializeCrashReporting()
|
/external/chromium_org/remoting/host/ |
D | ipc_util_win.cc | 32 std::wstring user_sid; in CreateConnectedIpcChannel() local 33 if (!base::win::GetUserSidString(&user_sid)) { in CreateConnectedIpcChannel() 43 "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::WideToUTF8(user_sid).c_str()); in CreateConnectedIpcChannel()
|
/external/chromium_org/rlz/win/lib/ |
D | process_info.cc | 66 PSID user_sid = token_user->User.Sid; in GetCurrentUser() local 67 CHECK(::LookupAccountSidW(NULL, user_sid, user_name, &user_name_size, in GetCurrentUser() 78 ConvertSidToStringSidW(user_sid, &string_sid); in GetCurrentUser()
|
/external/chromium_org/chrome/test/mini_installer/ |
D | variable_expander.py | 49 user_sid, _ = win32security.GetTokenInformation(token_handle, 51 user_sid_string = win32security.ConvertSidToStringSid(user_sid)
|
/external/chromium_org/components/crash/app/ |
D | breakpad_win.cc | 468 std::wstring user_sid; in InitPipeNameEnvVar() local 470 if (!base::win::GetUserSidString(&user_sid)) { in InitPipeNameEnvVar() 474 user_sid = kSystemPrincipalSid; in InitPipeNameEnvVar() 478 pipe_name += user_sid; in InitPipeNameEnvVar()
|
/external/chromium_org/sandbox/win/src/ |
D | restricted_token_unittest.cc | 284 ATL::CSid user_sid; in TEST() local 285 ASSERT_TRUE(restricted_token.GetUser(&user_sid)); in TEST() 288 if (user_sid == sids[i]) { in TEST() 322 ATL::CSid user_sid; in TEST() local 323 ASSERT_TRUE(restricted_token.GetUser(&user_sid)); in TEST() 326 if (user_sid == sids[i]) { in TEST()
|
/external/chromium_org/remoting/host/setup/ |
D | me2me_native_messaging_host.cc | 552 std::wstring user_sid; in EnsureElevatedHostCreated() local 553 if (!base::win::GetUserSidString(&user_sid)) { in EnsureElevatedHostCreated() 562 "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::UTF16ToASCII(user_sid).c_str()); in EnsureElevatedHostCreated()
|
/external/chromium_org/chrome/installer/gcapi/ |
D | gcapi.cc | 323 bool GetUserIdForProcess(size_t pid, wchar_t** user_sid) { in GetUserIdForProcess() argument 341 if (::ConvertSidToStringSid(sid, user_sid)) in GetUserIdForProcess()
|
/external/chromium_org/chrome/installer/setup/ |
D | setup_main.cc | 1303 base::string16 user_sid = kSystemPrincipalSid; in InitializeCrashReporting() local 1306 if (!base::win::GetUserSidString(&user_sid)) { in InitializeCrashReporting() 1312 pipe_name += user_sid; in InitializeCrashReporting()
|
/external/chromium_org/chrome/installer/util/ |
D | shell_util.cc | 149 base::string16 user_sid; in UserSpecificRegistrySuffix() local 150 if (!base::win::GetUserSidString(&user_sid)) { in UserSpecificRegistrySuffix() 156 std::string user_sid_ascii(base::UTF16ToASCII(user_sid)); in UserSpecificRegistrySuffix()
|