Searched defs:allow (Results 1 - 22 of 22) sorted by relevance

/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 DServiceWorkerWebSettings.java53 public abstract void setAllowContentAccess(boolean allow); argument
66 public abstract void setAllowFileAccess(boolean allow); argument
H A DWebSettings.java188 * In this mode, the WebView will allow a secure origin to load content from any other origin,
197 * In this mode, the WebView will not allow a secure origin to load content from an insecure
325 public abstract void setAllowFileAccess(boolean allow); argument
339 public abstract void setAllowContentAccess(boolean allow); argument
/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/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java255 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
262 allow,
/frameworks/base/services/core/java/com/android/server/net/
H A DLockdownVpnTracker.java303 LinkAddress address, boolean allow) throws RemoteException {
307 mNetService.setFirewallEgressSourceRule(addrString, allow);
302 setFirewallEgressSourceRule( LinkAddress address, boolean allow) argument
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java255 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
260 svc.acknowledgeFullBackupOrRestore(token, allow,
H A DBackupManagerService.java2972 // to false to allow another pass to fire, because we're done with the
4202 // Only allow encrypted backups of encrypted devices
7826 // If the target resides on the system partition, we allow it to restore
8109 * 4. does the metadata for this package allow us to restore it?
9222 // !!! TODO: allow data-clear of ANY app?
9515 public void acknowledgeFullBackupOrRestore(int token, boolean allow, argument
9518 + " allow=" + allow);
9534 if (allow) {
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp118 status_t MonitoredProducer::allowAllocation(bool allow) { argument
119 return mProducer->allowAllocation(allow);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp1316 status_t BufferQueueProducer::allowAllocation(bool allow) { argument
1318 BQ_LOGV("allowAllocation: %s", allow ? "true" : "false");
1321 mCore->mAllowAllocation = allow;
H A DIGraphicBufferProducer.cpp302 virtual status_t allowAllocation(bool allow) { argument
305 data.writeInt32(static_cast<int32_t>(allow));
608 bool allow = static_cast<bool>(data.readInt32()); local
609 status_t result = allowAllocation(allow);
/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...]
/frameworks/rs/api/
H A DSpecification.cpp580 void FunctionSpecification::checkRSTPatternValidity(const string &inlineStr, bool allow, argument
586 if (!allow) {
/frameworks/base/core/java/android/app/
H A DDownloadManager.java694 * @param allowed whether to allow a roaming connection to be used
708 public Request setAllowedOverMetered(boolean allow) { argument
709 mMeteredAllowed = allow;
H A DFragment.java475 // Set to true to allow the fragment's menu to be shown.
1354 * sense to re-parse the parameters each time, to allow them to change with
1841 * @return boolean Return false to allow normal menu processing to
1920 * @return boolean Return false to allow normal context menu processing to
2171 * @param allow true to start the enter transition when possible or false to
2175 public void setAllowEnterTransitionOverlap(boolean allow) { argument
2176 mAllowEnterTransitionOverlap = allow;
2197 * @param allow true to start the reenter transition when possible or false to wait until the
2201 public void setAllowReturnTransitionOverlap(boolean allow) { argument
2202 mAllowReturnTransitionOverlap = allow;
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java718 * @param allow If true receiver is currently active, if false it's been removed.
720 public void updateMonitoring(boolean allow) { argument
727 if (allow) {
2118 // also allow providers with a UID matching the
2239 // interval (i.e. don't allow an app to keep registering and unregistering for
H A DNetworkManagementService.java2098 public void setFirewallInterfaceRule(String iface, boolean allow) { argument
2101 final String rule = allow ? "allow" : "deny";
2110 public void setFirewallEgressSourceRule(String addr, boolean allow) { argument
2113 final String rule = allow ? "allow" : "deny";
2122 public void setFirewallEgressDestRule(String addr, int port, boolean allow) { argument
2125 final String rule = allow ? "allow" : "deny";
2149 // ... except for the UIDs that have allow rule
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp96 const float kMaxRequiredSpeed = 8.0f; // for PCM tracks allow up to 8x speedup.
905 media::Metadata::Filter allow, drop; local
907 if (unmarshallFilter(filter, &allow, &status) &&
911 mMetadataAllow = allow;
1602 // do not allow direct stream type modification if attributes have been set
1634 // slightly prematurely to allow time for the gapless track switch
1938 usleep(5 * 1000 /* usec */); // allow callback to use AudioOutput
/frameworks/base/core/java/android/view/
H A DWindow.java438 * @return Return true to allow the menu to open, or false to prevent
977 * PixelFormat.UNKNOWN to allow the Window to select
2012 * @param allow true to start the enter transition when possible or false to
2016 public void setAllowEnterTransitionOverlap(boolean allow) {} argument
2038 * @param allow true to start the transition when possible or false to wait until the
2042 public void setAllowReturnTransitionOverlap(boolean allow) {} argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java286 // Set to true to allow the fragment's menu to be shown.
1132 * sense to re-parse the parameters each time, to allow them to change with
1597 * @return boolean Return false to allow normal menu processing to
1677 * @return boolean Return false to allow normal context menu processing to
1899 * @param allow true to start the enter transition when possible or false to
1902 public void setAllowEnterTransitionOverlap(boolean allow) { argument
1903 mAllowEnterTransitionOverlap = allow;
1923 * @param allow true to start the reenter transition when possible or false to wait until the
1926 public void setAllowReturnTransitionOverlap(boolean allow) { argument
1927 mAllowReturnTransitionOverlap = allow;
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java2371 // Don't allow an action bar if there is no title.
3265 public void setAllowEnterTransitionOverlap(boolean allow) { argument
3266 mAllowEnterTransitionOverlap = allow;
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java978 * "android-allow-cross-domain-redirect" as the key and "0" or "1" as the value
979 * to disallow or allow cross domain redirection.
1303 * @param screenOn Supply true to keep the screen on, false to allow it
1398 * Try to keep audio pitch when changing the playback rate, but allow the
1597 * shorthands to allow/block all or no metadata.
1601 * @param allow Is the set of metadata the client is interested
1610 public int setMetadataFilter(Set<Integer> allow, Set<Integer> block) { argument
1622 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1628 request.writeInt(allow.size());
1629 for(Integer t: allow) {
[all...]

Completed in 1005 milliseconds