Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/native/cmds/atrace/
Datrace.rc9 # Scheduler tracepoints require schedstats=enable
26 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_switch/enable
27 chmod 0666 /sys/kernel/tracing/events/sched/sched_switch/enable
28 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
29 chmod 0666 /sys/kernel/tracing/events/sched/sched_wakeup/enable
30 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable
31 chmod 0666 /sys/kernel/tracing/events/sched/sched_blocked_reason/enable
32 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable
33 chmod 0666 /sys/kernel/tracing/events/sched/sched_cpu_hotplug/enable
34 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_pi_setprio/enable
[all …]
Datrace_userdebug.rc4 # Grant unix world read/write permissions to enable kernel tracepoints.
8 # On userdebug allow to enable any event via the generic
10 # echo sched/foo > set_event == echo 1 > events/sched/foo/enable.
14 chmod 0666 /sys/kernel/tracing/events/workqueue/enable
15 chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable
16 chmod 0666 /sys/kernel/tracing/events/regulator/enable
17 chmod 0666 /sys/kernel/debug/tracing/events/regulator/enable
18 chmod 0666 /sys/kernel/tracing/events/filemap/enable
19 chmod 0666 /sys/kernel/debug/tracing/events/filemap/enable
22 chmod 0666 /sys/kernel/tracing/events/irq/enable
[all …]
/frameworks/opt/net/wifi/service/
Dwifi-events.rc38 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1
39 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1
40 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1
41 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1
42 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_connect/enable 1
43 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_key/enable 1
44 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_mgmt_key/enable 1
45 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_rekey_data/enable 1
47 write /sys/kernel/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1
48 write /sys/kernel/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1
[all …]
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsUtImplBase.java170 public int updateCallWaiting(boolean enable, int serviceClass) throws RemoteException {
171 return ImsUtImplBase.this.updateCallWaiting(enable, serviceClass);
180 public int updateCLIP(boolean enable) throws RemoteException {
181 return ImsUtImplBase.this.updateCLIP(enable);
190 public int updateCOLP(boolean enable) throws RemoteException {
191 return ImsUtImplBase.this.updateCOLP(enable);
359 public int updateCallWaiting(boolean enable, int serviceClass) { in updateCallWaiting() argument
375 public int updateCLIP(boolean enable) { in updateCLIP() argument
376 return updateClip(enable); in updateCLIP()
391 public int updateCOLP(boolean enable) { in updateCOLP() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java202 public void notifyUserDataEnabled(int subId, boolean enable) { in notifyUserDataEnabled() argument
204 obtainMessage(EVENT_USER_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyUserDataEnabled()
211 public void notifyRoamingDataEnabled(int subId, boolean enable) { in notifyRoamingDataEnabled() argument
213 obtainMessage(EVENT_ROAMING_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyRoamingDataEnabled()
251 boolean enable = msg.arg2 != 0; in handleMessage()
252 onUserDataEnabled(subId, enable); in handleMessage()
257 boolean enable = msg.arg2 != 0; in handleMessage()
258 onRoamingDataEnabled(subId, enable); in handleMessage()
291 protected void onUserDataEnabled(int subId, boolean enable) { in onUserDataEnabled() argument
294 setUserDataEnabledForGroup(subId, enable); in onUserDataEnabled()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorMultiSimSettingController.java66 protected synchronized void onUserDataEnabled(int subId, boolean enable) { in onUserDataEnabled() argument
69 setUserDataEnabledForGroup(subId, enable); in onUserDataEnabled()
77 protected synchronized void setUserDataEnabledForGroup(int subId, boolean enable) { in setUserDataEnabledForGroup() argument
78 log("setUserDataEnabledForGroup subId " + subId + " enable " + enable); in setUserDataEnabledForGroup()
93 phone.getDataEnabledSettings().setUserDataEnabled(enable); in setUserDataEnabledForGroup()
98 mContext, Settings.Global.MOBILE_DATA, currentSubId, enable); in setUserDataEnabledForGroup()
/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/services/tests/servicestests/src/com/android/server/compat/
DPlatformCompatTest.java128 CompatibilityChangeConfigBuilder.create().enable(1L).build(), in testRegisterListenerReturn()
143 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverrides()
155 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerNotCalledOnWrongPackage()
166 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners()
178 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners()
191 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesForTest()
202 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListenersForTest()
214 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListenersForTest()
227 CompatibilityChangeConfigBuilder.create().enable(1L).build(), in testListenerCalledOnClearOverrides()
246 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnClearOverridesMultipleOverrides()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java172 private void enableClipping(boolean enable) { in enableClipping() argument
173 mContainer.setClipToPadding(enable); in enableClipping()
174 mContainer.setClipChildren(enable); in enableClipping()
175 mRow1.setClipToPadding(enable); in enableClipping()
176 mRow2.setClipToPadding(enable); in enableClipping()
177 mRow3.setClipToPadding(enable); in enableClipping()
178 setClipChildren(enable); in enableClipping()
/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/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java575 private void updateStateLocked(boolean manual, boolean enable) { in updateStateLocked() argument
584 if (!enable) { in updateStateLocked()
609 if (enable) { in updateStateLocked()
635 if (enable) { in updateStateLocked()
665 if (!enable) { in updateStateLocked()
736 private void enableBatterySaverLocked(boolean enable, boolean manual, int intReason) { in enableBatterySaverLocked() argument
737 enableBatterySaverLocked(enable, manual, intReason, reasonToString(intReason)); in enableBatterySaverLocked()
745 private void enableBatterySaverLocked(boolean enable, boolean manual, int intReason, in enableBatterySaverLocked() argument
748 Slog.d(TAG, "enableBatterySaver: enable=" + enable + " manual=" + manual in enableBatterySaverLocked()
753 if (wasEnabled == enable) { in enableBatterySaverLocked()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java39 static void writeBackupEnableState(int userId, boolean enable) { in writeBackupEnableState() argument
40 writeBackupEnableState(UserBackupManagerFiles.getBaseStateDir(userId), enable); in writeBackupEnableState() local
61 private static void writeBackupEnableState(File baseDir, boolean enable) { in writeBackupEnableState() argument
65 fout.write(enable ? 1 : 0); in writeBackupEnableState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java115 boolean enable, boolean needFirstTimeWarning) { in setPowerSaveMode() argument
117 Log.d(TAG, "Battery saver turning " + (enable ? "ON" : "OFF")); in setPowerSaveMode()
123 if (enable && needFirstTimeWarning in setPowerSaveMode()
127 if (enable && !needFirstTimeWarning) { in setPowerSaveMode()
131 if (context.getSystemService(PowerManager.class).setPowerSaveModeEnabled(enable)) { in setPowerSaveMode()
132 if (enable) { in setPowerSaveMode()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl88 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); in setInterfaceIpv6PrivacyExtensions() argument
290 void setUidMeteredNetworkBlacklist(int uid, boolean enable); in setUidMeteredNetworkBlacklist() argument
291 void setUidMeteredNetworkWhitelist(int uid, boolean enable); in setUidMeteredNetworkWhitelist() argument
292 boolean setDataSaverModeEnabled(boolean enable); in setDataSaverModeEnabled() argument
326 void setFirewallChainEnabled(int chain, boolean enable); in setFirewallChainEnabled() argument
389 void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges); in setAllowOnlyVpnForUids() argument
DStrictMode.java512 return enable(DETECT_THREAD_NETWORK); in detectNetwork()
522 return enable(DETECT_THREAD_DISK_READ); in detectDiskReads()
532 return enable(DETECT_THREAD_CUSTOM); in detectCustomSlowCalls()
547 return enable(DETECT_THREAD_UNBUFFERED_IO); in detectUnbufferedIo()
568 return enable(DETECT_THREAD_RESOURCE_MISMATCH); in detectResourceMismatches()
573 return enable(DETECT_THREAD_DISK_WRITE); in detectDiskWrites()
592 return enable(DETECT_THREAD_EXPLICIT_GC); in detectExplicitGc()
610 return enable(PENALTY_DIALOG); in penaltyDialog()
622 return enable(PENALTY_DEATH); in penaltyDeath()
633 return enable(PENALTY_DEATH_ON_NETWORK); in penaltyDeathOnNetwork()
[all …]
/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()
91 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
93 enablePackageForUser(packageName, enable, userId); in enablePackageForAllUsers()
97 private void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
103 packageInfo.applicationInfo.enabled = enable; in enablePackageForUser()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbService.java447 private void setAdbdEnabledForTransport(boolean enable, byte transportType) { in setAdbdEnabledForTransport() argument
449 mIsAdbUsbEnabled = enable; in setAdbdEnabledForTransport()
451 mIsAdbWifiEnabled = enable; in setAdbdEnabledForTransport()
453 if (enable) { in setAdbdEnabledForTransport()
460 private void setAdbEnabled(boolean enable, byte transportType) { in setAdbEnabled() argument
462 Slog.d(TAG, "setAdbEnabled(" + enable + "), mIsAdbUsbEnabled=" + mIsAdbUsbEnabled in setAdbEnabled()
467 if (transportType == AdbTransportType.USB && enable != mIsAdbUsbEnabled) { in setAdbEnabled()
468 mIsAdbUsbEnabled = enable; in setAdbEnabled()
469 } else if (transportType == AdbTransportType.WIFI && enable != mIsAdbWifiEnabled) { in setAdbEnabled()
470 mIsAdbWifiEnabled = enable; in setAdbEnabled()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DAdvertisingSet.java71 public void enableAdvertising(boolean enable, int duration, in enableAdvertising() argument
74 mGatt.enableAdvertisingSet(mAdvertiserId, enable, duration, in enableAdvertising()
171 public void setPeriodicAdvertisingEnabled(boolean enable) { in setPeriodicAdvertisingEnabled() argument
173 mGatt.setPeriodicAdvertisingEnable(mAdvertiserId, enable); in setPeriodicAdvertisingEnabled()
/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/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/base/services/core/java/com/android/server/webkit/
DSystemImpl.java207 public void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
209 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, enable ? 1 : 0); in enableFallbackLogic()
213 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
216 enablePackageForUser(packageName, enable, userInfo.id); in enablePackageForAllUsers()
220 private void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
224 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
228 Log.w(TAG, "Tried to " + (enable ? "enable " : "disable ") + packageName in enablePackageForUser()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DLocalOverlayManager.java39 boolean enable) throws Exception { in setEnabledAndWait() argument
40 final String pattern = (enable ? "[x]" : "[ ]") + " " + packageName; in setEnabledAndWait()
57 executeShellCommand("cmd overlay " + (enable ? "enable " : "disable ") + packageName); in setEnabledAndWait()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java58 public void enableDataCaptureListener(boolean enable) { in enableDataCaptureListener() argument
59 mVisualizer.setDataCaptureListener(enable ? mVisualizerListener : null, in enableDataCaptureListener()
60 10000, enable, enable); in enableDataCaptureListener()

12345678910>>...19