/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateService.cpp | 67 MYLOGE("setListener(%s): already set (%s)\n", name.c_str(), ds_.listener_name_.c_str()); 86 dprintf(fd, "args: %s\n", ds_.args_.c_str()); 87 dprintf(fd, "extra_options: %s\n", ds_.extra_options_.c_str()); 88 dprintf(fd, "version: %s\n", ds_.version_.c_str()); 89 dprintf(fd, "bugreport_dir: %s\n", ds_.bugreport_dir_.c_str()); 90 dprintf(fd, "screenshot_path: %s\n", ds_.screenshot_path_.c_str()); 91 dprintf(fd, "log_path: %s\n", ds_.log_path_.c_str()); 92 dprintf(fd, "tmp_path: %s\n", ds_.tmp_path_.c_str()); 93 dprintf(fd, "path: %s\n", ds_.path_.c_str()); [all...] |
H A D | dumpstate.cpp | 176 MYLOGD("%s: %d entries added to zip file\n", title.c_str(), (int)mount_points.size()); 326 systrace_path.c_str()); 338 MYLOGE("Unable to add systrace file %s to zip file\n", systrace_path.c_str()); 340 if (remove(systrace_path.c_str())) { 341 MYLOGE("Error removing systrace file %s: %s", systrace_path.c_str(), strerror(errno)); 372 MYLOGE("Unable to add raft log %s to zip file\n", raft_path.c_str()); 374 if (remove(raft_path.c_str())) { 375 MYLOGE("Error removing raft file %s: %s\n", raft_path.c_str(), strerror(errno)); 387 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(dir.c_str()), closedir); 389 MYLOGD("Error %d opening %s\n", errno, dir.c_str()); [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Usage.cpp | 32 ALOGD("%s: Usage %s has identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 42 ALOGD("%s: %d for Usage %s", __FUNCTION__, strategy, getName().c_str()); 50 ALOGD("%s: %d for Usage %s", __FUNCTION__, mApplicableStrategy, getName().c_str());
|
H A D | InputSource.cpp | 33 ALOGD("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 54 __FUNCTION__, devices, getName().c_str()); 57 ALOGD("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); 65 ALOGV("%s: 0x%X for inputSource %s", __FUNCTION__, mApplicableDevices, getName().c_str());
|
H A D | Strategy.cpp | 34 ALOGD("%s: Strategy %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 51 __FUNCTION__, devices, getName().c_str()); 54 ALOGD("%s: 0x%X for strategy %s", __FUNCTION__, devices, getName().c_str()); 62 ALOGV("%s: 0x%X for strategy %s", __FUNCTION__, mApplicableDevices, getName().c_str());
|
H A D | Stream.cpp | 35 ALOGD("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str()); 61 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mApplicableStrategy, getName().c_str()); 72 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str()); 79 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 47 lib_handle_ = dlopen(lib_name.c_str(), RTLD_NOW); 49 ALOGE("NativeProgram: Error opening library: '%s': %s", lib_name.c_str(), dlerror()); 60 process_function_ = reinterpret_cast<ProcessFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 62 ALOGE("NativeProgram: Could not find process function symbol: '%s'!", func_name.c_str()); 71 init_function_ = reinterpret_cast<InitFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 78 setvalue_function_ = reinterpret_cast<SetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 85 getvalue_function_ = reinterpret_cast<GetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 92 reset_function_ = reinterpret_cast<ResetFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 99 teardown_function_ = reinterpret_cast<TeardownFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 128 setvalue_function_(key.c_str(), valu [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 119 context_c_str = context->c_str(); 147 if (path.c_str() == NULL) { 152 if (context.c_str() == NULL) { 157 char *tmp = const_cast<char *>(context.c_str()); 158 int ret = setfilecon(path.c_str(), tmp); 160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret); 180 if (path.c_str() == NULL) { 185 int ret = getfilecon(path.c_str(), &tmp); 193 ALOGV("getFileCon(%s) => %s", path.c_str(), contex [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicsEnv.cpp | 41 mDriverPath.c_str(), path.c_str()); 44 ALOGV("setting driver path to '%s'", path.c_str()); 59 mDriverPath.c_str(), // default_library_path
|
/frameworks/native/services/vr/performanced/ |
H A D | task.cpp | 27 open(stream.str().c_str(), O_RDONLY | O_DIRECTORY)); 31 const char* start = value.c_str(); 58 task_id_, name_.c_str(), thread_group_id_, parent_process_id_, 65 openat(task_fd_.get(), relative_path.c_str(), O_RDONLY)); 70 base::unique_fd fd(openat(task_fd_.get(), relative_path.c_str(), O_RDONLY)); 73 name.c_str(), strerror(errno)); 80 task_id_, name.c_str(), strerror(errno)); 95 field.c_str(), line.c_str(), offset); 118 line.c_str()); [all...] |
H A D | cpu_set.cpp | 36 base::unique_fd root_cpuset_fd(open(path.c_str(), kDirectoryFlags)); 38 ALOGE("CpuSet::Create: Failed to open \"%s\": %s", path.c_str(), 51 ALOGE("CpuSet::Create: Failed to opendir %s cpuset: %s", name.c_str(), 68 openat(base_fd.get(), directory_name.c_str(), kDirectoryFlags)); 71 Create(std::move(entry_fd), directory_name.c_str(), group.get()); 161 target_set.c_str()); 176 task_id, task.name().c_str(), target_set.c_str(), 183 task_id, target_set.c_str(), strerror(-ret)); 187 task_id, task.name().c_str(), tas [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Locale.cpp | 85 set_language(lang.c_str()); 98 set_region(part2.c_str()); 100 set_script(part2.c_str()); 102 set_variant(part2.c_str()); 116 set_region(part3.c_str()); 118 set_variant(part3.c_str()); 129 set_variant(part4.c_str()); 152 set_language(subtags[0].c_str()); 154 set_language(subtags[0].c_str()); 160 set_region(subtags[1].c_str()); [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 216 const char *lang = item.mLanguage.empty() ? "und" : item.mLanguage.c_str(); 493 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 542 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 568 // ALOGI("#%s#", line.c_str()); 674 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI)); 713 groupID.c_str()); 733 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); 757 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); 780 char c = line.c_str()[offse [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | BenchmarkHelpers.cpp | 28 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */, 30 state.SkipWithError(base::StringPrintf("Failed to load assets %s", path.c_str()).c_str());
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | OpDumperTests.cpp | 31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str()); 35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str()); 42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraProviderManager.cpp | 241 __FUNCTION__, provider->mProviderName.c_str(), ret.description().c_str()); 291 __FUNCTION__, id.c_str(), ret.description().c_str()); 313 __FUNCTION__, id.c_str(), status.description().c_str()); 387 newProvider.c_str()); 398 newProvider.c_str()); 425 removedDeviceIds.push_back(String8(deviceInfo->mId.c_str())); 434 provider.c_str()); [all...] |
/frameworks/native/libs/vr/libdisplay/ |
H A D | vsync_client.cpp | 27 status.GetErrorMessage().c_str()); 43 status.GetErrorMessage().c_str()); 58 status.GetErrorMessage().c_str()); 71 status.GetErrorMessage().c_str());
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_GraphicsStatsService.cpp | 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"); 62 const std::string package(packageChars.c_str(), packageChars.size()); 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()); 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 chars"); 89 const std::string path(pathChars.c_str(), pathChars.size()); 90 const std::string package(packageChars.c_str(), packageChar [all...] |
/frameworks/base/tools/streaming_proto/ |
H A D | Errors.cpp | 70 fprintf(stderr, "%s", it->message.c_str()); 72 fprintf(stderr, "%s:%s", it->filename.c_str(), it->message.c_str()); 74 fprintf(stderr, "%s:%d:%s", it->filename.c_str(), it->lineno, it->message.c_str());
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 66 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') { 79 if (line.size() < 2 || line.c_str()[1] != '=') { 83 ALOGI("%s", line.c_str()); 85 switch (line.c_str()[0]) { 88 if (strcmp(line.c_str(), "v=0")) { 123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 132 AString(line, 2, line.size() - 2).c_str()); 151 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 70 *width = strtol(sWidth.c_str(), NULL, 10); 71 *height = strtol(sHeight.c_str(), NULL, 10); 89 *bitrate = strtol(minBitrate.c_str(), NULL, 10); 137 name.c_str(), mime.c_str(), isEncoder ? "encoder" : "decoder", 138 format->debugString().c_str()); 150 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err); 152 ALOGV("Failed to create codec: %s", name.c_str()); 161 ALOGV("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str()); [all...] |
/frameworks/base/tools/bit/ |
H A D | print.cpp | 76 fputs(it->first.c_str(), stdout); 78 fputs(escape_for_commandline(it->second.c_str()).c_str(), stdout); 81 fputs(command.prog.c_str(), stdout); 84 fputs(escape_for_commandline(it->c_str()).c_str(), stdout);
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 108 ALOGV("opening layer library '%s'", path_.c_str()); 120 dlhandle_ = android_dlopen_ext(path_.c_str(), RTLD_NOW | RTLD_LOCAL, 123 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); 126 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 138 ALOGV("closing layer library '%s'", path_.c_str()); 154 path_.c_str()); 175 path_.c_str(), result); 185 path_.c_str(), result); 196 path_.c_str(), result); 205 path_.c_str(), resul [all...] |
/frameworks/av/media/mtp/tests/ |
H A D | AsyncIO_test.cpp | 54 EXPECT_EQ(write(dummy_file.fd, dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE); 65 EXPECT_STREQ(buf, dummyDataStr.c_str()); 74 aio.aio_buf = const_cast<char*>(dummyDataStr.c_str()); 82 EXPECT_STREQ(buf, dummyDataStr.c_str()); 91 aio.aio_buf = const_cast<char*>(dummyDataStr.c_str()); 106 EXPECT_EQ(write(dummy_file.fd, dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE); 119 EXPECT_STREQ(buf, dummyDataStr.c_str()); 127 EXPECT_EQ(write(pipeFd[1], dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE); 139 EXPECT_STREQ(buf, dummyDataStr.c_str()); 151 memcpy(aiop->aio_pool_buf.get(), dummyDataStr.c_str(), TEST_PACKET_SIZ [all...] |
/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | servicetool.cpp | 60 status.GetErrorMessage().c_str()); 74 status.GetErrorMessage().c_str()); 89 printf("Usage: %s [options]\n", command_name.c_str()); 108 nftw(base_path.c_str(), callback, kMaxDepth, FTW_PHYS); 112 printf_verbose("ReloadCommand: service_path=%s\n", service_path.c_str()); 122 service_path.c_str()); 132 printf_verbose("DumpCommand: service_path=%s\n", service_path.c_str()); 142 service_path.c_str()); 151 printf("%s:\n", service_path.c_str()); 152 printf("%s\n", response.c_str()); [all...] |