Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DIorapCompilationRule.java107 private void toggleIorapStatus(boolean enable) { in toggleIorapStatus() argument
108 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()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java183 public void enableBmgr(boolean enable) { in enableBmgr() argument
184 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr()
185 if (enable) { in enableBmgr()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DStreamObserverOutputStreamFactoryTests.java54 public void setMessageCompression(boolean enable) {} in createNewCaptureChunkStreamObserverOutputStream_returnsNonNullInstance()
DCaptureChunkStreamObserverOutputStreamTests.java347 public void setMessageCompression(boolean enable) {} in createStreamObserverThatWritesTo() argument
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBackupUtils.java275 public boolean enableBackup(boolean enable) throws Exception { in enableBackup() argument
285 executeShellCommand("bmgr enable " + enable); in enableBackup()
292 public boolean enableBackupForUser(boolean enable, int userId) throws IOException { in enableBackupForUser() argument
294 executeShellCommand(String.format("bmgr --user %d enable %b", userId, enable)); in enableBackupForUser()
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java195 getBluetoothAdapter().enable(); in ensureBluetoothEnabled()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java473 boolean success = (verifyOn ? bluetoothAdapter.disable() : bluetoothAdapter.enable()); in toggleBTOnOffAndVerify()
488 bluetoothAdapter.enable(); in toggleBTOnOffAndVerify()