Home
last modified time | relevance | path

Searched refs:palette_status_t (Results 1 – 8 of 8) sorted by relevance

/art/libartpalette/system/
Dpalette_fake.cc33 palette_status_t PaletteSchedSetPriority(int32_t tid, int32_t priority) { in PaletteSchedSetPriority()
43 palette_status_t PaletteSchedGetPriority(int32_t tid, in PaletteSchedGetPriority()
53 palette_status_t PaletteWriteCrashThreadStacks(/*in*/ const char* stacks, size_t stacks_len) { in PaletteWriteCrashThreadStacks()
58 palette_status_t PaletteTraceEnabled(/*out*/bool* enabled) { in PaletteTraceEnabled()
63 palette_status_t PaletteTraceBegin([[maybe_unused]] const char* name) { return PALETTE_STATUS_OK; } in PaletteTraceBegin()
65 palette_status_t PaletteTraceEnd() { in PaletteTraceEnd()
69 palette_status_t PaletteTraceIntegerValue([[maybe_unused]] const char* name, in PaletteTraceIntegerValue()
74 palette_status_t PaletteAshmemCreateRegion([[maybe_unused]] const char* name, in PaletteAshmemCreateRegion()
81 palette_status_t PaletteAshmemSetProtRegion([[maybe_unused]] int fd, [[maybe_unused]] int prot) { in PaletteAshmemSetProtRegion()
85 palette_status_t PaletteCreateOdrefreshStagingDirectory(const char** staging_dir) { in PaletteCreateOdrefreshStagingDirectory()
[all …]
/art/libartpalette/apex/
Dpalette.cc35 palette_status_t PaletteMethodNotSupported() { in PaletteMethodNotSupported()
41 using Name ## Method = palette_status_t(*)(__VA_ARGS__);
116 palette_status_t PaletteSchedSetPriority(int32_t tid, int32_t java_priority) { in PaletteSchedSetPriority()
121 palette_status_t PaletteSchedGetPriority(int32_t tid, /*out*/int32_t* java_priority) { in PaletteSchedGetPriority()
126 palette_status_t PaletteWriteCrashThreadStacks(/*in*/const char* stack, size_t stack_len) { in PaletteWriteCrashThreadStacks()
132 palette_status_t PaletteTraceEnabled(/*out*/bool* enabled) { in PaletteTraceEnabled()
137 palette_status_t PaletteTraceBegin(/*in*/const char* name) { in PaletteTraceBegin()
142 palette_status_t PaletteTraceEnd() { in PaletteTraceEnd()
147 palette_status_t PaletteTraceIntegerValue(/*in*/const char* name, int32_t value) { in PaletteTraceIntegerValue()
152 palette_status_t PaletteAshmemCreateRegion(const char* name, size_t size, int* fd) { in PaletteAshmemCreateRegion()
[all …]
Dpalette_test.cc46 bool PaletteSetTaskProfilesIsSupported(palette_status_t res) { in PaletteSetTaskProfilesIsSupported()
139 palette_status_t res = PaletteSetTaskProfiles(GetTid(), &profiles[0], 2); in TEST_F()
162 palette_status_t res = PaletteSetTaskProfiles(GetTid(), profiles); in TEST_F()
184 palette_status_t pstatus = PaletteDebugStoreGetString(result.data(), result.size()); in TEST_F()
/art/libartpalette/include/palette/
Dpalette_types.h26 using palette_status_t = int32_t; variable
29 #define PALETTE_STATUS_OK ((palette_status_t) 0)
32 #define PALETTE_STATUS_CHECK_ERRNO ((palette_status_t) 1)
35 #define PALETTE_STATUS_INVALID_ARGUMENT ((palette_status_t) 2)
40 #define PALETTE_STATUS_NOT_SUPPORTED ((palette_status_t) 3)
43 #define PALETTE_STATUS_FAILED_CHECK_LOG ((palette_status_t) 4)
Dpalette.h29 palette_status_t Name(__VA_ARGS__);
43 static inline palette_status_t PaletteSetTaskProfiles(int tid, in PALETTE_METHOD_LIST()
/art/runtime/
Dsignal_catcher.cc113 palette_status_t status = PaletteWriteCrashThreadStacks(s.data(), s.size()); in Output()
Dthread.cc2011 palette_status_t status = PaletteSchedGetPriority(tid, &priority); in DumpState()
4835 palette_status_t status = PaletteSchedSetPriority(GetTid(), new_priority); in SetNativePriority()
4841 palette_status_t status = PaletteSchedGetPriority(GetTid(), &priority); in GetNativePriority()
/art/runtime/jit/
Djit_memory_region.cc534 palette_status_t status = PaletteAshmemCreateRegion(kRegionName, capacity, &fd); in CreateZygoteMemory()
555 palette_status_t status = PaletteAshmemSetProtRegion(fd, PROT_READ | PROT_EXEC); in ProtectZygoteMemory()