/system/extras/memory_replay/tests/ |
D | ActionTest.cpp | 25 uint8_t memory[Action::MaxActionSize()]; in TEST() local 27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); in TEST() 40 uint8_t memory[128]; in TEST() local 42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); in TEST() 47 uint8_t memory[128]; in TEST() local 49 Action* action = Action::CreateAction(0x1234, "free", line, memory); in TEST() 60 uint8_t memory[128]; in TEST() local 62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory); in TEST() 75 uint8_t memory[128]; in TEST() local 77 Action* action = Action::CreateAction(0, "free", line, memory); in TEST() [all …]
|
D | PointersTest.cpp | 107 void* memory = pointers.Remove(0); in TestRemoveZeroValue() local 108 if (memory) {} in TestRemoveZeroValue()
|
/system/extras/memory_replay/ |
D | Action.cpp | 67 void* memory = malloc(size_); in Execute() local 70 memset(memory, 1, size_); in Execute() 71 pointers->Add(key_pointer_, memory); in Execute() 87 void* memory = calloc(n_elements_, size_); in Execute() local 90 memset(memory, 0, n_elements_ * size_); in Execute() 91 pointers->Add(key_pointer_, memory); in Execute() 117 void* memory = realloc(old_memory, size_); in Execute() local 120 memset(memory, 1, size_); in Execute() 121 pointers->Add(key_pointer_, memory); in Execute() 140 void* memory = memalign(align_, size_); in Execute() local [all …]
|
D | Pointers.cpp | 35 void* memory = mmap(nullptr, pointers_size_, PROT_READ | PROT_WRITE, in Pointers() local 37 if (memory == MAP_FAILED) { in Pointers() 41 memset(memory, 0, pointers_size_); in Pointers() 42 pointers_ = reinterpret_cast<pointer_data*>(memory); in Pointers()
|
D | Threads.cpp | 54 void* memory = mmap(nullptr, data_size_, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in Threads() local 55 if (memory == MAP_FAILED) { in Threads() 65 threads_ = new (memory) Thread[max_threads_]; in Threads()
|
/system/extras/memory_replay/dumps/ |
D | README | 2 the memory allocations of a set of apps. 16 malloc - Allocate memory using the malloc function. 17 calloc - Allocate memory using the calloc function. 18 memalign - Allocate memory using the memalign function. This is used 20 realloc - Allocate memory using the realloc function. 21 free - Free memory allocated using one of the above actions.
|
/system/sepolicy/ |
D | lmkd.te | 1 # lmkd low memory killer daemon 9 # lmkd locks itself in memory, to prevent it from being 10 # swapped out and unable to kill other memory hogs.
|
D | bootanim.te | 21 # Allow access to ion memory allocation device
|
D | audioserver.te | 24 # ptrace to processes in the same domain for memory leak detection
|
D | mediadrmserver.te | 33 # Allow access to ion memory allocation device
|
D | domain_deprecated.te | 52 #Allow access to ion memory allocation device
|
D | autoplay_app.te | 58 # Allow read access to ion memory allocation device
|
D | mediaserver.te | 19 # ptrace to processes in the same domain for memory leak detection
|
D | shell.te | 130 # Allow access to ion memory allocation device.
|
/system/core/libmemunreachable/ |
D | README.md | 6 … a zero-overhead native memory leak detector. It uses an imprecise mark-and-sweep garbage collect… 18 Writes a description of leaked memory to the log. A summary is always written, followed by details… 22 Returns `true` if no unreachable memory was found. 30 Returns a description of leaked memory. A summary is always written, followed by details of up to … 41 5. Registers contents, active stack areas, and memory mapping information are collected. 43 … spawned using a normal `fork()`. The sweeper process has a copy of all memory from the original … 46 …10. *Sweeper process*: A list of all active allocations is produced by examining the memory mappin…
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 933 void InitMemory(uint8_t* memory, size_t bytes) { in InitMemory() argument 935 memory[i] = i; in InitMemory() 936 if (memory[i] == '\0') { in InitMemory() 939 memory[i] = 23; in InitMemory() 952 uint8_t* memory; in ThreadReadTest() local 953 if (posix_memalign(reinterpret_cast<void**>(&memory), pagesize, 2 * pagesize) != 0) { in ThreadReadTest() 957 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest() 962 InitMemory(memory, pagesize); in ThreadReadTest() 964 thread_data->data = memory; in ThreadReadTest() 975 if (mprotect(&memory[pagesize], pagesize, PROT_READ | PROT_WRITE) != 0) { in ThreadReadTest() [all …]
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 66 "base/memory/ref_counted.cc", 67 "base/memory/ref_counted_memory.cc", 68 "base/memory/singleton.cc", 69 "base/memory/weak_ptr.cc",
|
/system/core/metricsd/ |
D | README.md | 66 memory (via `base::StatisticsRecorder`) and increments the crash counters when a 103 on the collected data. Note, however, that the memory allocated in metricsd 115 memory usage, power) as well as aggregated event counts.
|
/system/connectivity/shill/doc/ |
D | profile-api.txt | 5 When an object is created in memory we check if state from any previous 6 instance was recorded and, if so, update the in-memory data structure 67 memory or visible, the returned result will be
|
D | manager-api.txt | 150 Update the configuration of a service in memory 152 in memory it is temporarily created to carry out 160 If no service is located in memory a new one is 164 memory service regardless of errors. But if an 248 with it. If no service exists in memory that 265 If no service is located in memory a new one is
|
/system/bt/doc/ |
D | style_guide.md | 24 memory layout, sizes, byte order, etc. As a result, some operations are 114 ### Contiguous memory structs 116 to be allocated in contiguous memory with its containing struct. 170 lightweight memory bounds checks that can help track down memory errors.
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_int.h | 252 extern void bta_hf_client_send_at_atd(char *number, UINT32 memory);
|
D | bta_hf_client_at.c | 1733 void bta_hf_client_send_at_atd(char *number, UINT32 memory) in bta_hf_client_send_at_atd() argument 1743 at_len = snprintf(buf, sizeof(buf), "ATD>%u;\r", memory); in bta_hf_client_send_at_atd()
|
/system/update_engine/ |
D | update_metadata.proto | 63 // so it may be desirable to read all src_extents data into memory before 68 // - BSDIFF: Read src_length bytes from src_extents into memory, perform
|
/system/tpm/trunks/generator/ |
D | raw_structures.txt | 3316 command is expected to cause modification of the NV memory 5232 out of memory for object contexts 5257 out of memory for session contexts 5263 out of shared object/session memory or need 6392 held in TPM NV memory 6494 PT_FIXED + 24 a TPMA_MEMORY indicating the memory management 6665 loaded. Any command that changes the RAM memory 6704 created. Any command that changes the RAM memory 6719 command that changes the memory allocation can make 6731 TPM NV memory [all …]
|