Home
last modified time | relevance | path

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

1234567

/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/
Dannotation-allowed-classes-tiny-framework.txt4 # either allow it if the line doesn't have a !, or disallow if the line has a !.
8 # To allow a specific class to use annotations:
14 # To allow a specific package to use annotations:
25 # Use this to allow all packages
28 # Use this to allow all packages
/frameworks/proto_logging/stats/stats_log_api_gen/
Drust_wrapper.rs1 #![allow(clippy::too_many_arguments)]
2 #![allow(clippy::undocumented_unsafe_blocks)]
3 #![allow(missing_docs)]
Drust_header_wrapper.rs1 #![allow(clippy::too_many_arguments)]
2 #![allow(missing_docs)]
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/utils/
DClassFilter.kt108 var allow = true in <lambda>() variable
110 allow = false in <lambda>()
116 ret.elements.add(FilterElement(allow, "", true)) in <lambda>()
123 allow, line.substring(0, line.length - 2).toJvmClassName(), true)) in <lambda>()
135 ret.elements.add(FilterElement(allow, line.toJvmClassName(), false)) in <lambda>()
/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.java745 public @NonNull Builder allowReminders(boolean allow) { in allowReminders() argument
747 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()
755 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() argument
757 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()
839 public @NonNull Builder allowRepeatCallers(boolean allow) { in allowRepeatCallers() argument
841 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers()
850 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() argument
852 allow ? STATE_ALLOW : STATE_DISALLOW); in allowAlarms()
861 public @NonNull Builder allowMedia(boolean allow) { in allowMedia() argument
863 allow ? STATE_ALLOW : STATE_DISALLOW); in allowMedia()
[all …]
/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/module/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/native/libs/nativewindow/tests/benchmark/
Dbuffer_benchmarks.rs17 #![allow(dead_code)]
18 #![allow(missing_docs)]
/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/module/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()
/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/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/native/libs/binder/trusty/rust/binder_rpc_unstable_bindgen/
Dlib.rs19 #[allow(bad_style)]
/frameworks/native/libs/binder/trusty/rust/binder_rpc_server_bindgen/
Dlib.rs19 #[allow(bad_style)]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDataTransferActivity.java93 allowButton.setOnClickListener(v -> allow()); in onCreate()
98 private void allow() { in allow() method in CompanionDeviceDataTransferActivity
/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.java121 private void allowNotificationsInPublic(boolean allow) { in allowNotificationsInPublic() argument
122 when(mLockScreenUserManager.userAllowsNotificationsInPublic(anyInt())).thenReturn(allow); in allowNotificationsInPublic()
/frameworks/base/packages/SystemUI/aconfig/
Daccessibility.aconfig40 description: "adds a second drag button to allow the user edit the shortcut."
64 description: "Adjusts bounds to allow the floating menu to render on top of navigation bars."
/frameworks/native/libs/binder/rust/sys/
Dlib.rs32 #[allow(bad_style)]
/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()

1234567