Searched refs:allow (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java56 * @param allow whether or not the origin should be allowed to use the
62 public void invoke(String origin, boolean allow, boolean retain); argument
122 public void allow(String origin) { method in class:GeolocationPermissions
H A DWebSettings.java177 * In this mode, the WebView will allow a secure origin to load content from any other origin,
186 * In this mode, the WebView will not allow a secure origin to load content from an insecure
314 public abstract void setAllowFileAccess(boolean allow); argument
328 public abstract void setAllowContentAccess(boolean allow); argument
/frameworks/av/include/media/stagefright/foundation/
H A DADebug.h142 const char *name __unused /* nonnull */, bool allow __unused = true) {
145 return getExperimentFlag(allow, name, 2, 1); // every other day
147 return getExperimentFlag(allow, name, 3, 1); // every third day
156 // pass in allow, so we can print in the log if the experiment is disabled
158 bool allow, const char *name, uint64_t modulo, uint64_t limit,
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp127 bool allow, const char *name, uint64_t modulo,
130 // default to 2 to allow 0/1 specification
135 return allow && (level != 0);
183 bool enable = allow && (counter % modulo < limit);
126 getExperimentFlag( bool allow, const char *name, uint64_t modulo, uint64_t limit, uint64_t plus, uint64_t timeDivisor) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingActivity.java74 // add "always allow" checkbox
120 boolean allow = (which == AlertDialog.BUTTON_POSITIVE);
121 boolean alwaysAllow = allow && mAlwaysAllow.isChecked();
125 if (allow) {
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl342 void setFirewallInterfaceRule(String iface, boolean allow);
343 void setFirewallEgressSourceRule(String addr, boolean allow);
344 void setFirewallEgressDestRule(String addr, int port, boolean allow);
/frameworks/base/core/java/android/app/backup/
H A DIBackupManager.aidl203 void acknowledgeFullBackupOrRestore(int token, boolean allow,
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp113 status_t MonitoredProducer::allowAllocation(bool allow) { argument
114 return mProducer->allowAllocation(allow);
H A DMonitoredProducer.h56 virtual status_t allowAllocation(bool allow);
/frameworks/rs/api/
H A Drs_core.spec21 RenderScript code is compiled on devices at runtime to allow platform-independence as well.
/frameworks/native/include/gui/
H A DBufferQueueProducer.h152 // Successfully calling connect after this will allow the other methods to
176 virtual status_t allowAllocation(bool allow);
H A DIGraphicBufferProducer.h421 // allow the other methods to succeed again.
473 virtual status_t allowAllocation(bool allow) = 0;
/frameworks/base/packages/SystemUI/tests/
H A DAndroid.mk36 # UI it doesn't own. This is necessary to allow screenshots to be taken
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp278 virtual status_t allowAllocation(bool allow) { argument
281 data.writeInt32(static_cast<int32_t>(allow));
470 bool allow = static_cast<bool>(data.readInt32()); local
471 status_t result = allowAllocation(allow);
H A DBufferQueueProducer.cpp1074 status_t BufferQueueProducer::allowAllocation(bool allow) { argument
1076 BQ_LOGV("allowAllocation: %s", allow ? "true" : "false");
1079 mCore->mAllowAllocation = allow;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h118 virtual status_t allowAllocation(bool allow);
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java255 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
262 allow,
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java252 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
257 svc.acknowledgeFullBackupOrRestore(token, allow,
/frameworks/base/services/core/java/com/android/server/net/
H A DLockdownVpnTracker.java306 LinkAddress address, boolean allow) throws RemoteException {
310 mNetService.setFirewallEgressSourceRule(addrString, allow);
305 setFirewallEgressSourceRule( LinkAddress address, boolean allow) argument
/frameworks/base/core/java/android/net/
H A DUri.java1822 * allow argument.
1825 * @param allow set of additional characters to allow in the encoded form,
1830 public static String encode(String s, String allow) { argument
1850 && isAllowed(s.charAt(nextToEncode), allow)) {
1883 && !isAllowed(s.charAt(nextAllowed), allow)) {
1913 * @param allow characters to allow
1917 private static boolean isAllowed(char c, String allow) { argument
1922 || (allow !
[all...]
H A DUrlQuerySanitizer.java47 * unregistered parameter sanitizer does not allow any special characters,
414 * one that doesn't allow any special characters, similar to what
475 * Return a value sanitizer that does not allow any special characters,
476 * and also does not allow script URLs.
502 * encoded URLs. Does not allow script URLs.
512 * Does not allow script URLs.
519 * Return a value sanitizer that does not allow any special characters
520 * except ampersand ('&'). Does not allow script URLs.
527 * Return a value sanitizer that does not allow any special characters
528 * except ampersand ('&') and space (' '). Does not allow scrip
[all...]
/frameworks/opt/photoviewer/
H A DAndroid.mk19 # This is to allow the library to be loaded dynamically in a context where
/frameworks/base/core/java/android/app/
H A DFragment.java466 // Set to true to allow the fragment's menu to be shown.
1295 * sense to re-parse the parameters each time, to allow them to change with
1704 * @return boolean Return false to allow normal menu processing to
1783 * @return boolean Return false to allow normal context menu processing to
2034 * @param allow true to start the enter transition when possible or false to
2038 public void setAllowEnterTransitionOverlap(boolean allow) { argument
2039 mAllowEnterTransitionOverlap = allow;
2060 * @param allow true to start the reenter transition when possible or false to wait until the
2064 public void setAllowReturnTransitionOverlap(boolean allow) { argument
2065 mAllowReturnTransitionOverlap = allow;
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java279 // Set to true to allow the fragment's menu to be shown.
1092 * sense to re-parse the parameters each time, to allow them to change with
1474 * @return boolean Return false to allow normal menu processing to
1554 * @return boolean Return false to allow normal context menu processing to
1776 * @param allow true to start the enter transition when possible or false to
1779 public void setAllowEnterTransitionOverlap(boolean allow) { argument
1780 mAllowEnterTransitionOverlap = allow;
1800 * @param allow true to start the reenter transition when possible or false to wait until the
1803 public void setAllowReturnTransitionOverlap(boolean allow) { argument
1804 mAllowReturnTransitionOverlap = allow;
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java340 * @return Return true to allow the menu to open, or false to prevent
744 * PixelFormat.UNKNOWN to allow the Window to select
1754 * @param allow true to start the enter transition when possible or false to
1758 public void setAllowEnterTransitionOverlap(boolean allow) {} argument
1780 * @param allow true to start the transition when possible or false to wait until the
1784 public void setAllowReturnTransitionOverlap(boolean allow) {} argument

Completed in 527 milliseconds

12