Home
last modified time | relevance | path

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

12345678910>>...18

/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/base/telephony/java/android/telephony/ims/stub/
DImsUtImplBase.java98 public int updateCallWaiting(boolean enable, int serviceClass) throws RemoteException {
99 return ImsUtImplBase.this.updateCallWaiting(enable, serviceClass);
108 public int updateCLIP(boolean enable) throws RemoteException {
109 return ImsUtImplBase.this.updateCLIP(enable);
118 public int updateCOLP(boolean enable) throws RemoteException {
119 return ImsUtImplBase.this.updateCOLP(enable);
271 public int updateCallWaiting(boolean enable, int serviceClass) { in updateCallWaiting() argument
287 public int updateCLIP(boolean enable) { in updateCLIP() argument
288 return updateClip(enable); in updateCLIP()
303 public int updateCOLP(boolean enable) { in updateCOLP() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java155 public void notifyUserDataEnabled(int subId, boolean enable) { in notifyUserDataEnabled() argument
156 obtainMessage(EVENT_USER_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyUserDataEnabled()
162 public void notifyRoamingDataEnabled(int subId, boolean enable) { in notifyRoamingDataEnabled() argument
163 obtainMessage(EVENT_ROAMING_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyRoamingDataEnabled()
200 boolean enable = msg.arg2 != 0; in handleMessage()
201 onUserDataEnabled(subId, enable); in handleMessage()
206 boolean enable = msg.arg2 != 0; in handleMessage()
207 onRoamingDataEnabled(subId, enable); in handleMessage()
232 private void onUserDataEnabled(int subId, boolean enable) { in onUserDataEnabled() argument
235 setUserDataEnabledForGroup(subId, enable); in onUserDataEnabled()
[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/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 …]
DBluetoothInstrumentation.java64 enable(); in onStart()
80 public void enable() { in enable() method in BluetoothInstrumentation
81 getBluetoothTestUtils().enable(getBluetoothAdapter()); in enable()
/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/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java171 private void enableClipping(boolean enable) { in enableClipping() argument
172 mContainer.setClipToPadding(enable); in enableClipping()
173 mContainer.setClipChildren(enable); in enableClipping()
174 mRow1.setClipToPadding(enable); in enableClipping()
175 mRow2.setClipToPadding(enable); in enableClipping()
176 mRow3.setClipToPadding(enable); in enableClipping()
177 setClipChildren(enable); in enableClipping()
/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/core/java/android/os/
DINetworkManagementService.aidl88 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); in setInterfaceIpv6PrivacyExtensions() argument
302 void setUidMeteredNetworkBlacklist(int uid, boolean enable); in setUidMeteredNetworkBlacklist() argument
303 void setUidMeteredNetworkWhitelist(int uid, boolean enable); in setUidMeteredNetworkWhitelist() argument
304 boolean setDataSaverModeEnabled(boolean enable); in setDataSaverModeEnabled() argument
338 void setFirewallChainEnabled(int chain, boolean enable); in setFirewallChainEnabled() argument
401 void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges); in setAllowOnlyVpnForUids() argument
/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/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/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/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/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.java170 boolean enable = (Settings.Global.getInt(mContentResolver, in onChange()
172 mHandler.sendMessage(MSG_ENABLE_ADB, enable); in onChange()
263 private void setAdbEnabled(boolean enable) { in setAdbEnabled() argument
264 if (DEBUG) Slog.d(TAG, "setAdbEnabled(" + enable + "), mAdbEnabled=" + mAdbEnabled); in setAdbEnabled()
266 if (enable == mAdbEnabled) { in setAdbEnabled()
269 mAdbEnabled = enable; in setAdbEnabled()
273 transport.onAdbEnabled(enable); in setAdbEnabled()
280 mDebuggingManager.setAdbEnabled(enable); in setAdbEnabled()
/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/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/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/telephony/java/com/android/ims/
DImsUtInterface.java173 public void updateCallWaiting(boolean enable, int serviceClass, Message result); in updateCallWaiting() argument
183 public void updateCLIP(boolean enable, Message result); in updateCLIP() argument
193 public void updateCOLP(boolean enable, Message result); in updateCOLP() argument
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSyncSource.cpp39 void DispSyncSource::setVSyncEnabled(bool enable) { in setVSyncEnabled() argument
41 if (enable) { in setVSyncEnabled()
57 mEnabled = enable; in setVSyncEnabled()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dconfig.m43 PHP_ARG_ENABLE(protobuf, whether to enable Protobuf extension, [ --enable-protobuf Enable Protob…

12345678910>>...18