Home
last modified time | relevance | path

Searched refs:Stack (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_stack.cc25 Stack* instance_{nullptr};
28 Stack* Stack::GetInstance() { return testing::instance_; } in GetInstance()
30 void Stack::StartEverything() {} in StartEverything()
32 void Stack::StartModuleStack(const ModuleList* /* modules */, in StartModuleStack()
35 void Stack::Start(ModuleList* /* modules */) {} in Start()
37 void Stack::Stop() {} in Stop()
39 bool Stack::IsRunning() { return stack_thread_ != nullptr; } in IsRunning()
41 StackManager* Stack::GetStackManager() { return nullptr; } in GetStackManager()
43 const StackManager* Stack::GetStackManager() const { return nullptr; } in GetStackManager()
45 legacy::Acl* Stack::GetAcl() { return testing::acl_; } in GetAcl()
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dentry.cc40 os::Handler* GetGdShimHandler() { return Stack::GetInstance()->GetHandler(); } in GetGdShimHandler()
43 return Stack::GetInstance() in GetAdvertising()
49 return Stack::GetInstance() in GetController()
55 return Stack::GetInstance()->GetStackManager()->GetInstance<Dumpsys>(); in GetDumpsys()
59 return Stack::GetInstance()->GetStackManager()->GetInstance<hci::HciLayer>(); in GetHciLayer()
63 return Stack::GetInstance() in GetRemoteNameRequest()
69 return Stack::GetInstance() in GetScanning()
75 return Stack::GetInstance() in GetDistanceMeasurementManager()
81 return Stack::GetInstance() in GetSnoopLogger()
87 return Stack::GetInstance() in GetStorage()
[all …]
Dstack.cc63 struct Stack::impl {
67 Stack::Stack() { pimpl_ = std::make_shared<Stack::impl>(); } in Stack() function in bluetooth::shim::Stack
69 Stack* Stack::GetInstance() { in GetInstance()
70 static Stack instance; in GetInstance()
74 void Stack::StartEverything() { in StartEverything()
123 void Stack::StartModuleStack(const ModuleList* modules, in StartModuleStack()
137 void Stack::Start(ModuleList* modules) { in Start()
150 void Stack::Stop() { in Stop()
178 bool Stack::IsRunning() { in IsRunning()
183 StackManager* Stack::GetStackManager() { in GetStackManager()
[all …]
Dacl_api.cc50 Stack::GetInstance()->GetAcl()->CreateClassicConnection(address); in ACL_CreateClassicConnection()
56 Stack::GetInstance()->GetAcl()->CancelClassicConnection(address); in ACL_CancelClassicConnection()
63 Stack::GetInstance()->GetAcl()->AcceptLeConnectionFrom( in ACL_AcceptLeConnectionFrom()
71 Stack::GetInstance()->GetAcl()->IgnoreLeConnectionFrom( in ACL_IgnoreLeConnectionFrom()
79 Stack::GetInstance()->GetAcl()->WriteData(handle, std::move(packet)); in ACL_WriteData()
84 Stack::GetInstance()->GetAcl()->Flush(handle); in ACL_Flush()
91 Stack::GetInstance()->GetAcl()->UpdateConnectionParameters( in ACL_SendConnectionParameterUpdateRequest()
123 Stack::GetInstance() in ACL_ConfigureLePrivacy()
134 ? Stack::GetInstance()->GetAcl()->DisconnectClassic(handle, reason, in ACL_Disconnect()
136 : Stack::GetInstance()->GetAcl()->DisconnectLe(handle, reason, comment); in ACL_Disconnect()
[all …]
Dstack.h38 class Stack {
40 static Stack* GetInstance();
42 Stack();
43 Stack(const Stack&) = delete;
44 Stack& operator=(const Stack&) = delete;
46 ~Stack() = default;
Dbtm_api.cc46 Stack::GetInstance()->GetAcl()->ClearFilterAcceptList(); in BTM_ClearFilterAcceptList()
51 Stack::GetInstance()->GetAcl()->DisconnectAllForSuspend(); in BTM_DisconnectAllAcls()
67 Stack::GetInstance()->GetAcl()->SetSystemSuspendState(/*suspended=*/true); in BTM_AllowWakeByHid()
82 Stack::GetInstance()->GetAcl()->AcceptLeConnectionFrom( in BTM_AllowWakeByHid()
95 Stack::GetInstance()->GetAcl()->SetSystemSuspendState(/*suspended=*/false); in BTM_RestoreFilterAcceptList()
104 Stack::GetInstance()->GetAcl()->AcceptLeConnectionFrom( in BTM_RestoreFilterAcceptList()
Dshim.cc49 bluetooth::shim::Stack::GetInstance()->StartEverything(); in ShimModuleStartUp()
54 bluetooth::shim::Stack::GetInstance()->Stop(); in GeneralShutDown()
67 return bluetooth::shim::Stack::GetInstance()->IsRunning(); in is_gd_stack_started_up()
71 return bluetooth::shim::Stack::GetInstance()->IsDumpsysModuleStarted(); in is_gd_dumpsys_module_started()
Ddumpsys.cc66 if (bluetooth::shim::Stack::GetInstance()->CallOnModule<shim::Dumpsys>( in Dump()
78 bluetooth::shim::Stack::GetInstance()->LockForDumpsys([=]() { in Dump()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java39 import java.util.Stack;
144 Stack<T> appsToUpdate = new Stack<>(); in updateIconsPerUser()
209 Stack<T> appsToAdd = new Stack<>(); in updateIconsPerUser()
252 private final Stack<T> mAppsToAdd;
253 private final Stack<T> mAppsToUpdate;
259 Stack<T> appsToAdd, Stack<T> appsToUpdate, CachingLogic<T> cachingLogic, in SerializedIconUpdateTask()
/packages/modules/Bluetooth/system/doc/
Ddirectory_layout.md17 * doc - *Documentation* - Stack documentation.
24 * stack - **Deprecated** - The Stack - Push to proper spot in *./profiles*
25 * test - *Test suite* - Stack level validiation and stress test suite.
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_stack_dumpsys_test.cc120 bluetooth::shim::Stack::GetInstance()->StartModuleStack(&modules_, in Start()
122 bluetooth::shim::Stack::GetInstance()->GetHandler()->Call( in Start()
129 bluetooth::shim::Stack::GetInstance()->Stop(); in Stop()
136 return bluetooth::shim::Stack::GetInstance() in GetUnsafeModule()
219 bool is_running = bluetooth::shim::Stack::GetInstance()->IsRunning(); in is_stack_running()
575 bluetooth::shim::Stack::GetInstance() in TEST_F()
602 bluetooth::shim::Stack::GetInstance() in TEST_F()
636 bluetooth::shim::Stack::GetInstance() in TEST_F()
Dmain_shim_stack_lifecycle_test.cc105 bluetooth::shim::Stack::GetInstance()->StartModuleStack(&modules_, in Start()
112 bluetooth::shim::Stack::GetInstance()->Stop(); in Stop()
119 return bluetooth::shim::Stack::GetInstance() in GetUnsafeModule()
588 if (bluetooth::shim::Stack::GetInstance() in TEST_F()
607 if (bluetooth::shim::Stack::GetInstance() in TEST_F()
626 if (bluetooth::shim::Stack::GetInstance() in TEST_F()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DWindowCache.java28 import java.util.Stack;
33 private final Stack<Integer> mWindowIds;
43 mWindowIds = new Stack<>(); in WindowCache()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndexRunnable.java15 import java.util.Stack;
162 Stack<Integer> pendingDirectories = new Stack<Integer>(); in addAllObjects()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java38 import java.util.Stack;
68 private static ThreadLocal<Stack<TransactionData>> sTransactionDepth =
69 new ThreadLocal<Stack<TransactionData>>() {
71 public Stack<TransactionData> initialValue() {
72 return new Stack<TransactionData>();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java28 import java.util.Stack;
83 Stack<Position> stack = new Stack<>(); in readUnigramsAndBigramsBinaryInner()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DDeviceListFragment.java44 import java.util.Stack;
58 private final Stack<File> mFileStack = new Stack<>();
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileDownloader.java36 import java.util.Stack;
317 final Stack<Integer> sections = new Stack<>(); in decodeSmdxSubjectAndReasonCode()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java56 import java.util.Stack;
98 final Stack<ArchiveEntry> stack = new Stack<>(); in ReadableArchive()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java31 import java.util.Stack;
44 private Stack<StateEntry> mStack = new Stack<StateEntry>();
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Dmain.rs30 Message, Stack,
125 let (tx, rx) = Stack::create_channel(); in main()
200 topstack::get_runtime().spawn(Stack::dispatch( in main()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs276 use crate::Stack;
287 let (tx, _) = Stack::create_channel(); in test_set_service_allowed()
339 let (tx, _) = Stack::create_channel(); in test_config()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_dm_test.cc145 bluetooth::shim::Stack::GetInstance()->StartModuleStack( in SetUp()
152 bluetooth::shim::Stack::GetInstance()->Stop(); in TearDown()
/packages/modules/NeuralNetworks/common/
DBufferTracker.cpp191 using Stack = std::stack<Request::MemoryDomainToken, StackSpace>; in BufferTracker() typedef
194 mFreeTokens = Stack(std::move(stackSpace)); in BufferTracker()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java37 import java.util.Stack;
550 private final Stack<Object> stack = new Stack<Object>();

12