Home
last modified time | relevance | path

Searched refs:machine_id (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/rlz/lib/
Dmachine_id.cc14 bool GetMachineId(std::string* machine_id) { in GetMachineId() argument
15 if (!machine_id) in GetMachineId()
21 *machine_id = calculated_id; in GetMachineId()
30 if (!testing::GetMachineIdImpl(sid_string, volume_id, machine_id)) in GetMachineId()
34 calculated_id = *machine_id; in GetMachineId()
42 std::string* machine_id) { in GetMachineIdImpl() argument
43 machine_id->clear(); in GetMachineIdImpl()
79 id_binary.c_str(), kSizeWithoutChecksum + 1, machine_id); in GetMachineIdImpl()
Dmachine_id.h19 bool GetMachineId(std::string* machine_id);
29 std::string* machine_id);
Dfinancial_ping_test.cc87 std::string machine_id; in TEST_F() local
88 bool got_machine_id = rlz_lib::GetMachineId(&machine_id); in TEST_F()
100 base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str()); in TEST_F()
112 base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str()); in TEST_F()
Dfinancial_ping.cc173 std::string machine_id; in FormRequest() local
174 if (GetMachineId(&machine_id)) { in FormRequest()
176 machine_id.c_str()); in FormRequest()
/external/chromium_org/rlz/examples/
Drlz_id.cc8 std::string machine_id; in main() local
9 if (!rlz_lib::GetMachineId(&machine_id)) in main()
12 printf("%s\n", machine_id.c_str()); in main()
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/
Ddevice_id_win.cc185 std::string machine_id; in GetRlzMachineId() local
186 if (!rlz_lib::GetMachineId(&machine_id)) in GetRlzMachineId()
188 return machine_id; in GetRlzMachineId()
198 std::string machine_id = GetRlzMachineId(); in GetMacAddressCallback() local
199 if (mac_address.empty() || machine_id.empty()) { in GetMacAddressCallback()
203 callback.Run(mac_address + machine_id); in GetMacAddressCallback()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Ddevice_id_fetcher.cc140 const std::string& machine_id) { in ComputeOnUIThread() argument
143 if (machine_id.empty()) { in ComputeOnUIThread()
161 std::string input = machine_id; in ComputeOnUIThread()
167 input = machine_id; in ComputeOnUIThread()
Ddevice_id_fetcher.h58 const std::string& machine_id);
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_cloud_policy_manager_chromeos.cc289 std::string machine_id; in GetMachineID() local
294 &machine_id) && in GetMachineID()
295 !machine_id.empty()) { in GetMachineID()
300 if (machine_id.empty()) in GetMachineID()
303 return machine_id; in GetMachineID()
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py70 machine_id = machine_to_id[os.uname()[4]] variable
78 return audit.audit_syscall_to_name(id, machine_id)
/external/chromium_org/chrome/browser/policy/test/
Dpolicy_testserver.py368 msg.machine_id,
684 if msg.machine_id:
685 self.server.UpdateMachineId(token_info['device_token'], msg.machine_id)
953 def RegisterDevice(self, device_id, machine_id, type): argument
989 if machine_id in KIOSK_MACHINE_IDS:
997 'machine_name': 'chromeos-' + machine_id,
998 'machine_id': machine_id,
1004 def UpdateMachineId(self, dmtoken, machine_id): argument
1012 self._registered_tokens[dmtoken]['machine_id'] = machine_id
/external/chromium_org/chrome/browser/extensions/
Dinstall_signer.cc82 std::string machine_id; in HashWithMachineId() local
84 if (!rlz_lib::GetMachineId(&machine_id)) in HashWithMachineId()
87 machine_id = "unknown"; in HashWithMachineId()
93 hash->Update(machine_id.data(), machine_id.size()); in HashWithMachineId()
/external/chromium_org/rlz/
DBUILD.gn27 "lib/machine_id.cc",
28 "lib/machine_id.h",
Drlz.gyp47 'lib/machine_id.cc',
48 'lib/machine_id.h',
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client.cc51 const std::string& machine_id, in CloudPolicyClient() argument
58 : machine_id_(machine_id), in CloudPolicyClient()
Dcloud_policy_client.h94 const std::string& machine_id,
/external/chromium_org/components/policy/proto/
Ddevice_management_backend.proto37 optional string machine_id = 3; field
44 // When true, indicates that the |machine_id| has been identified as auto-
159 optional string machine_id = 5; field