/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 | utils.cpp | 348 int32_t gid = p->fts_statp->st_gid; in calculate_tree_size() local 350 int32_t user_gid = multiuser_get_app_id(gid); in calculate_tree_size() 358 if (include_gid != -1 && gid != include_gid) { in calculate_tree_size() 361 if (exclude_gid != -1 && gid == exclude_gid) { in calculate_tree_size() 1002 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs() local 1006 return fs_prepare_dir(path.c_str(), 0750, uid, gid); in ensure_config_user_dirs() 1041 uid_t uid, gid_t gid) { in prepare_app_cache_dir() argument 1047 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir() 1065 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir() 1071 << " but expected " << gid; in prepare_app_cache_dir() [all …]
|
D | installd.cpp | 244 gid_t gid = uid; in initialize_directories() local 246 if (copy_dir_files(keychain_added_dir, misc_added_dir, uid, gid) != 0) { in initialize_directories() 251 if (copy_dir_files(keychain_removed_dir, misc_removed_dir, uid, gid) != 0) { in initialize_directories()
|
D | utils.h | 149 uid_t uid, gid_t gid);
|
/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/core/java/com/android/internal/os/ |
D | Zygote.java | 99 public static int forkAndSpecialize(int uid, int gid, int[] gids, int debugFlags, in forkAndSpecialize() argument 106 uid, gid, gids, debugFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize() 119 native private static int nativeForkAndSpecialize(int uid, int gid, int[] gids,int debugFlags, in nativeForkAndSpecialize() argument 151 public static int forkSystemServer(int uid, int gid, int[] gids, int debugFlags, in forkSystemServer() argument 157 uid, gid, gids, debugFlags, rlimits, permittedCapabilities, effectiveCapabilities); in forkSystemServer() 166 native private static int nativeForkSystemServer(int uid, int gid, int[] gids, int debugFlags, in nativeForkSystemServer() argument
|
D | ZygoteConnection.java | 222 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, in processOneCommand() 345 int gid = 0; field in ZygoteConnection.Arguments 462 gid = Integer.parseInt( in parseArgs() 691 args.gid = peer.getGid(); in applyUidSecurityPolicy()
|
/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/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 487 static pid_t ForkAndSpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray javaGids, in ForkAndSpecializeCommon() argument 605 int rc = setresgid(gid, gid, gid); in ForkAndSpecializeCommon() 607 ALOGE("setresgid(%d) failed: %s", gid, strerror(errno)); in ForkAndSpecializeCommon() 694 JNIEnv* env, jclass, jint uid, jint gid, jintArray gids, in com_android_internal_os_Zygote_nativeForkAndSpecialize() argument 716 if (gid == AID_WAKELOCK) { in com_android_internal_os_Zygote_nativeForkAndSpecialize() 735 return ForkAndSpecializeCommon(env, uid, gid, gids, debug_flags, in com_android_internal_os_Zygote_nativeForkAndSpecialize() 741 JNIEnv* env, jclass, uid_t uid, gid_t gid, jintArray gids, in com_android_internal_os_Zygote_nativeForkSystemServer() argument 744 pid_t pid = ForkAndSpecializeCommon(env, uid, gid, gids, in com_android_internal_os_Zygote_nativeForkSystemServer()
|
D | android_net_LocalSocketImpl.cpp | 490 creds.pid, creds.uid, creds.gid); in socket_get_peer_credentials()
|
/frameworks/base/cmds/idmap/ |
D | idmap.cpp | 122 gid_t gid = getgid(); in verify_root_or_system() local 124 return (uid == 0 && gid == 0) || (uid == AID_SYSTEM && gid == AID_SYSTEM); in verify_root_or_system()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 450 int uid, int gid, int[] gids, in start() argument 459 return zygoteProcess.start(processClass, niceName, uid, gid, gids, in start() 467 int uid, int gid, int[] gids, in startWebView() argument 476 return WebViewZygote.getProcess().start(processClass, niceName, uid, gid, gids, in startWebView()
|
D | FileUtils.java | 92 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() argument 93 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions() 104 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() argument 112 if (uid >= 0 || gid >= 0) { in setPermissions() 114 Os.chown(path, uid, gid); in setPermissions() 132 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { in setPermissions() argument 140 if (uid >= 0 || gid >= 0) { in setPermissions() 142 Os.fchown(fd, uid, gid); in setPermissions()
|
D | ZygoteProcess.java | 198 int uid, int gid, int[] gids, in start() argument 208 return startViaZygote(processClass, niceName, uid, gid, gids, in start() 332 final int uid, final int gid, in startViaZygote() argument 349 argsForZygote.add("--setgid=" + gid); in startViaZygote()
|
D | UserHandle.java | 213 public static @AppIdInt int getAppIdFromSharedAppGid(int gid) { in getAppIdFromSharedAppGid() argument 214 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 831 String gid; in hasEmsSupport() local 835 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in hasEmsSupport() 845 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport() 863 String gid; in shouldAppendPageNumberAsPrefix() local 867 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in shouldAppendPageNumberAsPrefix() 876 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix()
|
/frameworks/av/media/audioserver/ |
D | audioserver.rc | 4 # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 340 int gid = android.os.Process.getGidForName(gidStr); in readPermissionsFromXml() local 341 mGlobalGids = appendInt(mGlobalGids, gid); in readPermissionsFromXml() 645 int gid = Process.getGidForName(gidStr); in readPermission() local 646 perm.gids = appendInt(perm.gids, gid); in readPermission()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 160 public synchronized void onWakeupEvent(String prefix, int uid, int gid, long timestampNs) { in onWakeupEvent() argument 161 maybeVerboseLog("onWakeupEvent(%s, %d, %d, %sns)", prefix, uid, gid, timestampNs); in onWakeupEvent()
|
/frameworks/native/services/vr/performanced/ |
D | performance_service.cpp | 58 const gid_t gid = sender.GetEffectiveGroupId(); in Check() local 60 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/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 215 int fixPermissionsSecureContainer(in String id, int gid, in String filename) = 33; in fixPermissionsSecureContainer() argument
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 2051 nScriptGroupSetInput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetInput() argument 2054 (void *)gid, (void *)kid, (void *)alloc); in nScriptGroupSetInput() 2055 dispatchTab.ScriptGroupSetInput((RsContext)con, (RsScriptGroup)gid, (RsScriptKernelID)kid, in nScriptGroupSetInput() 2060 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetOutput() argument 2063 (void *)gid, (void *)kid, (void *)alloc); in nScriptGroupSetOutput() 2064 dispatchTab.ScriptGroupSetOutput((RsContext)con, (RsScriptGroup)gid, (RsScriptKernelID)kid, in nScriptGroupSetOutput() 2069 nScriptGroupExecute(JNIEnv *_env, jobject _this, jlong con, jlong gid) in nScriptGroupExecute() argument 2071 LOG_API("nScriptGroupSetOutput, con(%p) group(%p)", (RsContext)con, (void *)gid); in nScriptGroupExecute() 2072 dispatchTab.ScriptGroupExecute((RsContext)con, (RsScriptGroup)gid); in nScriptGroupExecute()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 333 public static boolean fixSdPermissions(String cid, int gid, String filename) { in fixSdPermissions() argument 335 int rc = getStorageManager().fixPermissionsSecureContainer(cid, gid, filename); in fixSdPermissions()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2400 nScriptGroupSetInput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetInput() argument 2404 (void *)gid, (void *)kid, (void *)alloc); in nScriptGroupSetInput() 2406 …rsScriptGroupSetInput((RsContext)con, (RsScriptGroup)gid, (RsScriptKernelID)kid, (RsAllocation)all… in nScriptGroupSetInput() 2410 nScriptGroupSetOutput(JNIEnv *_env, jobject _this, jlong con, jlong gid, jlong kid, jlong alloc) in nScriptGroupSetOutput() argument 2414 (void *)gid, (void *)kid, (void *)alloc); in nScriptGroupSetOutput() 2416 …rsScriptGroupSetOutput((RsContext)con, (RsScriptGroup)gid, (RsScriptKernelID)kid, (RsAllocation)al… in nScriptGroupSetOutput() 2420 nScriptGroupExecute(JNIEnv *_env, jobject _this, jlong con, jlong gid) in nScriptGroupExecute() argument 2423 ALOGD("nScriptGroupSetOutput, con(%p) group(%p)", (RsContext)con, (void *)gid); in nScriptGroupExecute() 2425 rsScriptGroupExecute((RsContext)con, (RsScriptGroup)gid); in nScriptGroupExecute()
|