Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java465 public @NonNull Builder allowReminders(boolean allow) { in allowReminders() argument
467 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()
475 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() argument
477 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()
534 public @NonNull Builder allowRepeatCallers(boolean allow) { in allowRepeatCallers() argument
536 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers()
546 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() argument
548 allow ? STATE_ALLOW : STATE_DISALLOW); in allowAlarms()
557 public @NonNull Builder allowMedia(boolean allow) { in allowMedia() argument
559 allow ? STATE_ALLOW : STATE_DISALLOW); in allowMedia()
[all …]
/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/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/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
DWebSettings.java377 public abstract void setAllowFileAccess(boolean allow); in setAllowFileAccess() argument
391 public abstract void setAllowContentAccess(boolean allow); in setAllowContentAccess() argument
/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()
/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/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()
159 if (allow) { in onClick()
/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/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.java277 public synchronized boolean setAllowDataDuringVoiceCall(boolean allow) { in setAllowDataDuringVoiceCall() argument
278 localLog("setAllowDataDuringVoiceCall", allow); in setAllowDataDuringVoiceCall()
279 if (allow == isDataAllowedInVoiceCall()) { in setAllowDataDuringVoiceCall()
282 mDataEnabledOverride.setDataAllowedInVoiceCall(allow); in setAllowDataDuringVoiceCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java208 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
209 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
213 if (allow) { in onClick()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java62 private NotificationRecord getNotificationRecord(boolean allow, int importanceHigh) { in getNotificationRecord() argument
64 channel.setAllowBubbles(allow); in getNotificationRecord()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp111 status_t MonitoredProducer::allowAllocation(bool allow) { in allowAllocation() argument
112 return mProducer->allowAllocation(allow); in allowAllocation()
/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/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java181 private void setAppOpsModeAllowed(boolean allow) { in setAppOpsModeAllowed() argument
183 TEST_APP_PACKAGE, allow ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED); in setAppOpsModeAllowed()
/frameworks/multidex/library/
DREADME6 Note that multidexing will allow to go over the dex index limit.
/frameworks/rs/script_api/
Drs_core.spec21 RenderScript code is compiled on devices at runtime to allow platform-independence as well.
/frameworks/rs/driver/
DREADME.txt11 provided at a particular SlangVersion that allow the aforementioned
/frameworks/base/core/proto/android/os/
Denums.proto158 // Put the screen in a low power state and allow the CPU to suspend if
164 // Keep the device awake enough to allow drawing to occur. This is used
165 // by the window manager to allow applications to draw while the system
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java565 boolean allow, in acknowledgeFullBackupOrRestoreForUser() argument
571 mService.acknowledgeAdbBackupOrRestore(userId, token, allow, in acknowledgeFullBackupOrRestoreForUser()
577 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, in acknowledgeFullBackupOrRestore() argument
581 binderGetCallingUserId(), token, allow, curPassword, encryptionPassword, observer); in acknowledgeFullBackupOrRestore() local
/frameworks/native/libs/gui/tests/
DMalicious.cpp75 status_t allowAllocation(bool allow) override { return mProducer->allowAllocation(allow); } in allowAllocation() argument
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java379 public @NonNull Builder allowPrivilegedPlaybackCapture(boolean allow) { in allowPrivilegedPlaybackCapture() argument
380 mAllowPrivilegedPlaybackCapture = allow; in allowPrivilegedPlaybackCapture()

12345