/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 246 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "100", 1)); in TEST_F() 255 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "0", 1)); in TEST_F() 264 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "", 1)); in TEST_F() 278 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "bad", 1)); in TEST_F() 303 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "500", 1)); in TEST_F() 312 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "0", 1)); in TEST_F() 321 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "", 1)); in TEST_F() 335 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "bad", 1)); in TEST_F() 651 EXPECT_NE(-1, setenv("DEADLINE_THRESHOLD_MS", "VALUE", 1)); in TEST_F() 652 EXPECT_NE(-1, setenv("SLOW_THRESHOLD_MS", "VALUE", 1)); in TEST_F() [all …]
|
D | SystemTests.cpp | 1223 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "4", 1)); in TEST_F() 1224 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "0", 1)); in TEST_F() 1240 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "1", 1)); in TEST_F() 1256 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "2", 1)); in TEST_F() 1272 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "3", 1)); in TEST_F() 1290 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "4", 1)); in TEST_F() 1291 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "0", 1)); in TEST_F() 1300 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "4", 1)); in TEST_F() 1301 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "4", 1)); in TEST_F() 1309 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "4", 1)); in TEST_F() [all …]
|
/system/core/run-as/ |
D | run-as.cpp | 257 setenv("HOME", info.data_dir, 1); in main() 260 setenv("PATH", _PATH_DEFPATH, 1); in main() 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/su/ |
D | su.cpp | 121 setenv("PATH", _PATH_DEFPATH, 1); in main() 125 setenv("LOGNAME", pw->pw_name, 1); in main() 126 setenv("USER", pw->pw_name, 1); in main()
|
/system/vold/ |
D | wait_for_keymaster.cpp | 22 setenv("ANDROID_LOG_TAGS", "*:v", 1); in main()
|
D | vdc.cpp | 67 setenv("ANDROID_LOG_TAGS", "*:v", 1); in main()
|
D | main.cpp | 62 setenv("ANDROID_LOG_TAGS", "*:d", 1); // Do not submit with verbose logs enabled in main()
|
/system/core/libcutils/ |
D | android_get_control_file_test.cpp | 43 EXPECT_EQ(setenv(key.c_str(), android::base::StringPrintf("%d", tf.fd).c_str(), true), 0); in TEST()
|
D | android_get_control_socket_test.cpp | 62 EXPECT_EQ(setenv(key, val, true), 0); in TEST()
|
/system/core/init/ |
D | first_stage_init.cpp | 189 CHECKCALL(setenv("PATH", _PATH_DEFPATH, 1)); in FirstStageMain() 298 setenv("INIT_FORCE_DEBUGGABLE", "true", 1); in FirstStageMain() 318 setenv(kEnvFirstStageStartedAt, std::to_string(start_time.time_since_epoch().count()).c_str(), in FirstStageMain()
|
D | firmware_handler.cpp | 94 setenv("FIRMWARE", uevent.firmware.c_str(), 1); in RunExternalHandler() 95 setenv("DEVPATH", uevent.path.c_str(), 1); in RunExternalHandler()
|
D | service_utils.cpp | 165 setenv(published_name.c_str(), val.c_str(), 1); in Publish()
|
D | first_stage_mount.cpp | 793 setenv("INIT_AVB_VERSION", avb_handle_->avb_version().c_str(), 1); in InitAvbHandle() 844 setenv("INIT_AVB_VERSION", avb_handle->avb_version().c_str(), 1); in SetInitAvbVersionInRecovery()
|
D | selinux.cpp | 696 setenv(kEnvSelinuxStartedAt, std::to_string(start_time.time_since_epoch().count()).c_str(), 1); in SetupSelinux()
|
/system/core/liblog/tests/ |
D | liblog_host_test.cpp | 100 setenv("ANDROID_LOG_TAGS", "*:v", true); in TEST() 124 setenv("ANDROID_LOG_TAGS", "*:e", true); in TEST()
|
/system/iorap/src/iorapd/ |
D | main.cc | 54 setenv("ANDROID_LOG_TAGS", "*:v", /*overwrite*/ 1); in main()
|
/system/core/adb/ |
D | adb_trace.cpp | 182 if (!log_tags.empty()) setenv("ANDROID_LOG_TAGS", log_tags.c_str(), 1); in adb_trace_init()
|
/system/netd/server/ |
D | main.cpp | 159 setenv("ANDROID_DNS_MODE", "local", 1); in main()
|
/system/libhidl/base/ |
D | HidlInternal.cpp | 80 setenv(kGcovPrefixEnvVar, gcovPath.c_str(), true /* overwrite */); in HidlInstrumentor()
|
/system/core/adb/daemon/ |
D | main.cpp | 217 setenv("EXTERNAL_STORAGE", adb_external_storage, 1); in adbd_main()
|
/system/core/logd/ |
D | main.cpp | 225 setenv("TZ", "UTC", 1); in main()
|
/system/update_engine/common/ |
D | subprocess.cc | 53 setenv(key_value.first.c_str(), key_value.second.c_str(), 0); in SetupChild()
|
/system/core/liblog/ |
D | logprint.cpp | 336 setenv(tz, formatString, 1); in android_log_formatFromString() 347 setenv(tz, cp, 1); in android_log_formatFromString() 1289 setenv(tz, utc, 1); in convertMonotonic() 1292 setenv(tz, cp, 1); in convertMonotonic()
|
/system/core/sdcard/ |
D | sdcard.cpp | 250 setenv("ANDROID_LOG_TAGS", "*:v", 1); in main()
|
/system/core/cli-test/ |
D | cli-test.cpp | 220 setenv("FILES", FILES.c_str(), 1); in RunTests()
|