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

1 2 3 4 5 6 7 8

  /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/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.h 32 map_decision(security_class_t tclass, struct av_decision *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;
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
834 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 67 struct sepol_av_decision avd; local
113 avc->av, &avd, &reason);
323 struct sepol_av_decision avd; local
377 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0);
390 if (av & ~avd.auditdeny) {
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
AnimatedVectorDrawableAttr.java 28 ImageView avdIv = 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...]
  /external/gemmlowp/scripts/
ci-before.sh 5 echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
6 emulator -avd test -no-audio -no-window &
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ExpandableIndicator.java 44 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext() local
46 setImageDrawable(avd);
47 avd.forceAnimationOnUI();
48 avd.start();
  /frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
PathInterpolatorParameterizedTest.java 78 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mActivity, local
80 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
83 avd.draw(c);
91 avd.registerAnimationCallback(new Animatable2Compat.AnimationCallback() {
113 avd.start();
AnimatedVectorDrawableTest.java 153 * Render AVD sequence in an bitmap for several frames with the same content, and make sure
165 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, local
167 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
172 avd.start();
182 avd.draw(c);
199 avd.draw(c);
308 AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext,
310 ViewCompat.setBackground(imageButton, avd);
311 avd.start();
358 // AVD is different than VectorDrawable. Every instance of it is a deep cop
390 AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, local
471 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, local
529 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, local
    [all...]
AnimatedVectorDrawableParameterizedTest.java 76 * Render AVD with path morphing, make sure the bitmap is different when it render at the start
88 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, local
90 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
93 avd.draw(c);
101 avd.registerAnimationCallback(new AnimationCallback() {
123 avd.start();
PathInterpolatorExceptionParameterizedTest.java 69 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mActivity, local
  /external/selinux/libsepol/include/sepol/policydb/
services.h 51 struct sepol_av_decision *avd); /* OUT */
63 struct sepol_av_decision *avd,
79 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/
AnimatedVectorDrawableParameterizedTest.java 135 AnimatedVectorDrawable avd =
137 avd.registerAnimationCallback(callback);
138 avd.start();
152 // content, to make sure the AVD is animating when set on HW layer.
167 fail("Two consecutive screenshots of AVD are identical, AVD is "
182 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) imageView[0].getDrawable();
183 avd.stop();
210 // The AVD has a duration as 16ms.
249 // Check that the AVD with empty AnimatorSet has finishe
    [all...]
AnimatedVectorDrawableTest.java 114 AnimatedVectorDrawable avd = new AnimatedVectorDrawable(); local
115 ConstantState constantState = avd.getConstantState();
119 assertEquals(0, avd.getChangingConfigurations());
122 avd.setChangingConfigurations(0xff);
123 assertEquals(0xff, avd.getChangingConfigurations());
127 constantState = avd.getConstantState();
131 avd.setChangingConfigurations(0xff00);
133 assertEquals(0xffff, avd.getChangingConfigurations());
161 // AVD is different than VectorDrawable. Every instance of it is a deep copy
207 // The AVD has a duration as 100ms
    [all...]
  /external/selinux/libsepol/src/
services.c 832 struct sepol_av_decision *avd,
841 struct sepol_av_decision *avd,
877 masked = ~lo_avd.allowed & avd->allowed;
883 avd->allowed &= ~masked;
896 struct sepol_av_decision *avd,
919 avd->allowed = 0;
920 avd->decided = 0xffffffff;
921 avd->auditallow = 0;
922 avd->auditdeny = 0xffffffff;
923 avd->seqno = latest_granting
2097 struct sepol_av_decision avd; local
    [all...]
  /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);
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
SdkAvdPreparer.java 49 * A {@link ITargetPreparer} that will create an avd and launch an emulator
71 @Option(name = "tag", description = "The sys-img tag to use for the AVD.")
74 @Option(name = "skin", description = "AVD skin")
83 @Option(name = "avd-timeout", description = "the maximum time in seconds to wait for avd " +
96 @Option(name = "abi", description = "abi to select for the avd")
110 @Option(name = "hw-options", description = "pass key-value pairs of avd hardware options")
161 * Finds SDK target based on the {@link ISdkBuildInfo}, creates AVD for
165 * @return the created AVD name
167 * @throws BuildError if failed to create the AVD
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PageIndicator.java 152 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext().getDrawable(res);
153 imageView.setImageDrawable(avd);
154 avd.forceAnimationOnUI();
155 avd.start();
156 // TODO: Figure out how to user an AVD animation callback instead, which doesn't

Completed in 1747 milliseconds

1 2 3 4 5 6 7 8