Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 19 of 19) sorted by relevance

/system/libvintf/test/
Dmain.cpp52 bool add(HalManifest &vm, ManifestHal &&hal) { in add()
53 return vm.add(std::move(hal)); in add()
75 const ManifestHal *getAnyHal(HalManifest &vm, const std::string &name) { in getAnyHal()
76 return vm.getAnyHal(name); in getAnyHal()
81 ConstMultiMapValueIterable<std::string, ManifestHal> getHals(HalManifest &vm) { in getHals()
82 return vm.getHals(); in getHals()
98 HalManifest vm; in testDeviceManifest() local
99 vm.mType = SchemaType::DEVICE; in testDeviceManifest()
100 vm.device.mSepolicyVersion = {25, 0}; in testDeviceManifest()
101 vm.add(ManifestHal{ in testDeviceManifest()
[all …]
/system/vold/
DCommandListener.cpp153 VolumeManager *vm = VolumeManager::Instance(); in runCommand() local
154 std::lock_guard<std::mutex> lock(vm->getLock()); in runCommand()
160 return sendGenericOkFail(cli, vm->reset()); in runCommand()
163 return sendGenericOkFail(cli, vm->shutdown()); in runCommand()
166 return sendGenericOkFail(cli, vm->setDebug(true)); in runCommand()
171 auto disk = vm->findDisk(id); in runCommand()
193 return sendGenericOkFail(cli, vm->mkdirs(argv[2])); in runCommand()
197 return sendGenericOkFail(cli, vm->onUserAdded(atoi(argv[2]), atoi(argv[3]))); in runCommand()
201 return sendGenericOkFail(cli, vm->onUserRemoved(atoi(argv[2]))); in runCommand()
205 return sendGenericOkFail(cli, vm->onUserStarted(atoi(argv[2]))); in runCommand()
[all …]
Dmain.cpp42 static int process_config(VolumeManager *vm, bool* has_adoptable);
63 VolumeManager *vm; in main() local
85 if (!(vm = VolumeManager::Instance())) { in main()
96 vm->setDebug(true); in main()
101 vm->setBroadcaster((SocketListener *) cl); in main()
104 if (vm->start()) { in main()
111 if (process_config(vm, &has_adoptable)) { in main()
217 static int process_config(VolumeManager *vm, bool* has_adoptable) { in process_config() argument
246 vm->addDiskSource(std::shared_ptr<VolumeManager::DiskSource>( in process_config()
DNetlinkHandler.cpp46 VolumeManager *vm = VolumeManager::Instance(); in onEvent() local
55 vm->handleBlockEvent(evt); in onEvent()
DTrimTask.cpp53 VolumeManager* vm = VolumeManager::Instance(); in TrimTask() local
55 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in TrimTask()
57 auto vol = vm->findVolume(id); in TrimTask()
DVolumeManager.cpp1921 VolumeManager *vm = VolumeManager::Instance(); in vold_unmountAll() local
1922 return vm->unmountAll(); in vold_unmountAll()
/system/libvintf/
Dmain.cpp28 const HalManifest *vm = VintfObject::GetDeviceHalManifest(); in main() local
29 if (vm != nullptr) in main()
30 std::cout << gHalManifestConverter(*vm); in main()
57 std::cout << "Device HAL Manifest? " << (vm != nullptr) << std::endl in main()
62 if (vm && fcm) { in main()
63 bool compatible = vm->checkCompatibility(*fcm, &error); in main()
Dparse_string.cpp361 std::string dump(const HalManifest &vm) { in dump() argument
364 for (const auto &hal : vm.getHals()) { in dump()
/system/hwservicemanager/
DVintf.cpp16 const vintf::HalManifest *vm) { in getTransportFromManifest() argument
17 if (vm == nullptr) { in getTransportFromManifest()
20 return vm->getTransport(fqName.package(), in getTransportFromManifest()
/system/sepolicy/private/
Dgenfs_contexts31 genfscon proc /sys/vm/mmap_min_addr u:object_r:proc_security:s0
32 genfscon proc /sys/vm/mmap_rnd_bits u:object_r:proc_security:s0
33 genfscon proc /sys/vm/mmap_rnd_compat_bits u:object_r:proc_security:s0
34 genfscon proc /sys/vm/drop_caches u:object_r:proc_drop_caches:s0
35 genfscon proc /sys/vm/overcommit_memory u:object_r:proc_overcommit_memory:s0
/system/sepolicy/public/
Dinstall_recovery.te26 # Write to /proc/sys/vm/drop_caches
Drecovery.te51 # Write to /proc/sys/vm/drop_caches
Dvold.te148 # Write to /proc/sys/vm/drop_caches
Dinit.te389 # Allow init to write to /proc/sys/vm/overcommit_memory
Ddomain.te171 # jemalloc needs to read /proc/sys/vm/overcommit_memory
/system/libvintf/include/vintf/
DHalManifest.h131 friend std::string dump(const HalManifest &vm);
Dparse_string.h83 std::string dump(const HalManifest &vm);
/system/core/rootdir/
Dinit.rc122 write /proc/sys/vm/mmap_min_addr 32768
535 write /proc/sys/vm/overcommit_memory 1
536 write /proc/sys/vm/min_free_order_shift 4
543 write /proc/sys/vm/dirty_expire_centisecs 200
544 write /proc/sys/vm/dirty_background_ratio 5
665 write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}
/system/extras/simpleperf/
DREADME.md703 $adb shell setprop dalvik.vm.dex2oat-flags -g
721 $adb shell setprop dalvik.vm.dex2oat-flags --include-debug-symbols