Searched refs:PaletteStatus (Results 1 – 8 of 8) sorted by relevance
/art/libartpalette/system/ |
D | palette_fake.cc | 27 enum PaletteStatus PaletteGetVersion(int32_t* version) { in PaletteGetVersion() 29 return PaletteStatus::kOkay; in PaletteGetVersion() 36 enum PaletteStatus PaletteSchedSetPriority(int32_t tid, int32_t priority) { in PaletteSchedSetPriority() 39 return PaletteStatus::kInvalidArgument; in PaletteSchedSetPriority() 43 return PaletteStatus::kOkay; in PaletteSchedSetPriority() 46 enum PaletteStatus PaletteSchedGetPriority(int32_t tid, in PaletteSchedGetPriority() 53 return PaletteStatus::kOkay; in PaletteSchedGetPriority() 56 enum PaletteStatus PaletteWriteCrashThreadStacks(/*in*/ const char* stacks, size_t stacks_len) { in PaletteWriteCrashThreadStacks() 58 return PaletteStatus::kOkay; in PaletteWriteCrashThreadStacks() 61 enum PaletteStatus PaletteTraceEnabled(/*out*/int32_t* enabled) { in PaletteTraceEnabled() [all …]
|
/art/libartpalette/apex/ |
D | palette_test.cc | 40 PaletteStatus status = PaletteGetVersion(&version); in TEST_F() 41 ASSERT_EQ(PaletteStatus::kOkay, status); in TEST_F() 48 EXPECT_EQ(PaletteStatus::kOkay, PaletteSchedGetPriority(tid, &saved_priority)); in TEST_F() 50 EXPECT_EQ(PaletteStatus::kInvalidArgument, PaletteSchedSetPriority(tid, /*java_priority=*/ 0)); in TEST_F() 51 EXPECT_EQ(PaletteStatus::kInvalidArgument, PaletteSchedSetPriority(tid, /*java_priority=*/ -1)); in TEST_F() 52 EXPECT_EQ(PaletteStatus::kInvalidArgument, PaletteSchedSetPriority(tid, /*java_priority=*/ 11)); in TEST_F() 54 EXPECT_EQ(PaletteStatus::kOkay, PaletteSchedSetPriority(tid, /*java_priority=*/ 1)); in TEST_F() 55 EXPECT_EQ(PaletteStatus::kOkay, PaletteSchedSetPriority(tid, saved_priority)); in TEST_F() 60 EXPECT_EQ(PaletteStatus::kOkay, PaletteTraceEnabled(&enabled)); in TEST_F() 61 EXPECT_EQ(PaletteStatus::kOkay, PaletteTraceBegin("Hello world!")); in TEST_F() [all …]
|
D | palette.cc | 35 enum PaletteStatus PaletteMethodNotSupported() { in PaletteMethodNotSupported() 36 return PaletteStatus::kNotSupported; in PaletteMethodNotSupported() 41 using Name ## Method = PaletteStatus(*)(__VA_ARGS__); 113 enum PaletteStatus PaletteGetVersion(/*out*/int32_t* version) { in PaletteGetVersion() 118 enum PaletteStatus PaletteSchedSetPriority(int32_t tid, int32_t java_priority) { in PaletteSchedSetPriority() 123 enum PaletteStatus PaletteSchedGetPriority(int32_t tid, /*out*/int32_t* java_priority) { in PaletteSchedGetPriority() 128 enum PaletteStatus PaletteWriteCrashThreadStacks(/*in*/const char* stack, size_t stack_len) { in PaletteWriteCrashThreadStacks() 134 enum PaletteStatus PaletteTraceEnabled(/*out*/int32_t* enabled) { in PaletteTraceEnabled() 139 enum PaletteStatus PaletteTraceBegin(/*in*/const char* name) { in PaletteTraceBegin() 144 enum PaletteStatus PaletteTraceEnd() { in PaletteTraceEnd() [all …]
|
/art/libartpalette/include/palette/ |
D | palette_types.h | 27 enum PaletteStatus { enum
|
D | palette.h | 29 enum PaletteStatus Name(__VA_ARGS__);
|
/art/runtime/ |
D | signal_catcher.cc | 108 PaletteStatus status = PaletteWriteCrashThreadStacks(s.data(), s.size()); in Output() 109 if (status == PaletteStatus::kOkay) { in Output() 112 CHECK(status == PaletteStatus::kFailedCheckLog); in Output()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 537 PaletteStatus status = PaletteAshmemCreateRegion(kRegionName, capacity, &fd); in CreateZygoteMemory() 538 if (status != PaletteStatus::kOkay) { in CreateZygoteMemory() 539 CHECK_EQ(status, PaletteStatus::kCheckErrno); in CreateZygoteMemory() 558 PaletteStatus status = PaletteAshmemSetProtRegion(fd, PROT_READ); in ProtectZygoteMemory() 559 if (status != PaletteStatus::kOkay) { in ProtectZygoteMemory() 560 CHECK_EQ(status, PaletteStatus::kCheckErrno); in ProtectZygoteMemory()
|
/art/libartbase/base/ |
D | systrace.h | 31 if (UNLIKELY(PaletteTraceEnabled(&enabled) == PaletteStatus::kOkay && enabled != 0)) { in ATraceEnabled()
|