/system/core/adb/sysdeps/ |
H A D | memory.h | 30 Args&&... args) { 31 return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); 29 make_unique( Args&&.... args) argument
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | beacon.cc | 56 void Beacon::Initialize(const vector<std::string>& args) { argument 57 if (args.size() < 2) return; 60 if (addr.FromString(args[1])) SetBtAddress(addr); 62 if (args.size() < 3) return; 64 SetAdvertisementInterval(std::chrono::milliseconds(std::stoi(args[2])));
|
H A D | classic.cc | 52 void Classic::Initialize(const vector<std::string>& args) { argument 53 if (args.size() < 2) return; 56 if (addr.FromString(args[1])) SetBtAddress(addr); 58 if (args.size() < 3) return; 60 SetClockOffset(std::stoi(args[2]));
|
H A D | device_factory.cc | 33 std::shared_ptr<Device> DeviceFactory::Create(const vector<std::string>& args) { argument 34 CHECK(!args.empty()); 38 if (args[0] == "beacon") new_device = std::make_shared<Beacon>(); 39 if (args[0] == "beacon_swarm") new_device = std::make_shared<BeaconSwarm>(); 40 if (args[0] == "broken_adv") new_device = std::make_shared<BrokenAdv>(); 41 if (args[0] == "classic") new_device = std::make_shared<Classic>(); 42 if (args[0] == "keyboard") new_device = std::make_shared<Keyboard>(); 44 if (new_device != nullptr) new_device->Initialize(args);
|
H A D | beacon_swarm.cc | 64 void BeaconSwarm::Initialize(const vector<std::string>& args) { argument 65 if (args.size() < 2) return; 68 if (addr.FromString(args[1])) SetBtAddress(addr); 70 if (args.size() < 3) return; 72 SetAdvertisementInterval(std::chrono::milliseconds(std::stoi(args[2])));
|
H A D | keyboard.cc | 62 void Keyboard::Initialize(const vector<std::string>& args) { argument 63 if (args.size() < 2) return; 66 if (addr.FromString(args[1])) SetBtAddress(addr); 68 if (args.size() < 3) return; 70 SetAdvertisementInterval(std::chrono::milliseconds(std::stoi(args[2])));
|
/system/chre/platform/linux/ |
H A D | chre_api_re.cc | 25 va_list args; local 27 va_start(args, formatStr); 28 vsnprintf(logBuf, sizeof(logBuf), formatStr, args); 29 va_end(args);
|
/system/chre/platform/slpi/ |
H A D | chre_api_re.cc | 23 va_list args; local 40 va_start(args, formatStr); 41 ashVaLog(ASH_SOURCE_CHRE, ashLevel, formatStr, args); 42 va_end(args);
|
/system/chre/util/include/chre/util/ |
H A D | synchronized_memory_pool_impl.h | 28 Args&&... args) { 30 return mMemoryPool.allocate(args...); 27 allocate( Args&&.... args) argument
|
H A D | singleton_impl.h | 36 void Singleton<ObjectType>::init(Args&&... args) { argument 39 new (get()) ObjectType(std::forward<Args>(args)...);
|
H A D | memory_impl.h | 113 inline T *memoryAlloc(Args&&... args) { argument 116 new(storage) T(std::forward<Args>(args)...);
|
H A D | memory_pool_impl.h | 38 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { argument 48 ElementType(std::forward<Args>(args)...);
|
/system/extras/simpleperf/scripts/ |
H A D | report_sample.py | 67 args = parser.parse_args() variable 68 report_sample(args.record_file, args.symfs, args.kallsyms)
|
/system/extras/verity/ |
H A D | VeritySigner.java | 34 public static void main(String[] args) throws Exception { argument 35 if (args.length < 3) { 42 byte[] content = Utils.read(args[0]); 44 if (args.length > 3 && "-verify".equals(args[3])) { 45 X509Certificate cert = Utils.loadPEMCertificate(args[1]); 48 byte[] signature = Utils.read(args[2]); 64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); 66 Utils.write(signature, args[2]);
|
/system/chre/platform/shared/ |
H A D | pal_system_api.cc | 40 va_list args; local 42 va_start(args, formatStr); 43 vsnprintf(logBuf, sizeof(logBuf), formatStr, args); 44 va_end(args);
|
/system/core/init/ |
H A D | rlimit_parser.cpp | 31 Result<std::pair<int, rlimit>> ParseRlimit(const std::vector<std::string>& args) { argument 41 if (ParseInt(args[1], &resource)) { 43 return Error() << "Resource '" << args[1] << "' over the maximum resource value '" 46 return Error() << "Resource '" << args[1] << "' below the minimum resource value '0'"; 50 if (StartsWith(args[1], "RLIM_")) { 51 resource_string = args[1].substr(5); 53 resource_string = args[1]; 61 return Error() << "Could not parse resource '" << args[1] << "'"; 68 if (!ParseUint(args[2], &limit.rlim_cur)) { 69 return Error() << "Could not parse soft limit '" << args[ [all...] |
H A D | builtin_arguments.h | 28 BuiltinArguments(std::vector<std::string> args, const std::string& context) argument 29 : args(std::move(args)), context(context) {} 31 const std::string& operator[](std::size_t i) const { return args[i]; } 32 auto begin() const { return args.begin(); } 33 auto end() const { return args.end(); } 34 auto size() const { return args.size(); } 36 std::vector<std::string> args; member in struct:android::init::BuiltinArguments
|
/system/core/libunwindstack/ |
H A D | Log.cpp | 46 va_list args; local 47 va_start(args, format); 50 vprintf(real_format.c_str(), args); 52 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, real_format.c_str(), args); 54 va_end(args);
|
/system/core/logcat/ |
H A D | logcatd_main.cpp | 33 std::vector<std::string> args; local 37 args.push_back(std::string(argv[i])); 43 for (auto& str : args) argv_hold.push_back(str.c_str());
|
/system/extras/multinetwork/ |
H A D | dnschk.cpp | 35 struct Arguments args; local 36 if (!args.parseArguments(argc, argv)) { return rval; } 39 .ai_family = args.family, 44 std::cout << "# " << args.arg1 45 << " (via nethandle " << args.nethandle << "):" 48 switch (args.api_mode) { 50 rval = android_getaddrinfofornetwork(args.nethandle, 51 args.arg1, nullptr, &hints, &result); 54 if (args.nethandle != NETWORK_UNSPECIFIED) { 55 rval = android_setprocnetwork(args [all...] |
/system/extras/simpleperf/ |
H A D | cmd_help.cpp | 36 bool Run(const std::vector<std::string>& args) override; 43 bool HelpCommand::Run(const std::vector<std::string>& args) { argument 44 if (args.empty()) { 47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); 51 << args[0];
|
/system/security/keystore/include/keystore/ |
H A D | KeystoreArguments.h | 33 const Vector<sp<KeystoreArg>>& getArguments() const { return args; } 36 Vector<sp<KeystoreArg>> args; member in struct:android::security::KeystoreArguments
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | booleans.c | 9 __attribute__ ((unused)) void *args) 7 list_booleans(hashtab_key_t k, __attribute__ ((unused)) hashtab_datum_t d, __attribute__ ((unused)) void *args) argument
|
/system/bt/stack/test/rfcomm/ |
H A D | stack_rfcomm_test_main.cc | 32 va_list args; local 33 va_start(args, fmt_str); 34 vsnprintf(buffer, 256, fmt_str, args); 36 va_end(args);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_format.cpp | 118 const char* const args[] = { local 132 return android_fork_execvp_ext(arraysize(args), const_cast<char**>(args), NULL, true,
|