/aosp12/bionic/tests/ |
H A D | getcwd_test.cpp | 29 ASSERT_TRUE(cwd != nullptr); in TEST() 31 ASSERT_GE(strlen(cwd), 1U); in TEST() 32 free(cwd); in TEST() 39 ASSERT_TRUE(cwd != nullptr); in TEST() 41 ASSERT_GE(strlen(cwd), 1U); in TEST() 42 free(cwd); in TEST() 49 ASSERT_TRUE(cwd == nullptr); in TEST() 58 ASSERT_TRUE(cwd == nullptr); in TEST() 84 ASSERT_TRUE(cwd == buf); in TEST() 86 ASSERT_GE(strlen(cwd), 1U); in TEST() [all …]
|
/aosp12/system/bt/gd/os/host/ |
H A D | parameter_provider.cc | 45 char cwd[PATH_MAX] = {}; in ConfigFilePath() local 46 if (getcwd(cwd, sizeof(cwd)) == nullptr) { in ConfigFilePath() 50 return std::string(cwd) + "/bt_config.conf"; in ConfigFilePath() 65 char cwd[PATH_MAX] = {}; in SnoopLogFilePath() local 66 if (getcwd(cwd, sizeof(cwd)) == nullptr) { in SnoopLogFilePath() 70 return std::string(cwd) + "/btsnoop_hci.log"; in SnoopLogFilePath() 86 char cwd[PATH_MAX] = {}; in SnoozLogFilePath() local 87 if (getcwd(cwd, sizeof(cwd)) == nullptr) { in SnoozLogFilePath() 91 return std::string(cwd) + "/btsnooz_hci.log"; in SnoozLogFilePath()
|
/aosp12/packages/modules/ArtPrebuilt/ |
H A D | update-art-module-prebuilts.py | 181 check_call(cmd, cwd=local_dir) 190 check_call(["git", "reset", "--hard", "@{upstream}"], cwd=git_dir) 203 check_call(["git", "rm", "-qrf", "--ignore-unmatch"] + subpaths, cwd=git_root) 206 check_call(["rm", "-rf"] + subpaths, cwd=git_root) 211 check_call(["git", "add"] + add_paths, cwd=git_root) 234 "git commit -F " + msg_path, shell=True, cwd=git_root) 252 check_call(["mkdir", install_file], cwd=install_dir) 255 cwd=install_dir) 256 check_call(["rm", source_file], cwd=install_dir) 259 check_call(["mv", source_file, install_file], cwd=install_dir)
|
/aosp12/system/bt/ |
H A D | build.py | 194 def run_command(self, target, args, cwd=None, env=None): argument 198 if not cwd: 199 cwd = self.platform_dir 206 process = subprocess.Popen(args, cwd=cwd, env=env, stdout=subprocess.PIPE) 360 …self.run_command('rust', ['cargo', 'build'], cwd=os.path.join(self.platform_dir, 'bt'), env=self.e… 398 …self.run_command('test', ['cargo', 'test'], cwd=os.path.join(self.platform_dir, 'bt'), env=self.en… 404 cwd=os.path.join(self.output_dir),
|
/aosp12/bionic/tools/versioner/src/ |
H A D | versioner.cpp | 290 std::string cwd = getWorkingDir() + "/"; in checkSymbol() local 303 decl->dump(cwd, stderr, 4); in checkSymbol() 304 inline_def_it.first->dump(cwd, stderr, 4); in checkSymbol() 315 decl->dump(cwd, stderr, 2); in checkSymbol() 321 decl->dump(cwd, stderr, 2); in checkSymbol() 329 symbol.dump(cwd); in checkSymbol() 339 std::string cwd = getWorkingDir() + "/"; in validityCheck() local 354 std::string cwd = getWorkingDir() + "/"; in checkVersions() local 444 symbol_it->second.dump(cwd); in checkVersions() 495 std::string cwd = getWorkingDir() + "/"; in main() local
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | CreateDirectoryFragment.java | 132 final DocumentInfo cwd = activity.getCurrentDirectory(); in createDirectory() local 134 new CreateDirectoryTask(activity, cwd, name).executeOnExecutor( in createDirectory() 135 ProviderExecutor.forAuthority(cwd.authority)); in createDirectory() 146 BaseActivity activity, DocumentInfo cwd, String displayName) { in CreateDirectoryTask() argument 148 mCwd = cwd; in CreateDirectoryTask()
|
/aosp12/packages/modules/Gki/ |
H A D | download_boot_prebuilt.py | 82 subprocess.check_call(["repo", "start", "boot-prebuilt-{}".format(build_id)], cwd=arch_dir) 102 subprocess.check_call(["git", "add", "."], cwd=arch_dir) 103 subprocess.check_call(["git", "commit", "-m", message], cwd=arch_dir) 136 subprocess.check_call(args, cwd=ANDROID_BUILD_TOP)
|
/aosp12/bionic/libc/include/sys/ |
H A D | user.h | 44 long cwd; member 54 unsigned short cwd; member 112 unsigned short cwd;
|
/aosp12/packages/modules/adb/ |
H A D | adb_utils.cpp | 70 char* cwd = getcwd(nullptr, 0); in getcwd() local 71 if (cwd != nullptr) *s = cwd; in getcwd() 72 free(cwd); in getcwd() 73 return (cwd != nullptr); in getcwd()
|
/aosp12/packages/modules/adb/coverage/ |
H A D | report.sh | 13 /proc/self/cwd/packages/modules/adb \ 20 /proc/self/cwd/packages/modules/adb \
|
/aosp12/bionic/libc/kernel/tools/ |
H A D | utils.py | 35 cwd = os.getcwd() 37 if len(cwd) < len(root) or not root == cwd[:len(root)]:
|
/aosp12/hardware/qcom/sm8150/thermal/ |
H A D | thermal_common.c | 135 char cwd[MAX_PATH] = {0}; in get_tzn() local 138 if (!getcwd(cwd, sizeof(cwd))) in get_tzn() 200 ret = chdir(cwd); in get_tzn()
|
/aosp12/hardware/qcom/sdm845/thermal/ |
H A D | thermal_common.c | 135 char cwd[MAX_PATH] = {0}; in get_tzn() local 138 if (!getcwd(cwd, sizeof(cwd))) in get_tzn() 200 ret = chdir(cwd); in get_tzn()
|
/aosp12/build/blueprint/bootstrap/ |
H A D | config.go | 53 if cwd, err := os.Getwd(); err == nil { 54 if relpath, err := filepath.Rel(cwd, goroot); err == nil {
|
H A D | cleanup.go | 157 cwd, err := os.Getwd() 162 for dir := filepath.Dir(path); dir != cwd; dir = filepath.Dir(dir) {
|
/aosp12/art/tools/jfuzz/ |
H A D | run_jfuzz_test_nightly.py | 38 cwd = os.path.dirname(os.path.realpath(__file__)) 39 cmd = [cwd + '/run_jfuzz_test.py']
|
/aosp12/system/bt/gd/ |
H A D | setup.py | 42 completed_process = subprocess.run(cmd, cwd=os.getcwd()) 50 subprocess.run(cmd, cwd=acts_framework_dir, check=True)
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
H A D | SaveFragment.java | 201 public void prepareForDirectory(DocumentInfo cwd) { in prepareForDirectory() argument 202 setSaveEnabled(cwd != null && cwd.isCreateSupported()); in prepareForDirectory()
|
H A D | CreatePickedDocumentTask.java | 77 DocumentInfo cwd = mStack.peek(); in run() local 79 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
|
H A D | PickActivity.java | 315 final DocumentInfo cwd = getCurrentDirectory(); in onPrepareOptionsMenu() local 319 SaveFragment.get(fm).prepareForDirectory(cwd); in onPrepareOptionsMenu() 335 final DocumentInfo cwd = getCurrentDirectory(); in refreshDirectory() local 349 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory() 365 mState.copyOperationSubType, mState.restrictScopeStorage, cwd); in refreshDirectory()
|
/aosp12/system/bt/gd/packet/parser/ |
H A D | main.cc | 131 std::filesystem::path cwd = std::filesystem::current_path(); in main() local 132 std::filesystem::path source_root = cwd; in main() 158 out_dir = cwd / std::filesystem::path(arg.substr(arg_out.size())); in main()
|
/aosp12/frameworks/native/cmds/cmd/ |
H A D | cmd.cpp | 72 char cwd[256]; in openFile() local 73 getcwd(cwd, 256); in openFile() 74 String8 fullPath(cwd); in openFile()
|
/aosp12/system/testing/gtest_extras/ |
H A D | Options.cpp | 170 char* cwd = getcwd(nullptr, 0); in SetXmlFile() local 171 if (cwd == nullptr) { in SetXmlFile() 178 xml_file = std::string(cwd) + '/' + xml_file; in SetXmlFile() 179 free(cwd); in SetXmlFile()
|
/aosp12/hardware/qcom/wlan/qcwcn/wcnss-service/ |
H A D | wcnss_service.c | 237 char cwd[1024]; in find_full_path() local 259 getcwd(cwd, sizeof(cwd)); in find_full_path() 261 cwd, file_to_find); in find_full_path()
|
/aosp12/build/make/core/ |
H A D | checktree | 80 cwd = os.getcwd() variable 82 files = map(lambda s: cwd+s, files)
|