Home
last modified time | relevance | path

Searched refs:isEnabled (Results 1 – 25 of 189) sorted by relevance

12345678

/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItemViewHolder.java26 private boolean isEnabled; field in ItemViewHolder
35 return item instanceof Dividable ? ((Dividable) item).isDividerAllowedAbove() : isEnabled; in isDividerAllowedAbove()
40 return item instanceof Dividable ? ((Dividable) item).isDividerAllowedBelow() : isEnabled; in isDividerAllowedBelow()
43 public void setEnabled(boolean isEnabled) { in setEnabled() argument
44 this.isEnabled = isEnabled; in setEnabled()
45 itemView.setClickable(isEnabled); in setEnabled()
46 itemView.setEnabled(isEnabled); in setEnabled()
47 itemView.setFocusable(isEnabled); in setEnabled()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCaptioningManager.java14 private boolean isEnabled = false; field in ShadowCaptioningManager
35 protected boolean isEnabled() { in isEnabled() method in ShadowCaptioningManager
36 return isEnabled; in isEnabled()
40 public void setEnabled(boolean isEnabled) { in setEnabled() argument
41 this.isEnabled = isEnabled; in setEnabled()
DShadowEuiccManager.java16 protected boolean isEnabled() { in isEnabled() method in ShadowEuiccManager
21 public void setIsEnabled(boolean isEnabled) { in setIsEnabled() argument
22 enabled = isEnabled; in setIsEnabled()
DShadowLocationManager.java76 Boolean isEnabled = map.getKey(); in isProviderEnabled() local
77 return isEnabled == null ? true : isEnabled; in isProviderEnabled()
100 public void setProviderEnabled(String provider, boolean isEnabled) { in setProviderEnabled() argument
101 setProviderEnabled(provider, isEnabled, null); in setProviderEnabled()
104 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { in setProviderEnabled() argument
109 providerEntry.enabled = isEnabled; in setProviderEnabled()
114 if (isEnabled) { in setProviderEnabled()
122 intent.putExtra(LocationManager.KEY_PROVIDER_ENABLED, isEnabled); in setProviderEnabled()
135 if (provider.equals(bestEnabledProvider) && !isEnabled) { in setProviderEnabled()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DEventRequestManagerImpl.java96 boolean isEnabled = false; field in EventRequestManagerImpl.EventRequestImpl
125 (isEnabled()? " (enabled)" : " (disabled)"); in state()
146 public boolean isEnabled() { in isEnabled() method in EventRequestManagerImpl.EventRequestImpl
147 return isEnabled; in isEnabled()
162 if (val != isEnabled) { in setEnabled()
163 if (isEnabled) { in setEnabled()
173 if (isEnabled() || deleted) { in addCountFilter()
183 if (isEnabled() || deleted) { in setSuspendPolicy()
206 isEnabled = true; in set()
215 isEnabled = false; in clear()
[all …]
/external/perfetto/ui/src/frontend/
Drecord_page.ts179 isEnabled: (cfg) => cfg.batteryDrain
194 isEnabled: (cfg) => cfg.boardSensors
208 isEnabled: (cfg) => cfg.cpuCoarse
223 isEnabled: (cfg) => cfg.cpuSched
230 isEnabled: (cfg) => cfg.cpuFreq
239 isEnabled: (cfg) => cfg.cpuLatency
266 isEnabled: (cfg) => cfg.meminfo
290 isEnabled: (cfg) => cfg.memHiFreq
299 isEnabled: (cfg) => cfg.memLmk
309 isEnabled: (cfg) => cfg.procStats
[all …]
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginFinderTest.java49 when(switcher.isEnabled("foo.Foo")).thenReturn(true); in single_implementation()
60 when(switcher.isEnabled("foo.Foo")).thenReturn(false); in single_implementation_disabled()
72 when(switcher.isEnabled("Bar")).thenReturn(true); in multiple_implementations_only_one_enabled()
84 when(switcher.isEnabled(anyString())).thenReturn(true); in multiple_implementations_only_one_useful()
96 when(switcher.isEnabled(anyString())).thenReturn(true); in multiple_empty_implementations()
106 when(switcher.isEnabled(anyString())).thenThrow(new RuntimeException("Boo!")); in problems_loading_impl()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp206 if (idstrEdit->isEnabled() && !idstrEdit->text().isEmpty()) { in addNetwork()
294 if (pskEdit->isEnabled() && in addNetwork()
300 if (eapSelect->isEnabled()) { in addNetwork()
309 if (phase2Select->isEnabled()) { in addNetwork()
356 if (identityEdit->isEnabled() && identityEdit->text().length() > 0) in addNetwork()
362 if (passwordEdit->isEnabled() && passwordEdit->text().length() > 0 && in addNetwork()
370 if (cacertEdit->isEnabled() && cacertEdit->text().length() > 0) in addNetwork()
381 if (wep0Radio->isEnabled() && wep0Radio->isChecked()) in addNetwork()
383 else if (wep1Radio->isEnabled() && wep1Radio->isChecked()) in addNetwork()
385 else if (wep2Radio->isEnabled() && wep2Radio->isChecked()) in addNetwork()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEuiccManagerTest.java29 public void isEnabled() { in isEnabled() method in ShadowEuiccManagerTest
32 assertThat(euiccManager.isEnabled()).isTrue(); in isEnabled()
39 assertThat(euiccManager.isEnabled()).isFalse(); in isEnabled_whenSetToFalse()
DShadowAccessibilityEventTest.java43 assertThat(event.isEnabled()).isEqualTo(newEvent.isEnabled()); in shouldBeEqualToClonedEvent()
60 assertThat(anotherEvent.isEnabled()).isEqualTo(event.isEnabled()); in shouldWriteAndReadFromParcelCorrectly()
DShadowCaptioningManagerTest.java40 assertThat(captioningManager.isEnabled()).isFalse(); in setEnabled_true()
44 assertThat(captioningManager.isEnabled()).isTrue(); in setEnabled_true()
51 assertThat(captioningManager.isEnabled()).isFalse(); in setEnabled_false()
DShadowPreferenceGroupTest.java165 assertThat(group.isEnabled()).isEqualTo(enabled); in shouldSetEnabledRecursively()
166 assertThat(group2.isEnabled()).isEqualTo(enabled); in shouldSetEnabledRecursively()
167 assertThat(pref1.isEnabled()).isEqualTo(enabled); in shouldSetEnabledRecursively()
168 assertThat(pref2.isEnabled()).isEqualTo(enabled); in shouldSetEnabledRecursively()
DShadowBluetoothAdapterTest.java37 assertThat(bluetoothAdapter.isEnabled()).isFalse(); in testAdapterDefaultsDisabled()
43 assertThat(bluetoothAdapter.isEnabled()).isTrue(); in testAdapterCanBeEnabled_forTesting()
69 assertThat(bluetoothAdapter.isEnabled()).isTrue(); in canEnable_withAndroidApi()
76 assertThat(bluetoothAdapter.isEnabled()).isFalse(); in canDisable_withAndroidApi()
DShadowAccessibilityManagerTest.java39 assertThat(accessibilityManager.isEnabled()).isTrue(); in shouldReturnTrueWhenEnabled()
40 assertThat(getAccessibilityManagerInstance().isEnabled()).isTrue(); in shouldReturnTrueWhenEnabled()
97 assertThat(accessibilityManager.isEnabled()).isTrue(); in performAccessibilityShortcut_shouldEnableAccessibilityAndTouchExploration()
DShadowKeyguardManagerTest.java55 assertThat(shadowOf(lock).isEnabled()).isTrue(); in testShouldBeAbleToDisableTheKeyguardLock()
58 assertThat(shadowOf(lock).isEnabled()).isFalse(); in testShouldBeAbleToDisableTheKeyguardLock()
61 assertThat(shadowOf(lock).isEnabled()).isTrue(); in testShouldBeAbleToDisableTheKeyguardLock()
DShadowNfcAdapterTest.java83 assertThat(adapter.isEnabled()).isFalse(); in isEnabled_shouldReturnEnabledState()
86 assertThat(adapter.isEnabled()).isTrue(); in isEnabled_shouldReturnEnabledState()
89 assertThat(adapter.isEnabled()).isFalse(); in isEnabled_shouldReturnEnabledState()
/external/skqp/include/private/
DGrAuditTrail.h41 SkASSERT(!fAuditTrail->isEnabled()); in AutoEnable()
46 SkASSERT(fAuditTrail->isEnabled()); in ~AutoEnable()
100 bool isEnabled() { return fEnabled; } in isEnabled() function
167 if (audit_trail->isEnabled()) audit_trail->invoke(__VA_ARGS__)
/external/skia/include/private/
DGrAuditTrail.h41 SkASSERT(!fAuditTrail->isEnabled()); in AutoEnable()
46 SkASSERT(fAuditTrail->isEnabled()); in ~AutoEnable()
100 bool isEnabled() { return fEnabled; } in isEnabled() function
167 if (audit_trail->isEnabled()) audit_trail->invoke(__VA_ARGS__)
/external/webrtc/webrtc/api/objc/
DRTCMediaStreamTrack.mm28 - (BOOL)isEnabled { method
32 - (void)setIsEnabled:(BOOL)isEnabled {
33 _nativeTrack->set_enabled(isEnabled);
45 self.isEnabled ? @"enabled" : @"disabled",
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRescheduler.java83 private boolean isEnabled() { in isEnabled() method in Rescheduler.FutureRunnable
109 static boolean isEnabled(Runnable r) { in isEnabled() method in Rescheduler
110 return ((FutureRunnable) r).isEnabled(); in isEnabled()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerOptInfo.h33 bool isEnabled() const { return Enable; } in isEnabled() function
34 bool isDisabled() const { return !isEnabled(); } in isDisabled()
/external/llvm/lib/IR/
DDiagnosticInfo.cpp177 bool DiagnosticInfoOptimizationRemark::isEnabled() const { in isEnabled() function in DiagnosticInfoOptimizationRemark
182 bool DiagnosticInfoOptimizationRemarkMissed::isEnabled() const { in isEnabled() function in DiagnosticInfoOptimizationRemarkMissed
187 bool DiagnosticInfoOptimizationRemarkAnalysis::isEnabled() const { in isEnabled() function in DiagnosticInfoOptimizationRemarkAnalysis
237 bool DiagnosticInfoOptimizationFailure::isEnabled() const { in isEnabled() function in DiagnosticInfoOptimizationFailure
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineOptimizationRemarkEmitter.h75 bool isEnabled() const override { in isEnabled() function
101 bool isEnabled() const override { in isEnabled() function
127 bool isEnabled() const override { in isEnabled() function
/external/testng/src/main/java/org/testng/internal/
DMethodHelper.java158 protected static boolean isEnabled(Class<?> objectClass, IAnnotationFinder finder) { in isEnabled() method in MethodHelper
160 return isEnabled(testClassAnnotation); in isEnabled()
163 protected static boolean isEnabled(Method m, IAnnotationFinder finder) { in isEnabled() method in MethodHelper
171 return isEnabled(annotation); in isEnabled()
174 protected static boolean isEnabled(ITestOrConfiguration test) { in isEnabled() method in MethodHelper
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift68 invokeButton.isEnabled = false in viewDidLoad()
75 invokeButton.isEnabled = false in modelChanged()
115 safeDispatchOnMain { self.invokeButton.isEnabled = true } in setUpInterpreter()

12345678