/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModePrioritySettings.java | 20 import android.app.NotificationManager.Policy; 51 private Policy mPolicy; 69 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_REMINDERS), 84 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_EVENTS), 105 getNewPriorityCategories(allowMessages, Policy.PRIORITY_CATEGORY_MESSAGES), 124 savePolicy(getNewPriorityCategories(allowCalls, Policy.PRIORITY_CATEGORY_CALLS), 143 NotificationManager.Policy.PRIORITY_CATEGORY_REPEAT_CALLERS); 168 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS) 172 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES) 174 mReminders.setChecked(isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS)) [all...] |
ZenModeVisualInterruptionSettings.java | 20 import android.app.NotificationManager.Policy; 47 private NotificationManager.Policy mPolicy; 69 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_OFF)); 82 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_ON)); 106 mScreenOff.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_OFF)); 107 mScreenOn.setChecked(isEffectSuppressed(Policy.SUPPRESSED_EFFECT_SCREEN_ON)); 126 mPolicy = new Policy(mPolicy.priorityCategories,
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy.h | 10 #include "sandbox/linux/bpf_dsl/policy.h" 19 // This class implements the Policy interface with a "baseline" 20 // policy for use within Chromium. 21 // The "baseline" policy is somewhat arbitrary. All Chromium policies are an 24 // A baseline policy is only valid for the process for which this object was 26 class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::Policy { 41 // The PID that the policy applies to (should be equal to the current pid).
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/ |
transpose.hpp | 60 template <class Policy, class SrcPtr, typename DstType> 68 transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); 71 template <class Policy, class SrcPtr, typename DstType> 79 transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); 82 // Default Policy
|
histogram.hpp | 60 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType, class MaskPtr> 73 grid_histogram_detail::histogram<BIN_COUNT, Policy>(shrinkPtr(src), 80 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType> 91 grid_histogram_detail::histogram<BIN_COUNT, Policy>(shrinkPtr(src), 98 // default policy
|
split_merge.hpp | 63 template <class Policy, class SrcPtrTuple, typename DstType, class MaskPtr> 75 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), 82 template <class Policy, class SrcPtrTuple, typename DstType, class MaskPtr> 93 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), 100 template <class Policy, class SrcPtrTuple, typename DstType> 110 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), 117 template <class Policy, class SrcPtrTuple, typename DstType> 127 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), 134 template <class Policy, class SrcPtr, typename DstType, class MaskPtr> 147 grid_split_merge_detail::split<Policy>(shrinkPtr(src) [all...] |
reduce.hpp | 63 template <class Policy, class SrcPtr, typename ResType, class MaskPtr> 78 grid_reduce_detail::sum<Policy>(shrinkPtr(src), 85 template <class Policy, class SrcPtr, typename ResType> 98 grid_reduce_detail::sum<Policy>(shrinkPtr(src), 105 template <class Policy, class SrcPtr, typename ResType, class MaskPtr> 116 grid_reduce_detail::minVal<Policy>(shrinkPtr(src), 123 template <class Policy, class SrcPtr, typename ResType> 132 grid_reduce_detail::minVal<Policy>(shrinkPtr(src), 139 template <class Policy, class SrcPtr, typename ResType, class MaskPtr> 150 grid_reduce_detail::maxVal<Policy>(shrinkPtr(src) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
LegacyPolicySet.java | 18 import com.android.emailcommon.provider.Policy; 21 * Legacy class for policy storage as a bit field of flags 64 * Convert legacy policy flags to a Policy 65 * @param flags legacy policy flags 66 * @return a Policy representing the legacy policy flag 68 public static Policy flagsToPolicy(long flags) { 69 Policy policy = new Policy() local [all...] |
PolicyServiceProxy.java | 24 import com.android.emailcommon.provider.Policy; 49 public boolean isActive(final Policy arg0) throws RemoteException { 61 // This is not a great situation, but it's better to act like the policy isn't enforced 71 public void setAccountPolicy(final long accountId, final Policy policy, 73 setAccountPolicy2(accountId, policy, securityKey, true /* notify */); 77 public void setAccountPolicy2(final long accountId, final Policy policy, 82 mService.setAccountPolicy2(accountId, policy, securityKey, notify); 97 // This is not a great situation, but it's better to act like the policy isn't enforce [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/ |
Policy.java | 23 * BaseTask#addPolicy(Policy)} to add a policy. 25 public interface Policy {
|
BaseTask.java | 34 * Policy} 49 private final List<Policy> mPolicies = new ArrayList<>(); 90 * Should be call in the constructor or {@link Policy#onCreate(BaseTask, Intent, int, int)} will 94 public BaseTask addPolicy(Policy policy) { 96 mPolicies.add(policy); 101 * Indicate the task has failed. {@link Policy#onFail()} will be triggered once the execution 149 for (Policy policy : mPolicies) { 150 policy.onCreate(this, intent, flags, startId) [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
split_merge.hpp | 79 template <class Policy, class Src1Ptr, class Src2Ptr, typename DstType, class MaskPtr> 82 const dim3 block(Policy::block_size_x, Policy::block_size_y); 110 template <class Policy, class Src1Ptr, class Src2Ptr, class Src3Ptr, typename DstType, class MaskPtr> 113 const dim3 block(Policy::block_size_x, Policy::block_size_y); 142 template <class Policy, class Src1Ptr, class Src2Ptr, class Src3Ptr, class Src4Ptr, typename DstType, class MaskPtr> 145 const dim3 block(Policy::block_size_x, Policy::block_size_y); 155 template <int cn, class Policy> struct MergeImpl [all...] |
histogram.hpp | 93 template <int BIN_COUNT, class Policy, class SrcPtr, typename ResType, class MaskPtr> 96 const dim3 block(Policy::block_size_x, Policy::block_size_y); 99 const int BLOCK_SIZE = Policy::block_size_x * Policy::block_size_y;
|
minmaxloc.hpp | 145 template <class Policy> 148 block = dim3(Policy::block_size_x, Policy::block_size_y); 149 grid = dim3(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y)); 155 template <class Policy, class SrcPtr, typename ResType, class MaskPtr> 159 getLaunchCfg<Policy>(rows, cols, block, grid); 164 minMaxLoc_pass_1<Policy::block_size_x * Policy::block_size_y><<<grid, block, 0, stream>>>(src, minVal, maxVal, minLoc, maxLoc, mask, rows, cols, patch_y, patch_x); 167 minMaxLoc_pass_2<Policy::block_size_x * Policy::block_size_y><<<1, Policy::block_size_x * Policy::block_size_y, 0, stream> (…) [all...] |
transpose.hpp | 111 template <class Policy, class SrcPtr, typename DstType> 114 const dim3 block(Policy::tile_dim, Policy::block_dim_y); 117 transpose<Policy::tile_dim, Policy::block_dim_y><<<grid, block, 0, stream>>>(src, dst, rows, cols);
|
transform.hpp | 259 template <bool UseSmart, class Policy> struct TransformDispatcher; 261 template <class Policy> struct TransformDispatcher<false, Policy> 266 const dim3 block(Policy::block_size_x, Policy::block_size_y); 279 const dim3 block(Policy::block_size_x, Policy::block_size_y); 290 template <class Policy> struct TransformDispatcher<true, Policy> 306 if (Policy::shift == 1 | [all...] |
copy.hpp | 71 template <class Policy, class SrcPtr, typename DstType, class MaskPtr> 74 const dim3 block(Policy::block_size_x, Policy::block_size_y); 116 template <class Policy, class SrcPtrTuple, class DstPtrTuple, class MaskPtr> 119 const dim3 block(Policy::block_size_x, Policy::block_size_y);
|
/external/clang/lib/AST/ |
DeclPrinter.cpp | 30 PrintingPolicy Policy; 50 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, 52 : Out(Out), Policy(Policy), Indentation(Indentation), 109 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, 111 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation); 148 raw_ostream &Out, const PrintingPolicy &Policy, 151 (*Begin)->print(Out, Policy, Indentation); 160 PrintingPolicy SubPolicy(Policy); 162 TD->print(Out, Policy, Indentation) [all...] |
TemplateBase.cpp | 37 /// \param Policy the printing policy for EnumConstantDecl printing. 39 raw_ostream &Out, const PrintingPolicy& Policy) { 50 ECD->printQualifiedName(Out, Policy); 56 if (T->isBooleanType() && !Policy.MSVCFormatting) { 354 void TemplateArgument::print(const PrintingPolicy &Policy, 362 PrintingPolicy SubPolicy(Policy); 385 getAsTemplate().print(Out, Policy); 389 getAsTemplateOrTemplatePattern().print(Out, Policy); 394 printIntegral(*this, Out, Policy); [all...] |
StmtPrinter.cpp | 39 PrintingPolicy Policy; 43 const PrintingPolicy &Policy, 45 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} 48 PrintStmt(S, Policy.Indentation); 125 D->print(OS, Policy, IndentLevel); 130 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); 173 Attr->printPretty(OS, Policy); 314 PrintingPolicy SubPolicy(Policy); 322 if (Policy.IncludeNewlines) OS << "\n" [all...] |
/system/update_engine/update_manager/ |
update_manager.h | 31 #include "update_engine/update_manager/policy.h" 56 // PolicyRequest() evaluates the given policy with the provided arguments and 58 // Policy class for the policy request to call. The UpdateManager will call 59 // this method on the right policy. The pointer |result| must not be null 63 // When the policy request succeeds, the |result| is set and the method 65 // policy called with this method should not block (i.e. return 70 // um.PolicyRequest(&Policy::SomePolicyMethod, &bool_result, arg1, arg2); 73 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 78 // Evaluates the given |policy_method| policy with the provided |args [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUSubtarget.cpp | 134 void AMDGPUSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, 143 Policy.ShouldTrackPressure = true; 147 Policy.OnlyTopDown = false; 148 Policy.OnlyBottomUp = false;
|
/frameworks/base/tools/preload/ |
WritePreloadedClassFile.java | 58 new FileOutputStream(Policy.PRELOADED_CLASS_FILE), 82 if (!Policy.isPreloadable(loadedClass)) { 99 if (proc.fromZygote() && !Policy.isService(proc.name)) { 139 = Policy.isPreloadable(operation.loadedClass); 152 return Policy.isPreloadable(clazz)
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/policies/ |
policy.hpp | 174 // Begin by defining policy types for error handling: 194 // Policy types for internal promotion: 200 // Policy types for discrete quantiles: 224 // Define the names for each possible policy: 330 // policy<> class will have when modified for forwarding: 365 // Now define the policy type with enough arguments to handle all 381 struct policy struct in namespace:boost::math::policies 447 struct policy<default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies 472 struct policy<detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy> struct in namespace:boost::math::policies 496 template <class Policy, [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
FinalizableReferenceQueueClassLoaderUnloadingTest.java | 30 import java.security.Policy; 73 private static class PermissivePolicy extends Policy { 151 Policy oldPolicy = Policy.getPolicy(); 154 Policy.setPolicy(new PermissivePolicy()); 159 Policy.setPolicy(oldPolicy); 180 Policy oldPolicy = Policy.getPolicy(); 183 Policy.setPolicy(new PermissivePolicy()); 189 Policy.setPolicy(oldPolicy) [all...] |