/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
FakeTunerService.java | 24 private final BaseLeakChecker<Tunable> mBaseLeakChecker; 27 mBaseLeakChecker = new BaseLeakChecker<>(test, "tunable"); 31 public void addTunable(Tunable tunable, String... keys) { 33 tunable.onTuningChanged(key, null); 35 mBaseLeakChecker.addCallback(tunable); 39 public void removeTunable(Tunable tunable) { 40 mBaseLeakChecker.removeCallback(tunable);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerServiceImpl.java | 67 private final HashMap<String, Set<Tunable>> mTunableLookup = new HashMap<>(); 69 private final HashSet<Tunable> mTunables = LeakDetector.ENABLED ? new HashSet<>() : null; 150 public void addTunable(Tunable tunable, String... keys) { 152 addTunable(tunable, key); 156 private void addTunable(Tunable tunable, String key) { 158 mTunableLookup.put(key, new ArraySet<Tunable>()); 160 mTunableLookup.get(key).add(tunable); 162 mTunables.add(tunable); [all...] |
TunerService.java | 49 public abstract void addTunable(Tunable tunable, String... keys); 50 public abstract void removeTunable(Tunable tunable); 52 public interface Tunable {
|
NavBarTuner.java | 60 import com.android.systemui.tuner.TunerService.Tunable; 83 private final ArrayList<Tunable> mTunables = new ArrayList<>(); 112 private void addTunable(Tunable tunable, String... keys) { 113 mTunables.add(tunable); 114 Dependency.get(TunerService.class).addTunable(tunable, keys);
|
/external/devlib/devlib/module/ |
cpufreq.py | 120 for tunable in self.list_governor_tunables(cpu): 121 if tunable not in WRITE_ONLY_TUNABLES.get(governor, []): 123 path = '/sys/devices/system/cpu/{}/cpufreq/{}/{}'.format(cpu, governor, tunable) 124 tunables[tunable] = self.target.read_value(path) 126 path = '/sys/devices/system/cpu/cpufreq/{}/{}'.format(governor, tunable) 127 tunables[tunable] = self.target.read_value(path) 140 The rest should be keyword parameters mapping tunable name onto the value to 144 a tunable specified is not valid for the governor, or if could not set 145 tunable. 153 for tunable, value in kwargs.iteritems() [all...] |
/kernel/tests/net/test/ |
resilient_rs_test.py | 129 for tunable, value in PROC_SETTINGS: 130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), value)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
ExtensionControllerImplTest.java | 41 import com.android.systemui.tuner.TunerService.Tunable; 174 ArgumentCaptor<Tunable> tunable = ArgumentCaptor.forClass(Tunable.class); local 175 verify(mTunerService).addTunable(tunable.capture(), any()); 176 tunable.getValue().onTuningChanged(null, null);
|
/external/selinux/checkpolicy/ |
policy_scan.l | 99 TUNABLE | 100 tunable { return(TUNABLE); }
|
/external/selinux/libsepol/cil/src/ |
cil_tree.c | 1020 struct cil_tunable *tunable = node->data; local 1021 cil_log(CIL_INFO, "TUNABLE: %s, value: %d\n", tunable->datum.name, tunable->value); [all...] |
cil_build_ast.h | 126 void cil_destroy_tunable(struct cil_tunable *tunable);
|
cil_build_ast.c | 2449 struct cil_tunable *tunable = NULL; local [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
malloc.go | 613 // Size of the memory block used for combining (maxTinySize) is tunable.
|
/prebuilts/go/linux-x86/src/runtime/ |
malloc.go | 613 // Size of the memory block used for combining (maxTinySize) is tunable.
|
/prebuilts/go/darwin-x86/src/net/http/ |
transport.go | 199 // TODO: tunable on max per-host TCP dials in flight (Issue 13957) [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
transport.go | 199 // TODO: tunable on max per-host TCP dials in flight (Issue 13957) [all...] |