Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/native/cmds/atrace/
Datrace.rc8 # Allow the shell group to enable (some) kernel tracing.
13 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable
14 chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
15 chown root shell /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable
16 chown root shell /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable
17 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
18 chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable
19 chown root shell /sys/kernel/debug/tracing/events/power/clock_set_rate/enable
20 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable
21 chown root shell /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
[all …]
Datrace.cpp327 static bool setKernelOptionEnable(const char* filename, bool enable) in setKernelOptionEnable() argument
329 return writeStr(filename, enable ? "1" : "0"); in setKernelOptionEnable()
390 static bool setTraceOverwriteEnable(bool enable) in setTraceOverwriteEnable() argument
392 return setKernelOptionEnable(k_tracingOverwriteEnablePath, enable); in setTraceOverwriteEnable()
396 static bool setTracingEnabled(bool enable) in setTracingEnabled() argument
398 return setKernelOptionEnable(k_tracingOnPath, enable); in setTracingEnabled()
460 static bool setGlobalClockEnable(bool enable) in setGlobalClockEnable() argument
462 const char *clock = enable ? "global" : "local"; in setGlobalClockEnable()
471 static bool setPrintTgidEnableIfPresent(bool enable) in setPrintTgidEnableIfPresent() argument
474 return setKernelOptionEnable(k_printTgidPath, enable); in setPrintTgidEnableIfPresent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java69 public void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
70 mFallbackLogicEnabled = enable; in enableFallbackLogic()
79 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
80 enablePackageForUser(packageName, enable, 0); in enablePackageForAllUsers()
84 public void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
89 packageInfo.applicationInfo.enabled = enable; in enablePackageForUser()
/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/wilhelm/src/itf/
DIVolume.c119 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.c23 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.c112 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/Keyguard/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/base/core/java/android/os/
DINetworkManagementService.aidl88 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); in setInterfaceIpv6PrivacyExtensions() argument
103 void setInterfaceIpv6NdOffload(String iface, boolean enable); in setInterfaceIpv6NdOffload() 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
349 void setFirewallChainEnabled(int chain, boolean enable); in setFirewallChainEnabled() argument
447 void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges); in setAllowOnlyVpnForUids() argument
DStrictMode.java407 return enable(ALL_THREAD_DETECT_BITS); in detectAll()
421 return enable(DETECT_NETWORK); in detectNetwork()
435 return enable(DETECT_DISK_READ); in detectDiskReads()
449 return enable(DETECT_CUSTOM); in detectCustomSlowCalls()
482 return enable(DETECT_RESOURCE_MISMATCH); in detectResourceMismatches()
489 return enable(DETECT_DISK_WRITE); in detectDiskWrites()
504 return enable(PENALTY_DIALOG); in penaltyDialog()
517 return enable(PENALTY_DEATH); in penaltyDeath()
529 return enable(PENALTY_DEATH_ON_NETWORK); in penaltyDeathOnNetwork()
536 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/
DSystemInterface.java42 public void enableFallbackLogic(boolean enable); in enableFallbackLogic() argument
45 public void enablePackageForAllUsers(Context context, String packageName, boolean enable); in enablePackageForAllUsers() argument
46 public void enablePackageForUser(String packageName, boolean enable, int userId); in enablePackageForUser() argument
DSystemImpl.java215 public void enableFallbackLogic(boolean enable) { in enableFallbackLogic() argument
217 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, enable ? 1 : 0); in enableFallbackLogic()
238 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { in enablePackageForAllUsers() argument
241 enablePackageForUser(packageName, enable, userInfo.id); in enablePackageForAllUsers()
246 public void enablePackageForUser(String packageName, boolean enable, int userId) { in enablePackageForUser() argument
250 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
254 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/opt/net/ims/src/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
DImsUt.java378 public void updateCallWaiting(boolean enable, int serviceClass, Message result) { in updateCallWaiting() argument
380 log("updateCallWaiting :: Ut=" + miUt + ", enable=" + enable in updateCallWaiting()
386 int id = miUt.updateCallWaiting(enable, serviceClass); in updateCallWaiting()
433 public void updateCLIP(boolean enable, Message result) { in updateCLIP() argument
435 log("updateCLIP :: Ut=" + miUt + ", enable=" + enable); in updateCLIP()
440 int id = miUt.updateCLIP(enable); in updateCLIP()
487 public void updateCOLP(boolean enable, Message result) { in updateCOLP() argument
489 log("updateCallWaiting :: Ut=" + miUt + ", enable=" + enable); in updateCOLP()
494 int id = miUt.updateCOLP(enable); in updateCOLP()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl94 boolean setWifiEnabled(String packageName, boolean enable); in setWifiEnabled() argument
128 void setWifiApEnabled(in WifiConfiguration wifiConfig, boolean enable); in setWifiApEnabled() argument
146 void enableTdls(String remoteIPAddress, boolean enable); in enableTdls() argument
148 void enableTdlsWithMacAddress(String remoteMacAddress, boolean enable); in enableTdlsWithMacAddress() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java527 WifiInjector wifiInjector, Looper looper, boolean enable) { in WifiConnectivityManager() argument
562 mWifiConnectivityManagerEnabled = enable; in WifiConnectivityManager()
565 + (enable ? "enabled" : "disabled")); in WifiConnectivityManager()
1101 public boolean trackBssid(String bssid, boolean enable) { in trackBssid() argument
1102 Log.i(TAG, "trackBssid: " + (enable ? "enable " : "disable ") + bssid); in trackBssid()
1105 .enableBssidForQualityNetworkSelection(bssid, enable); in trackBssid()
1107 if (ret && !enable) { in trackBssid()
1130 public void setWifiEnabled(boolean enable) { in setWifiEnabled() argument
1131 Log.i(TAG, "Set WiFi " + (enable ? "enabled" : "disabled")); in setWifiEnabled()
1133 mWifiEnabled = enable; in setWifiEnabled()
[all …]
/frameworks/av/media/libstagefright/
DOMXClient.cpp86 node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type);
89 node_id node, OMX_U32 port_index, OMX_BOOL enable,
97 node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable);
358 node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type) { in storeMetaDataInBuffers() argument
359 return getOMX(node)->storeMetaDataInBuffers(node, port_index, enable, type); in storeMetaDataInBuffers()
363 node_id node, OMX_U32 port_index, OMX_BOOL enable, in prepareForAdaptivePlayback() argument
366 node, port_index, enable, maxFrameWidth, maxFrameHeight); in prepareForAdaptivePlayback()
370 node_id node, OMX_U32 portIndex, OMX_BOOL enable, in configureVideoTunnelMode() argument
373 node, portIndex, enable, audioHwSync, sidebandHandle); in configureVideoTunnelMode()
377 node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable) { in enableNativeBuffers() argument
[all …]
/frameworks/base/docs/html/topic/arc/
Dsideload.jd10 <li><a href="#enable-unknown">Enable Unknown Sources</a></li>
17 This document describes how to enter <em>Developer</em> mode and enable
25 To load Android apps, you must enable unknown sources. Enabling unknown sources
73 <h2 id="enable-unknown">Enable Unknown Sources</h2>
76 To enable unknown sources, navigate to <strong>Chrome Settings > App Settings >
77 Security</strong>, then enable <strong>Unknown sources</strong> by moving the
81 <p class="note"><strong>Note:</strong>You can enable unknown sources only when
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp125 static void nativeSetInteractive(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetInteractive() argument
127 if (enable) { in nativeSetInteractive()
137 static void nativeSetAutoSuspend(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetAutoSuspend() argument
138 if (enable) { in nativeSetAutoSuspend()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DTitleView.java53 public void setAnimationEnabled(boolean enable) {
54 TitleView.this.enableAnimation(enable);
179 public void enableAnimation(boolean enable) { in enableAnimation() argument
180 mSearchOrbView.enableOrbColorAnimation(enable && mSearchOrbView.hasFocus()); in enableAnimation()

12345678910>>...22