/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 | 169 map_decision(security_class_t tclass, struct av_decision *avd) 176 if (avd->allowed & current_mapping[tclass].perms[i]) 178 avd->allowed = result; 181 if (avd->decided & current_mapping[tclass].perms[i]) 183 avd->decided = result; 186 if (avd->auditallow & current_mapping[tclass].perms[i]) 188 avd->auditallow = result; 191 if (avd->auditdeny & current_mapping[tclass].perms[i]) 193 avd->auditdeny = result;
|
mapping.h | 32 map_decision(security_class_t tclass, struct av_decision *avd);
|
avc.c | 22 struct av_decision avd; member in struct:avc_entry 292 ae->avd.allowed = ae->avd.decided = 0; 293 ae->avd.auditallow = ae->avd.auditdeny = 0; 388 if (node && ((node->ae.avd.decided & requested) == requested)) { 414 * sequence number @ae->avd.seqno is not less than the latest 427 if (ae->avd.seqno < avc_cache.latest_notif) { 430 ae->avd.seqno, avc_cache.latest_notif); 442 node->ae.avd.allowed = ae->avd.allowed 770 struct av_decision avd; local [all...] |
/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();
|
DeviceChoiceCache.java | 22 import com.android.sdklib.internal.avd.AvdInfo; 60 AvdInfo avd = response.getAvdToLaunch(); local 62 if (avd != null) { 63 device = avd.getName();
|
EmulatorConfigTab.java | 31 import com.android.sdklib.internal.avd.AvdInfo; 32 import com.android.sdklib.internal.avd.AvdManager; 111 private static final String DEVICES_AND_EMULATORS = "Active devices and AVD's"; 112 private static final String EMULATORS_ONLY = "Active AVD's"; 165 // this happens if the AVD Manager failed to find the folder in which the AVDs are 194 mAllDevicesTargetButton.setText("Launch on all compatible devices/AVD's"); 216 + "Always uses preferred AVD if set below, " 217 + "launches on compatible device/AVD otherwise."); 246 null /* avd manager */, 270 l.setText("If no compatible and active devices or AVD's are found, then an AVD 555 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; 422 TableHelper.createTableColumn(mDeviceTable, "AVD Name", 489 * Handles single-click selection on the AVD selector. 501 * Handles double-click selection on the AVD selector. 596 // non running AVD.) 645 // non running AVD). This is done on deviceChanged because the avd nam [all...] |
AndroidLaunchController.java | 49 import com.android.sdklib.internal.avd.AvdInfo; 50 import com.android.sdklib.internal.avd.AvdManager; 98 private static final String FLAG_AVD = "-avd"; //$NON-NLS-1$ 221 // default AVD: None 322 // this happens if the AVD Manager failed to find the folder in which the AVDs are 337 // FIXME: check errors on missing sdk, AVD manager, or project target. 344 * - Use Last Launched Device/AVD set. 346 * device/avd is still present, then simply launch on the same device/avd. 350 * with compatible (and not yet running) AVD [all...] |
/external/qemu/android/ |
main.c | 175 AvdInfo* avd; local 269 avd = createAVD(opts, &inAndroidBuild); 270 opts->snapstorage = avdInfo_getSnapStoragePath(avd); 277 derror("This AVD doesn't have snapshotting enabled!\n"); 297 /* Parses options and builds an appropriate AVD. */ 298 avd = android_avdInfo = createAVD(opts, &inAndroidBuild); 311 avdInfo_getSkinInfo(avd, &skinName, &skinDir); 323 /* update the avd hw config from this new skin */ 324 avdInfo_getSkinHardwareIni(avd, opts->skin, opts->skindir); 328 opts->dynamic_skin = avdInfo_shouldUseDynamicSkin(avd); [all...] |
main-common.h | 19 #include "android/avd/hw-config.h" 73 * AVD file, or 1 if AvdInfo has been initialized from the build directory. 85 /* Updates hardware configuration for the given AVD and options. 88 * avd - AVD info containig paths for the hardware configuration. 90 * inAndroidBuild - 0 if AVD has been initialized from AVD file, or 1 if AVD 93 void updateHwConfigFromAVD(AndroidHwConfig* hwConfig, struct AvdInfo* avd,
|
cmdline-options.h | 27 * Some options correspond to AVD (Android Virtual Device) configuration 28 * and will be ignored if you start the emulator with the -avd <name> flag. 30 * However, if you use them with -avd-create <name>, these options will be 31 * recorded into the new AVD directory. Once an AVD is created, there is no 88 CFG_PARAM( avd, "<name>", "use a specific android virtual device" )
|
main-common.c | 27 #include "android/avd/util.h" 1012 /* If no AVD name was given, try to find the top of the 1015 if (opts->avd == NULL) { 1049 if (opts->avd == NULL && !android_build_out) 1059 "If you are an Android SDK user, please use '@<name>' or '-avd <name>'\n" 1060 "to start a given virtual device (see -help-avd for details).\n\n" [all...] |
cmdline-option.c | 61 * '-avd <name>' 64 opt->avd = aread[0]+1;
|
main-emulator.c | 15 * for a given AVD, i.e. either 'emulator-arm' or 'emulator-x86' 30 #include <android/avd/util.h> 104 * 1) an avd name either in the form or '-avd <name>' or '@<name>' 120 if (!strcmp(opt,"-avd") && nn+1 < argc) { 129 /* If there is an AVD name, we're going to extract its target architecture 133 D("Found AVD name '%s'\n", avdName); 135 D("Found AVD target architecture: %s\n", avdArch); 149 D("Can't determine target AVD architecture: defaulting to %s\n", avdArch);
|
/external/libsepol/include/sepol/policydb/ |
services.h | 47 struct sepol_av_decision *avd); /* OUT */ 58 struct sepol_av_decision *avd, 74 struct sepol_av_decision *avd,
|
conditional.h | 134 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; 82 for (AvdInfo avd : avds) { 84 if (device.getManufacturer().equals(avd.getDeviceManufacturer()) 85 && device.getName().equals(avd.getDeviceName())) { 88 item.setText(avd.getName());
|
/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);
|
selinux.h | 167 struct av_decision *avd);
|
/external/libsepol/src/ |
services.c | 821 struct sepol_av_decision *avd, 844 avd->allowed = 0; 845 avd->decided = 0xffffffff; 846 avd->auditallow = 0; 847 avd->auditdeny = 0xffffffff; 848 avd->seqno = latest_granting; 873 avd->allowed |= node->datum.data; 876 avd->auditallow |= node->datum.data; 878 avd->auditdeny &= node->datum.data; 882 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); 1921 struct sepol_av_decision avd; local [all...] |
conditional.c | 879 struct sepol_av_decision *avd) 883 if (!ctab || !key || !avd) 890 avd->allowed |= node->datum.data; 898 avd->auditdeny &= node->datum.data; 901 avd->auditallow |= node->datum.data;
|
/external/ipsec-tools/src/racoon/ |
security.c | 220 struct av_decision avd; local 254 rtn = avc_has_perm(slsid, rangesid, tclass, av, NULL, &avd);
|
/external/checkpolicy/ |
checkpolicy.c | 382 struct sepol_av_decision avd; local 695 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); 699 for (i = 1; i <= sizeof(avd.allowed) * 8; i++) { 700 if (avd.allowed & (1 << (i - 1))) {
|
/prebuilts/devtools/tools/lib/ |
sdklib.jar | |