HomeSort by relevance Sort by last modified time
    Searched refs:avd (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/selinux/libselinux/utils/
compute_av.c 10 struct av_decision avd; local
26 ret = security_compute_av(argv[1], argv[2], tclass, 1, &avd);
33 print_access_vector(tclass, avd.allowed);
36 if (avd.decided != ~0U) {
38 print_access_vector(tclass, avd.decided);
42 if (avd.auditallow) {
44 print_access_vector(tclass, avd.auditallow);
48 if (avd.auditdeny != ~0U) {
50 print_access_vector(tclass, avd.auditdeny);
  /external/libselinux/src/
compute_av.c 17 struct av_decision *avd)
54 &avd->allowed, &avd->decided,
55 &avd->auditallow, &avd->auditdeny,
56 &avd->seqno, &avd->flags);
61 avd->flags = 0;
63 map_decision(tclass, avd);
mapping.c 184 map_decision(security_class_t tclass, struct av_decision *avd)
191 if (avd->allowed & current_mapping[tclass].perms[i])
193 avd->allowed = result;
196 if (avd->decided & current_mapping[tclass].perms[i])
198 avd->decided = result;
201 if (avd->auditallow & current_mapping[tclass].perms[i])
203 avd->auditallow = result;
206 if (avd->auditdeny & current_mapping[tclass].perms[i])
208 avd->auditdeny = result;
mapping.h 32 map_decision(security_class_t tclass, struct av_decision *avd);
avc.c 23 struct av_decision avd; member in struct:avc_entry
393 if (node && ((node->ae.avd.decided & requested) == requested)) {
419 * sequence number @ae->avd.seqno is not less than the latest
432 if (ae->avd.seqno < avc_cache.latest_notif) {
435 ae->avd.seqno, avc_cache.latest_notif);
447 memcpy(&node->ae.avd, &ae->avd, sizeof(ae->avd));
656 struct av_decision *avd, int result, void *a)
660 denied = requested & ~avd->allowed
795 struct av_decision avd; local
    [all...]
  /external/selinux/libselinux/src/
compute_av.c 17 struct av_decision *avd)
54 &avd->allowed, &avd->decided,
55 &avd->auditallow, &avd->auditdeny,
56 &avd->seqno, &avd->flags);
61 avd->flags = 0;
63 /* If tclass invalid, kernel sets avd according to deny_unknown flag */
65 map_decision(tclass, avd);
    [all...]
mapping.c 184 map_decision(security_class_t tclass, struct av_decision *avd)
191 if (avd->allowed & current_mapping[tclass].perms[i])
193 avd->allowed = result;
196 if (avd->decided & current_mapping[tclass].perms[i])
198 avd->decided = result;
201 if (avd->auditallow & current_mapping[tclass].perms[i])
203 avd->auditallow = result;
206 if (avd->auditdeny & current_mapping[tclass].perms[i])
208 avd->auditdeny = result;
mapping.h 32 map_decision(security_class_t tclass, struct av_decision *avd);
avc.c 23 struct av_decision avd; member in struct:avc_entry
433 if (node && ((node->ae.avd.decided & requested) == requested)) {
459 * sequence number @ae->avd.seqno is not less than the latest
472 if (ae->avd.seqno < avc_cache.latest_notif) {
475 ae->avd.seqno, avc_cache.latest_notif);
487 memcpy(&node->ae.avd, &ae->avd, sizeof(ae->avd));
696 struct av_decision *avd, int result, void *a)
700 denied = requested & ~avd->allowed
830 struct av_decision avd; local
    [all...]
