/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 | 53 // Things that use the tunable infrastructure but are now real user settings and 64 private final HashMap<String, Set<Tunable>> mTunableLookup = new HashMap<>(); 66 private final HashSet<Tunable> mTunables = LeakDetector.ENABLED ? new HashSet<>() : null; 155 public void addTunable(Tunable tunable, String... keys) { 157 addTunable(tunable, key); 161 private void addTunable(Tunable tunable, String key) { 163 mTunableLookup.put(key, new ArraySet<Tunable>()); 165 mTunableLookup.get(key).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 | 49 import com.android.systemui.tuner.TunerService.Tunable; 72 private final ArrayList<Tunable> mTunables = new ArrayList<>(); 101 private void addTunable(Tunable tunable, String... keys) { 102 mTunables.add(tunable); 103 Dependency.get(TunerService.class).addTunable(tunable, keys);
|
/external/devlib/devlib/module/ |
cpufreq.py | 121 for tunable in self.list_governor_tunables(cpu): 122 if tunable not in WRITE_ONLY_TUNABLES.get(governor, []): 124 path = '/sys/devices/system/cpu/{}/cpufreq/{}/{}'.format(cpu, governor, tunable) 125 tunables[tunable] = self.target.read_value(path) 127 path = '/sys/devices/system/cpu/cpufreq/{}/{}'.format(governor, tunable) 128 tunables[tunable] = self.target.read_value(path) 141 The rest should be keyword parameters mapping tunable name onto the value to 145 a tunable specified is not valid for the governor, or if could not set 146 tunable. 154 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 | 100 TUNABLE | 101 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 | 2483 struct cil_tunable *tunable = NULL; local [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
malloc.go | 643 // Size of the memory block used for combining (maxTinySize) is tunable. [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
malloc.go | 643 // Size of the memory block used for combining (maxTinySize) is tunable. [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
transport.go | 214 // TODO: tunable on max per-host TCP dials in flight (Issue 13957) [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
transport.go | 214 // TODO: tunable on max per-host TCP dials in flight (Issue 13957) [all...] |