/system/extras/su/ |
D | su.cpp | 30 struct passwd* pw = getpwnam(tok); in pwtoid() local 31 if (pw) { in pwtoid() 32 if (uid) *uid = pw->pw_uid; in pwtoid() 33 if (gid) *gid = pw->pw_gid; in pwtoid() 123 struct passwd* pw = getpwuid(uid); in main() local 124 if (pw) { in main() 125 setenv("LOGNAME", pw->pw_name, 1); in main() 126 setenv("USER", pw->pw_name, 1); in main()
|
/system/security/keystore/ |
D | user_state.cpp | 85 ResponseCode UserState::initialize(const android::String8& pw) { in initialize() argument 89 ResponseCode response = writeMasterKey(pw); in initialize() 139 ResponseCode UserState::writeMasterKey(const android::String8& pw) { in writeMasterKey() argument 141 generateKeyFromPassword(passwordKey, pw, mSalt); in writeMasterKey() 151 ResponseCode UserState::readMasterKey(const android::String8& pw) { in readMasterKey() argument 181 generateKeyFromPassword(passwordKey, pw, salt); in readMasterKey() 198 response = writeMasterKey(pw); in readMasterKey() 237 void UserState::generateKeyFromPassword(std::vector<uint8_t>& key, const android::String8& pw, in generateKeyFromPassword() argument 256 PKCS5_PBKDF2_HMAC(reinterpret_cast<const char*>(pw.string()), pw.length(), salt, saltSize, 8192, in generateKeyFromPassword()
|
D | user_state.h | 61 ResponseCode initialize(const android::String8& pw); 65 ResponseCode writeMasterKey(const android::String8& pw); 66 ResponseCode readMasterKey(const android::String8& pw); 84 void generateKeyFromPassword(std::vector<uint8_t>& key, const android::String8& pw,
|
D | KeyStore.cpp | 81 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) { in initializeUser() argument 83 return userState->initialize(pw); in initializeUser() 92 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) { in writeMasterKey() argument 94 return userState->writeMasterKey(pw); in writeMasterKey() 97 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) { in readMasterKey() argument 99 return userState->readMasterKey(pw); in readMasterKey()
|
D | KeyStore.h | 104 ResponseCode initializeUser(const android::String8& pw, uid_t userId); 107 ResponseCode writeMasterKey(const android::String8& pw, uid_t userId); 108 ResponseCode readMasterKey(const android::String8& pw, uid_t userId);
|
D | key_store_service.cpp | 439 Status KeyStoreService::unlock(int32_t userId, const String16& pw, int32_t* aidl_return) { in unlock() argument 463 const String8 password8(pw); in unlock()
|
/system/vold/ |
D | cryptfs.h | 62 int cryptfs_check_passwd(const char* pw); 63 int cryptfs_verify_passwd(const char* pw);
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | Config.java | 90 PrintWriter pw = new PrintWriter(file); in saveConfiguration() local 91 pw.write(jsonObject.toString()); in saveConfiguration() 92 pw.flush(); in saveConfiguration() 93 pw.close(); in saveConfiguration()
|
/system/core/run-as/ |
D | run-as.cpp | 264 passwd* pw = getpwuid(uid); in main() local 265 setenv("LOGNAME", pw->pw_name, 1); in main() 266 setenv("SHELL", pw->pw_shell, 1); in main() 267 setenv("USER", pw->pw_name, 1); in main()
|
/system/extras/runconuid/ |
D | runconuid.cpp | 90 struct passwd* pw; in lookup_uid() local 97 if ((pw = getpwnam(c)) != 0) { in lookup_uid() 98 return pw->pw_uid; in lookup_uid()
|
/system/core/adb/daemon/ |
D | shell_service.cpp | 256 passwd* pw = getpwuid(getuid()); in ForkAndExec() local 272 if (pw != nullptr) { in ForkAndExec() 273 env["HOME"] = pw->pw_dir; in ForkAndExec() 275 env["LOGNAME"] = pw->pw_name; in ForkAndExec() 276 env["SHELL"] = pw->pw_shell; in ForkAndExec() 278 env["USER"] = pw->pw_name; in ForkAndExec()
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 2602 isoCode:"pw"
|