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

/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java54 * @param allow whether or not the origin should be allowed to use the
60 public void invoke(String origin, boolean allow, boolean retain); argument
119 public void allow(String origin) { method in class:GeolocationPermissions
H A DWebSettings.java256 public void setAllowFileAccess(boolean allow) { argument
274 public void setAllowContentAccess(boolean allow) { argument
H A DGeolocationPermissionsClassic.java215 public void allow(String origin) { method in class:GeolocationPermissionsClassic
H A DWebSettingsClassic.java499 public void setAllowFileAccess(boolean allow) { argument
500 mAllowFileAccess = allow;
515 public void setAllowContentAccess(boolean allow) { argument
516 mAllowContentAccess = allow;
H A DWebViewCore.java457 // client to allow or deny quota is available.
503 public void invoke(String origin, boolean allow, boolean remember) {
506 data.mAllow = allow;
711 * Inform webcore that the user has decided whether to allow or deny new
723 * @param allow Whether Geolocation permissions are allowed.
728 String origin, boolean allow, boolean remember);
727 nativeGeolocationPermissionsProvide(int nativeClass, String origin, boolean allow, boolean remember) argument
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java68 public void setGeolocationPermission(boolean allow); argument
H A DCallbackProxy.java509 public void setGeolocationPermission(boolean allow) { argument
510 obtainMessage(SET_GEOLOCATION_PERMISSION, allow ? 1 : 0, 0).sendToTarget();
H A DTestShellActivity.java546 public void setGeolocationPermission(boolean allow) { argument
548 mGeolocationPermission = allow;
809 // allow it's content to execute and be recorded by the test
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java83 public void setGeolocationPermission(boolean allow) { argument
84 mLayoutTestsExecutor.setGeolocationPermission(allow);
H A DLayoutTestsExecutor.java243 * We never display the new window, just create the view and allow it's content to
724 public void setGeolocationPermission(boolean allow) { argument
725 Log.i(LOG_TAG, mCurrentTestRelativePath + ": setGeolocationPermission(" + allow +
728 msg.arg1 = allow ? 1 : 0;
/frameworks/base/core/java/android/app/backup/
H A DIBackupManager.aidl192 void acknowledgeFullBackupOrRestore(int token, boolean allow,
/frameworks/base/packages/SystemUI/tests/
H A DAndroid.mk27 # UI it doesn't own. This is necessary to allow screenshots to be taken
/frameworks/native/libs/utils/
H A DRefBase.cpp455 bool allow; local
461 allow = (impl->mFlags&OBJECT_LIFETIME_WEAK) != OBJECT_LIFETIME_WEAK
468 allow = (impl->mFlags&OBJECT_LIFETIME_WEAK) == OBJECT_LIFETIME_WEAK
471 if (!allow) {
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java244 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
252 allow,
/frameworks/base/core/java/android/net/
H A DUri.java1811 * allow argument.
1814 * @param allow set of additional characters to allow in the encoded form,
1819 public static String encode(String s, String allow) { argument
1839 && isAllowed(s.charAt(nextToEncode), allow)) {
1872 && !isAllowed(s.charAt(nextAllowed), allow)) {
1902 * @param allow characters to allow
1906 private static boolean isAllowed(char c, String allow) { argument
1911 || (allow !
[all...]
H A DUrlQuerySanitizer.java46 * unregistered parameter sanitizer does not allow any special characters,
413 * one that doesn't allow any special characters, similar to what
474 * Return a value sanitizer that does not allow any special characters,
475 * and also does not allow script URLs.
501 * encoded URLs. Does not allow script URLs.
511 * Does not allow script URLs.
518 * Return a value sanitizer that does not allow any special characters
519 * except ampersand ('&'). Does not allow script URLs.
526 * Return a value sanitizer that does not allow any special characters
527 * except ampersand ('&') and space (' '). Does not allow scrip
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1098 * @param screenOn Supply true to keep the screen on, false to allow it
1222 * shorthands to allow/block all or no metadata.
1226 * @param allow Is the set of metadata the client is interested
1235 public int setMetadataFilter(Set<Integer> allow, Set<Integer> block) { argument
1247 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1253 request.writeInt(allow.size());
1254 for(Integer t: allow) {
/frameworks/base/core/java/android/app/
H A DDownloadManager.java632 * @param allowed whether to allow a roaming connection to be used
646 public Request setAllowedOverMetered(boolean allow) { argument
647 mMeteredAllowed = allow;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp951 media::Metadata::Filter allow, drop; local
953 if (unmarshallFilter(filter, &allow, &status) &&
957 mMetadataAllow = allow;
/frameworks/base/core/java/android/server/
H A DBluetoothService.java505 * also does not allow incoming A2DP/HSP connections (that
506 * must go through this service), but does allow communication
2230 * @param allow - true / false
2233 public boolean allowIncomingProfileConnect(BluetoothDevice device, boolean allow) { argument
2247 if (DBG) log("allowIncomingProfileConnect: " + device + " : " + allow + " : " + data);
2248 return setAuthorizationNative(address, allow, data.intValue());
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java2068 // to false to allow another pass to fire, because we're done with the
4051 // If the target resides on the system partition, we allow it to restore
4816 // !!! TODO: allow backup of ANY app?
4881 // !!! TODO: allow data-clear of ANY app?
5092 public void acknowledgeFullBackupOrRestore(int token, boolean allow, argument
5095 + " allow=" + allow);
5111 if (allow) {

Completed in 458 milliseconds