Home
last modified time | relevance | path

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

1234567

/frameworks/base/graphics/java/android/renderscript/
DProgramRaster.java82 public void setPointSpriteEnable(boolean enable) { in setPointSpriteEnable() argument
83 mPR.mPointSprite = enable; in setPointSpriteEnable()
86 public void setPointSmoothEnable(boolean enable) { in setPointSmoothEnable() argument
87 mPR.mPointSmooth = enable; in setPointSmoothEnable()
90 public void setLineSmoothEnable(boolean enable) { in setLineSmoothEnable() argument
91 mPR.mLineSmooth = enable; in setLineSmoothEnable()
DProgramStore.java121 public void setDepthMask(boolean enable) { in setDepthMask() argument
122 mDepthMask = enable; in setDepthMask()
137 public void setDitherEnable(boolean enable) { in setDitherEnable() argument
138 mDither = enable; in setDitherEnable()
/frameworks/base/core/tests/coretests/src/android/bluetooth/
DBluetoothStressTest.java49 mTestUtils.enable(adapter); in testEnable()
57 mTestUtils.enable(adapter); in testDiscoverable()
71 mTestUtils.enable(adapter); in testScan()
86 mTestUtils.enable(adapter); in testPair()
101 mTestUtils.enable(adapter); in testAcceptPair()
117 mTestUtils.enable(adapter); in testConnectA2dp()
136 mTestUtils.enable(adapter); in testConnectHeadset()
DBluetoothRebootStressTest.java55 mTestUtils.enable(adapter); in testStart()
80 mTestUtils.enable(adapter); in testMiddleToggle()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnectionTracker.java497 private void setEnabled(int id, boolean enable) { in setEnabled() argument
498 if (DBG) Log.d(LOG_TAG, "setEnabled(" + id + ", " + enable + ") with old state = " + in setEnabled()
503 msg.arg2 = (enable ? ENABLED : DISABLED); in setEnabled()
560 public boolean setDataEnabled(boolean enable) { in setDataEnabled() argument
561 if (DBG) Log.d(LOG_TAG, "setDataEnabled(" + enable + ")"); in setDataEnabled()
564 msg.arg1 = (enable ? ENABLED : DISABLED); in setDataEnabled()
569 protected void onSetDataEnabled(boolean enable) { in onSetDataEnabled() argument
570 if (mMasterDataEnabled != enable) { in onSetDataEnabled()
571 mMasterDataEnabled = enable; in onSetDataEnabled()
572 if (enable) { in onSetDataEnabled()
/frameworks/base/core/java/android/os/
DStrictMode.java255 return enable(DETECT_DISK_WRITE | DETECT_DISK_READ | DETECT_NETWORK); in detectAll()
269 return enable(DETECT_NETWORK); in detectNetwork()
283 return enable(DETECT_DISK_READ); in detectDiskReads()
297 return enable(DETECT_DISK_WRITE); in detectDiskWrites()
312 return enable(PENALTY_DIALOG); in penaltyDialog()
321 return enable(PENALTY_DEATH); in penaltyDeath()
328 return enable(PENALTY_LOG); in penaltyLog()
338 return enable(PENALTY_DROPBOX); in penaltyDropBox()
341 private Builder enable(int bit) { in enable() method in StrictMode.ThreadPolicy.Builder
423 return enable(DETECT_VM_CURSOR_LEAKS); in detectAll()
[all …]
/frameworks/base/services/java/com/android/server/location/
DPassiveProvider.java97 public void enable() { in enable() method in PassiveProvider
119 public void enableLocationTracking(boolean enable) { in enableLocationTracking() argument
120 mTracking = enable; in enableLocationTracking()
DLocationProviderProxy.java129 provider.enable(); in run()
287 public void enable() { in enable() method in LocationProviderProxy
293 provider.enable(); in enable()
368 public void enableLocationTracking(boolean enable) { in enableLocationTracking() argument
370 mLocationTracking = enable; in enableLocationTracking()
371 if (!enable) { in enableLocationTracking()
378 provider.enableLocationTracking(enable); in enableLocationTracking()
DLocationProviderInterface.java43 void enable(); in enable() method
47 void enableLocationTracking(boolean enable); in enableLocationTracking() argument
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProvider.java88 public void enable() {
108 public void enableLocationTracking(boolean enable) {
109 LocationProvider.this.onEnableLocationTracking(enable);
301 public abstract void onEnableLocationTracking(boolean enable); in onEnableLocationTracking() argument
/frameworks/base/core/java/android/view/
DOrientationListener.java82 public void enable() { in enable() method in OrientationListener
83 mOrientationEventLis.enable(); in enable()
/frameworks/base/core/java/android/webkit/
DGeolocationService.java82 public void setEnableGps(boolean enable) { in setEnableGps() argument
83 if (mIsGpsEnabled != enable) { in setEnableGps()
84 mIsGpsEnabled = enable; in setEnableGps()
/frameworks/base/location/java/android/location/
DILocationProvider.aidl41 void enable(); in enable() method
46 void enableLocationTracking(boolean enable); in enableLocationTracking() argument
/frameworks/base/media/libeffects/testlibs/
DAudioShelvingFilter.h104 void enable(bool immediate = false) { mBiquad.enable(immediate); }
DAudioPeakingFilter.h110 void enable(bool immediate = false) { mBiquad.enable(immediate); }
/frameworks/base/libs/rs/
DrsProgramFragmentStore.cpp124 void ProgramFragmentStore::setDitherEnable(bool enable) in setDitherEnable() argument
126 mDitherEnable = enable; in setDitherEnable()
301 void rsi_ProgramFragmentStoreDither(Context *rsc, bool enable) in rsi_ProgramFragmentStoreDither() argument
303 rsc->mStateFragmentStore.mPFS->setDitherEnable(enable); in rsi_ProgramFragmentStoreDither()
/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java233 boolean enable; in handleREAE()
235 enable = (in.get() != 0); in handleREAE()
238 Log.d("ddm-heap", "Recent allocation enable request: " + enable); in handleREAE()
240 DdmVmInternal.enableRecentAllocations(enable); in handleREAE()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl57 boolean setWifiEnabled(boolean enable); in setWifiEnabled() argument
85 boolean setWifiApEnabled(in WifiConfiguration wifiConfig, boolean enable); in setWifiApEnabled() argument
/frameworks/base/opengl/libagl/
Dstate.cpp98 c->rasterizer.procs.enable(c, GL_DITHER); in ogles_init()
138 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable()
152 c->polygonOffset.enable = enabled; in enable_disable()
155 c->cull.enable = enabled; in enable_disable()
158 c->lighting.enable = enabled; in enable_disable()
161 c->lighting.colorMaterial.enable = enabled; in enable_disable()
175 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0)); in enable_disable()
176 c->clipPlanes.enable |= (enabled<<(cap-GL_CLIP_PLANE0)); in enable_disable()
/frameworks/base/libs/ui/
DGraphicLog.cpp87 void GraphicLog::setEnabled(bool enable) in setEnabled() argument
89 mEnabled = enable; in setEnabled()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java515 protected void setWiFiStateOn(boolean enable) throws Exception { in setWiFiStateOn() argument
516 Log.i(LOG_TAG, "Setting WiFi State to: " + enable); in setWiFiStateOn()
519 manager.setWifiEnabled(enable); in setWiFiStateOn()
522 + (enable ? "enabled!" : "disabled!"); in setWiFiStateOn()
532 while (receiver.getWiFiIsOn() != enable && !timedOut) { in setWiFiStateOn()
548 assertEquals(enable, receiver.getWiFiIsOn()); in setWiFiStateOn()
559 protected void setAirplaneModeOn(boolean enable) throws Exception { in setAirplaneModeOn() argument
560 int state = enable ? 1 : 0; in setAirplaneModeOn()
567 (enable ? "enabled!" : "disabled!"); in setAirplaneModeOn()
/frameworks/base/services/java/com/android/server/
DWifiService.java427 public boolean setWifiEnabled(boolean enable) { in setWifiEnabled() argument
439 mAirplaneModeOverwridden = (enable && isAirplaneModeOn() && isAirplaneToggleable()); in setWifiEnabled()
440 sendEnableMessage(enable, true, Binder.getCallingUid()); in setWifiEnabled()
454 private boolean setWifiEnabledBlocking(boolean enable, boolean persist, int uid) { in setWifiEnabledBlocking() argument
455 final int eventualWifiState = enable ? WIFI_STATE_ENABLED : WIFI_STATE_DISABLED; in setWifiEnabledBlocking()
461 if (enable && isAirplaneModeOn() && !mAirplaneModeOverwridden) { in setWifiEnabledBlocking()
472 if ((wifiState == WIFI_STATE_UNKNOWN) && !enable) { in setWifiEnabledBlocking()
481 if ((mWifiApState == WIFI_AP_STATE_ENABLED) && enable) { in setWifiEnabledBlocking()
486 setWifiEnabledState(enable ? WIFI_STATE_ENABLING : WIFI_STATE_DISABLING, uid); in setWifiEnabledBlocking()
488 if (enable) { in setWifiEnabledBlocking()
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
Dps_decode_bs_utils.cpp150 void differential_Decoding(Int32 enable, in differential_Decoding() argument
162 if (enable == 1) in differential_Decoding()
/frameworks/base/include/private/opengles/
Dgl_context.h173 GLboolean enable; member
189 GLboolean enable; member
276 uint32_t enable; member
302 GLboolean enable; member
321 GLboolean enable; member
332 GLboolean enable; member
343 GLboolean enable; member
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipCommandInterface.java110 public void setPreferredVoicePrivacy(boolean enable, Message result) { in setPreferredVoicePrivacy() argument
205 public void setSuppServiceNotifications(boolean enable, Message result) { in setSuppServiceNotifications() argument
230 public void setCallWaiting(boolean enable, int serviceClass, in setCallWaiting() argument
309 public void setLocationUpdates(boolean enable, Message response) { in setLocationUpdates() argument

1234567