Home
last modified time | relevance | path

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

123

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBluetoothRestrictionTest.java53 enable(); in tearDown()
68 assertFalse(mBluetoothAdapter.enable()); in testEnableBluetoothFailsWhenDisallowed()
77 enable(); in testBluetoothGetsDisabledAfterRestrictionSet()
102 enable(); in testEnableBluetoothSucceedsAfterRestrictionRemoved()
206 private void enable() { in enable() method in BluetoothRestrictionTest
219 mBluetoothAdapter.enable(); in enable()
/cts/tests/tests/graphics/assets/
Dpassthrough_fsh.glsl2 #extension GL_ARB_separate_shader_objects : enable
3 #extension GL_ARB_shading_language_420pack : enable
Dpassthrough_vsh.glsl2 #extension GL_ARB_separate_shader_objects : enable
3 #extension GL_ARB_shading_language_420pack : enable
/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()
DNotificationListenerTest.java165 private void toggleNotificationListener(boolean enable) throws Exception { in toggleNotificationListener() argument
169 + (enable ? "allow_listener " : "disallow_listener ") in toggleNotificationListener()
171 Log.i(TAG, "Toggled notification listener state" + testListener + " to state " + enable); in toggleNotificationListener()
172 if (enable) { in toggleNotificationListener()
/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp61 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() argument
64 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback()
71 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() argument
73 enable ? JVMTI_ENABLE : JVMTI_DISABLE, in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
Dredefine.cpp133 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() argument
143 enable == JNI_TRUE ? JVMTI_ENABLE : JVMTI_DISABLE, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
157 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations() argument
158 data.SetPop(enable == JNI_TRUE ? true : false); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations()
/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/common/device-side/util/src/com/android/compatibility/common/util/
DLocationUtils.java28 boolean enable) { in registerMockLocationProvider() argument
33 command.append(enable ? "allow" : "deny"); in registerMockLocationProvider()
/cts/tests/tests/graphics/assets/shaders/
Dtri.vert19 #extension GL_ARB_separate_shader_objects : enable
20 #extension GL_ARB_shading_language_420pack : enable
Dtri.frag19 #extension GL_ARB_separate_shader_objects : enable
20 #extension GL_ARB_shading_language_420pack : enable
/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/tests/tests/view/src/android/view/cts/
DOrientationListenerTest.java55 listener.enable(); in testRegisterationOfOrientationListener()
89 listener.enable(); in testOnOrientationChanged()
/cts/tests/tests/media/src/android/media/cts/
DPresetReverbTest.java295 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
298 mEnable = enable; in ListenerThread()
312 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
313 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DUtils.java61 Instrumentation instrumentation, boolean enable) { in setAppOps() argument
67 cmd.append(enable ? " allow" : " deny"); in setAppOps()
77 String expectedResult = enable ? "allow" : "deny"; in setAppOps()
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.java454 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
457 mEnable = enable; in ListenerThread()
471 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
472 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/
DJvmtiTrackingTest.java171 private static native void setupObjectAllocCallback(boolean enable); in setupObjectAllocCallback() argument
173 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking() argument
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java78 static boolean setBackupEnabled(boolean enable, UiAutomation uiAutomation) throws Exception { in setBackupEnabled() argument
90 executeShellCommand("bmgr enable " + enable, uiAutomation); in setBackupEnabled()
/cts/hostsidetests/jvmti/attaching/app/jni/
Dcts_agent.cpp53 jboolean enable,
56 if (enable == JNI_FALSE) {
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java104 private void setWifiEnabled(boolean enable) throws Exception { in setWifiEnabled() argument
107 assertTrue(mWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
/cts/tests/tests/bionic/
DAndroid.mk12 LOCAL_LDFLAGS := -Wl,--rpath,\$${ORIGIN}/lib/bionic-loader-test-libs -Wl,--enable-new-dtags -Wl,--e…
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java125 private boolean enableBackup(boolean enable) throws DeviceNotAvailableException { in enableBackup() argument
136 mDevice.executeShellCommand("bmgr enable " + enable); in enableBackup()

123