Home
last modified time | relevance | path

Searched refs:allow (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingActivity.java154 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
155 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
156 notifyService(allow, alwaysAllow); in onClick()
167 private void notifyService(boolean allow) { in notifyService() argument
168 notifyService(allow, false); in notifyService()
179 private void notifyService(boolean allow, boolean alwaysAllow) { in notifyService() argument
183 if (allow) { in notifyService()
/frameworks/native/services/vr/performanced/
Dperformance_service.cpp54 bool allow = false; in Check() local
55 EXPAND_PACK(allow |= (uid == UIDs)); in Check()
56 return allow; in Check()
65 bool allow = false; in Check() local
66 EXPAND_PACK(allow |= (gid == GIDs)); in Check()
67 return allow; in Check()
89 bool allow = false; in Check() local
90 EXPAND_PACK(allow |= Allows::Check(sender, task)); in Check()
91 return allow; in Check()
99 bool allow = true; in Check() local
[all …]
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java525 public @NonNull Builder allowReminders(boolean allow) { in allowReminders() argument
527 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()
535 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() argument
537 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()
619 public @NonNull Builder allowRepeatCallers(boolean allow) { in allowRepeatCallers() argument
621 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers()
630 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() argument
632 allow ? STATE_ALLOW : STATE_DISALLOW); in allowAlarms()
641 public @NonNull Builder allowMedia(boolean allow) { in allowMedia() argument
643 allow ? STATE_ALLOW : STATE_DISALLOW); in allowMedia()
[all …]
/frameworks/proto_logging/stats/stats_log_api_gen/
Drust_wrapper.rs1 #![allow(clippy::too_many_arguments)]
2 #![allow(missing_docs)]
Drust_header_wrapper.rs1 #![allow(clippy::too_many_arguments)]
2 #![allow(missing_docs)]
/frameworks/av/services/audiopolicy/engineconfigurable/sepolicy/
Daudioserver.te2 allow audioserver audioserver_socket:dir rw_dir_perms;
3 allow audioserver audioserver_socket:sock_file create_file_perms;
/frameworks/base/core/java/android/webkit/
DServiceWorkerWebSettings.java53 public abstract void setAllowContentAccess(boolean allow); in setAllowContentAccess() argument
66 public abstract void setAllowFileAccess(boolean allow); in setAllowFileAccess() argument
DGeolocationPermissions.java62 public void invoke(String origin, boolean allow, boolean retain); in invoke() argument
122 public void allow(String origin) { in allow() method in GeolocationPermissions
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h152 bool allow __attribute__((unused)) = true) {
155 return getExperimentFlag(allow, name, 2, 1); // every other day
157 return getExperimentFlag(allow, name, 3, 1); // every third day
168 bool allow, const char *name, uint64_t modulo, uint64_t limit,
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java65 return IntegrityCheckResult.allow(matchedPowerAllowRules); in evaluateRules()
79 return IntegrityCheckResult.allow(); in evaluateRules()
/frameworks/base/services/core/java/com/android/server/integrity/model/
DIntegrityCheckResult.java62 public static IntegrityCheckResult allow() { in allow() method in IntegrityCheckResult
71 public static IntegrityCheckResult allow(List<Rule> ruleList) { in allow() method in IntegrityCheckResult
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp127 bool allow, const char *name, uint64_t modulo, in getExperimentFlag() argument
135 return allow && (level != 0); in getExperimentFlag()
183 bool enable = allow && (counter % modulo < limit); in getExperimentFlag()
DAndroid.bp49 // target below does not allow adding header_libs.
175 // target below does not allow adding header_libs.
/frameworks/native/cmds/atrace/
Datrace_userdebug.rc1 ## Permissions to allow additional system-wide tracing to the kernel trace buffer.
8 # On userdebug allow to enable any event via the generic
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTestActivity.java112 public Configurator setAllowKey(boolean allow) { in setAllowKey() argument
113 sAllowKey = allow; in setAllowKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java334 public void setAlwaysAllowMms(boolean allow) { in setAlwaysAllowMms() argument
335 if (allow) { in setAlwaysAllowMms()
351 public void setDataAllowedInVoiceCall(boolean allow) { in setDataAllowedInVoiceCall() argument
352 if (allow) { in setDataAllowedInVoiceCall()
DDataEnabledSettings.java316 public synchronized boolean setAllowDataDuringVoiceCall(boolean allow) { in setAllowDataDuringVoiceCall() argument
317 localLog("setAllowDataDuringVoiceCall", allow); in setAllowDataDuringVoiceCall()
318 if (allow == isDataAllowedInVoiceCall()) { in setAllowDataDuringVoiceCall()
321 mDataEnabledOverride.setDataAllowedInVoiceCall(allow); in setAllowDataDuringVoiceCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java211 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
212 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
216 if (allow) { in onClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyControllerTest.java126 private void allowPrivateNotificationsInPublic(boolean allow) { in allowPrivateNotificationsInPublic() argument
128 allow); in allowPrivateNotificationsInPublic()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
DIntegrityCheckResultTest.java39 IntegrityCheckResult allowResult = IntegrityCheckResult.allow(); in createAllowResult()
57 IntegrityCheckResult.allow(Collections.singletonList(forceAllowRule)); in createAllowResultWithRule()
/frameworks/base/core/java/android/hardware/biometrics/
DPromptInfo.java191 public void setAllowBackgroundAuthentication(boolean allow) { in setAllowBackgroundAuthentication() argument
192 mAllowBackgroundAuthentication = allow; in setAllowBackgroundAuthentication()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp109 status_t MonitoredProducer::allowAllocation(bool allow) { in allowAllocation() argument
110 return mProducer->allowAllocation(allow); in allowAllocation()
/frameworks/base/core/proto/android/view/inputmethod/
Dinputmethodeditortrace.proto49 /* Must be the first field to allow winscope to auto-detect the dump type. Set to value
95 /* Must be the first field to allow winscope to auto-detect the dump type. Set to value
128 /* Must be the first field to allow winscope to auto-detect the dump type. Set to value
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl322 void acknowledgeFullBackupOrRestoreForUser(int userId, int token, boolean allow, in acknowledgeFullBackupOrRestoreForUser() argument
331 void acknowledgeFullBackupOrRestore(int token, boolean allow, in acknowledgeFullBackupOrRestore() argument
/frameworks/multidex/library/
DREADME6 Note that multidexing will allow to go over the dex index limit.

12345