Searched defs:allow (Results 1 - 24 of 24) 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.java189 * In this mode, the WebView will allow a secure origin to load content from any other origin,
198 * In this mode, the WebView will not allow a secure origin to load content from an insecure
326 public abstract void setAllowFileAccess(boolean allow); argument
340 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.java305 LinkAddress address, boolean allow) throws RemoteException {
309 mNetService.setFirewallEgressSourceRule(addrString, allow);
304 setFirewallEgressSourceRule( LinkAddress address, boolean allow) argument
/frameworks/av/media/libstagefright/omx/1.0/
H A DWGraphicBufferProducer.cpp263 Return<int32_t> TWGraphicBufferProducer::allowAllocation(bool allow) { argument
264 return static_cast<int32_t>(mBase->allowAllocation(allow));
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp123 status_t MonitoredProducer::allowAllocation(bool allow) { argument
124 return mProducer->allowAllocation(allow);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java261 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
266 svc.acknowledgeAdbBackupOrRestore(token, allow,
H A DBackupManagerService.java3107 // to false to allow another pass to fire, because we're done with the
4441 // Only allow encrypted backups of encrypted devices
8477 // If the target resides on the system partition, we allow it to restore
8767 * 4. does the metadata for this package allow us to restore it?
9962 // !!! TODO: allow data-clear of ANY app?
10259 public void acknowledgeAdbBackupOrRestore(int token, boolean allow, argument
10262 + " allow=" + allow);
10278 if (allow) {
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp349 virtual status_t allowAllocation(bool allow) { argument
352 data.writeInt32(static_cast<int32_t>(allow));
576 status_t allowAllocation(bool allow) override {
577 return mBase->allowAllocation(allow);
786 bool allow = static_cast<bool>(data.readInt32()); local
787 status_t result = allowAllocation(allow);
H A DBufferQueueProducer.cpp1418 status_t BufferQueueProducer::allowAllocation(bool allow) { argument
1420 BQ_LOGV("allowAllocation: %s", allow ? "true" : "false");
1423 mCore->mAllowAllocation = allow;
/frameworks/base/core/java/android/net/
H A DUri.java1823 * allow argument.
1826 * @param allow set of additional characters to allow in the encoded form,
1831 public static String encode(String s, String allow) { argument
1851 && isAllowed(s.charAt(nextToEncode), allow)) {
1884 && !isAllowed(s.charAt(nextAllowed), allow)) {
1914 * @param allow characters to allow
1918 private static boolean isAllowed(char c, String allow) { argument
1923 || (allow !
[all...]
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp1153 status_t H2BGraphicBufferProducer::allowAllocation(bool allow) { argument
1154 return toStatusT(mBase->allowAllocation(allow));
/frameworks/rs/script_api/
H A DSpecification.cpp583 void FunctionSpecification::checkRSTPatternValidity(const string &inlineStr, bool allow, argument
589 if (!allow) {
/frameworks/base/core/java/android/app/
H A DDownloadManager.java698 * @param allowed whether to allow a roaming connection to be used
712 public Request setAllowedOverMetered(boolean allow) { argument
713 mMeteredAllowed = allow;
H A DFragment.java477 // Set to true to allow the fragment's menu to be shown.
797 // Don't allow a caller to set a target fragment in another FragmentManager,
1453 * sense to re-parse the parameters each time, to allow them to change with
1991 * @return boolean Return false to allow normal menu processing to
2070 * @return boolean Return false to allow normal context menu processing to
2344 * @param allow true to start the enter transition when possible or false to
2348 public void setAllowEnterTransitionOverlap(boolean allow) { argument
2349 ensureAnimationInfo().mAllowEnterTransitionOverlap = allow;
2371 * @param allow true to start the reenter transition when possible or false to wait until the
2375 public void setAllowReturnTransitionOverlap(boolean allow) { argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp97 const float kMaxRequiredSpeed = 8.0f; // for PCM tracks allow up to 8x speedup.
962 media::Metadata::Filter allow, drop; local
964 if (unmarshallFilter(filter, &allow, &status) &&
968 mMetadataAllow = allow;
1757 // do not allow direct stream type modification if attributes have been set
1789 // slightly prematurely to allow time for the gapless track switch
2125 usleep(5 * 1000 /* usec */); // allow callback to use AudioOutput
/frameworks/base/core/java/android/view/
H A DWindow.java440 * @return Return true to allow the menu to open, or false to prevent
1016 * PixelFormat.UNKNOWN to allow the Window to select
2080 * @param allow true to start the enter transition when possible or false to
2084 public void setAllowEnterTransitionOverlap(boolean allow) {} argument
2107 * @param allow true to start the transition when possible or false to wait until the
2111 public void setAllowReturnTransitionOverlap(boolean allow) {} argument
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java855 * @param allow If true receiver is currently active, if false it's been removed.
857 public void updateMonitoring(boolean allow) { argument
864 if (allow) {
1173 * Adds a callback for GNSS Batching events, if permissions allow, which are transported
2485 // also allow providers with a UID matching the
2602 // interval (i.e. don't allow an app to keep registering and unregistering for
H A DNetworkManagementService.java1930 public void setFirewallInterfaceRule(String iface, boolean allow) { argument
1933 final String rule = allow ? "allow" : "deny";
1942 public void setFirewallEgressSourceRule(String addr, boolean allow) { argument
1945 final String rule = allow ? "allow" : "deny";
1954 public void setFirewallEgressDestRule(String addr, int port, boolean allow) { argument
1957 final String rule = allow ? "allow" : "deny";
1980 // ... except for the UIDs that have allow rule
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragment.java295 // Set to true to allow the fragment's menu to be shown.
635 // Don't allow a caller to set a target fragment in another FragmentManager,
1253 * sense to re-parse the parameters each time, to allow them to change with
1751 * @return boolean Return false to allow normal menu processing to
1831 * @return boolean Return false to allow normal context menu processing to
2072 * @param allow true to start the enter transition when possible or false to
2075 public void setAllowEnterTransitionOverlap(boolean allow) { argument
2076 ensureAnimationInfo().mAllowEnterTransitionOverlap = allow;
2097 * @param allow true to start the reenter transition when possible or false to wait until the
2100 public void setAllowReturnTransitionOverlap(boolean allow) { argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java2336 // Don't allow an action bar if there is no title.
3264 public void setAllowEnterTransitionOverlap(boolean allow) { argument
3265 mAllowEnterTransitionOverlap = allow;
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1018 * "android-allow-cross-domain-redirect" as the key and "0" or "1" as the value to
1019 * disallow or allow cross domain redirection.
1074 * "android-allow-cross-domain-redirect" as the key and "0" or "1" as the value to
1075 * disallow or allow cross domain redirection.
1450 * @param screenOn Supply true to keep the screen on, false to allow it
1604 * Try to keep audio pitch when changing the playback rate, but allow the
1905 * shorthands to allow/block all or no metadata.
1909 * @param allow Is the set of metadata the client is interested
1918 public int setMetadataFilter(Set<Integer> allow, Set<Integer> block) { argument
1930 int capacity = request.dataSize() + 4 * (1 + allow
[all...]

Completed in 2068 milliseconds