/system/connectivity/wificond/tests/integration/ |
H A D | binder_dispatcher.cpp | 33 namespace android { namespace 79 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); 80 android::IPCThreadState::self()->disableBackgroundScheduling(true); 81 int err = android::IPCThreadState::self()->setupPolling(&binder_fd_); 90 android::wificond::EventLoop::kModeInput, 97 android::IPCThreadState::self()->handlePolledCommands(); 102 } // namespace android
|
H A D | process_utils.cpp | 21 #include <android-base/logging.h> 22 #include <android-base/stringprintf.h> 23 #include <android-base/strings.h> 32 using android::String16; 33 using android::base::StringPrintf; 34 using android::base::Trim; 35 using android::net::wifi::IWificond; 36 using android::sp; 37 using android::wificond::ipc_constants::kServiceName; 39 namespace android { namespace [all...] |
/system/core/adb/daemon/ |
H A D | mdns.cpp | 26 #include <android-base/logging.h> 27 #include <android-base/properties.h> 37 if (android::base::GetProperty("init.svc.mdnsd", "") == "running") { 41 android::base::SetProperty("ctl.start", "mdnsd"); 43 if (! android::base::WaitForProperty("init.svc.mdnsd", "running", 5s)) { 66 hostname += android::base::GetProperty("ro.serialno", "unidentified");
|
/system/core/include/utils/ |
H A D | Singleton.h | 29 namespace android { namespace 35 // instantiation of variable 'android::Singleton<TYPE>::sLock' required here, 86 template<> ::android::Mutex \ 87 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \ 88 template<> TYPE* ::android::Singleton< TYPE >::sInstance(0); \ 89 template class ::android::Singleton< TYPE >; 93 }; // namespace android
|
/system/core/libsysutils/src/ |
H A D | ServiceManager.cpp | 25 #include <android-base/properties.h> 26 #include <android-base/stringprintf.h> 60 android::base::SetProperty("ctl.start", name); 90 android::base::SetProperty("ctl.stop", name); 110 std::string property_name = android::base::StringPrintf("init.svc.%s", name); 111 return (android::base::GetProperty(property_name, "") == "running");
|
/system/core/libutils/include/utils/ |
H A D | Singleton.h | 29 namespace android { namespace 35 // instantiation of variable 'android::Singleton<TYPE>::sLock' required here, 86 template<> ::android::Mutex \ 87 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \ 88 template<> TYPE* ::android::Singleton< TYPE >::sInstance(0); \ 89 template class ::android::Singleton< TYPE >; 93 }; // namespace android
|
/system/core/libutils/tests/ |
H A D | SystemClock_test.cpp | 31 auto startUptimeMs = android::uptimeMillis(); 32 auto startRealtimeMs = android::elapsedRealtime(); 33 auto startRealtimeNs = android::elapsedRealtimeNano(); 53 auto endUptimeMs = android::uptimeMillis(); 54 auto endRealtimeMs = android::elapsedRealtime(); 55 auto endRealtimeNs = android::elapsedRealtimeNano();
|
/system/extras/simpleperf/ |
H A D | main.cpp | 22 #include <android-base/logging.h> 30 android::base::InitLogging(argv, android::base::StderrLogger); 32 android::base::LogSeverity log_severity = android::base::INFO; 56 android::base::ScopedLogSeverity severity(log_severity);
|
/system/libhidl/libhidlmemory/ |
H A D | mapping.cpp | 24 #include <android-base/logging.h> 25 #include <android/hidl/memory/1.0/IMapper.h> 28 using android::sp; 29 using android::hidl::memory::V1_0::IMemory; 30 using android::hidl::memory::V1_0::IMapper; 32 namespace android { namespace 74 } // namespace android
|
/system/media/brillo/audio/audioservice/ |
H A D | brillo_audio_client.h | 30 #include "android/brillo/brilloaudioservice/IBrilloAudioService.h" 33 using android::brillo::brilloaudioservice::IBrilloAudioService; 62 int RegisterAudioCallback(android::sp<AudioServiceCallback> callback, 163 android::sp<android::IBinder> ConnectToService(const std::string& service_name, 172 android::sp<IBrilloAudioService> brillo_audio_service_; 176 std::map<int, android::sp<AudioServiceCallback> > callback_map_;
|
H A D | brillo_audio_service_impl.cpp | 20 using android::binder::Status; 29 EREMOTEIO, android::String8("The audio device handler died.")); 37 android::String8("Invalid flag.")); 46 EREMOTEIO, android::String8("The audio device handler died.")); 56 const android::sp<IAudioServiceCallback>& callback) { 62 const android::sp<IAudioServiceCallback>& callback) { 79 EREMOTEIO, android::String8("The audio volume handler died.")); 90 EREMOTEIO, android::String8("The audio volume handler died.")); 105 EREMOTEIO, android::String8("The audio volume handler died.")); 122 EREMOTEIO, android [all...] |
/system/update_engine/binder_bindings/android/brillo/ |
H A D | IUpdateEngine.aidl | 17 package android.brillo; 19 import android.brillo.IUpdateEngineStatusCallback; 20 import android.brillo.ParcelableUpdateEngineStatus;
|
/system/chre/host/hal_generic/ |
H A D | generic_context_hub.h | 22 #include <android/hardware/contexthub/1.0/IContexthub.h> 29 namespace android { namespace 35 using ::android::hardware::contexthub::V1_0::ContextHub; 36 using ::android::hardware::contexthub::V1_0::ContextHubMsg; 37 using ::android::hardware::contexthub::V1_0::IContexthub; 38 using ::android::hardware::contexthub::V1_0::IContexthubCallback; 39 using ::android::hardware::contexthub::V1_0::NanoAppBinary; 40 using ::android::hardware::contexthub::V1_0::Result; 41 using ::android::hardware::hidl_string; 42 using ::android [all...] |
/system/libhwbinder/vts/performance/ |
H A D | Benchmark.cpp | 32 #include <android/hardware/tests/libhwbinder/1.0/IBenchmark.h> 35 using android::OK; 36 using android::sp; 37 using android::status_t; 40 using android::hardware::defaultServiceManager; 41 using android::hardware::Return; 42 using android::hardware::Void; 43 using android::hardware::hidl_vec; 54 using android::hardware::tests::libhwbinder::V1_0::IBenchmark; 56 const char gServiceName[] = "android [all...] |
H A D | Android.mk | 33 android.hardware.tests.libhwbinder@1.0 34 LOCAL_REQUIRED_MODULES := android.hardware.tests.libhwbinder@1.0-impl 53 android.hardware.tests.libbinder 72 android.hardware.tests.libhwbinder@1.0 74 LOCAL_REQUIRED_MODULES := android.hardware.tests.libhwbinder@1.0-impl 93 android.hardware.tests.libhwbinder@1.0 95 LOCAL_REQUIRED_MODULES := android.hardware.tests.libhwbinder@1.0-impl
|
/system/netd/server/ |
H A D | DnsProxyListener.h | 24 #include "android/net/metrics/INetdEventListener.h" 28 namespace android { namespace 41 static void addIpAddrWithinLimit(std::vector<android::String16>& ip_addrs, const sockaddr* addr, 62 const android::sp<android::net::metrics::INetdEventListener>& listener); 74 android::sp<android::net::metrics::INetdEventListener> mNetdEventListener; 95 const android::sp<android::net::metrics::INetdEventListener>& listener); 107 android [all...] |
/system/tpm/trunks/ |
H A D | trunks_binder_proxy.cc | 25 #include "android/trunks/BnTrunksClient.h" 26 #include "android/trunks/BpTrunks.h" 34 class ResponseObserver : public android::trunks::BnTrunksClient { 41 android::binder::Status OnCommandResponse( 51 return android::binder::Status::ok(); 63 android::sp<android::IBinder> service_binder = 64 android::BinderWrapper::GetOrCreateInstance()->GetService( 70 trunks_service_ = new android::trunks::BpTrunks(service_binder); 86 android [all...] |
/system/bt/service/ipc/binder/ |
H A D | bluetooth_binder_server.cc | 29 using android::sp; 30 using android::String8; 31 using android::String16; 33 using android::bluetooth::IBluetoothCallback; 34 using android::bluetooth::IBluetoothGattClient; 35 using android::bluetooth::IBluetoothGattServer; 83 Status BluetoothBinderServer::GetAddress(::android::String16* _aidl_return) { 90 ::std::vector<::android::bluetooth::UUID>* _aidl_return) { 93 *_aidl_return = std::vector<android::bluetooth::UUID>(); 97 Status BluetoothBinderServer::SetName(const ::android [all...] |
H A D | bluetooth_le_advertiser_binder_server.cc | 23 using android::String8; 24 using android::String16; 25 using android::binder::Status; 43 const android::sp<IBluetoothLeAdvertiserCallback>& callback, 67 int advertiser_id, const android::bluetooth::AdvertiseData& advertise_data, 68 const android::bluetooth::AdvertiseData& scan_response, 69 const android::bluetooth::AdvertiseSettings& settings, bool* _aidl_return) { 82 android::wp<BluetoothLeAdvertiserBinderServer> weak_ptr_to_this(this); 127 android::wp<BluetoothLeAdvertiserBinderServer> weak_ptr_to_this(this); 158 android [all...] |
/system/security/keystore/ |
H A D | legacy_keymaster_device_wrapper.h | 21 #include <android/hardware/keymaster/3.0/IKeymasterDevice.h> 28 namespace android { namespace 31 using ::android::hardware::keymaster::V3_0::ErrorCode; 32 using ::android::hardware::keymaster::V3_0::IKeymasterDevice; 33 using ::android::hardware::keymaster::V3_0::KeyCharacteristics; 34 using ::android::hardware::keymaster::V3_0::KeyFormat; 35 using ::android::hardware::keymaster::V3_0::KeyParameter; 36 using ::android::hardware::keymaster::V3_0::KeyPurpose; 37 using ::android::hardware::keymaster::V3_0::Tag; 38 using ::android [all...] |
/system/bt/service/common/android/bluetooth/ |
H A D | scan_filter.cc | 17 #include "service/common/android/bluetooth/scan_filter.h" 18 #include "service/common/android/bluetooth/uuid.h" 24 using android::Parcelable; 25 using android::Parcel; 26 using android::String8; 27 using android::String16; 28 using android::status_t; 29 using android::OK; 31 namespace android { namespace 93 } // namespace android [all...] |
/system/core/debuggerd/ |
H A D | debuggerd.cpp | 25 #include <android-base/file.h> 26 #include <android-base/logging.h> 27 #include <android-base/parseint.h> 28 #include <android-base/unique_fd.h> 33 using android::base::unique_fd; 51 if (!android::base::WriteFully(STDOUT_FILENO, buf, rc)) { 65 if (!android::base::ParseInt(argv[argc - 1], &pid, 1, std::numeric_limits<pid_t>::max())) {
|
/system/core/init/test_service/ |
H A D | test_service.cpp | 21 #include <android-base/file.h> 22 #include <android-base/logging.h> 23 #include <android-base/strings.h> 43 bool res = android::base::ReadFileToString("/proc/self/status", &status, true); 49 std::vector<std::string> lines = android::base::Split(status, "\n"); 51 std::vector<std::string> tokens = android::base::Split(line, ":"); 54 std::string value = android::base::Trim(tokens[1]);
|
/system/bt/hci/src/ |
H A D | hci_layer_android.cc | 29 #include <android/hardware/bluetooth/1.0/IBluetoothHci.h> 30 #include <android/hardware/bluetooth/1.0/IBluetoothHciCallbacks.h> 31 #include <android/hardware/bluetooth/1.0/types.h> 37 using android::hardware::bluetooth::V1_0::IBluetoothHci; 38 using android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks; 39 using android::hardware::bluetooth::V1_0::HciPacket; 40 using android::hardware::bluetooth::V1_0::Status; 41 using android::hardware::ProcessState; 42 using ::android::hardware::Return; 43 using ::android [all...] |
/system/connectivity/wificond/scanning/ |
H A D | scan_result.cpp | 19 #include <android-base/logging.h> 24 using android::status_t; 25 using android::OK; 29 namespace android { namespace in namespace:com 52 status_t NativeScanResult::writeToParcel(::android::Parcel* parcel) const { 63 return ::android::OK; 66 status_t NativeScanResult::readFromParcel(const ::android::Parcel* parcel) { 77 return ::android::OK; 87 << ::android::wificond::LoggingUtils::GetMacString(bssid); 99 } // namespace android [all...] |