/aosp12/frameworks/native/libs/vr/libpdx/ |
H A D | service.cpp | 27 auto svc = service_.lock(); local 28 if (svc) 53 if (svc) { in Destroy() 214 if (!svc) in GetFileHandle() 231 if (!svc) in GetChannelHandle() 247 if (!replied_ && svc) { in Reply() 259 if (!replied_ && svc) { in ReplyFileDescriptor() 271 if (!replied_ && svc) { in ReplyError() 284 if (!replied_ && svc) { in Reply() 302 if (!replied_ && svc) { in Reply() [all …]
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 244 if (svc != null) { in disable() 264 if (svc != null) { in disable2() 285 if (svc != null) { in clickNotificationInternal() 303 if (svc != null) { in sendNotificationFeedback() 321 if (svc != null) { in expandNotificationsPanel() 347 if (svc != null) { in collapsePanels() 365 if (svc != null) { in togglePanel() 383 if (svc != null) { in handleSystemKey() 411 if (svc != null) { in expandSettingsPanel() 424 if (svc != null) { in setIcon() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
H A D | ScrollViewCaptureHelperTest.java | 122 Rect scrollBounds = svc.onComputeScrollBounds(mTarget); in onPrepareForStart() 123 svc.onPrepareForStart(mTarget, scrollBounds); in onPrepareForStart() 133 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_up_fromTop() 155 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_down_fromTop() 178 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_up_fromMiddle() 197 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_down_fromMiddle() 218 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_up_fromBottom() 237 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_down_fromBottom() 259 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_offTopEdge() 287 svc.onPrepareForStart(mTarget, scrollBounds); in onScrollRequested_offBottomEdge() [all …]
|
/aosp12/system/core/init/ |
H A D | service_test.cpp | 128 auto svc = std::move(*service_ret); in Test_make_temporary_oneshot_service() local 131 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_temporary_oneshot_service() 133 ASSERT_EQ("", svc->seclabel()); in Test_make_temporary_oneshot_service() 138 ASSERT_EQ(*decoded_uid, svc->uid()); in Test_make_temporary_oneshot_service() 140 ASSERT_EQ(0U, svc->uid()); in Test_make_temporary_oneshot_service() 145 ASSERT_EQ(*decoded_uid, svc->gid()); in Test_make_temporary_oneshot_service() 147 ASSERT_EQ(0U, svc->gid()); in Test_make_temporary_oneshot_service() 150 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service() 160 ASSERT_EQ(0U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service() 164 ASSERT_EQ("/system/bin/toybox", svc->args()[0]); in Test_make_temporary_oneshot_service() [all …]
|
H A D | lmkd_service.cpp | 83 auto svc = service.get(); in RegisterServices() local 84 if (svc->oom_score_adjust() != DEFAULT_OOM_SCORE_ADJUST) { in RegisterServices() 86 if (svc->pid() == exclude_pid || svc->pid() == 0) { in RegisterServices() 89 if (RegisterProcess(svc->uid(), svc->pid(), svc->oom_score_adjust()) != in RegisterServices()
|
H A D | service_list.h | 36 void RemoveService(const Service& svc); 45 auto svc = std::find_if(services_.begin(), services_.end(), variable 49 if (svc != services_.end()) { 50 return svc->get(); 56 for (const auto& svc : services_) { in FindInterface() local 57 if (svc->interfaces().count(interface_name) > 0) { in FindInterface() 58 return svc.get(); in FindInterface()
|
H A D | builtins.cpp | 239 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() local 240 if (!svc) return Error() << "Could not find service"; in do_enable() 242 if (auto result = svc->Enable(); !result.ok()) { in do_enable() 379 svc->Restart(); in do_interface_restart() 386 if (auto result = svc->Start(); !result.ok()) { in do_interface_start() 395 svc->Stop(); in do_interface_stop() 796 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_start() local 798 if (auto result = svc->Start(); !result.ok()) { in do_start() 805 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_stop() local 807 svc->Stop(); in do_stop() [all …]
|
H A D | service_list.cpp | 54 void ServiceList::RemoveService(const Service& svc) { in RemoveService() argument 57 [&svc](const std::unique_ptr<Service>& s) { return svc.name() == s->name(); }); in RemoveService()
|
/aosp12/system/bt/service/ |
H A D | gatt_server.cc | 69 std::vector<btgatt_db_element_t> svc; in AddService() local 71 svc.push_back({ in AddService() 78 svc.push_back({.uuid = characteristic.uuid(), in AddService() 83 svc.push_back({.uuid = descriptor.uuid(), in AddService() 89 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService() 96 server_id_, svc); in AddService() 303 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback() 305 << " count: " << svc.size(); in ServiceAddedCallback() 307 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {}); in ServiceAddedCallback() 309 for (size_t i = 1; i < svc.size(); i++) { in ServiceAddedCallback() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | GattDebugUtils.java | 71 static boolean handleDebugAction(GattService svc, Intent intent) { in handleDebugAction() argument 88 svc.gattTestCommand(0x01, null, null, bEnable ? 1 : 0, 0, 0, 0, 0); in handleDebugAction() 94 svc.gattTestCommand(0x02, null, address, type, addrType, 0, 0, 0); in handleDebugAction() 97 svc.gattTestCommand(0x03, null, null, 0, 0, 0, 0, 0); in handleDebugAction() 104 svc.gattTestCommand(0x04, uuid, null, type, shdl, ehdl, 0, 0); in handleDebugAction() 112 svc.gattTestCommand(0xF0, null, null, authReq, ioCap, initKey, respKey, maxKey); in handleDebugAction()
|
/aosp12/hardware/google/pixel/mm/ |
H A D | pixel-mm-legacy.rc | 34 on property:init.svc.dumpstatez=running 37 on property:init.svc.dumpstatez=stopped 40 on property:init.svc.bugreport=running 43 on property:init.svc.bugreport=stopped 46 on property:init.svc.bugreportd=running 49 on property:init.svc.bugreportd=stopped
|
H A D | pixel-mm.rc | 33 on property:init.svc.dumpstatez=running 36 on property:init.svc.dumpstatez=stopped 39 on property:init.svc.bugreport=running 42 on property:init.svc.bugreport=stopped 45 on property:init.svc.bugreportd=running 48 on property:init.svc.bugreportd=stopped
|
/aosp12/frameworks/av/media/mediaserver/ |
H A D | mediaserver.rc | 1 on property:init.svc.media=* 2 setprop init.svc.mediadrm ${init.svc.media}
|
/aosp12/hardware/google/pixel/vibrator/cs40l25/ |
H A D | service.cpp | 38 auto svc = ndk::SharedRefBase::make<Vibrator>(std::make_unique<HwApi>(), in main() local 40 const auto svcName = std::string() + svc->descriptor + "/" + VIBRATOR_NAME; in main() 44 auto svcBinder = svc->asBinder(); in main()
|
/aosp12/hardware/google/pixel/vibrator/cs40l26/ |
H A D | service.cpp | 38 auto svc = ndk::SharedRefBase::make<Vibrator>(std::make_unique<HwApi>(), in main() local 40 const auto svcName = std::string() + svc->descriptor + "/" + VIBRATOR_NAME; in main() 44 auto svcBinder = svc->asBinder(); in main()
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.cpp | 1637 sp<AudioPolicyService> svc; in threadLoop() local 1678 if (svc == 0) { in threadLoop() 1690 if (svc == 0) { in threadLoop() 1724 if (svc == 0) { in threadLoop() 1734 if (svc == 0) { in threadLoop() 1746 if (svc == 0) { in threadLoop() 1771 if (svc == 0) { in threadLoop() 1783 if (svc == 0) { in threadLoop() 1806 if (svc == 0) { in threadLoop() 1816 if (svc == 0) { in threadLoop() [all …]
|
/aosp12/bionic/libc/arch-arm64/bionic/ |
H A D | _exit_with_stack_teardown.S | 34 svc #0 39 svc #0
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 405 for (BluetoothGattService svc : mServices) { in getCharacteristicByHandle() 406 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getCharacteristicByHandle() 421 for (BluetoothGattService svc : mServices) { in getDescriptorByHandle() 422 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getDescriptorByHandle() 544 for (BluetoothGattService svc : mServices) { in getService() 545 if (svc.getType() == type in getService() 546 && svc.getInstanceId() == instanceId in getService() 547 && svc.getUuid().equals(uuid)) { in getService() 548 return svc; in getService()
|
/aosp12/frameworks/base/cmds/svc/ |
H A D | svc | 36 export CLASSPATH=/system/framework/svc.jar 37 exec app_process /system/bin com.android.commands.svc.Svc "$@"
|
H A D | Android.bp | 22 name: "svc", 23 wrapper: "svc",
|
/aosp12/packages/services/Car/service/jni/evs/ |
H A D | EvsDeathRecipient.cpp | 30 EvsDeathRecipient::EvsDeathRecipient(const sp<IEvsEnumerator>& svc, EvsServiceCallback* callback) : in EvsDeathRecipient() argument 31 mService(svc), mCallback(callback) {} in EvsDeathRecipient()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IServiceManager.cpp | 220 sp<IBinder> svc = checkService(name); in getService() local 221 if (svc != nullptr) return svc; in getService() 248 sp<IBinder> svc = checkService(name); in getService() local 249 if (svc != nullptr) { in getService() 253 return svc; in getService()
|
/aosp12/frameworks/base/cmds/incident_helper/testdata/ |
H A D | system_properties.txt | 6 [init.svc.adbd]: [running] 7 [init.svc.lmkd]: [stopped]
|
/aosp12/frameworks/base/core/java/android/net/ |
H A D | IpSecTransform.java | 133 IIpSecService svc = getIpSecService(); in activate() local 134 IpSecTransformResponse result = svc.createTransform( in activate() 180 IIpSecService svc = getIpSecService(); in close() local 181 svc.deleteTransform(mResourceId); in close()
|
/aosp12/hardware/google/pixel/power-libperfmgr/aidl/ |
H A D | android.hardware.power-service.pixel-libperfmgr.rc | 11 on property:init.svc.zygote=restarting && property:vendor.powerhal.state=* 18 on property:init.svc.vendor.audio-hal-2-0=restarting && property:vendor.powerhal.audio=AUDIO_STREAM…
|