Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 104) sorted by relevance

12345

/development/scripts/
Dcompare-installed-size.py44 input_stream = open(install_file, 'r')
80 output = open("module_%d.csv" % idx, 'w')
98 output = open("comparison.csv", 'w')
Dboardconfig_usage_analysis.py76 with open(os.path.join(OUT, 'module-info.json')) as module_info_json:
102 for line in open(board_config_mk, encoding='latin1'):
128 with open(makefile, encoding='latin1') as mk_file:
Dcargo2android.py204 with open(outf_name, 'w') as outf:
319 with open(outf_name, 'a') as outf: # to write debug info
531 with open(self.outf_name, 'a') as outf:
927 with open(self.outf_name, 'a') as outf:
1010 with open(self.outf_name, 'a') as outf:
1100 with open(path2global, 'r') as inf:
1121 with open(name, 'w') as outf:
1162 with open('./Cargo.toml', 'r') as inf:
1192 with open(cargo_toml, 'r') as in_file:
1198 with open(cargo_toml, 'a') as out_file:
[all …]
/development/vndk/tools/image-diff-tool/
Ddiff.py28 with open(f, "rb") as fin:
81 with open(allowlist, "rb") as f:
109 with open(pathname, "rb") as f:
186 with open("common.csv", "w") as fout:
189 with open("diff.csv", "w") as fout:
192 with open("allowlisted_diff.csv", "w") as fout:
/development/tools/axl/
Dchewperf.py12 f = open(sys.argv[1]).read()
28 f = open(sys.argv[1]).read()
46 f = open(sys.argv[1]).read()
DudpServer.py7 buf = open("random.dat").read()
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_load.py14 with open("%s/.bashrc" % os.environ["HOME"], "rb") as f:
17 with open("%s/.bashrc" % os.environ["HOME"], "a") as f:
Dtech_area_csv_to_hashes.py30 with open(fname, "rb") as csv_file:
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py36 with open(module_json, 'r') as json_file:
49 with open(manifest_path, 'r') as manifest_file:
137 with open(args.output, 'w') as output_file:
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py25 with open(path, 'r') as fp:
35 with open(module_info_path, 'r') as fp:
96 with open(args.tag_file, 'r') as fp:
238 with open(args.output, 'w') as fp:
/development/testrunner/
Dcreate_test.py118 tests_manifest = open(tests_manifest_path, mode="w")
147 mk_file = open(mk_path, mode="a")
168 tests_mk = open(tests_mk_path, mode="w")
/development/vndk/tools/
Dsystem_image_diff.py62 with open(os.path.join(path, 'module-info.json')) as module_info_json:
94 with open(os.path.join(path, 'module-info.json')) as module_info_json:
138 with open(os.path.join(args.out1, 'module-info.json')) as module_info_json:
/development/vndk/snapshot/
Dgen_buildfiles.py118 with open(abs_path_of_txt, 'r') as f:
138 with open(self._root_bpfile, 'w') as bpfile:
151 with open(self._common_bpfile, 'w') as bpfile:
182 with open(module_names_txt, 'r') as f:
214 with open(bpfile_path, 'w') as bpfile:
444 with open(prop_path, 'r') as f:
/development/tools/repo_pull/
Dgerrit.py116 with open(cookie_file_path, 'r') as cookie_file:
184 response_file = url_opener.open(url)
209 response_file = url_opener.open(request)
319 response_file = url_opener.open(url)
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DAssetUtils.java36 InputStream is = context.getAssets().open(asset); in loadAsset()
62 is = context.getAssets().open(asset); in loadBitmapAsset()
/development/vndk/tools/header-checker/utils/
Dutils.py81 with open(dump_path, 'r') as f:
95 with open(lib_path, 'rb') as src_file:
96 with gzip.open(reference_dump_path, 'wb') as dst_file:
214 with open(lsdump_paths_file_path, 'r') as lsdump_paths_file:
/development/tools/repo_diff/
Drepo_diff_trees.py71 with open(os.devnull, 'w') as devull:
214 with open(exclusion_file) as f:
405 with open(commit_output_file, 'w') as f:
436 with open(project_output_file, 'w') as f:
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java102 return Camera.open(); in getDefaultCameraInstance()
139 return Camera.open(i); in getDefaultCamera()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java102 return Camera.open(); in getDefaultCameraInstance()
139 return Camera.open(i); in getDefaultCamera()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java102 return Camera.open(); in getDefaultCameraInstance()
139 return Camera.open(i); in getDefaultCamera()
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DPdfRendererBasicFragment.java151 InputStream asset = context.getAssets().open(FILENAME); in openRenderer()
161 mFileDescriptor = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in openRenderer()
/development/vndk/tools/sourcedr/ninja/
Dninja.py32 _builtin_open = open
33 def open(path, mode, encoding=None): function
566 with open(path, 'r', encoding=encoding) as fp:
880 with open(path, 'rb') as fp:
1026 with open(input_file, 'rb') as pickle_file:
1069 with open(args.output, 'w') as output_file:
1075 with open(args.output, 'wb') as output_file:
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java303 private Animator revealAnimator(View view, boolean open) { in revealAnimator() argument
306 open ? 0 : radius, open ? radius : 0); in revealAnimator()
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py28 with open(filename) as fp:
/development/samples/browseable/RuntimePermissionsBasic/
D_index.jd8 …issions at runtime. Click the button to request the Camera permission and open a full-screen camer…

12345