Searched refs:cr (Results 1 – 13 of 13) sorted by relevance
/system/core/init/ |
D | property_service.cpp | 126 const ucred* cr; member 133 if (!d || !d->name || !d->cr) { in PropertyAuditCallback() 138 snprintf(buf, len, "property=%s pid=%d uid=%d gid=%d", d->name, d->cr->pid, d->cr->uid, in PropertyAuditCallback() 139 d->cr->gid); in PropertyAuditCallback() 161 ucred cr = {.pid = 0, .uid = 0, .gid = 0}; in CanReadProperty() local 162 audit_data.cr = &cr; in CanReadProperty() 169 const char* source_context, const ucred& cr) { in CheckMacPerms() argument 177 audit_data.cr = &cr; in CheckMacPerms() 463 const std::string& source_context, const ucred& cr) { in CheckControlPropertyPerms() argument 477 … if (CheckMacPerms(control_string_legacy, target_context_legacy, source_context.c_str(), cr)) { in CheckControlPropertyPerms() [all …]
|
/system/extras/bootctl/ |
D | bootctl.cpp | 94 static int handle_return(CommandResult cr, const char* errStr) { in handle_return() argument 95 if (!cr.IsOk()) { in handle_return() 96 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return() 98 } else if (!cr.success) { in handle_return() 99 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return() 117 const auto cr = module->SetActiveBootSlot(slot_number); in do_set_active_boot_slot() local 118 return handle_return(cr, "Error setting active boot slot: %s\n"); in do_set_active_boot_slot() 122 const auto cr = module->MarkSlotUnbootable(slot_number); in do_set_slot_as_unbootable() local 123 return handle_return(cr, "Error setting slot as unbootable: %s\n"); in do_set_slot_as_unbootable()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshotctl.cpp | 183 auto cr = hal->SetActiveBootSlot(target_slot_number); in CreateTestUpdate() local 184 if (!cr.IsOk()) { in CreateTestUpdate() 185 std::cerr << "Could not set active boot slot: " << cr.errMsg; in CreateTestUpdate()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 390 ucred cr = {}; in crash_request_cb() local 391 socklen_t len = sizeof(cr); in crash_request_cb() 392 int ret = getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cr, &len); in crash_request_cb() 398 crash->crash_pid = cr.pid; in crash_request_cb()
|
/system/core/libsystem/include/system/ |
D | graphics.h | 87 void *cr; member
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 415 void DumpRecordCommand::ProcessCallChainRecord(const CallChainRecord& cr) { in ProcessCallChainRecord() argument 417 for (size_t i = 0; i < cr.ip_nr; ++i) { in ProcessCallChainRecord() 418 SymbolInfo s = GetSymbolInfo(cr.pid, cr.tid, cr.ips[i], false); in ProcessCallChainRecord()
|
D | cmd_record_test.cpp | 1298 CommRecord* cr = static_cast<CommRecord*>(r.get()); in TEST() local 1299 if (strcmp(cr->comm, "sleep") == 0) { in TEST()
|
/system/vold/ |
D | Checkpoint.cpp | 177 auto cr = module->MarkBootSuccessful(); in cp_commitChanges() local 178 if (!cr.success) in cp_commitChanges() 179 return error(EINVAL, "Error marking booted successfully: " + std::string(cr.errMsg)); in cp_commitChanges()
|
/system/nfc/src/ |
D | nci_packets.pdl | 105 cr : 8,
|
/system/timezone/output_data/android/ |
D | tzids.prototxt | 628 isoCode: "cr"
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 1141 isoCode:"cr"
|
/system/core/libutils/abi-dumps/arm64/source-based/ |
D | libutils.so.lsdump | 11871 "field_name" : "cr",
|
/system/core/libutils/abi-dumps/arm_arm64/source-based/ |
D | libutils.so.lsdump | 11867 "field_name" : "cr",
|