Searched refs:enable (Results 76 - 100 of 343) sorted by relevance

1234567891011>>

/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp82 int LogController(bool enable) { argument
84 Status<int> status = trans.Send<int>(DVR_POSE_LOG_CONTROLLER, &enable,
85 sizeof(enable), nullptr, 0);
301 int dvrPoseLogController(DvrPose* client, bool enable) { argument
302 return PoseClient::FromC(client)->LogController(enable);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsPresenter.java226 public void enableSecondaryActions(boolean enable) { argument
227 mMoreActionsEnabled = enable;
302 public void enableTimeMargins(ViewHolder vh, boolean enable) { argument
305 lp.setMarginStart(enable ? vh.mCurrentTimeMarginStart : 0);
309 lp.setMarginEnd(enable ? vh.mTotalTimeMarginEnd : 0);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java512 * @param enable true if it should be enabled, false if it should be disabled
514 protected void setWiFiStateOn(boolean enable) throws Exception { argument
515 Log.i(LOG_TAG, "Setting WiFi State to: " + enable);
518 manager.setWifiEnabled(enable);
521 + (enable ? "enabled!" : "disabled!");
531 while (receiver.getWiFiIsOn() != enable && !timedOut) {
547 assertEquals(enable, receiver.getWiFiIsOn());
556 * @param enable true if airplane mode should be ON, false if it should be OFF
558 protected void setAirplaneModeOn(boolean enable) throws Exception { argument
559 int state = enable
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleThread.java90 boolean enable = (in.get() != 0);
91 //Log.i("ddm-thread", "Thread notify enable: " + enable);
93 DdmVmInternal.threadNotify(enable);
/frameworks/base/core/java/android/nfc/
H A DINfcAdapter.aidl46 boolean enable();
/frameworks/base/core/tests/coretests/src/android/os/
H A DSetPersistentVrThreadTest.java78 private void setPersistentVrModeEnabled(boolean enable) throws Throwable { argument
79 mVrManager.setPersistentVrModeEnabled(enable);
/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerShellCommand.java55 case "enable":
85 out.println(" enable [--user USER_ID] PACKAGE");
140 private int runEnableDisable(final boolean enable) throws RemoteException { argument
157 return mInterface.setEnabled(packageName, enable, userId) ? 0 : 1;
/frameworks/native/opengl/libagl/
H A Dstate.cpp99 c->rasterizer.procs.enable(c, GL_DITHER);
139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled;
153 c->polygonOffset.enable = enabled;
156 c->cull.enable = enabled;
159 c->lighting.enable = enabled;
162 c->lighting.colorMaterial.enable = enabled;
176 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0));
177 c->clipPlanes.enable |= (enabled<<(cap-GL_CLIP_PLANE0));
H A Dcontext.h175 GLboolean enable; member in struct:android::gl::polygon_offset_t
191 GLboolean enable; member in struct:android::gl::array_t
278 uint32_t enable; member in struct:android::gl::user_clip_planes_t
304 GLboolean enable; member in struct:android::gl::light_t
323 GLboolean enable; member in struct:android::gl::color_material_t
334 GLboolean enable; member in struct:android::gl::lighting_t
345 GLboolean enable; member in struct:android::gl::culling_t
/frameworks/support/compat/java/android/support/v4/widget/
H A DSearchViewCompat.java366 * @param enable true if all items should have a query refinement button, false if only
375 public static void setQueryRefinementEnabled(View searchView, boolean enable) { argument
377 ((SearchView) searchView).setQueryRefinementEnabled(enable);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DPlaybackControlGlue.java299 public void setFadingEnabled(boolean enable) { argument
300 mFragment.setFadingEnabled(enable);
H A DPlaybackControlSupportGlue.java164 public void setFadingEnabled(boolean enable) { argument
165 mFragment.setFadingEnabled(enable);
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp236 void AudioEqualizer::enable(bool immediate) { function in class:android::AudioEqualizer
237 ALOGV("AudioEqualizer::enable(immediate=%d)", immediate);
238 mpLowShelf->enable(immediate);
240 mpPeakingFilters[i].enable(immediate);
242 mpHighShelf->enable(immediate);
/frameworks/base/services/core/java/com/android/server/location/
H A DPassiveProvider.java73 public void enable() { method in class:PassiveProvider
H A DLocationProviderProxy.java127 service.enable();
158 public void enable() { method in class:LocationProviderProxy
166 service.enable();
/frameworks/native/libs/vr/libvrsensor/include/dvr/
H A Dpose_client.h154 // @param enable True starts logging, False stops.
156 int dvrPoseLogController(DvrPose* client, bool enable);
/frameworks/support/core-ui/java/android/support/v4/app/
H A DActionBarDrawerToggle.java347 * @param enable true to enable, false to disable
349 public void setDrawerIndicatorEnabled(boolean enable) { argument
350 if (enable != mDrawerIndicatorEnabled) {
351 if (enable) {
357 mDrawerIndicatorEnabled = enable;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteControllerDialog.java113 * Sets whether to enable the volume slider and volume control using the volume keys
119 public void setVolumeControlEnabled(boolean enable) { argument
120 if (mVolumeControlEnabled != enable) {
121 mVolumeControlEnabled = enable;
129 * Returns whether to enable the volume slider and volume control using the volume keys
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneInternalInterface.java41 /** used to enable additional debug messages */
627 * @param enable is a boolean representing the state that you are
631 void setCallWaiting(boolean enable, Message onComplete); argument
711 * @return true if enable data connection on roaming
716 * @param enable set true if enable data connection on roaming
718 void setDataRoamingEnabled(boolean enable); argument
726 * @param @enable set {@code true} if enable data connection
728 void setDataEnabled(boolean enable); argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java568 // only enable bandwidth control when support exists
573 mConnector.execute("bandwidth", "enable");
592 mConnector.execute("strict", "enable");
595 Log.wtf(TAG, "Failed strict enable", e);
1029 public void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable) { argument
1033 "interface", "ipv6privacyextensions", iface, enable ? "enable" : "disable");
1055 mConnector.execute("interface", "ipv6", iface, "enable");
1072 public void setInterfaceIpv6NdOffload(String iface, boolean enable) { argument
1076 "interface", "ipv6ndoffload", iface, (enable
1187 setIpForwardingEnabled(boolean enable) argument
1633 setUidOnMeteredNetworkList(int uid, boolean blacklist, boolean enable) argument
1674 setUidMeteredNetworkBlacklist(int uid, boolean enable) argument
1679 setUidMeteredNetworkWhitelist(int uid, boolean enable) argument
1684 setDataSaverModeEnabled(boolean enable) argument
2030 setFirewallChainEnabled(int chain, boolean enable) argument
2688 setUidOnMeteredNetworkList(boolean blacklist, int uid, boolean enable) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java321 boolean enable;
324 enable = false;
327 enable = true;
330 enable = (curFlags&COMPAT_FLAG_ENABLED) == 0;
338 if (enable) {
/frameworks/native/cmds/atrace/
H A Datrace.cpp81 // Whether the file must be writable in order to enable the tracing
85 // The path to the enable file.
116 { REQ, "events/sched/sched_switch/enable" },
117 { REQ, "events/sched/sched_wakeup/enable" },
118 { OPT, "events/sched/sched_waking/enable" },
119 { OPT, "events/sched/sched_blocked_reason/enable" },
120 { OPT, "events/sched/sched_cpu_hotplug/enable" },
123 { REQ, "events/irq/enable" },
124 { OPT, "events/ipi/enable" },
127 { REQ, "events/i2c/enable" },
352 setKernelOptionEnable(const char* filename, bool enable) argument
415 setTraceOverwriteEnable(bool enable) argument
421 setTracingEnabled(bool enable) argument
480 setPrintTgidEnableIfPresent(bool enable) argument
717 setCategoryEnable(const char* name, bool enable) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothGatt.aidl63 void enableAdvertisingSet(in int advertiserId, in boolean enable, in int duration, in int maxExtAdvEvents);
69 void setPeriodicAdvertisingEnable(in int advertiserId, in boolean enable);
92 void registerForNotification(in int clientIf, in String address, in int handle, in boolean enable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java286 // If we're in setup wizard and the keyboard is docked, just automatically enable BT.
287 mLocalBluetoothAdapter.enable();
471 boolean enable = msg.arg1 == 1;
472 if (enable) {
473 mLocalBluetoothAdapter.enable();
517 int enable = DialogInterface.BUTTON_POSITIVE == which ? 1 : 0;
518 mHandler.obtainMessage(MSG_ENABLE_BLUETOOTH, enable, 0).sendToTarget();
/frameworks/av/include/media/stagefright/
H A DOMXNodeInstance.h65 OMX_U32 portIndex, OMX_BOOL enable,
241 OMX_U32 portIndex, OMX_BOOL graphic, OMX_BOOL enable);
244 OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type);

Completed in 634 milliseconds

1234567891011>>