Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/native/cmds/atrace/
Datrace.rc9 # Allow the shell group to enable (some) kernel tracing.
20 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable
21 chown root shell /sys/kernel/tracing/events/sched/sched_switch/enable
22 chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
23 chown root shell /sys/kernel/tracing/events/sched/sched_wakeup/enable
24 chown root shell /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable
25 chown root shell /sys/kernel/tracing/events/sched/sched_blocked_reason/enable
26 chown root shell /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable
27 chown root shell /sys/kernel/tracing/events/sched/sched_cpu_hotplug/enable
28 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
[all …]
Datrace_userdebug.rc4 # Allow the shell group to enable kernel tracepoints:
7 chown root shell /sys/kernel/debug/tracing/events/sync/enable
8 chown root shell /sys/kernel/debug/tracing/events/workqueue/enable
9 chown root shell /sys/kernel/debug/tracing/events/regulator/enable
10 chown root shell /sys/kernel/debug/tracing/events/pagecache/enable
13 chown root shell /sys/kernel/debug/tracing/events/irq/enable
14 chown root shell /sys/kernel/debug/tracing/events/ipi/enable
17 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_enter/enable
18 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_exit/enable
19 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_write_begin/enable
[all …]
/frameworks/opt/net/wifi/service/
Dwifi-events.rc32 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1
33 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1
34 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1
35 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1
36 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_connect/enable 1
37 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_key/enable 1
38 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_mgmt_key/enable 1
39 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_rekey_data/enable 1
47 write /sys/kernel/debug/tracing/instances/wifi/events/net/net_dev_queue/enable 1
48 write /sys/kernel/debug/tracing/instances/wifi/events/net/net_dev_xmit/enable 1
[all …]
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DActionBarCompat.java32 static void setDisplayHomeAsUpEnabled(Activity activity, boolean enable) { in setDisplayHomeAsUpEnabled() argument
33 activity.getActionBar().setDisplayHomeAsUpEnabled(enable); in setDisplayHomeAsUpEnabled()
37 public static void setDisplayHomeAsUpEnabled(Activity activity, boolean enable) { in setDisplayHomeAsUpEnabled() argument
39 ActionBarCompatImpl.setDisplayHomeAsUpEnabled(activity, enable); in setDisplayHomeAsUpEnabled()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java72 mTestUtils.enable(mAdapter); in testEnable()
86 mTestUtils.enable(mAdapter); in testDiscoverable()
105 mTestUtils.enable(mAdapter); in testScan()
124 mTestUtils.enable(mAdapter); in testEnablePan()
148 mTestUtils.enable(mAdapter); in testPair()
171 mTestUtils.enable(mAdapter); in testAcceptPair()
195 mTestUtils.enable(mAdapter); in testConnectA2dp()
225 mTestUtils.enable(mAdapter); in testConnectHeadset()
255 mTestUtils.enable(mAdapter); in testConnectInput()
285 mTestUtils.enable(mAdapter); in testConnectPan()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java160 private void enableClipping(boolean enable) { in enableClipping() argument
161 mContainer.setClipToPadding(enable); in enableClipping()
162 mContainer.setClipChildren(enable); in enableClipping()
163 mRow1.setClipToPadding(enable); in enableClipping()
164 mRow2.setClipToPadding(enable); in enableClipping()
165 mRow3.setClipToPadding(enable); in enableClipping()
166 setClipChildren(enable); in enableClipping()
/frameworks/base/libs/hwui/renderstate/
DStencil.cpp71 enable(); in enableTest()
87 enable(); in enableWrite()
104 enable(); in enableDebugTest()
113 enable(); in enableDebugWrite()
122 void Stencil::enable() { in enable() function in android::uirenderer::Stencil
/frameworks/wilhelm/src/itf/
DIVolume.cpp119 static SLresult IVolume_EnableStereoPosition(SLVolumeItf self, SLboolean enable) in IVolume_EnableStereoPosition() argument
124 enable = SL_BOOLEAN_FALSE != enable; // normalize in IVolume_EnableStereoPosition()
127 if (oldEnable != enable) { in IVolume_EnableStereoPosition()
128 thiz->mEnableStereoPosition = (SLuint8) enable; in IVolume_EnableStereoPosition()
148 SLboolean enable = thiz->mEnableStereoPosition; in IVolume_IsEnabledStereoPosition() local
150 *pEnable = enable; in IVolume_IsEnabledStereoPosition()
DIAndroidEffectSend.cpp23 SLInterfaceID effectImplementationId, SLboolean enable, SLmillibel initialLevel) in IAndroidEffectSend_EnableEffectSend() argument
43 result = android_fxSend_attachToAux(ap, effectImplementationId, enable, in IAndroidEffectSend_EnableEffectSend()
49 thiz->mEnabled = enable; in IAndroidEffectSend_EnableEffectSend()
70 SLboolean enable = thiz->mEnabled; in IAndroidEffectSend_IsEnabled() local
72 *pEnable = enable; in IAndroidEffectSend_IsEnabled()
DIEffectSend.cpp112 const void *pAuxEffect, SLboolean enable, SLmillibel initialLevel) in IEffectSend_EnableEffectSend() argument
127 enableLevel->mEnable = SL_BOOLEAN_FALSE != enable; // normalize in IEffectSend_EnableEffectSend()
142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, in IEffectSend_EnableEffectSend()
146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, in IEffectSend_EnableEffectSend()
177 SLboolean enable = enableLevel->mEnable; in IEffectSend_IsEnabled() local
179 *pEnable = enable; in IEffectSend_IsEnabled()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl87 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); in setInterfaceIpv6PrivacyExtensions() argument
102 void setInterfaceIpv6NdOffload(String iface, boolean enable); in setInterfaceIpv6NdOffload() argument
280 void setUidMeteredNetworkBlacklist(int uid, boolean enable); in setUidMeteredNetworkBlacklist() argument
281 void setUidMeteredNetworkWhitelist(int uid, boolean enable); in setUidMeteredNetworkWhitelist() argument
282 boolean setDataSaverModeEnabled(boolean enable); in setDataSaverModeEnabled() argument
322 void setFirewallChainEnabled(int chain, boolean enable); in setFirewallChainEnabled() argument
420 void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges); in setAllowOnlyVpnForUids() argument
DStrictMode.java467 return enable(DETECT_NETWORK); in detectNetwork()
481 return enable(DETECT_DISK_READ); in detectDiskReads()
495 return enable(DETECT_CUSTOM); in detectCustomSlowCalls()
517 return enable(DETECT_UNBUFFERED_IO); in detectUnbufferedIo()
542 return enable(DETECT_RESOURCE_MISMATCH); in detectResourceMismatches()
549 return enable(DETECT_DISK_WRITE); in detectDiskWrites()
564 return enable(PENALTY_DIALOG); in penaltyDialog()
577 return enable(PENALTY_DEATH); in penaltyDeath()
589 return enable(PENALTY_DEATH_ON_NETWORK); in penaltyDeathOnNetwork()
596 return enable(PENALTY_FLASH); in penaltyFlashScreen()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java65 sWindowOrientationListener.enable(); in init()
73 sOrientationListener.enable(); in init()
77 static void enable() { in enable() method in RotationHelper
79 sWindowOrientationListener.enable(); in enable()
81 sOrientationListener.enable(); in enable()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsUt.aidl88 int updateCallWaiting(boolean enable, int serviceClass); in updateCallWaiting() argument
98 int updateCLIP(boolean enable); in updateCLIP() argument
108 int updateCOLP(boolean enable); in updateCOLP() argument
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceShellCommand.java59 private int enableFallbackLogic(boolean enable) throws RemoteException { in enableFallbackLogic() argument
61 mInterface.enableFallbackLogic(enable); in enableFallbackLogic()
81 private int enableMultiProcess(boolean enable) throws RemoteException { in enableMultiProcess() argument
83 mInterface.enableMultiProcess(enable); in enableMultiProcess()
DSystemInterface.java46 public void enableFallbackLogic(boolean enable); in enableFallbackLogic() argument
49 public void enablePackageForAllUsers(Context context, String packageName, boolean enable); in enablePackageForAllUsers() argument
50 public void enablePackageForUser(String packageName, boolean enable, int userId); in enablePackageForUser() argument
DWebViewUpdateServiceImpl.java167 void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
168 mSystemInterface.enableFallbackLogic(enable); in enableFallbackLogic()
255 void enableMultiProcess(boolean enable) { in enableMultiProcess() argument
258 enable ? MULTIPROCESS_SETTING_ON_VALUE : MULTIPROCESS_SETTING_OFF_VALUE); in enableMultiProcess()
259 mSystemInterface.notifyZygote(enable); in enableMultiProcess()
DSystemImpl.java218 public void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
220 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, enable ? 1 : 0); in enableFallbackLogic()
241 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
244 enablePackageForUser(packageName, enable, userInfo.id); in enablePackageForAllUsers()
249 public void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
253 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
257 Log.w(TAG, "Tried to " + (enable ? "enable " : "disable ") + packageName in enablePackageForUser()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp157 static void nativeSetInteractive(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetInteractive() argument
161 ALOGD_IF_SLOW(20, String8::format(err, enable ? "true" : "false", enable ? "on" : "off")); in nativeSetInteractive()
162 Return<void> ret = gPowerHal->setInteractive(enable); in nativeSetInteractive()
167 static void nativeSetAutoSuspend(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetAutoSuspend() argument
168 if (enable) { in nativeSetAutoSuspend()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java86 public void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
87 mFallbackLogicEnabled = enable; in enableFallbackLogic()
96 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
98 enablePackageForUser(packageName, enable, userId); in enablePackageForAllUsers()
103 public void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
109 packageInfo.applicationInfo.enabled = enable; in enablePackageForUser()
/frameworks/base/core/java/android/bluetooth/le/
DAdvertisingSet.java73 public void enableAdvertising(boolean enable, int duration, in enableAdvertising() argument
76 gatt.enableAdvertisingSet(this.advertiserId, enable, duration, in enableAdvertising()
175 public void setPeriodicAdvertisingEnabled(boolean enable) { in setPeriodicAdvertisingEnabled() argument
177 gatt.setPeriodicAdvertisingEnable(this.advertiserId, enable); in setPeriodicAdvertisingEnabled()
/frameworks/base/telephony/java/com/android/ims/
DImsUtInterface.java158 public void updateCallWaiting(boolean enable, int serviceClass, Message result); in updateCallWaiting() argument
168 public void updateCLIP(boolean enable, Message result); in updateCLIP() argument
178 public void updateCOLP(boolean enable, Message result); in updateCOLP() argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsUtImplBase.java132 public int updateCallWaiting(boolean enable, int serviceClass) throws RemoteException { in updateCallWaiting() argument
148 public int updateCLIP(boolean enable) throws RemoteException { in updateCLIP() argument
164 public int updateCOLP(boolean enable) throws RemoteException { in updateCOLP() argument
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java283 protected void setWiFiStateOn(boolean enable) throws Exception { in setWiFiStateOn() argument
284 Log.i(LOG_TAG, "Setting WiFi State to: " + enable); in setWiFiStateOn()
287 manager.setWifiEnabled(enable); in setWiFiStateOn()
290 + (enable ? "enabled!" : "disabled!"); in setWiFiStateOn()
300 while (receiver.getWiFiIsOn() != enable && !timedOut) { in setWiFiStateOn()
316 assertEquals(enable, receiver.getWiFiIsOn()); in setWiFiStateOn()
327 protected void setAirplaneModeOn(boolean enable) throws Exception { in setAirplaneModeOn() argument
328 int state = enable ? 1 : 0; in setAirplaneModeOn()
335 (enable ? "enabled!" : "disabled!"); in setAirplaneModeOn()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java532 Looper looper, Clock clock, LocalLog localLog, boolean enable, in WifiConnectivityManager() argument
601 mWifiConnectivityManagerEnabled = enable; in WifiConnectivityManager()
604 + (enable ? "enabled" : "disabled")); in WifiConnectivityManager()
1115 private boolean updateBssidBlacklist(String bssid, boolean enable, int reasonCode) { in updateBssidBlacklist() argument
1117 if (enable) { in updateBssidBlacklist()
1151 public boolean trackBssid(String bssid, boolean enable, int reasonCode) { in trackBssid() argument
1152 localLog("trackBssid: " + (enable ? "enable " : "disable ") + bssid + " reason code " in trackBssid()
1159 if (!updateBssidBlacklist(bssid, enable, reasonCode)) { in trackBssid()
1166 if (!enable) { in trackBssid()
1310 public void setWifiEnabled(boolean enable) { in setWifiEnabled() argument
[all …]

12345678910>>...15