checkAccess.c 88 struct av_decision avd; local
99 &avd);
101 if ((retval == 0) && ((requested & avd.allowed) == requested)) {
audit2why.c 66 struct sepol_av_decision avd; local
112 avc->av, &avd, &reason);
322 struct sepol_av_decision avd; local
376 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0);
389 if (av & ~avd.auditdeny) {
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
AnimatedVectorDrawableAttr.java 28 ImageView avdIv = (ImageView) findViewById(R.id.avd);
29 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) avdIv.getDrawable(); local
30 avd.start();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
AvdCompatibility.java 21 import com.android.sdklib.internal.avd.AvdInfo;
31 * Returns whether the specified AVD can run the given project that is built against
33 * @param avd AVD to check compatibility for
36 * @return whether the given AVD can run the given application
38 public static Compatibility canRun(AvdInfo avd, IAndroidTarget projectTarget,
40 if (avd == null) {
44 IAndroidTarget avdTarget = avd.getTarget();
EmulatorConfigTab.java 31 import com.android.sdklib.internal.avd.AvdInfo;
32 import com.android.sdklib.internal.avd.AvdManager;
102 private static final String DEVICES_AND_EMULATORS = "Active devices and AVD's";
103 private static final String EMULATORS_ONLY = "Active AVD's";
156 // this happens if the AVD Manager failed to find the folder in which the AVDs are
185 mAllDevicesTargetButton.setText("Launch on all compatible devices/AVD's");
207 + "Always uses preferred AVD if set below, "
208 + "launches on compatible device/AVD otherwise.");
237 null /* avd manager */,
265 l.setText("If no compatible and active devices or AVD's are found, then an AVD
539 AvdInfo avd = mPreferredAvdSelector.getSelected(); local
    [all...]
DeviceChooserDialog.java 32 import com.android.sdklib.internal.avd.AvdInfo;
200 return "N/A"; // devices don't have AVD names.
264 public void setAvdToLaunch(AvdInfo avd) {
265 mAvdToLaunch = avd;
424 TableHelper.createTableColumn(mDeviceTable, "AVD Name",
491 * Handles single-click selection on the AVD selector.
503 * Handles double-click selection on the AVD selector.
598 // non running AVD.)
647 // non running AVD). This is done on deviceChanged because the avd nam
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ExpandableIndicator.java 45 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext() local
47 setImageDrawable(avd);
48 avd.forceAnimationOnUI();
49 avd.start();
  /external/selinux/libsepol/include/sepol/policydb/
services.h 50 struct sepol_av_decision *avd); /* OUT */
61 struct sepol_av_decision *avd,
77 struct sepol_av_decision *avd,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DeviceMenuListener.java 31 import com.android.sdklib.internal.avd.AvdInfo;
32 import com.android.sdklib.internal.avd.AvdManager;
83 for (AvdInfo avd : avds) {
85 if (device.getManufacturer().equals(avd.getDeviceManufacturer())
86 && device.getName().equals(avd.getDeviceName())) {
89 item.setText(avd.getName());
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedVectorDrawableTest.java 146 // The AVD has a duration as 16ms.
173 AnimatedVectorDrawable avd = new AnimatedVectorDrawable(); local
174 ConstantState constantState = avd.getConstantState();
178 assertEquals(0, avd.getChangingConfigurations());
181 avd.setChangingConfigurations(0xff);
182 assertEquals(0xff, avd.getChangingConfigurations());
186 constantState = avd.getConstantState();
190 avd.setChangingConfigurations(0xff00);
192 assertEquals(0xffff, avd.getChangingConfigurations());
216 // AVD is different than VectorDrawable. Every instance of it is a deep cop
    [all...]
  /external/libselinux/include/selinux/
avc.h 242 * @avd: access vector decisions
249 * in @avd. Return %0 if all @requested permissions are granted, -%1 with
260 struct avc_entry_ref *aeref, struct av_decision *avd);
290 * @avd: access vector decisions
305 struct av_decision *avd, int result, void *auditdata);
  /external/selinux/libselinux/include/selinux/
avc.h 246 * @avd: access vector decisions
253 * in @avd. Return %0 if all @requested permissions are granted, -%1 with
264 struct avc_entry_ref *aeref, struct av_decision *avd);
294 * @avd: access vector decisions
309 struct av_decision *avd, int result, void *auditdata);
selinux.h 188 struct av_decision *avd);
193 struct av_decision *avd);
199 struct av_decision *avd);
204 struct av_decision *avd);
  /external/selinux/libsepol/src/
services.c 835 struct sepol_av_decision *avd,
858 avd->allowed = 0;
859 avd->decided = 0xffffffff;
860 avd->auditallow = 0;
861 avd->auditdeny = 0xffffffff;
862 avd->seqno = latest_granting;
887 avd->allowed |= node->datum.data;
890 avd->auditallow |= node->datum.data;
892 avd->auditdeny &= node->datum.data;
896 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd);
1997 struct sepol_av_decision avd; local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PageIndicator.java 144 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext().getDrawable(res);
145 imageView.setImageDrawable(avd);
146 avd.forceAnimationOnUI();
147 avd.start();
148 // TODO: Figure out how to user an AVD animation callback instead, which doesn't
  /external/selinux/policycoreutils/mcstrans/src/
mcscolor.c 81 struct av_decision avd; local
112 rc = security_compute_av_raw(ctx, (security_context_t)raw, context_class, context_contains_perm, &avd);
116 rc = (context_contains_perm & avd.allowed) != context_contains_perm;

Completed in 725 milliseconds

1 2 3 4 5 6 7