Home
last modified time | relevance | path

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

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java57 enable(); in tearDown()
70 enable(); in testEnableDisable()
84 enable(); in testListenUsingRfcommWithServiceRecord()
169 private void enable() { in enable() method in BluetoothTest
178 assertTrue(mAdapter.enable()); in enable()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java128 enable(adapter); in test_enableDisable()
138 enable(adapter); in test_getAddress()
149 enable(adapter); in test_getName()
161 enable(adapter); in test_getBondedDevices()
213 enable(adapter); in test_listenUsingRfcommWithServiceRecord()
258 private void enable(BluetoothAdapter adapter) { in enable() method in BasicAdapterTest
267 adapter.enable(); in enable()
/cts/libs/deviceutil/src/android/cts/util/
DLocationUtils.java28 boolean enable) { in registerMockLocationProvider() argument
33 command.append(enable ? "allow" : "deny"); in registerMockLocationProvider()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java45 Instrumentation instrumentation, boolean enable) { in setAppOps() argument
51 cmd.append(enable ? " allow" : " deny"); in setAppOps()
61 String expectedResult = enable ? "allow" : "deny"; in setAppOps()
DPresetReverbTest.java293 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
296 mEnable = enable; in ListenerThread()
310 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
311 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DBassBoostTest.java332 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
335 mEnable = enable; in ListenerThread()
349 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
350 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DEqualizerTest.java353 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
356 mEnable = enable; in ListenerThread()
369 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
370 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DEnvReverbTest.java452 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
455 mEnable = enable; in ListenerThread()
469 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
470 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DVirtualizerTest.java590 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
593 mEnable = enable; in ListenerThread()
607 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
608 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DAudioEffectTest.java885 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
888 mEnable = enable; in ListenerThread()
901 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
902 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
/cts/tests/tests/view/src/android/view/cts/
DOrientationListenerTest.java47 listener.enable(); in testRegisterationOfOrientationListener()
79 listener.enable(); in testOnOrientationChanged()
DOrientationEventListenerTest.java38 listener.enable(); in testEnableAndDisable()
/cts/tests/tests/location/
DREADME.txt2 Note you must enable "Allow mock locations" at Settings > Developer options.
/cts/tests/tests/location2/
DREADME.txt2 "android.permission.ACCESS_FINE_LOCATION". Note you must enable "Allow mock locations"
/cts/tools/signature-tools/
DTODO.txt5 Add "plugin system" to enable different loader / differ / report engines. This can be simple as reg…
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java102 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() argument
105 assertTrue(mWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
DScanResultTest.java115 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() argument
118 assertTrue(mWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
DWifiManagerTest.java161 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() argument
163 assertTrue(mWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
164 if (mWifiManager.isWifiEnabled() != enable) { in setWifiEnabled()
167 int expectedState = (enable ? STATE_WIFI_ENABLED : STATE_WIFI_DISABLED); in setWifiEnabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java422 private void enablePassFailButtons(boolean enable) { in enablePassFailButtons() argument
423 mPassButton.setEnabled(enable); in enablePassFailButtons()
424 mFailButton.setEnabled(enable); in enablePassFailButtons()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java90 private void setEnablePassButton(boolean enable) { in setEnablePassButton() argument
91 getPassButton().setEnabled(enable); in setEnablePassButton()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java161 private boolean enableBackup(boolean enable) throws Exception { in enableBackup() argument
173 exec("bmgr enable " + enable); in enableBackup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackActivity.java159 private void enableLayout(boolean enable) { in enableLayout() argument
162 view.setEnabled(enable); in enableLayout()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java370 private void enablePassFailButtons(boolean enable) { in enablePassFailButtons() argument
371 mPassButton.setEnabled(enable); in enablePassFailButtons()
372 mFailButton.setEnabled(enable); in enablePassFailButtons()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java323 private void setAsMoskLocationProvider(boolean enable) { in setAsMoskLocationProvider() argument
328 command.append(enable ? "allow" : "deny"); in setAsMoskLocationProvider()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java176 private void setNotification(boolean enable) { in setNotification() argument
179 mBluetoothGatt.setCharacteristicNotification(characteristic, enable); in setNotification()

12