/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationModeTestActivity.java | 240 boolean enabled = Secure.isLocationProviderEnabled(cr, provider); in testSecureProviderIsEnabled() 241 mStatus[i] = enabled ? PASS : FAIL; in testSecureProviderIsEnabled() 247 boolean enabled = Secure.isLocationProviderEnabled(cr, provider); in testSecureProviderIsDisabled() 248 mStatus[i] = !enabled ? PASS : FAIL; in testSecureProviderIsDisabled() 254 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsEnabled() 255 mStatus[i] = enabled ? PASS : FAIL; in testManagerProviderIsEnabled() 261 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsDisabled() 262 mStatus[i] = !enabled ? PASS : FAIL; in testManagerProviderIsDisabled()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 64 protected void setButtonEnabled(View item, boolean enabled) { in setButtonEnabled() argument 66 button.setFocusable(enabled); in setButtonEnabled() 67 button.setClickable(enabled); in setButtonEnabled() 68 button.setEnabled(enabled); in setButtonEnabled()
|
D | MockTvInputService.java | 155 static void expectSetCaptionEnabled(boolean enabled, View postTarget, in expectSetCaptionEnabled() argument 159 sSetCaptionEnabledCallback.getBundle().putBoolean(CAPTION_ENABLED, enabled); in expectSetCaptionEnabled() 379 public void onSetCaptionEnabled(boolean enabled) { in onSetCaptionEnabled() argument 383 if (bundle.getBoolean(CAPTION_ENABLED) == enabled) { in onSetCaptionEnabled()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 145 mComponentInfo.enabled = false; in testIsEnabled() 148 mComponentInfo.enabled = true; in testIsEnabled() 149 mComponentInfo.applicationInfo.enabled = false; in testIsEnabled() 223 assertEquals(mComponentInfo.enabled, ci.enabled); in testWriteToParcel()
|
D | ApplicationInfoTest.java | 69 assertEquals(mApplicationInfo.enabled, info.enabled); in testWriteToParcel()
|
D | PackageInfoTest.java | 100 assertEquals(expected.enabled, actual.enabled); in checkAppInfo()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | StubTvInputService.java | 57 public void onSetCaptionEnabled(boolean enabled) { in onSetCaptionEnabled() argument
|
D | HardwareSessionTest.java | 132 public void onSetCaptionEnabled(boolean enabled) { in onSetCaptionEnabled() argument
|
D | StubTunerTvInputService.java | 171 public void onSetCaptionEnabled(boolean enabled) { in onSetCaptionEnabled() argument
|
/cts/tests/tests/netlegacy22/api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 215 private void setWifiState(final boolean enabled) { in setWifiState() argument 216 if (enabled != isWifiConnected()) { in setWifiState() 217 final NetworkInfo.State desiredState = enabled ? in setWifiState() 222 mWifiManager.setWifiEnabled(enabled); in setWifiState()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 519 boolean enabled = m.getData().getBoolean(ENABLED_KEY); in handleMessage() 523 String.valueOf(enabled), String.valueOf(mEnabledShouldBe) ), in handleMessage() 524 mEnabledShouldBe, enabled); in handleMessage() 532 public void expectEnabled(boolean enabled) { in expectEnabled() argument 533 mEnabledShouldBe = enabled; in expectEnabled() 574 public void setEnabled(boolean enabled) { in setEnabled() argument 575 mEnabled = enabled; in setEnabled()
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | CaptioningManagerTest.java | 143 public void onEnabledChanged(boolean enabled) { in onEnabledChanged() argument 144 super.onEnabledChanged(enabled); in onEnabledChanged()
|
D | AccessibilityManagerTest.java | 60 public void onAccessibilityStateChanged(boolean enabled) { in testAddAndRemoveAccessibilityStateChangeListener()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/ |
D | CameraFlashlightActivity.java | 160 public void onTorchModeChanged(String cameraId, boolean enabled) { 166 if (mTestState == TestState.WAITING_ON_CALLBACK_ON && enabled) { 168 } else if (mTestState == TestState.WAITING_ON_CALLBACK_OFF && !enabled) {
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 340 boolean enabled = wifiManager.isWifiEnabled(); in getWifiMacAddress() 343 if (!enabled) { in getWifiMacAddress() 351 if (!enabled) { in getWifiMacAddress()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresetReverbTest.java | 342 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper() 345 mIsEnabled = enabled; in createListenerLooper()
|
D | BassBoostTest.java | 381 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper() 384 mIsEnabled = enabled; in createListenerLooper()
|
D | EqualizerTest.java | 401 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper() 404 mIsEnabled = enabled; in createListenerLooper()
|
D | EnvReverbTest.java | 501 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper() 504 mIsEnabled = enabled; in createListenerLooper()
|
D | VirtualizerTest.java | 638 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper() 641 mIsEnabled = enabled; in createListenerLooper()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 291 def setUsbEnabled(self, enabled, verbose = True): argument 292 if enabled: 311 if enabled: 321 if enabled and self._tcp_connect_port > 0:
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | FlashlightTest.java | 370 public void onTorchModeChanged(String cameraId, boolean enabled) { in onTorchModeChanged() argument 373 if (enabled) { in onTorchModeChanged()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 195 public boolean reportFullscreenMode(boolean enabled) { in reportFullscreenMode() argument
|
/cts/tests/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 467 boolean enabled = mWifiManager.isWifiEnabled(); in testWifiFeature() 476 if (!enabled) { in testWifiFeature()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 503 private void updateNextButton(final boolean enabled) { in updateNextButton() argument 507 mNextButton.setEnabled(enabled); in updateNextButton()
|