/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BluetoothRestrictionTest.java | 53 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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BluetoothTest.java | 56 enable(); in tearDown() 69 enable(); in testEnableDisable() 83 enable(); in testListenUsingRfcommWithServiceRecord() 157 private void enable() { in enable() method in BluetoothTest 169 assertThat(mAdapter.enable()).isTrue(); in enable()
|
D | NotificationListenerTest.java | 176 private void toggleNotificationListener(boolean enable) throws Exception { in toggleNotificationListener() argument 180 + (enable ? "allow_listener " : "disallow_listener ") in toggleNotificationListener() 182 Log.i(TAG, "Toggled notification listener state" + testListener + " to state " + enable); in toggleNotificationListener() 183 if (enable) { in toggleNotificationListener()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | DataProfileTest.java | 54 .enable(IS_ENABLED) in testConstructorAndGetters() 91 .enable(IS_ENABLED) in testEquals() 109 .enable(IS_ENABLED) in testEquals() 132 .enable(IS_ENABLED) in testNotEquals() 150 .enable(false) in testNotEquals() 175 .enable(IS_ENABLED) in testParcel()
|
/cts/tests/tests/graphics/assets/shaders/ |
D | passthrough_fsh.glsl | 2 #extension GL_ARB_separate_shader_objects : enable 3 #extension GL_ARB_shading_language_420pack : enable
|
D | passthrough_vsh.glsl | 2 #extension GL_ARB_separate_shader_objects : enable 3 #extension GL_ARB_shading_language_420pack : enable
|
D | tri.vert | 19 #extension GL_ARB_separate_shader_objects : enable 20 #extension GL_ARB_shading_language_420pack : enable
|
D | tri.frag | 19 #extension GL_ARB_separate_shader_objects : enable 20 #extension GL_ARB_shading_language_420pack : enable
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 124 void enableTestUI(boolean enable) { in enableTestUI() argument 128 void enableLayout(int layoutId, boolean enable) { in enableLayout() argument 131 group.getChildAt(i).setEnabled(enable); in enableLayout() 172 public void enableUILayout(LinearLayout layout, boolean enable) { in enableUILayout() argument 175 view.setEnabled(enable); in enableUILayout()
|
D | USBAudioPeripheralPlayActivity.java | 60 void enableTestUI(boolean enable) { in enableTestUI() argument 61 mPlayBtn.setEnabled(enable); in enableTestUI()
|
D | MidiTestActivityBase.java | 261 void enableTestButtons(boolean enable) { in enableTestButtons() argument 264 if (enable) { in enableTestButtons() 269 mUSBTestBtn.setEnabled(enable); in enableTestButtons() 270 mVirtTestBtn.setEnabled(enable); in enableTestButtons() 271 mBTTestBtn.setEnabled(enable); in enableTestButtons()
|
D | USBAudioPeripheralRecordActivity.java | 151 void enableTestUI(boolean enable) { in enableTestUI() argument 152 mRecordBtn.setEnabled(enable); in enableTestUI() 153 mRecordLoopbackBtn.setEnabled(enable); in enableTestUI()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 62 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() argument 65 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 72 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() argument 74 enable ? JVMTI_ENABLE : JVMTI_DISABLE, in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
|
D | redefine.cpp | 134 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() argument 144 enable == JNI_TRUE ? JVMTI_ENABLE : JVMTI_DISABLE, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 158 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations() argument 159 data.SetPop(enable == JNI_TRUE ? true : false); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/ |
D | BytesTransferredTest.java | 155 private void doTestDataUsageBytesTransferEnabled(boolean enable) throws Throwable { in doTestDataUsageBytesTransferEnabled() argument 157 setNetworkStatsCombinedSubTypeEnabled(enable); in doTestDataUsageBytesTransferEnabled() 169 && ((enable && ratTypeEqualsToUnknown) in doTestDataUsageBytesTransferEnabled() 170 || (!enable && ratTypeGreaterThanUnknown))) { in doTestDataUsageBytesTransferEnabled() 255 private void setNetworkStatsCombinedSubTypeEnabled(boolean enable) throws Exception { in setNetworkStatsCombinedSubTypeEnabled() argument 257 + (enable ? "1" : "0")); in setNetworkStatsCombinedSubTypeEnabled()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/instantapps/ |
D | BaseTestActivity.java | 98 private void enablePassFailButtons(boolean enable) { in enablePassFailButtons() argument 99 mPassButton.setEnabled(enable); in enablePassFailButtons() 100 mFailButton.setEnabled(enable); in enablePassFailButtons()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | ComponentReference.java | 74 public ComponentReference enable(UserReference user) { in enable() method in ComponentReference 89 public ComponentReference enable() { in enable() method in ComponentReference 90 return enable(mTestApis.users().instrumented()); in enable()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | LocationUtils.java | 37 boolean enable) throws IOException { in registerMockLocationProvider() argument 41 + (enable ? "allow" : "deny")); in registerMockLocationProvider()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresetReverbTest.java | 296 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 299 mEnable = enable; in ListenerThread() 313 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 314 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | BassBoostTest.java | 333 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 336 mEnable = enable; in ListenerThread() 350 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 351 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | EqualizerTest.java | 354 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 357 mEnable = enable; in ListenerThread() 370 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 371 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | Utils.java | 83 Instrumentation instrumentation, boolean enable) { in setAppOps() argument 89 cmd.append(enable ? " allow" : " deny"); in setAppOps() 99 String expectedResult = enable ? "allow" : "deny"; in setAppOps()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationListenerTest.java | 56 listener.enable(); in testRegisterationOfOrientationListener() 90 listener.enable(); in testOnOrientationChanged()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 416 private void ensurePointerCaptureState(boolean enable) { in ensurePointerCaptureState() argument 419 if (enable == hasCapture) { in ensurePointerCaptureState() 423 mActivityRule.getActivity().runOnUiThread(enable ? mDecorView::requestPointerCapture in ensurePointerCaptureState() 429 + (enable ? "enabling" : "disabling") in ensurePointerCaptureState() 438 assertEquals("The view's Pointer Capture state did not match.", enable, in ensurePointerCaptureState()
|
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 169 private static native void setupObjectAllocCallback(boolean enable); in setupObjectAllocCallback() argument 171 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking() argument
|