/frameworks/base/services/core/jni/ |
H A D | com_android_server_GraphicsStatsService.cpp | 43 std::string path; local 54 LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); 55 path.assign(pathChars.c_str(), pathChars.size()); 58 LOG_ALWAYS_FATAL_IF(packageChars.size() <= 0 || !packageChars.c_str(), "Failed to get path chars"); 63 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data); 68 LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); 69 const std::string path(pathChars.c_str(), pathChars.size()); 71 GraphicsStatsService::addToDump(dump, path); 85 LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); 87 LOG_ALWAYS_FATAL_IF(packageChars.size() <= 0 || !packageChars.c_str(), "Failed to get path char [all...] |
H A D | com_android_server_UsbMidiDevice.cpp | 45 char path[100]; local 50 snprintf(path, sizeof(path), "/dev/snd/controlC%d", card); 55 while ((fd = open(path, O_RDWR)) < 0) { 57 ALOGE("timed out after %d tries, could not open %s", retryCounter, path); 60 ALOGW("attempt #%d, could not open %s", retryCounter, path); 75 ALOGE("SNDRV_CTL_IOCTL_RAWMIDI_INFO failed, errno: %d path: %s", errno, path); 87 char path[100]; local 89 snprintf(path, sizeo [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmTestUtils.java | 128 public static void writeToFile(File path, String content) argument 130 path.getParentFile().mkdirs(); 132 try (FileWriter writer = new FileWriter(path)) { 133 Log.i(DpmTestBase.TAG, "Writing to " + path);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 46 String path = intent.getStringExtra("com.android.test.hwui.Path"); 48 if (path == null) { 49 path = ""; 52 setListAdapter(new SimpleAdapter(this, getData(path), 131 protected Intent browseIntent(String path) { argument 134 result.putExtra(EXTRA_PATH, path);
|
H A D | ScaledTextActivity.java | 81 Path path = new Path(); 82 buildPath(path); 83 return path; 86 private static void buildPath(Path path) { argument 87 path.moveTo(0.0f, 0.0f); 88 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 89 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 90 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
H A D | TextOnPathActivity.java | 45 Path path = new Path(); 46 buildPath(path); 47 return path; 50 private static void buildPath(Path path) { argument 51 path.moveTo(0.0f, 0.0f); 52 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 53 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 54 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 58 Path path = new Path(); 59 buildStraightPath(path); 63 buildStraightPath(Path path) argument [all...] |
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorDrawableTest.java | 45 String path = intent.getStringExtra("com.android.test.hwui.Path"); 47 if (path == null) { 48 path = ""; 51 setListAdapter(new SimpleAdapter(this, getData(path), 130 protected Intent browseIntent(String path) { argument 133 result.putExtra(EXTRA_PATH, path);
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 54 bool StartEntry(const StringPiece& path, uint32_t flags) override { 60 file::AppendPath(&full_path, path); 92 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { 93 if (!StartEntry(path, flags)) { 123 bool Open(const StringPiece& path) { argument 124 file_ = {fopen(path.data(), "w+b"), fclose}; 133 bool StartEntry(const StringPiece& path, uint32_t flags) override { 147 int32_t result = writer_->StartEntry(path.data(), zip_flags); 173 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { 175 if (!StartEntry(path, flag 242 CreateDirectoryArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument 252 CreateZipFileArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument [all...] |
/frameworks/base/tools/localedata/ |
H A D | extract_icu_data.py | 22 import os.path namespace 166 likely_subtags_txt = os.path.join(icu_data_dir, 'misc', 'likelySubtags.txt') 182 all_icu_data_files = glob.glob(os.path.join(icu_data_dir, '*', '*.txt')) 185 locale = os.path.splitext(os.path.basename(data_file))[0] 277 icu_data_dir = os.path.join(
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Directory.h | 47 /// constructor - a directory whose path is pPath 77 /// path - the path of the directory 78 const Path& path() const { return m_Path; } function in class:mcld::sys::fs::Directory 139 Path* path(); 140 const Path* path() const;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | GroupCmd.cpp | 95 sys::fs::Path path; local 101 path = script.sysroot(); 102 path.append(token->name()); 105 path.assign(token->name()); 106 if (!sys::fs::exists(path)) { 107 // 3. Search through the library search path 111 path = *p; 115 if (!sys::fs::exists(path)) 116 fatal(diag::err_cannot_open_input) << path.filename() << path; 123 const sys::fs::Path* path = NULL; local [all...] |
H A D | InputCmd.cpp | 106 sys::fs::Path path; local 112 path = script.sysroot(); 113 path.append(token->name()); 116 path.assign(token->name()); 117 if (!sys::fs::exists(path)) { 118 // 3. Search through the library search path 122 path = *p; 126 if (!sys::fs::exists(path)) 127 fatal(diag::err_cannot_open_input) << path.filename() << path; 134 const sys::fs::Path* path = NULL; local [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateInternal.cpp | 92 const char* path = path_string.c_str(); local 94 dprintf(out_fd, "------ %s (%s", title.c_str(), path); 98 size_t path_len = strlen(path); 99 if ((path_len < 6 || memcmp(path, "/proc/", 6)) && 100 (path_len < 5 || memcmp(path, "/sys/", 5)) && 101 (path_len < 3 || memcmp(path, "/d/", 3)) && !fstat(fd, &st)) { 113 dprintf(out_fd, "%s: skipped on dry run\n", path); 132 dprintf(out_fd, "*** %s: select failed: %s\n", path, strerror(errno)); 137 dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC); 148 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerro [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel_factory.cpp | 29 std::string path; local 32 path = endpoint_path; 34 path = GetRootEndpointPath() + '/' + endpoint_path; 36 return path; 66 "ClientChannelFactory::Connect: unspecified socket path");
|
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.h | 25 std::string path() const { return path_; } function in class:android::dvr::CpuSet 66 // |cpuset_root|. This argument must be the path to the root cpuset for the 70 // Lookup and return a CpuSet from a cpuset path. Ownership of the pointer 73 CpuSet* Lookup(const std::string& path); 89 // Creates a CpuSet from a path to a cpuset cgroup directory. Recursively 90 // creates child groups for each directory found under |path|. 91 std::unique_ptr<CpuSet> Create(const std::string& path);
|
/frameworks/rs/ |
H A D | rsApiFileA3D.cpp | 90 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument 91 if (path == nullptr) { 99 FILE *f = fopen(path, "rb"); 106 ALOGE("Could not open file %s", path);
|
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/ |
H A D | Support13Demos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 128 protected Intent browseIntent(String path) { argument 131 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/ |
H A D | Support4Demos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 128 protected Intent browseIntent(String path) { argument 131 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/ |
H A D | Support7Demos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 129 protected Intent browseIntent(String path) { argument 132 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/ |
H A D | BrowseActivity.java | 46 String path = intent.getStringExtra("com.example.android.support.animation"); 48 if (path == null) { 49 path = ""; 52 setListAdapter(new SimpleAdapter(this, getData(path), 129 protected Intent browseIntent(String path) { argument 132 result.putExtra("com.example.android.support.animation", path);
|
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/ |
H A D | SupportDesignDemos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 129 protected Intent browseIntent(String path) { argument 132 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/SupportPercentDemos/src/com/example/android/support/percent/ |
H A D | SupportPercentDemos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 129 protected Intent browseIntent(String path) { argument 132 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/ |
H A D | SupportPreferenceDemos.java | 42 String path = intent.getStringExtra("com.example.android.apis.Path"); 44 if (path == null) { 45 path = ""; 48 setListAdapter(new SimpleAdapter(this, getData(path), 128 protected Intent browseIntent(String path) { argument 131 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/ |
H A D | SupportTransitionDemos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 126 protected Intent browseIntent(String path) { argument 129 result.putExtra("com.example.android.apis.Path", path);
|
/frameworks/support/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/ |
H A D | SupportVectorDrawableDemos.java | 46 String path = intent.getStringExtra("com.example.android.apis.Path"); 48 if (path == null) { 49 path = ""; 52 setListAdapter(new SimpleAdapter(this, getData(path), 133 protected Intent browseIntent(String path) { argument 136 result.putExtra("com.example.android.apis.Path", path);
|