/frameworks/native/cmds/installd/ |
D | matchgen.py | 30 for gid, exts in TYPES.iteritems(): 31 if gid is "AID_MEDIA_AUDIO": gid = "1055" 32 if gid is "AID_MEDIA_VIDEO": gid = "1056" 33 if gid is "AID_MEDIA_IMAGE": gid = "1057" 35 print " mkdir /config/sdcardfs/extensions/%s/%s" % (gid, ext)
|
D | QuotaUtils.cpp | 124 int64_t GetOccupiedSpaceForGid(const std::string& uuid, gid_t gid) { in GetOccupiedSpaceForGid() argument 130 if (quotactl(QCMD(Q_GETQUOTA, GRPQUOTA), device.c_str(), gid, in GetOccupiedSpaceForGid() 133 PLOG(ERROR) << "Failed to quotactl " << device << " for GID " << gid; in GetOccupiedSpaceForGid() 138 LOG(DEBUG) << "quotactl() for GID " << gid << " " << dq.dqb_curspace; in GetOccupiedSpaceForGid()
|
D | installd.cpp | 134 gid_t gid = uid; in initialize_directories() local 136 if (copy_dir_files(keychain_added_dir, misc_added_dir, uid, gid) != 0) { in initialize_directories() 141 if (copy_dir_files(keychain_removed_dir, misc_removed_dir, uid, gid) != 0) { in initialize_directories()
|
D | QuotaUtils.h | 36 int64_t GetOccupiedSpaceForGid(const std::string& uuid, gid_t gid);
|
D | utils.cpp | 487 int32_t gid = p->fts_statp->st_gid; in calculate_tree_size() local 489 int32_t user_gid = multiuser_get_app_id(gid); in calculate_tree_size() 497 if (include_gid != -1 && gid != include_gid) { in calculate_tree_size() 500 if (exclude_gid != -1 && gid == exclude_gid) { in calculate_tree_size() 1165 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs() local 1169 return fs_prepare_dir(path.c_str(), 0750, uid, gid); in ensure_config_user_dirs() 1219 uid_t uid, gid_t gid) { in prepare_app_cache_dir() argument 1225 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir() 1243 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir() 1249 << "/" << actual_mode << " but expected " << gid << "/" << target_mode; in prepare_app_cache_dir() [all …]
|
/frameworks/base/core/java/android/net/ |
D | Credentials.java | 29 private final int gid; field in Credentials 31 public Credentials (int pid, int uid, int gid) { in Credentials() argument 34 this.gid = gid; in Credentials() 46 return gid; in getGid()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | TestHal.java | 78 public int enroll(byte[] hat, int gid, int timeoutSec) { in enroll() argument 112 public int remove(int gid, int fid) throws RemoteException { in remove() argument 118 .getBiometricsForUser(mContext, gid); in remove() 121 mCallback.onRemoved(0 /* deviceId */, fp.getBiometricId(), gid, in remove() 125 mCallback.onRemoved(0 /* deviceId */, fid, gid, 0 /* remaining */); in remove() 132 public int setActiveGroup(int gid, String storePath) { in setActiveGroup() argument 137 public int authenticate(long operationId, int gid) { in authenticate() argument
|
/frameworks/libs/net/common/native/bpf_headers/include/bpf/ |
D | bpf_helpers.h | 149 .gid = (grp), \ 181 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument 182 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0620) 184 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument 185 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0640) 187 #define DEFINE_BPF_MAP_GRW(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument 188 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0660) 203 .gid = (prog_gid), \
|
D | bpf_map_def.h | 147 unsigned int gid; // gid_t member 186 unsigned int gid; member
|
/frameworks/native/cmds/installd/tests/ |
D | test_utils.h | 96 uid_t uid, gid_t gid, int mode, std::string* error_msg) { in WriteBase64ToFile() argument 122 if (::chown(file.c_str(), uid, gid) != 0) { in WriteBase64ToFile() 134 bool DropCapabilities(uid_t uid, gid_t gid) { in DropCapabilities() argument 135 if (setgid(gid) != 0) { in DropCapabilities() 136 PLOG(ERROR) << "setgid failed: " << gid; in DropCapabilities()
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccRulesAuthTable.java | 163 String gid = ruleCarrierId.getGid1(); in findIndex() local 164 if (!TextUtils.isEmpty(gid) && !gid.equals(carrierId.getGid1())) { in findIndex() 167 gid = ruleCarrierId.getGid2(); in findIndex() 168 if (!TextUtils.isEmpty(gid) && !gid.equals(carrierId.getGid2())) { in findIndex()
|
/frameworks/base/core/java/android/os/logcat/ |
D | ILogcatManagerService.aidl | 32 void startThread(in int uid, in int gid, in int pid, in int fd); in startThread() argument 44 void finishThread(in int uid, in int gid, in int pid, in int fd); in finishThread() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_fingerprint_FingerprintService.cpp | 102 arg2 = msg.data.authenticated.finger.gid; in hal_notify_callback() 110 arg2 = msg.data.enroll.finger.gid; in hal_notify_callback() 115 arg2 = msg.data.removed.finger.gid; in hal_notify_callback() 175 finger.gid = groupId; in nativeRemove() 184 static jint nativeSetActiveGroup(JNIEnv *env, jobject clazz, jint gid, jbyteArray path) { in nativeSetActiveGroup() argument 193 ALOG(LOG_VERBOSE, LOG_TAG, "nativeSetActiveGroup() path: %s, gid: %d\n", path_name, gid); in nativeSetActiveGroup() 194 int result = gContext.device->set_active_group(gContext.device, gid, path_name); in nativeSetActiveGroup()
|
/frameworks/base/libs/androidfw/ |
D | PosixUtils.cpp | 67 auto gid = getgid(); in ExecuteBinary() local 82 if (setgid(gid) != 0) { in ExecuteBinary()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | Zygote.java | 347 static int forkAndSpecialize(int uid, int gid, int[] gids, int runtimeFlags, in forkAndSpecialize() argument 355 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize() 376 private static native int nativeForkAndSpecialize(int uid, int gid, int[] gids, in nativeForkAndSpecialize() argument 412 private static void specializeAppProcess(int uid, int gid, int[] gids, int runtimeFlags, in specializeAppProcess() argument 417 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess() 441 private static native void nativeSpecializeAppProcess(int uid, int gid, int[] gids, in nativeSpecializeAppProcess() argument 475 static int forkSystemServer(int uid, int gid, int[] gids, int runtimeFlags, in forkSystemServer() argument 480 uid, gid, gids, runtimeFlags, rlimits, in forkSystemServer() 490 private static native int nativeForkSystemServer(int uid, int gid, int[] gids, int runtimeFlags, in nativeForkSystemServer() argument
|
/frameworks/base/services/core/java/com/android/server/logcat/ |
D | LogcatManagerService.java | 149 private LogAccessRequest(int uid, int gid, int pid, int fd) { in LogAccessRequest() argument 151 mGid = gid; in LogAccessRequest() 191 public void startThread(int uid, int gid, int pid, int fd) { in startThread() argument 192 final LogAccessRequest logAccessRequest = new LogAccessRequest(uid, gid, pid, fd); in startThread() 201 public void finishThread(int uid, int gid, int pid, int fd) { in finishThread() argument 202 final LogAccessRequest logAccessRequest = new LogAccessRequest(uid, gid, pid, fd); in finishThread()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 1104 String gid; in hasEmsSupport() local 1108 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in hasEmsSupport() 1118 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport() 1136 String gid; in shouldAppendPageNumberAsPrefix() local 1140 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in shouldAppendPageNumberAsPrefix() 1149 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 765 static void PrepareDir(const std::string& dir, mode_t mode, uid_t uid, gid_t gid, in PrepareDir() argument 767 if (fs_prepare_dir(dir.c_str(), mode, uid, gid) != 0) { in PrepareDir() 773 static void PrepareDirIfNotPresent(const std::string& dir, mode_t mode, uid_t uid, gid_t gid, in PrepareDirIfNotPresent() argument 780 PrepareDir(dir, mode, uid, gid, fail_fn); in PrepareDirIfNotPresent() 1725 static void SpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray gids, jint runtime_flags, in SpecializeCommon() argument 1824 if (setresgid(gid, gid, gid) == -1) { in SpecializeCommon() 1825 fail_fn(CREATE_ERROR("setresgid(%d) failed: %s", gid, strerror(errno))); in SpecializeCommon() 1999 static jlong CalculateCapabilities(JNIEnv* env, jint uid, jint gid, jintArray gids, in CalculateCapabilities() argument 2032 if (gid == AID_WAKELOCK) { in CalculateCapabilities() 2309 JNIEnv* env, jclass, jint uid, jint gid, jintArray gids, jint runtime_flags, in com_android_internal_os_Zygote_nativeForkAndSpecialize() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 714 int uid, int gid, @Nullable int[] gids, in start() argument 734 return ZYGOTE_PROCESS.start(processClass, niceName, uid, gid, gids, in start() 745 int uid, int gid, @Nullable int[] gids, in startWebView() argument 759 return WebViewZygote.getProcess().start(processClass, niceName, uid, gid, gids, in startWebView()
|
D | FileUtils.java | 152 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() argument 153 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions() 166 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() argument 174 if (uid >= 0 || gid >= 0) { in setPermissions() 176 Os.chown(path, uid, gid); in setPermissions() 196 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { in setPermissions() argument 204 if (uid >= 0 || gid >= 0) { in setPermissions() 206 Os.fchown(fd, uid, gid); in setPermissions()
|
D | ZygoteProcess.java | 347 int uid, int gid, @Nullable int[] gids, in start() argument 372 return startViaZygote(processClass, niceName, uid, gid, gids, in start() 628 final int uid, final int gid, in startViaZygote() argument 656 argsForZygote.add("--setgid=" + gid); in startViaZygote() 1294 int uid, int gid, int[] gids, in startChildZygote() argument 1315 result = startViaZygote(processClass, niceName, uid, gid, in startChildZygote()
|
D | UserHandle.java | 428 public static @AppIdInt int getAppIdFromSharedAppGid(int gid) { in getAppIdFromSharedAppGid() argument 429 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid()
|
/frameworks/native/services/vr/performanced/ |
D | performance_service.cpp | 64 const gid_t gid = sender.GetEffectiveGroupId(); in Check() local 66 EXPAND_PACK(allow |= (gid == GIDs)); in Check()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | Archive.h | 45 char gid[6]; ///< group id in ASCII decimal member
|
/frameworks/av/media/audioserver/ |
D | audioserver.rc | 4 # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
|