/system/extras/librank/ |
librank.c | 174 static int parse_perm(const char *perm) 178 while (*perm) { 179 switch(*perm) { 190 fprintf(stderr, "Unknown permission '%c'\n", *perm); 193 perm++; 220 int perm; local 233 perm = 0; 253 {"perm", required_argument, 0, 'm'}, 281 perm = parse_perm(optarg); 353 if (perm && (pm_map_flags(maps[j]) & PM_MAP_PERMISSIONS) != perm [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionEvent.java | 43 int perm = pm.checkPermission(mPermissionInfo.name, mPkg, UserHandle.myUserId()); local 44 boolean grant = perm == PackageManager.PERMISSION_DENIED;
|
/system/security/keystore/ |
permissions.h | 44 const char* get_perm_label(perm_t perm); 53 bool has_permission(uid_t uid, perm_t perm, pid_t spid);
|
/external/eigen/Eigen/src/SparseCore/ |
SparseColEtree.h | 58 * \param perm The permutation to apply to the column of \b mat 61 int coletree(const MatrixType& mat, IndexVector& parent, IndexVector& firstRowElt, typename MatrixType::Index *perm=0) 81 if(perm) pcol = perm[col]; 103 if(perm) pcol = perm[col];
|
/external/libunwind/src/ |
os-linux.h | 209 char perm[16], dash = 0, colon = 0, *cp; local 265 /* scan: "LOW-HIGH PERM OFFSET MAJOR:MINOR INUM PATH" */ 269 cp = scan_string (cp, perm, sizeof (perm)); 284 if (perm[0] == 'r') 288 if (perm[1] == 'w') 292 if (perm[2] == 'x')
|
/external/eigen/Eigen/src/MetisSupport/ |
MetisSupport.h | 19 * WARNING: As computed by METIS, this corresponds to the vector iperm (instead of perm) 106 IndexVector perm(m),iperm(m); 112 output_error = METIS_NodeND(&m, m_indexPtr.data(), m_innerIndices.data(), NULL, NULL, perm.data(), iperm.data()); 122 //NOTE: If Ap is the permuted matrix then perm and iperm vectors are defined as follows 123 // Row (column) i of Ap is the perm(i) row(column) of A, and row (column) i of A is the iperm(i) row(column) of Ap
|
/external/selinux/libsepol/src/ |
avrule_block.c | 180 perm_datum_t *perm; local 189 perm = hashtab_search(cladatum->permissions.table, perm_id); 190 if (perm == NULL && cladatum->comdatum != 0) { 193 perm = 197 if (perm == NULL) {
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerService.h | 61 static const char *get_perm_label(drm_perm_t perm); 63 static bool selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm); 65 static bool isProtectedCallAllowed(drm_perm_t perm);
|
/prebuilts/go/darwin-x86/src/path/filepath/ |
path_windows_test.go | 52 perm os.FileMode = 0700 75 if err = os.MkdirAll(dd, perm); err != nil { 80 if err = ioutil.WriteFile(fn, data, perm); err != nil {
|
/prebuilts/go/linux-x86/src/path/filepath/ |
path_windows_test.go | 52 perm os.FileMode = 0700 75 if err = os.MkdirAll(dd, perm); err != nil { 80 if err = ioutil.WriteFile(fn, data, perm); err != nil {
|
/system/core/init/ |
ueventd.cpp | 100 mode_t perm; local 147 perm = strtol(args[1], &endptr, 8); 170 add_dev_perms(name, attr, perm, uid, gid, prefix, wildcard);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
fft.c | 756 fftstate->Perm [0] = ns; 762 fftstate->Perm [k] = jc; 764 fftstate->Perm [j] = fftstate->Perm [j - 1] / fftstate->factor [j - 1]; 765 fftstate->Perm [k - 1] = fftstate->Perm [k] * fftstate->factor [j - 1]; 769 k3 = fftstate->Perm [k]; 770 kspan = fftstate->Perm [1]; 795 k2 -= fftstate->Perm [j - 1]; 797 k2 = fftstate->Perm [j] + k2 [all...] |
/build/soong/glob/ |
glob.go | 53 func writeFileIfChanged(filename string, data []byte, perm os.FileMode) error { 93 err = ioutil.WriteFile(filename, data, perm)
|
/external/kernel-headers/original/uapi/linux/ |
fanotify.h | 15 #define FAN_OPEN_PERM 0x00010000 /* File open in perm check */ 16 #define FAN_ACCESS_PERM 0x00020000 /* File accessed in perm check */
|
/external/selinux/secilc/test/ |
in_test.cil | 2 (class CLASS (PERM)) 14 (allow TYPE self (CLASS (PERM)))
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 51 const char *DrmManagerService::get_perm_label(drm_perm_t perm) { 52 unsigned int index = perm; 55 ALOGE("SELinux: Failed to retrieve permission label(perm=%d).\n", perm); 61 bool DrmManagerService::selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm) { 68 const char *str_perm = get_perm_label(perm); 82 bool DrmManagerService::isProtectedCallAllowed(drm_perm_t perm) { 92 return selinuxIsProtectedCallAllowed(spid, perm);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fanotify.h | 15 #define FAN_OPEN_PERM 0x00010000 /* File open in perm check */ 16 #define FAN_ACCESS_PERM 0x00020000 /* File accessed in perm check */
|
/system/bt/bta/gatt/ |
bta_gatts_api.c | 194 ** perm : Characteristic value declaration attribute permission. 201 tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property) 208 p_buf->perm = perm; 227 ** perm: descriptor access permission. 234 tBTA_GATT_PERM perm, 242 p_buf->perm = perm;
|
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 91 MyPermissionGroupInfo(PermissionInfo perm) { 92 name = perm.packageName; 93 packageName = perm.packageName; 147 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, 151 mPerm = perm; 163 CharSequence label = perm.mLabel; 164 if (perm.mNew && newPermPrefix != null) { 180 if (localLOGV) Log.i(TAG, "Made perm item " + perm.name 480 MyPermissionInfo perm = perms.get(j) local [all...] |
/external/mksh/src/ |
check.pl | 477 local($type, $perm, $rest, $c, $len, $name); 482 # format is: type perm "name" 483 ($type, $perm, $rest) = 489 $perm = oct($perm) if $perm =~ /^\d+$/; 492 if (!chmod($perm, $name)) { 494 "$prog:$test{':long-name'}: can't chmod $perm $name - $!\n"; 498 if (!mkdir($name, $perm)) { 500 "$prog:$test{':long-name'}: can't mkdir $perm $name - $!\n" [all...] |
/external/eigen/bench/ |
sparse_cholesky.cpp | 167 std::vector<int> perm(cols); 170 perm[i] = i; 179 L = cholmod_analyze_p(&A, &perm[0], &perm[0], cols, &c);
|
/external/jetty/src/java/org/eclipse/jetty/util/security/ |
UnixCrypt.java | 129 byte[] perm = new byte[64]; 138 perm[i] = (byte) 0; 153 perm[i] = (byte) k; 155 init_perm(PC1ROT, perm, 8); 162 perm[i] = temp[i] = 0; 173 perm[i] = temp[k]; 176 init_perm(PC2ROT[j], perm, 8); 194 perm[i * 8 + j] = (byte) k; 198 init_perm(IE3264, perm, 8); 210 perm[k - 1] = (byte) (i + 1) [all...] |
/external/llvm/test/MC/Hexagon/instructions/ |
alu32_perm.s | 2 # Hexagon Programmer's Reference Manual 11.1.2 ALU32/PERM
|
/external/selinux/policycoreutils/sepolgen-ifgen/ |
sepolgen-ifgen-attr-helper.c | 61 char *perm = NULL; local 78 perm = v.name; 79 if (perm) { 80 fprintf(fp, ",%s", perm);
|
/frameworks/base/docs/html/training/permissions/ |
declaring.jd | 11 <a href="#perm-needed">Determine What Permissions Your App Needs</a> 14 <a href="#perm-add">Add Permissions to the Manifest</a> 54 <h2 id="perm-needed">Determine What Permissions Your App Needs</h2> 81 <h2 id="perm-add">Add Permissions to the Manifest</h2>
|