Home
last modified time | relevance | path

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

12345

/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/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingActivity.java158 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
159 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
160 notifyService(allow, alwaysAllow); in onClick()
171 private void notifyService(boolean allow) { in notifyService() argument
172 notifyService(allow, false); in notifyService()
183 private void notifyService(boolean allow, boolean alwaysAllow) { in notifyService() argument
187 if (allow) { in notifyService()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java524 public @NonNull Builder allowReminders(boolean allow) { in allowReminders() argument
526 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()
534 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() argument
536 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()
618 public @NonNull Builder allowRepeatCallers(boolean allow) { in allowRepeatCallers() argument
620 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers()
629 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() argument
631 allow ? STATE_ALLOW : STATE_DISALLOW); in allowAlarms()
640 public @NonNull Builder allowMedia(boolean allow) { in allowMedia() argument
642 allow ? STATE_ALLOW : STATE_DISALLOW); in allowMedia()
[all …]
/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/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h151 const char *name __unused /* nonnull */, bool allow __unused = true) {
154 return getExperimentFlag(allow, name, 2, 1); // every other day
156 return getExperimentFlag(allow, name, 3, 1); // every third day
167 bool allow, const char *name, uint64_t modulo, uint64_t limit,
/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.java389 public abstract void setAllowFileAccess(boolean allow); in setAllowFileAccess() argument
403 public abstract void setAllowContentAccess(boolean allow); in setAllowContentAccess() argument
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java65 return IntegrityCheckResult.allow(matchedPowerAllowRules); in evaluateRules()
79 return IntegrityCheckResult.allow(); in evaluateRules()
/frameworks/base/services/core/java/com/android/server/integrity/model/
DIntegrityCheckResult.java62 public static IntegrityCheckResult allow() { in allow() method in IntegrityCheckResult
71 public static IntegrityCheckResult allow(List<Rule> ruleList) { in allow() method in IntegrityCheckResult
/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/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.java211 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
212 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
216 if (allow) { in onClick()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
DIntegrityCheckResultTest.java39 IntegrityCheckResult allowResult = IntegrityCheckResult.allow(); in createAllowResult()
57 IntegrityCheckResult.allow(Collections.singletonList(forceAllowRule)); in createAllowResultWithRule()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp109 status_t MonitoredProducer::allowAllocation(bool allow) { in allowAllocation() argument
110 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/multidex/library/
DREADME6 Note that multidexing will allow to go over the dex index limit.
/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/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java318 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs()
356 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs_multipleCerts()
379 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs_sourceStamp()
403 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_allow()
449 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_notInitialized()
/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

12345