Home
last modified time | relevance | path

Searched refs:android (Results 1 – 25 of 2027) sorted by relevance

12345678910>>...82

/system/bt/binder/
DAndroid.bp9 "android/bluetooth/bluetooth_device.cc",
10 "android/bluetooth/IBluetoothSocketManager.aidl",
11 "android/os/parcel_file_descriptor.cc",
12 "android/os/parcel_uuid.cc",
14 "android/bluetooth/IBluetooth.aidl",
15 "android/bluetooth/IBluetoothA2dp.aidl",
16 "android/bluetooth/IBluetoothA2dpSink.aidl",
17 "android/bluetooth/IBluetoothAvrcpController.aidl",
18 "android/bluetooth/IBluetoothAvrcpTarget.aidl",
19 "android/bluetooth/IBluetoothCallback.aidl",
[all …]
/system/security/keystore/
Dkey_store_service.h37 class KeyStoreService : public android::security::BnKeystoreService,
38 android::IBinder::DeathRecipient {
45 void binderDied(const android::wp<android::IBinder>& who);
47 ::android::binder::Status getState(int32_t userId, int32_t* _aidl_return) override;
48 ::android::binder::Status get(const ::android::String16& name, int32_t uid,
50 ::android::binder::Status insert(const ::android::String16& name,
53 ::android::binder::Status del(const ::android::String16& name, int32_t uid,
55 ::android::binder::Status exist(const ::android::String16& name, int32_t uid,
57 ::android::binder::Status list(const ::android::String16& namePrefix, int32_t uid,
58 ::std::vector<::android::String16>* _aidl_return) override;
[all …]
Dconfirmation_manager.h36 using android::binder::Status;
37 using android::hardware::confirmationui::V1_0::IConfirmationResultCallback;
38 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode;
42 class ConfirmationManager : public android::hardware::hidl_death_recipient,
45 explicit ConfirmationManager(android::IBinder::DeathRecipient* deathRecipient);
52 Status presentConfirmationPrompt(const android::sp<android::IBinder>& listener,
53 const android::String16& promptText,
55 const android::String16& locale, int uiOptionsAsFlags,
63 Status cancelConfirmationPrompt(const android::sp<android::IBinder>& listener,
73 void binderDied(const android::wp<android::IBinder>& who);
[all …]
Dkeystore_aidl_hidl_marshalling_utils.h30 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args)
39 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { in nullable()
44 if (rc != ::android::OK) return rc; in nullable()
49 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { in nullable()
51 if (rc != ::android::OK) return rc; in nullable()
56 inline android::status_t nullable(android::Parcel* out) { in nullable()
63 hidl_vec<uint8_t> readKeymasterBlob(const android::Parcel& in, bool inPlace = true);
64 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out);
66 NullOr<hidl_vec<uint8_t>> readBlobAsByteArray(const android::Parcel& in, bool inPlace = true);
67 android::status_t writeBlobAsByteArray(const NullOr<const hidl_vec<uint8_t>&>& blob,
[all …]
/system/core/base/
Dstrings_test.cpp27 std::vector<std::string> parts = android::base::Split("", ","); in TEST()
33 std::vector<std::string> parts = android::base::Split("foo", ","); in TEST()
39 std::vector<std::string> parts = android::base::Split("foo,bar,baz", ","); in TEST()
47 std::vector<std::string> parts = android::base::Split("foo,,bar", ","); in TEST()
55 std::vector<std::string> parts = android::base::Split("foo,bar,", ","); in TEST()
64 android::base::Split(std::string("foo\0bar", 7), std::string("\0", 1)); in TEST()
71 std::vector<std::string> parts = android::base::Split("foo:bar,baz", ",:"); in TEST()
79 std::vector<std::string> parts = android::base::Split("foo:,bar", ",:"); in TEST()
87 ASSERT_EQ("", android::base::Trim("")); in TEST()
91 ASSERT_EQ("foo", android::base::Trim("foo")); in TEST()
[all …]
Dproperties_test.cpp29 android::base::SetProperty("debug.libbase.property_test", "hello"); in TEST()
31 std::string s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST()
34 android::base::SetProperty("debug.libbase.property_test", "world"); in TEST()
35 s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST()
38 s = android::base::GetProperty("this.property.does.not.exist", ""); in TEST()
41 s = android::base::GetProperty("this.property.does.not.exist", "default"); in TEST()
49 android::base::SetProperty("debug.libbase.property_test", ""); in TEST()
50 std::string s = android::base::GetProperty("debug.libbase.property_test", "default"); in TEST()
55 android::base::SetProperty("debug.libbase.property_test", value.c_str()); in CheckGetBoolProperty()
56 ASSERT_EQ(expected, android::base::GetBoolProperty("debug.libbase.property_test", default_value)); in CheckGetBoolProperty()
[all …]
Dlogging_test.cpp88 if (android::base::kEnableDChecks) { in TEST()
93 if (android::base::kEnableDChecks) { in TEST()
98 if (android::base::kEnableDChecks) { in TEST()
111 static_assert(android::base::severity < android::base::FATAL, "Bad input"); \
112 for (size_t i = static_cast<size_t>(android::base::severity) + 1; \
113 i <= static_cast<size_t>(android::base::FATAL); \
116 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
120 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
121 EXPECT_FALSE(WOULD_LOG(::android::base::severity)) << i; \
126 for (size_t i = static_cast<size_t>(android::base::VERBOSE); \
[all …]
Dparseint_test.cpp23 ASSERT_FALSE(android::base::ParseInt("x", &i)); in TEST()
24 ASSERT_FALSE(android::base::ParseInt("123x", &i)); in TEST()
26 ASSERT_TRUE(android::base::ParseInt("123", &i)); in TEST()
28 ASSERT_TRUE(android::base::ParseInt("-123", &i)); in TEST()
32 ASSERT_TRUE(android::base::ParseInt("1234", &s)); in TEST()
35 ASSERT_TRUE(android::base::ParseInt("12", &i, 0, 15)); in TEST()
37 ASSERT_FALSE(android::base::ParseInt("-12", &i, 0, 15)); in TEST()
38 ASSERT_FALSE(android::base::ParseInt("16", &i, 0, 15)); in TEST()
43 ASSERT_FALSE(android::base::ParseUint("x", &i)); in TEST()
44 ASSERT_FALSE(android::base::ParseUint("123x", &i)); in TEST()
[all …]
/system/update_engine/
Dbinder_service_brillo.h37 class BinderUpdateEngineBrilloService : public android::brillo::BnUpdateEngine,
54 android::binder::Status SetUpdateAttemptFlags(int flags) override;
55 android::binder::Status AttemptUpdate(const android::String16& app_version,
56 const android::String16& omaha_url,
59 android::binder::Status AttemptRollback(bool powerwash) override;
60 android::binder::Status CanRollback(bool* out_can_rollback) override;
61 android::binder::Status ResetStatus() override;
62 android::binder::Status GetStatus(
63 android::brillo::ParcelableUpdateEngineStatus* status);
64 android::binder::Status RebootIfNeeded() override;
[all …]
Dbinder_service_android.h36 class BinderUpdateEngineAndroidService : public android::os::BnUpdateEngine,
53 android::binder::Status applyPayload(
54 const android::String16& url,
57 const std::vector<android::String16>& header_kv_pairs) override;
58 android::binder::Status bind(
59 const android::sp<android::os::IUpdateEngineCallback>& callback,
61 android::binder::Status unbind(
62 const android::sp<android::os::IUpdateEngineCallback>& callback,
64 android::binder::Status suspend() override;
65 android::binder::Status resume() override;
[all …]
/system/sepolicy/private/
Dhwservice_contexts1 android.frameworks.displayservice::IDisplayService u:object_r:fwk_display_hwservice:s0
2 android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_scheduler_hwservice:…
3 android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0
4 android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0
5 android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0
6 android.hardware.authsecret::IAuthSecret u:object_r:hal_authsecret_hwservice…
7 android.hardware.automotive.audiocontrol::IAudioControl u:object_r:hal_audiocontrol_hwservi…
8 android.hardware.automotive.evs::IEvsEnumerator u:object_r:hal_evs_hwservice:s0
9 android.hardware.automotive.vehicle::IVehicle u:object_r:hal_vehicle_hwservice:s0
10 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservic…
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dhwservice_contexts1 android.frameworks.displayservice::IDisplayService u:object_r:fwk_display_hwservice:s0
2 android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_scheduler_hwservice:…
3 android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0
4 android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0
5 android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0
6 android.hardware.authsecret::IAuthSecret u:object_r:hal_authsecret_hwservice…
7 android.hardware.automotive.audiocontrol::IAudioControl u:object_r:hal_audiocontrol_hwservi…
8 android.hardware.automotive.evs::IEvsEnumerator u:object_r:hal_evs_hwservice:s0
9 android.hardware.automotive.vehicle::IVehicle u:object_r:hal_vehicle_hwservice:s0
10 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservic…
[all …]
/system/tpm/tpm_manager/server/
Dbinder_service.h48 android::tpm_manager::ITpmNvram* GetITpmNvram();
49 android::tpm_manager::ITpmOwnership* GetITpmOwnership();
56 class NvramServiceInternal : public android::tpm_manager::BnTpmNvram {
62 android::binder::Status DefineSpace(
64 const android::sp<android::tpm_manager::ITpmManagerClient>& client)
66 android::binder::Status DestroySpace(
68 const android::sp<android::tpm_manager::ITpmManagerClient>& client)
70 android::binder::Status WriteSpace(
72 const android::sp<android::tpm_manager::ITpmManagerClient>& client)
74 android::binder::Status ReadSpace(
[all …]
Dbinder_service.cc32 const android::sp<android::tpm_manager::ITpmManagerClient>& client, in ResponseHandler()
40 android::binder::Status status = client->OnCommandResponse(binder_response); in ResponseHandler()
69 const android::sp<android::tpm_manager::ITpmManagerClient>& client) { in RequestHandler()
105 if (!android::BinderWrapper::GetOrCreateInstance()->RegisterService( in OnInit()
106 kTpmNvramBinderName, android::IInterface::asBinder(nvram_binder_))) { in OnInit()
110 if (!android::BinderWrapper::GetOrCreateInstance()->RegisterService( in OnInit()
112 android::IInterface::asBinder(ownership_binder_))) { in OnInit()
120 android::tpm_manager::ITpmNvram* BinderService::GetITpmNvram() { in GetITpmNvram()
124 android::tpm_manager::ITpmOwnership* BinderService::GetITpmOwnership() { in GetITpmOwnership()
132 android::binder::Status BinderService::NvramServiceInternal::DefineSpace( in DefineSpace()
[all …]
/system/sepolicy/prebuilts/api/27.0/private/
Dhwservice_contexts1 android.frameworks.displayservice::IDisplayService u:object_r:fwk_display_hwservice:s0
2 android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_scheduler_hwservice:…
3 android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0
4 android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0
5 android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0
6 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservic…
7 android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:…
8 android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0
9 android.hardware.broadcastradio::IBroadcastRadioFactory u:object_r:hal_broadcastradio_hwser…
10 android.hardware.camera.provider::ICameraProvider u:object_r:hal_camera_hwservice:s0
[all …]
/system/sepolicy/prebuilts/api/26.0/private/
Dhwservice_contexts1 android.frameworks.displayservice::IDisplayService u:object_r:fwk_display_hwservice:s0
2 android.frameworks.schedulerservice::ISchedulingPolicyService u:object_r:fwk_scheduler_hwservice:…
3 android.frameworks.sensorservice::ISensorManager u:object_r:fwk_sensor_hwservice:s0
4 android.hardware.audio.effect::IEffectsFactory u:object_r:hal_audio_hwservice:s0
5 android.hardware.audio::IDevicesFactory u:object_r:hal_audio_hwservice:s0
6 android.hardware.biometrics.fingerprint::IBiometricsFingerprint u:object_r:hal_fingerprint_hwservic…
7 android.hardware.bluetooth::IBluetoothHci u:object_r:hal_bluetooth_hwservice:…
8 android.hardware.boot::IBootControl u:object_r:hal_bootctl_hwservice:s0
9 android.hardware.broadcastradio::IBroadcastRadioFactory u:object_r:hal_audio_hwservice:s0
10 android.hardware.camera.provider::ICameraProvider u:object_r:hal_camera_hwservice:s0
[all …]
/system/connectivity/wificond/
Dmain.cpp41 using android::net::wifi::IWificond;
42 using android::wifi_system::HostapdManager;
43 using android::wifi_system::InterfaceTool;
44 using android::wifi_system::SupplicantManager;
45 using android::wificond::ipc_constants::kServiceName;
52 ScopedSignalHandler(android::wificond::LooperBackedEventLoop* event_loop) { in ScopedSignalHandler()
68 static android::wificond::LooperBackedEventLoop* s_event_loop_;
78 android::wificond::LooperBackedEventLoop*
85 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in SetupBinderOrCrash()
86 android::IPCThreadState::self()->disableBackgroundScheduling(true); in SetupBinderOrCrash()
[all …]
Dserver.h36 namespace android {
45 class Server : public android::net::wifi::BnWificond {
54 android::binder::Status RegisterCallback(
55 const android::sp<android::net::wifi::IInterfaceEventCallback>&
57 android::binder::Status UnregisterCallback(
58 const android::sp<android::net::wifi::IInterfaceEventCallback>&
61 android::binder::Status getAvailable2gChannels(
64 android::binder::Status getAvailable5gNonDFSChannels(
67 android::binder::Status getAvailableDFSChannels(
70 android::binder::Status createApInterface(
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.h38 using android::String16;
39 using android::binder::Status;
41 using android::bluetooth::BnBluetooth;
42 using android::bluetooth::IBluetoothCallback;
43 using android::bluetooth::IBluetoothGattClient;
44 using android::bluetooth::IBluetoothGattServer;
45 using android::bluetooth::IBluetoothLowEnergy;
46 using android::bluetooth::IBluetoothLeAdvertiser;
47 using android::bluetooth::IBluetoothLeScanner;
66 Status GetAddress(::android::String16* _aidl_return) override;
[all …]
/system/core/healthd/include/healthd/
Dhealthd.h58 android::String8 batteryStatusPath;
59 android::String8 batteryHealthPath;
60 android::String8 batteryPresentPath;
61 android::String8 batteryCapacityPath;
62 android::String8 batteryVoltagePath;
63 android::String8 batteryTemperaturePath;
64 android::String8 batteryTechnologyPath;
65 android::String8 batteryCurrentNowPath;
66 android::String8 batteryCurrentAvgPath;
67 android::String8 batteryChargeCounterPath;
[all …]
/system/connectivity/wificond/scanning/
Dscanner_impl.h30 namespace android {
39 class ScannerImpl : public android::net::wifi::BnWifiScannerImpl {
49 ::android::binder::Status getScanResults(
50 std::vector<com::android::server::wifi::wificond::NativeScanResult>*
54 ::android::binder::Status getPnoScanResults(
55 std::vector<com::android::server::wifi::wificond::NativeScanResult>*
57 ::android::binder::Status scan(
58 const ::com::android::server::wifi::wificond::SingleScanSettings&
61 ::android::binder::Status startPnoScan(
62 const ::com::android::server::wifi::wificond::PnoSettings& pno_settings,
[all …]
/system/tools/hidl/test/hidl_test/
DAndroid.bp6 "android.hidl.memory@1.0",
7 "android.hidl.memory.token@1.0",
8 "android.hidl.token@1.0",
27 "android.hardware.tests.expression@1.0",
28 "android.hardware.tests.foo@1.0",
29 "android.hardware.tests.bar@1.0",
30 "android.hardware.tests.baz@1.0",
31 "android.hardware.tests.hash@1.0",
32 "android.hardware.tests.inheritance@1.0",
33 "android.hardware.tests.pointer@1.0",
[all …]
/system/bt/service/common/
DAndroid.bp40 "android/bluetooth/IBluetooth.aidl",
41 "android/bluetooth/IBluetoothCallback.aidl",
42 "android/bluetooth/IBluetoothGattClient.aidl",
43 "android/bluetooth/IBluetoothGattClientCallback.aidl",
44 "android/bluetooth/IBluetoothGattServer.aidl",
45 "android/bluetooth/IBluetoothGattServerCallback.aidl",
46 "android/bluetooth/IBluetoothLeAdvertiser.aidl",
47 "android/bluetooth/IBluetoothLeAdvertiserCallback.aidl",
48 "android/bluetooth/IBluetoothLeScanner.aidl",
49 "android/bluetooth/IBluetoothLeScannerCallback.aidl",
[all …]
/system/core/libutils/
DSharedBufferTest.cpp27 EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX), ""); in TEST()
28 EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer)), ""); in TEST()
32 android::SharedBuffer* buf = in TEST()
33 android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer) - 1); in TEST()
36 buf = android::SharedBuffer::alloc(0); in TEST()
43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST()
44 EXPECT_DEATH(buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer)), ""); in TEST()
45 buf = android::SharedBuffer::alloc(10); in TEST()
48 buf = android::SharedBuffer::alloc(10); in TEST()
51 buf = buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer) - 1); in TEST()
[all …]
/system/connectivity/wificond/tests/
Dmock_offload.h24 namespace android {
28 const android::hardware::wifi::offload::V1_0::OffloadStatus& status,
29 const android::hardware::wifi::offload::V1_0::ScanStats& scanStats)>
32 const android::hardware::wifi::offload::V1_0::OffloadStatus& status)>
35 class MockOffload : public android::hardware::wifi::offload::V1_0::IOffload {
42 android::hardware::Return<void>(
43 const android::hardware::wifi::offload::V1_0::ScanParam& param,
44 const android::hardware::wifi::offload::V1_0::ScanFilter& filter,
47 android::hardware::Return<void>(OnScanStatsCallback cb));
49 android::hardware::Return<void>(uint32_t delayMs,
[all …]

12345678910>>...82