Searched refs:enable (Results 1 – 7 of 7) sorted by relevance
107 private void toggleIorapStatus(boolean enable) { in toggleIorapStatus() argument108 Log.v(TAG, "toggleIorapStatus " + enable); in toggleIorapStatus()111 if (sIorapStatus == IorapStatus.ENABLED && enable) { in toggleIorapStatus()113 } else if (sIorapStatus == IorapStatus.DISABLED && !enable) { in toggleIorapStatus()121 executeShellCommand(String.format("setprop iorapd.perfetto.enable %b", enable)); in toggleIorapStatus()122 executeShellCommand(String.format("setprop iorapd.readahead.enable %b", enable)); in toggleIorapStatus()127 if (enable) { in toggleIorapStatus()
183 public void enableBmgr(boolean enable) { in enableBmgr() argument184 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr()185 if (enable) { in enableBmgr()
54 public void setMessageCompression(boolean enable) {} in createNewCaptureChunkStreamObserverOutputStream_returnsNonNullInstance()
347 public void setMessageCompression(boolean enable) {} in createStreamObserverThatWritesTo() argument
275 public boolean enableBackup(boolean enable) throws Exception { in enableBackup() argument285 executeShellCommand("bmgr enable " + enable); in enableBackup()292 public boolean enableBackupForUser(boolean enable, int userId) throws IOException { in enableBackupForUser() argument294 executeShellCommand(String.format("bmgr --user %d enable %b", userId, enable)); in enableBackupForUser()
195 getBluetoothAdapter().enable(); in ensureBluetoothEnabled()
473 boolean success = (verifyOn ? bluetoothAdapter.disable() : bluetoothAdapter.enable()); in toggleBTOnOffAndVerify()488 bluetoothAdapter.enable(); in toggleBTOnOffAndVerify()