Home
last modified time | relevance | path

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

12345678910>>...16

/system/core/llkd/
Dllkd.rc1 # eng default for ro.llk.enable and ro.khungtask.enable
3 setprop llk.enable ${ro.llk.enable:-0}
4 setprop khungtask.enable ${ro.khungtask.enable:-0}
6 on property:ro.llk.enable=true
7 setprop llk.enable true
9 on property:llk.enable=1
10 setprop llk.enable true
12 on property:llk.enable=0
13 setprop llk.enable false
15 on property:ro.khungtask.enable=true
[all …]
Dllkd-debuggable.rc2 setprop llk.enable ${ro.llk.enable:-1}
3 setprop khungtask.enable ${ro.khungtask.enable:-1}
5 on property:ro.llk.enable=eng
6 setprop llk.enable ${ro.debuggable:-0}
8 on property:ro.khungtask.enable=eng
9 setprop khungtask.enable ${ro.debuggable:-0}
/system/chre/apps/power_test/common/
Drequest_manager.cc123 bool RequestManager::requestTimer(bool enable, TimerType type, in requestTimer() argument
126 if (enable) { in requestTimer()
144 enable, type, delay.toRawNanoseconds()); in requestTimer()
160 bool enable, uint32_t scanIntervalMillis, in requestGnssLocation() argument
163 if (enable) { in requestGnssLocation()
171 success, enable, scanIntervalMillis, minTimeToNextFixMillis); in requestGnssLocation()
175 bool RequestManager::requestGnssMeasurement(bool enable, in requestGnssMeasurement() argument
178 if (enable) { in requestGnssMeasurement()
185 success, enable, intervalMillis); in requestGnssMeasurement()
194 bool RequestManager::requestAudio(bool enable, in requestAudio() argument
[all …]
/system/core/set-verity-state/
Dset-verity-state.cpp64 bool enable) { in set_verity_enabled_state() argument
85 if (!enable && metadata.disabled) { in set_verity_enabled_state()
90 if (enable && !metadata.disabled) { in set_verity_enabled_state()
95 if (!fh.set_verity_status(enable)) { in set_verity_enabled_state()
97 enable ? "enabled" : "disabled", block_device, strerror(errno)); in set_verity_enabled_state()
103 if (enable ? fs_mgr_overlayfs_teardown(mount_point, &change) in set_verity_enabled_state()
106 printf("%s overlayfs for %s\n", enable ? "disabling" : "using", mount_point); in set_verity_enabled_state()
109 int expected_errno = enable ? EBUSY : ENOENT; in set_verity_enabled_state()
111 printf("Overlayfs %s for %s failed with error %s\n", enable ? "teardown" : "setup", in set_verity_enabled_state()
115 printf("Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
[all …]
/system/chre/apps/power_test/common/include/
Drequest_manager.h75 bool requestBreakIt(bool enable);
84 bool requestAudioAtFastestRate(bool enable) const;
94 bool requestTimer(bool enable, TimerType type, Nanoseconds delay);
112 bool requestGnssLocation(bool enable, uint32_t scanIntervalMillis,
123 bool requestGnssMeasurement(bool enable, uint32_t intervalMillis) const;
139 bool requestAudio(bool enable, uint64_t bufferDurationNs) const;
153 bool requestSensor(bool enable, uint8_t sensorType,
163 bool requestAllSensors(bool enable) const;
/system/chre/core/
Dgnss_manager.cc102 bool enable) { in configurePassiveLocationListener() argument
107 if (nanoappHasPassiveLocationListener(instanceId, &index) != enable) { in configurePassiveLocationListener()
117 } else if (enable && !mPassiveLocationListenerNanoapps.prepareForPush()) { in configurePassiveLocationListener()
120 bool platformEnable = enable && mPassiveLocationListenerNanoapps.empty(); in configurePassiveLocationListener()
122 !enable && (mPassiveLocationListenerNanoapps.size() == 1); in configurePassiveLocationListener()
129 success = platformConfigurePassiveLocationListener(enable); in configurePassiveLocationListener()
136 if (enable) { in configurePassiveLocationListener()
165 bool GnssManager::platformConfigurePassiveLocationListener(bool enable) { in platformConfigurePassiveLocationListener() argument
166 bool success = mPlatformGnss.configurePassiveLocationListener(enable); in platformConfigurePassiveLocationListener()
169 enable ? "enable" : "disable"); in platformConfigurePassiveLocationListener()
[all …]
Dwifi_request_manager.cc50 bool WifiRequestManager::configureScanMonitor(Nanoapp *nanoapp, bool enable, in configureScanMonitor() argument
58 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
59 } else if (scanMonitorIsInRequestedState(enable, hasScanMonitorRequest)) { in configureScanMonitor()
63 enable, CHRE_ERROR_NONE, cookie); in configureScanMonitor()
64 } else if (scanMonitorStateTransitionIsRequired(enable, in configureScanMonitor()
66 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
68 success = mPlatformWifi.configureScanMonitor(enable); in configureScanMonitor()
268 transition.enable ? "true" : "false", in logStateToBuffer()
317 bool enable, in addScanMonitorRequestToQueue() argument
322 scanMonitorStateTransition.enable = enable; in addScanMonitorRequestToQueue()
[all …]
Dnanoapp.cc88 void Nanoapp::configureNanoappInfoEvents(bool enable) { in configureNanoappInfoEvents() argument
89 if (enable) { in configureNanoappInfoEvents()
98 void Nanoapp::configureHostSleepEvents(bool enable) { in configureHostSleepEvents() argument
99 if (enable) { in configureHostSleepEvents()
108 void Nanoapp::configureDebugDumpEvent(bool enable) { in configureDebugDumpEvent() argument
109 if (enable) { in configureDebugDumpEvent()
116 void Nanoapp::configureUserSettingEvent(uint8_t setting, bool enable) { in configureUserSettingEvent() argument
117 if (enable) { in configureUserSettingEvent()
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DSettingsUtil.java65 public void setWifiScanningSettings(boolean enable) { in setWifiScanningSettings() argument
66 String value = enable ? "1" : "0"; in setWifiScanningSettings()
70 Assert.assertTrue(isWifiScanningAlwaysEnabled() == enable); in setWifiScanningSettings()
76 public void setWifi(boolean enable) { in setWifi() argument
77 String value = enable ? "enable" : "disable"; in setWifi()
80 Assert.assertTrue(isWifiEnabled() == enable); in setWifi()
106 public void setLocationMode(boolean enable, long timeoutSeconds) { in setLocationMode() argument
107 if (isLocationEnabled() != enable) { in setLocationMode()
113 mLocationManager.setLocationEnabledForUser(enable, UserHandle.CURRENT); in setLocationMode()
124 Assert.assertTrue(isLocationEnabled() == enable); in setLocationMode()
/system/chre/chpp/platform/linux/services/
Dplatform_gnss.c42 static bool gnssPalControlLocationSession(bool enable, uint32_t minIntervalMs, in gnssPalControlLocationSession() argument
45 UNUSED_VAR(enable); in gnssPalControlLocationSession()
56 static bool gnssPalControlMeasurementSessiont(bool enable, in gnssPalControlMeasurementSessiont() argument
59 UNUSED_VAR(enable); in gnssPalControlMeasurementSessiont()
71 static bool gnssPalConfigurePassiveLocationListener(bool enable) { in gnssPalConfigurePassiveLocationListener() argument
73 UNUSED_VAR(enable); in gnssPalConfigurePassiveLocationListener()
/system/sepolicy/prebuilts/api/27.0/private/
Dgenfs_contexts65 genfscon sysfs /devices/virtual/timed_output/vibrator/enable u:object_r:sysfs_vibrator:s0
76 genfscon debugfs /tracing/events/sync/enable u:object_r:debugfs_tracing_deb…
77 genfscon debugfs /tracing/events/workqueue/enable u:object_r:debugfs_tracing_deb…
78 genfscon debugfs /tracing/events/regulator/enable u:object_r:debugfs_tracing_deb…
79 genfscon debugfs /tracing/events/pagecache/enable u:object_r:debugfs_tracing_deb…
80 genfscon debugfs /tracing/events/irq/enable u:object_r:debugfs_tracing_deb…
81 genfscon debugfs /tracing/events/ipi/enable u:object_r:debugfs_tracing_deb…
82 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/enable u:object_r:debugfs_tracing_deb…
83 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/enable u:object_r:debugfs_tracing_deb…
84 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/enable u:object_r:debugfs_tracing_deb…
[all …]
/system/chre/apps/sensor_world/
Dsensor_world.cc57 bool enable; member
69 .enable = kEnableDefault,
79 .enable = false, // InstantMotion is triggered by Prox
89 .enable = false, // StationaryDetect is triggered by Prox
99 .enable = kEnableDefault,
109 .enable = kEnableDefault,
119 .enable = kEnableDefault,
129 .enable = kEnableDefault,
139 .enable = kEnableDefault,
149 .enable = kEnableDefault,
[all …]
/system/chre/core/include/chre/core/
Dgnss_manager.h169 bool enable; member
241 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
267 bool addRequestToQueue(uint32_t instanceId, bool enable,
300 bool updateRequests(bool enable, Milliseconds minInterval,
315 bool postAsyncResultEvent(uint32_t instanceId, bool success, bool enable,
326 void postAsyncResultEventFatal(uint32_t instanceId, bool success, bool enable,
354 bool controlPlatform(bool enable, Milliseconds minInterval,
435 bool configurePassiveLocationListener(Nanoapp *nanoapp, bool enable);
485 bool platformConfigurePassiveLocationListener(bool enable);
Dwifi_request_manager.h73 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
174 bool enable; //!< Requested scan monitor state member
289 bool addScanMonitorRequestToQueue(Nanoapp *nanoapp, bool enable,
299 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId);
317 bool enable, uint8_t errorCode,
328 bool success, bool enable,
Dnanoapp.h143 void configureNanoappInfoEvents(bool enable);
151 void configureHostSleepEvents(bool enable);
159 void configureDebugDumpEvent(bool enable);
171 void configureUserSettingEvent(uint8_t setting, bool enable);
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h341 bool enable() const { in enable() function
359 void add_enable(bool enable) { in add_enable()
360 fbb_.AddElement<uint8_t>(TimerMessage::VT_ENABLE, static_cast<uint8_t>(enable), 0); in add_enable()
379 bool enable = false,
383 builder_.add_enable(enable);
398 bool enable() const { in enable() function
428 void add_enable(bool enable) { in add_enable()
429 fbb_.AddElement<uint8_t>(WifiScanMessage::VT_ENABLE, static_cast<uint8_t>(enable), 0); in add_enable()
457 bool enable = false,
467 builder_.add_enable(enable);
[all …]
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h344 bool enable; member
347 : enable(false), in TimerMessageT()
361 bool enable() const { in enable() function
388 void add_enable(bool enable) { in add_enable()
389 fbb_.AddElement<uint8_t>(TimerMessage::VT_ENABLE, static_cast<uint8_t>(enable), 0); in add_enable()
408 bool enable = false,
412 builder_.add_enable(enable);
420 bool enable; member
426 : enable(false), in WifiScanMessageT()
446 bool enable() const { in enable() function
[all …]
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc190 bool chreAudioConfigureSource(uint32_t handle, bool enable, in chreAudioConfigureSource() argument
195 ? fptr(handle, enable, bufferDuration, deliveryInterval) in chreAudioConfigureSource()
208 void chreConfigureHostSleepStateEvents(bool enable) { in chreConfigureHostSleepStateEvents() argument
211 fptr(enable); in chreConfigureHostSleepStateEvents()
224 bool chreGnssConfigurePassiveLocationListener(bool enable) { in chreGnssConfigurePassiveLocationListener() argument
226 return (fptr != nullptr) ? fptr(enable) : false; in chreGnssConfigurePassiveLocationListener()
272 bool chreSensorConfigureBiasEvents(uint32_t sensorHandle, bool enable) { in chreSensorConfigureBiasEvents() argument
274 return (fptr != nullptr) ? fptr(sensorHandle, enable) : false; in chreSensorConfigureBiasEvents()
291 void chreConfigureDebugDumpEvent(bool enable) { in chreConfigureDebugDumpEvent() argument
294 fptr(enable); in chreConfigureDebugDumpEvent()
[all …]
/system/chre/platform/shared/
Dplatform_gnss.cc69 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, in controlLocationSession() argument
74 enable, static_cast<uint32_t>(minInterval.getMilliseconds()), in controlLocationSession()
110 bool PlatformGnss::controlMeasurementSession(bool enable, in controlMeasurementSession() argument
115 enable, static_cast<uint32_t>(minInterval.getMilliseconds())); in controlMeasurementSession()
128 bool PlatformGnss::configurePassiveLocationListener(bool enable) { in configurePassiveLocationListener() argument
133 success = mGnssApi->configurePassiveLocationListener(enable); in configurePassiveLocationListener()
Dchre_api_core.cc126 DLL_EXPORT void chreConfigureNanoappInfoEvents(bool enable) { in chreConfigureNanoappInfoEvents() argument
128 nanoapp->configureNanoappInfoEvents(enable); in chreConfigureNanoappInfoEvents()
131 DLL_EXPORT void chreConfigureHostSleepStateEvents(bool enable) { in chreConfigureHostSleepStateEvents() argument
133 nanoapp->configureHostSleepEvents(enable); in chreConfigureHostSleepStateEvents()
143 DLL_EXPORT void chreConfigureDebugDumpEvent(bool enable) { in chreConfigureDebugDumpEvent() argument
145 nanoapp->configureDebugDumpEvent(enable); in chreConfigureDebugDumpEvent()
/system/chre/platform/include/chre/platform/
Dplatform_gnss.h58 bool controlLocationSession(bool enable, Milliseconds minInterval,
78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
93 bool configurePassiveLocationListener(bool enable);
/system/chre/pal/include/chre/pal/
Dgnss.h214 bool (*controlLocationSession)(bool enable, uint32_t minIntervalMs,
239 bool (*controlMeasurementSession)(bool enable, uint32_t minIntervalMs);
285 bool (*configurePassiveLocationListener)(bool enable);
/system/nfc/src/nfc/nfc/
Dnfc_main.cc218 evt_data.enable.nci_version = nfc_cb.nci_version; in nfc_enabled()
219 STREAM_TO_UINT32(evt_data.enable.nci_features, p); in nfc_enabled()
228 evt_data.enable.nci_interfaces = 0; in nfc_enabled()
231 evt_data.enable.nci_interfaces |= (1 << (*p)); in nfc_enabled()
239 nfc_cb.nci_interfaces = evt_data.enable.nci_interfaces; in nfc_enabled()
240 memcpy(evt_data.enable.vs_interface, nfc_cb.vs_interface, in nfc_enabled()
244 evt_data.enable.max_conn = *p++; in nfc_enabled()
245 STREAM_TO_UINT16(evt_data.enable.max_ce_table, p); in nfc_enabled()
247 nfc_cb.max_ce_table = evt_data.enable.max_ce_table; in nfc_enabled()
248 nfc_cb.nci_features = evt_data.enable.nci_features; in nfc_enabled()
[all …]
/system/extras/simpleperf/
Dreport_utils.h54 void SetRemoveArtFrame(bool enable) { remove_art_frame_ = enable; } in SetRemoveArtFrame() argument
57 void SetConvertJITFrame(bool enable) { convert_jit_frame_ = enable; } in SetConvertJITFrame() argument
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc636 bool enable = (args[1] == "enable"); in createTimerMessage() local
638 fbb.Finish(ptest::CreateTimerMessage(fbb, enable, intervalNanoseconds)); in createTimerMessage()
639 LOGI("Created TimerMessage, enable %d, wakeup interval ns %" PRIu64, enable, in createTimerMessage()
644 bool enable = (args[1] == "enable"); in createWifiMessage() local
658 fbb.Finish(ptest::CreateWifiScanMessage(fbb, enable, intervalNanoseconds, in createWifiMessage()
662 enable, intervalNanoseconds, static_cast<uint8_t>(scanType), in createWifiMessage()
667 bool enable = (args[1] == "enable"); in createGnssMessage() local
670 fbb.Finish(ptest::CreateGnssLocationMessage(fbb, enable, intervalMilliseconds, in createGnssMessage()
674 enable, intervalMilliseconds, toNextFixMilliseconds); in createGnssMessage()
678 bool enable = (args[1] == "enable"); in createCellMessage() local
[all …]

12345678910>>...16