HomeSort by relevance Sort by last modified time
    Searched refs:policy (Results 76 - 100 of 1172) sorted by null

1 2 34 5 6 7 8 91011>>

  /system/connectivity/shill/init/
netfilter-queue.conf 30 -S /usr/share/policy/nfqueue-seccomp.policy -n \
  /system/extras/ext4_utils/
ext4_crypt.h 26 const char* policy, size_t policy_length,
ext4_crypt.cpp 34 #define XATTR_NAME_ENCRYPTION_POLICY "encryption.policy"
66 static void policy_to_hex(const char* policy, char* hex) {
68 hex[j++] = HEX_LOOKUP[(policy[i] & 0xF0) >> 4];
69 hex[j++] = HEX_LOOKUP[policy[i] & 0x0F];
104 static bool e4crypt_policy_set(const char *directory, const char *policy,
107 LOG(ERROR) << "Policy wrong length: " << policy_length;
121 memcpy(eep.master_key_descriptor, policy, EXT4_KEY_DESCRIPTOR_SIZE);
123 PLOG(ERROR) << "Failed to set encryption policy for " << directory;
130 policy_to_hex(policy, policy_hex);
131 LOG(INFO) << "Policy for " << directory << " set to " << policy_hex
    [all...]
  /development/ndk/platforms/android-3/include/
sched.h 48 extern int sched_get_priority_max(int policy);
49 extern int sched_get_priority_min(int policy);
  /frameworks/base/core/java/android/net/
INetworkPolicyManager.aidl 26 * Interface that creates and modifies network policy rules.
33 void setUidPolicy(int uid, int policy);
34 void addUidPolicy(int uid, int policy);
35 void removeUidPolicy(int uid, int policy);
37 int[] getUidsWithPolicy(int policy);
51 /** Snooze limit on policy matching given template. */
  /frameworks/base/core/java/com/android/internal/policy/
IKeyguardService.aidl 16 package com.android.internal.policy;
18 import com.android.internal.policy.IKeyguardDrawnCallback;
19 import com.android.internal.policy.IKeyguardStateCallback;
20 import com.android.internal.policy.IKeyguardExitCallback;
  /packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java 29 public static Bundle getPolicy(String policy, Bundle args) {
30 passedPolicy = policy;
  /prebuilts/ndk/current/platforms/android-3/arch-arm/usr/include/
sched.h 48 extern int sched_get_priority_max(int policy);
49 extern int sched_get_priority_min(int policy);
  /prebuilts/ndk/current/platforms/android-4/arch-arm/usr/include/
sched.h 48 extern int sched_get_priority_max(int policy);
49 extern int sched_get_priority_min(int policy);
  /prebuilts/ndk/current/platforms/android-5/arch-arm/usr/include/
sched.h 48 extern int sched_get_priority_max(int policy);
49 extern int sched_get_priority_min(int policy);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
rbacrule.py 28 def rbac_rule_factory(policy, name):
32 return RoleAllow(policy, name)
34 return RoleTransition(policy, name)
49 rule = ExpandedRoleAllow(original.policy, original.qpol_symbol)
51 rule = ExpandedRoleTransition(original.policy, original.qpol_symbol)
86 return role.role_factory(self.policy, self.qpol_symbol.source_role(self.policy))
91 return role.role_factory(self.policy, self.qpol_symbol.target_role(self.policy))
121 return role.role_factory(self.policy, self.qpol_symbol.source_role(self.policy)
    [all...]
fscontext.py 35 def fs_use_factory(policy, name):
41 return FSUse(policy, name)
44 def genfscon_factory(policy, name):
50 return Genfscon(policy, name)
55 """Base class for in-policy labeling rules."""
63 return self.qpol_symbol.name(self.policy)
68 return context.context_factory(self.policy, self.qpol_symbol.context(self.policy))
126 return GenfsFiletype(self.qpol_symbol.object_class(self.policy))
131 return self.qpol_symbol.path(self.policy)
    [all...]
user.py 30 assert name.policy == qpol_policy
51 for role_ in self.qpol_symbol.role_iter(self.policy):
52 item = role.role_factory(self.policy, role_)
55 # technically it is incorrect to skip it, but policy writers
66 return mls.level_factory(self.policy, self.qpol_symbol.dfltlevel(self.policy))
71 return mls.range_factory(self.policy, self.qpol_symbol.range(self.policy))
constraint.py 28 def _is_mls(policy, sym):
31 for expr_node in sym.expr_iter(policy):
32 sym_type = expr_node.sym_type(policy)
33 expr_type = expr_node.expr_type(policy)
49 def constraint_factory(policy, sym):
53 if _is_mls(policy, sym):
55 return Constraint(policy, sym, "mlsconstrain")
57 return Validatetrans(policy, sym, "mlsvalidatetrans")
60 return Constraint(policy, sym, "constrain")
62 return Validatetrans(policy, sym, "validatetrans"
    [all...]
  /system/core/libcutils/
sched_policy.c 31 /* Re-map SP_DEFAULT to the system default policy, and leave other values unchanged.
33 * Returns the possibly re-mapped policy.
76 /* Add tid to the scheduling group defined by the policy */
227 int get_sched_policy(int tid, SchedPolicy *policy)
240 *policy = SP_FOREGROUND;
242 *policy = SP_FOREGROUND;
244 *policy = SP_BACKGROUND;
246 *policy = SP_TOP_APP;
255 *policy = SP_FOREGROUND;
257 *policy = SP_BACKGROUND
    [all...]
  /external/dbus/test/data/valid-config-files/system.d/
test.conf 5 policy so that a particular user can own a service, and other
10 <policy user="root">
13 </policy>
17 <policy context="default">
19 </policy>
  /external/srtp/test/
srtp_driver.c 72 srtp_bits_per_second(int msg_len_octets, const srtp_policy_t *policy);
75 srtp_rejections_per_second(int msg_len_octets, const srtp_policy_t *policy);
78 srtp_do_timing(const srtp_policy_t *policy);
81 srtp_do_rejection_timing(const srtp_policy_t *policy);
84 srtp_test(const srtp_policy_t *policy);
87 srtcp_test(const srtp_policy_t *policy);
93 srtp_print_policy(const srtp_policy_t *policy);
116 * The policy_array is a null-terminated array of policy structs. it
221 const srtp_policy_t **policy = policy_array; local
224 /* loop over policy array, testing srtp and srtcp for each policy *
293 const srtp_policy_t **policy = policy_array; local
304 const srtp_policy_t **policy = policy_array; local
315 srtp_policy_t policy; local
1175 srtp_policy_t policy; local
    [all...]
  /external/autotest/client/site_tests/login_RemoteOwnership/
login_RemoteOwnership.py 10 from autotest_lib.client.common_lib.cros import policy, session_manager namespace
37 # Initial policy setup.
38 poldata = policy.build_policy_data(self.srcdir)
41 policy.push_policy_and_verify(
42 policy.generate_policy(self.srcdir, priv, pub, poldata), self._sm)
46 policy.push_policy_and_verify(
47 policy.generate_policy(self.srcdir, priv, pub, poldata), self._sm)
61 policy.push_policy_and_verify(
62 policy.generate_policy(self.srcdir,
65 policy=poldata
    [all...]
  /device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/
EmailPolicy.java 17 package com.android.email.policy;
39 * Each policy request may contain one or more parameters; These are supplied as keyed entries
41 * as the policy name. If there are multiple arguments, they keys are provided and called out.
44 * policy, simply return Bundle.EMPTY.
51 * the call to getPolicy() is made with an unknown or unexpected policy keys, or the expected
57 * This policy request configures the UI to conform to various Exchange/ActiveSync
69 * This policy request allows you to insert field/value pairs into the IMAP ID command, which
89 * This policy request allows you to supply preset server configurations to provide
186 * @param policy A string requesting a particular policy
    [all...]
  /external/selinux/policycoreutils/sepolicy/
policy.c 3 * Python bindings to search SELinux Policy rules.
35 #include "policy.h"
36 apol_policy_t *policy = NULL; variable
56 if (policy)
57 apol_policy_destroy(&policy);
69 policy = apol_policy_create_from_policy_path(pol_path, policy_load_options, NULL, NULL);
71 if (!policy) {
80 {"policy", (PyCFunction) wrap_policy, METH_VARARGS,
81 "Initialize SELinux policy for use with search and info"},
83 "Return SELinux policy info about types, attributes, roles, users"}
    [all...]
  /packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/
damerau_levenshtein_edit_distance_policy_test.cpp 32 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(),
35 EXPECT_EQ(static_cast<int>(codePoints0.size()), policy.getString0Length());
36 EXPECT_EQ(static_cast<int>(codePoints1.size()), policy.getString1Length());
40 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(),
42 return EditDistance::getEditDistance(&policy);
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 32 import com.android.emailcommon.provider.Policy;
37 * This is a series of unit tests for the Policy class
72 Policy policy1 = new Policy();
75 Policy policy2 = new Policy();
84 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
95 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
96 Policy policy = new Policy() local
191 Policy policy = new Policy(); local
    [all...]
  /hardware/libhardware_legacy/audio/
audio_policy_hal.cpp 45 struct audio_policy policy; member in struct:android_audio_legacy::legacy_audio_policy
348 lap->policy.set_device_connection_state = ap_set_device_connection_state;
349 lap->policy.get_device_connection_state = ap_get_device_connection_state;
350 lap->policy.set_phone_state = ap_set_phone_state;
351 lap->policy.set_ringer_mode = ap_set_ringer_mode;
352 lap->policy.set_force_use = ap_set_force_use;
353 lap->policy.get_force_use = ap_get_force_use;
354 lap->policy.set_can_mute_enforced_audible =
356 lap->policy.init_check = ap_init_check;
357 lap->policy.get_output = ap_get_output
    [all...]
  /frameworks/base/core/java/android/hardware/display/
DisplayManagerInternal.java 160 // Policy: Turn screen off as if the user pressed the power button
163 // Policy: Enable dozing and always-on display functionality.
165 // Policy: Make the screen dim when the user activity timeout is
168 // Policy: Make the screen bright as usual.
171 // The basic overall policy to apply: off, doze, dim or bright.
172 public int policy; field in class:DisplayManagerInternal.DisplayPowerRequest
202 // blocked. The window manager policy blocks screen on while it prepares the keyguard to
210 // Overrides the policy for adjusting screen brightness and state while dozing.
218 policy = POLICY_BRIGHT;
233 return policy == POLICY_BRIGHT || policy == POLICY_DIM
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SignalCallbackAdapter.java 16 package com.android.systemui.statusbar.policy;
20 import com.android.systemui.statusbar.policy.NetworkController.IconState;
21 import com.android.systemui.statusbar.policy.NetworkController.SignalCallback;

Completed in 622 milliseconds

1 2 34 5 6 7 8 91011>>