Home
last modified time | relevance | path

Searched refs:binding (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarViewTest.kt37 private lateinit var binding: TestBinding variable in com.android.systemui.statusbar.pipeline.shared.ui.view.ModernStatusBarViewTest
42 val binding = TestBinding() in initView_hasCorrectSlot() constant
44 view.initView("slotName") { binding } in initView_hasCorrectSlot()
82 assertThat(binding.iconTint).isEqualTo(0x12345678) in onDarkChanged_bindingReceivesIconAndDecorTint()
83 assertThat(binding.contrastTint).isEqualTo(0x12344321) in onDarkChanged_bindingReceivesIconAndDecorTint()
84 assertThat(binding.decorTint).isEqualTo(0x12345678) in onDarkChanged_bindingReceivesIconAndDecorTint()
93 assertThat(binding.iconTint).isEqualTo(0x12345678) in setStaticDrawableColor_bindingReceivesIconTint()
94 assertThat(binding.contrastTint).isEqualTo(0x12344321) in setStaticDrawableColor_bindingReceivesIconTint()
103 assertThat(binding.decorTint).isEqualTo(0x23456789) in setDecorColor_bindingReceivesDecorColor()
110 binding.shouldIconBeVisibleInternal = true in isIconVisible_usesBinding_true()
[all …]
DSingleBindableStatusBarIconViewTest.kt38 private lateinit var binding: SingleBindableStatusBarIconViewBinding variable in com.android.systemui.statusbar.pipeline.shared.ui.view.SingleBindableStatusBarIconViewTest
84 assertThat(binding.iconTint).isEqualTo(0x12345678) in onDarkChanged_bindingReceivesIconAndDecorTint()
85 assertThat(binding.decorTint).isEqualTo(0x12345678) in onDarkChanged_bindingReceivesIconAndDecorTint()
94 assertThat(binding.iconTint).isEqualTo(0x12345678) in setStaticDrawableColor_bindingReceivesIconTint()
103 assertThat(binding.decorTint).isEqualTo(0x23456789) in setDecorColor_bindingReceivesDecorColor()
142 binding = SingleBindableStatusBarIconView.withDefaultBinding(view, visibilityFn) {} in createAndInitView()
143 view.initView(SLOT_NAME) { binding } in createAndInitView()
/frameworks/base/services/core/java/com/android/server/am/
DConnectionRecord.java42 final AppBindRecord binding; // The application/service binding. field in ConnectionRecord
105 pw.println(prefix + "binding=" + binding); in dump()
119 binding = _binding; in ConnectionRecord()
170 && association == null && binding.service.app != null in startAssociationIfNeeded()
171 && (binding.service.appInfo.uid != clientUid in startAssociationIfNeeded()
172 || !binding.service.processName.equals(clientProcessName))) { in startAssociationIfNeeded()
173 ProcessStats.ProcessStateHolder holder = binding.service.app.getPkgList().get( in startAssociationIfNeeded()
174 binding.service.instanceName.getPackageName()); in startAssociationIfNeeded()
177 + binding.service.shortInstanceName + ": proc=" + binding.service.app); in startAssociationIfNeeded()
180 + binding.service.shortInstanceName + ": proc=" + binding.service.app); in startAssociationIfNeeded()
[all …]
DProcessServiceRecord.java358 final boolean isSameProcess = cr.binding.service.app != null in updateHasAboveClientLocked()
359 && cr.binding.service.app.mServices == this; in updateHasAboveClientLocked()
532 final ProcessRecord attributedClient = connection.binding.attributedClient; in addSdkSandboxConnectionIfNecessary()
533 if (attributedClient != null && connection.binding.service.isSdkSandbox) { in addSdkSandboxConnectionIfNecessary()
542 final ProcessRecord attributedClient = connection.binding.attributedClient; in removeSdkSandboxConnectionIfNecessary()
543 if (attributedClient != null && connection.binding.service.isSdkSandbox) { in removeSdkSandboxConnectionIfNecessary()
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp68 ResolveInfo::Binding binding = ResolveInfo::Local; in TEST_F() local
74 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
81 EXPECT_EQ(binding, result1.info->binding()); in TEST_F()
87 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
94 EXPECT_EQ(binding, result1.info->binding()); in TEST_F()
106 ResolveInfo::Binding binding = ResolveInfo::Global; in TEST_F() local
111 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
118 EXPECT_EQ(binding, result1.info->binding()); in TEST_F()
124 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
133 binding, in TEST_F()
[all …]
DStaticResolverTest.cpp78 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); in TEST_F()
79 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); in TEST_F()
105 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); in TEST_F()
106 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); in TEST_F()
132 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); in TEST_F()
133 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding()); in TEST_F()
153 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); in TEST_F()
154 ASSERT_TRUE(mcld::ResolveInfo::Weak == old_sym->binding()); in TEST_F()
182 ASSERT_TRUE(mcld::ResolveInfo::Weak == old_sym->binding()); in TEST_F()
183 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding()); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceLegacySettingSyncer.kt96 return scope.launch { bindings.forEach { binding -> startSyncing(this, binding) } } in <lambda>() method
101 binding: Binding, in <lambda>()
105 names = arrayOf(binding.settingsKey), in <lambda>()
110 settingsKey = binding.settingsKey, in <lambda>()
115 if (isSelected(binding.affordanceId) != isSet) { in <lambda>()
118 slotId = binding.slotId, in <lambda>()
119 affordanceId = binding.affordanceId, in <lambda>()
123 affordanceId = binding.affordanceId, in <lambda>()
133 .map { it.contains(binding.affordanceId) } in <lambda>()
136 if (isSet(binding.settingsKey) != isSelected) { in <lambda>()
[all …]
/frameworks/av/media/libaaudio/src/
DAndroid.bp74 "binding",
142 "binding",
186 "binding/AAudioBinderAdapter.cpp",
187 "binding/AAudioBinderClient.cpp",
188 "binding/AAudioStreamConfiguration.cpp",
189 "binding/AAudioStreamRequest.cpp",
190 "binding/AudioEndpointParcelable.cpp",
191 "binding/RingBufferParcelable.cpp",
192 "binding/SharedMemoryParcelable.cpp",
193 "binding/SharedRegionParcelable.cpp",
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt39 internal lateinit var binding: ModernStatusBarViewBinding variable
48 binding.onVisibilityStateChanged(value)
61 binding.onIconTintChanged(newTint, contrast) in onDarkChangedWithContrast()
62 binding.onDecorTintChanged(newTint) in onDarkChangedWithContrast()
70 binding.onIconTintChanged(color, foregroundColor) in setStaticDrawableColor()
74 binding.onDecorTintChanged(color) in setDecorColor()
87 return binding.getShouldIconBeVisible() in isIconVisible()
111 this.binding = bindingCreator.invoke() in initView()
/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java75 public InputBinding(InputConnection conn, InputBinding binding) { in InputBinding() argument
77 mConnectionToken = binding.getConnectionToken(); in InputBinding()
78 mUid = binding.getUid(); in InputBinding()
79 mPid = binding.getPid(); in InputBinding()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java17 package com.android.layoutlib.bridge.impl.binding;
49 public FakeAdapter(ResourceReference adapterRef, AdapterBinding binding, in FakeAdapter() argument
54 final int repeatCount = binding.getRepeatCount(); in FakeAdapter()
55 final int itemCount = binding.getItemCount(); in FakeAdapter()
64 for (DataBindingItem dataBindingItem : binding) { in FakeAdapter()
DFakeExpandableAdapter.java17 package com.android.layoutlib.bridge.impl.binding;
46 public FakeExpandableAdapter(ResourceReference adapterRef, AdapterBinding binding, in FakeExpandableAdapter() argument
51 createItems(binding, binding.getItemCount(), binding.getRepeatCount(), mGroupTypes, 1); in FakeExpandableAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.kt62 private var binding: KeyguardBottomAreaViewBinder.Binding? = null in <lambda>() variable
76 binding?.destroy() in <lambda>()
77 binding = in <lambda>()
130 binding?.onConfigurationChanged() in <lambda>()
154 if (binding?.shouldConstrainToTopOfLockIcon() == true) { in <lambda>()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java78 ScriptGroup.Binding binding; in run() local
80 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); in run()
82 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); in run()
87 binding); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java80 ScriptGroup.Binding binding; in run() local
82 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); in run()
84 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); in run()
89 binding); in run()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java35 import com.android.layoutlib.bridge.impl.binding.FakeAdapter;
36 import com.android.layoutlib.bridge.impl.binding.FakeExpandableAdapter;
562 AdapterBinding binding = in setupViewInContext() local
564 if (binding != null) { in setupViewInContext()
565 setAdapterBinding(view, bc, listRef, binding); in setupViewInContext()
572 AdapterBinding binding) { in setAdapterBinding() argument
574 if ((binding.getFooterCount() > 0 || binding.getHeaderCount() > 0) && in setAdapterBinding()
580 int count = binding.getHeaderCount(); in setAdapterBinding()
583 bc.inflateView(binding.getHeaderAt(i), list, false, in setAdapterBinding()
592 count = binding.getFooterCount(); in setAdapterBinding()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java135 AppBinding binding;
141 binding = mBindings.get(phoneId);
142 if (binding == null) return;
143 logdWithLocalLog("Rebinding if necessary for phoneId: " + binding.getPhoneId());
144 binding.rebind();
148 binding = mBindings.get(phoneId);
149 if (binding == null) return;
150 logdWithLocalLog("Unbind immediate with phoneId: " + binding.getPhoneId());
151 binding.performImmediateUnbind();
/frameworks/compile/mclinker/include/mcld/LD/
DLDSymbol.h86 unsigned int binding() const { in binding() function
88 return m_pResolveInfo->binding(); in binding()
/frameworks/av/media/libheadtracking/
DAndroid.bp53 name: "libheadtracking-binding",
77 "libheadtracking-binding",
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java806 Arrays.stream(capabilityBindings).forEach(binding -> { in parseCapabilityBindings()
807 if (TextUtils.isEmpty(binding)) { in parseCapabilityBindings()
810 final int capabilityStopIndex = binding.indexOf("/"); in parseCapabilityBindings()
811 if (capabilityStopIndex == -1 || capabilityStopIndex == binding.length() - 1) { in parseCapabilityBindings()
814 final String capabilityName = binding.substring(0, capabilityStopIndex); in parseCapabilityBindings()
815 final int paramStopIndex = binding.indexOf("/", capabilityStopIndex + 1); in parseCapabilityBindings()
816 if (paramStopIndex == -1 || paramStopIndex == binding.length() - 1) { in parseCapabilityBindings()
819 final String paramName = binding.substring(capabilityStopIndex + 1, paramStopIndex); in parseCapabilityBindings()
820 final String paramValue = binding.substring(paramStopIndex + 1); in parseCapabilityBindings()
/frameworks/compile/mclinker/lib/LD/
DStaticResolver.cpp95 uint32_t binding = old->binding(); in resolve() local
97 old->setBinding(binding); in resolve()
/frameworks/av/services/audiopolicy/service/
DAndroid.bp40 "libheadtracking-binding",
112 "libheadtracking-binding",
/frameworks/base/core/java/android/content/flags/
Dflags.aconfig8 …description: "This flag enables the newly added flag for binding package-private isolated processe…
/frameworks/base/services/usb/java/com/android/server/usb/flags/
Dusb_flags.aconfig14 description: "This flag enables binding to MtpService when in mtp/ptp modes"
/frameworks/base/
Dpathmap.mk59 $(addprefix frameworks/data-binding/,$(FRAMEWORKS_DATA_BINDING_SUBDIRS))

123