Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 25 of 84) sorted by relevance

1234

/aosp14/system/core/libcutils/
H A Dconfig_utils.cpp127 data = cs->data; in _lex()
129 if(cs->next != 0) { in _lex()
130 c = cs->next; in _lex()
131 cs->next = 0; in _lex()
162 cs->data = data; in _lex()
224 cs->text = s; in _lex()
239 #define lex(cs,v) _lex(cs,v) argument
247 switch(lex(cs, 0)){ in parse_block()
294 cstate cs; in config_load() local
295 cs.data = data; in config_load()
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DCancellationSignalBeamer.java129 if (cs == null) { in beam()
132 return new Token(this, cs); in beam()
304 if (cs != null) { in unbeam()
305 return cs; in unbeam()
308 cs = new CancellationSignal(); in unbeam()
309 mTokenMap.put(token, cs); in unbeam()
315 return cs; in unbeam()
357 CancellationSignal cs; in cancel() local
359 cs = mTokenMap.get(token); in cancel()
360 if (cs != null) { in cancel()
[all …]
/aosp14/system/core/libutils/
H A DCallStack_test.cpp26 android::CallStack cs; in CurrentCaller() local
27 cs.update(); in CurrentCaller()
28 backtrace = cs.toString(); in CurrentCaller()
56 android::CallStack cs; in TEST() local
57 cs.update(0, tid); in TEST()
62 ASSERT_NE(-1, cs.toString().find("(ThreadBusyWait")) << "Full backtrace:\n" << cs.toString(); in TEST()
/aosp14/frameworks/base/core/java/android/text/style/
H A DCharacterStyle.java36 public static CharacterStyle wrap(CharacterStyle cs) { in wrap() argument
37 if (cs instanceof MetricAffectingSpan) { in wrap()
38 return new MetricAffectingSpan.Passthrough((MetricAffectingSpan) cs); in wrap()
40 return new Passthrough(cs); in wrap()
66 public Passthrough(CharacterStyle cs) { in Passthrough() argument
67 mStyle = cs; in Passthrough()
H A DMetricAffectingSpan.java62 Passthrough(@NonNull MetricAffectingSpan cs) { in Passthrough() argument
63 mStyle = cs; in Passthrough()
/aosp14/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java153 public boolean isRtl(CharSequence cs, int start, int count) { in isRtl() argument
154 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { in isRtl()
160 return doCheck(cs, start, count); in isRtl()
163 private boolean doCheck(CharSequence cs, int start, int count) { in doCheck() argument
164 switch(mAlgorithm.checkRtl(cs, start, count)) { in doCheck()
197 int checkRtl(CharSequence cs, int start, int count); in checkRtl() argument
207 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument
213 cp = Character.codePointAt(cs, i); in checkRtl()
242 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument
246 cp = Character.codePointAt(cs, i); in checkRtl()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/blueprints/
H A DDefaultKeyguardBlueprintTest.kt73 val cs = ConstraintSet() regex
74 underTest.apply(cs)
75 verify(defaultIndicationAreaSection).apply(cs)
76 verify(defaultLockIconSection).apply(cs)
77 verify(defaultShortcutsSection).apply(cs)
78 verify(defaultAmbientIndicationAreaSection).apply(cs)
79 verify(defaultSettingsPopupMenuSection).apply(cs)
80 verify(defaultStatusViewSection).apply(cs)
81 verify(splitShadeGuidelines).apply(cs)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
H A DDefaultLockIconSectionTest.kt55 val cs = ConstraintSet() regex
56 underTest.apply(cs)
58 val constraint = cs.getConstraint(R.id.lock_icon_view)
66 val cs = ConstraintSet() regex
67 underTest.centerLockIcon(Point(5, 6), 1F, 5, cs)
69 val constraint = cs.getConstraint(R.id.lock_icon_view)
H A DDefaultIndicationAreaSectionTest.kt37 val cs = ConstraintSet() regex
38 underTest.apply(cs)
40 val constraint = cs.getConstraint(R.id.keyguard_indication_area)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DConversationInfoTest.java52 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuild() local
73 .addOrUpdateStatus(cs) in testBuild()
95 assertThat(conversationInfo.getStatuses()).contains(cs); in testBuild()
128 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuildFromAnotherConversationInfo() local
147 .addOrUpdateStatus(cs) in testBuildFromAnotherConversationInfo()
171 assertThat(destination.getStatuses()).contains(cs); in testBuildFromAnotherConversationInfo()
177 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuildFromAnotherConversation_identicalConversation() local
196 .addOrUpdateStatus(cs) in testBuildFromAnotherConversation_identicalConversation()
217 assertThat(destination.getStatuses()).contains(cs); in testBuildFromAnotherConversation_identicalConversation()
247 .addOrUpdateStatus(cs) in testBuildFromBackupPayload()
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/gba/
H A DUaSecurityProtocolIdentifier.java253 int cs = in.readInt();
254 if (org < 0 || protocol < 0 || cs < 0) {
265 if (cs > 0) {
266 builder.setTlsCipherSuite(cs);
415 public Builder setTlsCipherSuite(@TlsCipherSuite int cs) { in setTlsCipherSuite() argument
419 if (!TlsParams.isTlsCipherSuiteSupported(cs)) { in setTlsCipherSuite()
422 mSp.mTlsCipherSuite = cs; in setTlsCipherSuite()
/aosp14/frameworks/base/libs/hwui/hwui/
H A DBlurDrawLooper.cpp37 sk_sp<BlurDrawLooper> BlurDrawLooper::Make(SkColor4f color, SkColorSpace* cs, float blurSigma, in Make() argument
39 if (cs) { in Make()
41 tmp.setColor(color, cs); // converts color to sRGB in Make()
/aosp14/frameworks/base/core/java/android/service/controls/
H A DControlsProviderService.java218 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj;
219 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
226 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj;
227 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
289 SubscriberProxy(boolean enforceStateless, IBinder token, IControlsSubscriber cs) {
292 mCs = cs;
296 IControlsSubscriber cs) {
297 this(enforceStateless, token, cs);
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DStringBuilderPerfTest.java73 CharSequence cs = "chars"; in timeAppendCharSequence() local
78 sb.append(cs); in timeAppendCharSequence()
85 CharSequence cs = "chars"; in timeAppendSubCharSequence() local
90 sb.append(cs); in timeAppendSubCharSequence()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodManagerService.java1901 if (cs == null) { in switchUserOnHandlerLocked()
2307 if (cs != null) { in removeClient()
2407 mCurClient = cs; in setAttachedClientForTesting()
2609 mCurClient = cs; in startInputUncheckedLocked()
3547 ClientState cs; in verifyClientAndPackageMatch() local
3551 if (cs == null) { in verifyClientAndPackageMatch()
3729 windowToken, cs.mUid, cs.mPid, cs.mSelfReportedDisplayId); in isImeClientFocused()
3825 if (cs == null) { in startInputOrWindowGainedFocusInternalLocked()
3830 windowToken, cs.mUid, cs.mPid, cs.mSelfReportedDisplayId); in startInputOrWindowGainedFocusInternalLocked()
3843 + " (uid=" + cs.mUid + " pid=" + cs.mPid + ")"); in startInputOrWindowGainedFocusInternalLocked()
[all …]
/aosp14/frameworks/base/libs/hwui/apex/
H A Dandroid_bitmap.cpp273 sk_sp<SkColorSpace> cs; in ABitmap_compress() local
278 cs = nullptr; in ABitmap_compress()
280 cs = uirenderer::DataSpaceToColorSpace((android_dataspace) dataSpace); in ABitmap_compress()
283 if (!cs || dataSpace == ADATASPACE_UNKNOWN) { in ABitmap_compress()
296 SkImageInfo::Make(info->width, info->height, colorType, alphaType, std::move(cs)); in ABitmap_compress()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/
H A DREADME.md5 - [Introduction to Flicker Test Library](http://cs/android/platform_testing/libraries/flicker/)
6 - [Flicker Test in frameworks/base](http://cs/android/frameworks/base/tests/FlickerTests/)
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java956 ColorSpace cs = source.getColorSpace(); in createBitmap() local
973 if (cs == null) { in createBitmap()
974 cs = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap()
980 transformed || source.hasAlpha(), cs); in createBitmap()
2008 ColorSpace cs = Color.colorSpace(color); in eraseColor() local
2009 nativeErase(mNativePtr, cs.getNativeInstance(), color); in eraseColor()
2033 private static float clamp(float value, @NonNull ColorSpace cs, int index) { in clamp() argument
2034 return Math.max(Math.min(value, cs.getMaxValue(index)), cs.getMinValue(index)); in clamp()
2056 final ColorSpace cs = getColorSpace(); in getColor() local
2057 if (cs == null || cs.equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getColor()
[all …]
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java377 final ConversationStore cs = packageData.getConversationStore(); in pruneExpiredConversationStatuses()
388 updateConversationStoreThenNotifyListeners(cs, builder.build(), in pruneExpiredConversationStatuses()
420 ConversationStore cs = getConversationStoreOrThrow(packageName, userId); in addOrUpdateStatus() local
435 ConversationStore cs = getConversationStoreOrThrow(packageName, userId); in clearStatus() local
475 ConversationStore cs = packageData.getConversationStore(); in getConversationStoreOrThrow() local
476 if (cs == null) { in getConversationStoreOrThrow()
479 return cs; in getConversationStoreOrThrow()
487 ConversationInfo ci = cs.getConversation(conversationId); in getConversationInfoOrThrow()
1348 void updateConversationStoreThenNotifyListeners(ConversationStore cs, in updateConversationStoreThenNotifyListeners() argument
1351 cs.addOrUpdate(modifiedConv); in updateConversationStoreThenNotifyListeners()
[all …]
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java306 private static String safeCharSeqToString(CharSequence cs) { in safeCharSeqToString() argument
307 if (cs == null) in safeCharSeqToString()
310 return stripInvalidXMLChars(cs); in safeCharSeqToString()
314 private static String stripInvalidXMLChars(CharSequence cs) { in stripInvalidXMLChars() argument
326 for (int i = 0; i < cs.length(); i++) { in stripInvalidXMLChars()
327 ch = cs.charAt(i); in stripInvalidXMLChars()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DTextPerfUtils.java101 CharSequence cs = CharBuffer.wrap(buffer); in nextRandomParagraph() local
103 return cs; in nextRandomParagraph()
106 SpannableStringBuilder ssb = new SpannableStringBuilder(cs); in nextRandomParagraph()
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/
H A DCloudPrintPlugin.java131 byte[] cs = caseInsensitiveAttributes.get(ATTRIBUTE_CS); in CloudPrintPlugin()
132 if (cs == null || !POSSIBLE_CONNECTION_STATES.contains( in CloudPrintPlugin()
133 new String(cs, StandardCharsets.UTF_8).toLowerCase())) { in CloudPrintPlugin()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInsertModeGestureTest.java61 var cs = CANCELLATION_SIGNAL; in testCancellationSignal() local
67 assertEquals(gesture.getCancellationSignal(), cs); in testCancellationSignal() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardPINView.java138 ConstraintSet cs = new ConstraintSet(); in updateMargins() local
139 cs.clone(mContainer); in updateMargins()
140 cs.setGuidelinePercent(R.id.pin_pad_top_guideline, in updateMargins()
142 cs.applyTo(mContainer); in updateMargins()
H A DKeyguardPatternView.java118 ConstraintSet cs = new ConstraintSet(); in updateMargins() local
119 cs.clone(mContainer); in updateMargins()
120 cs.setGuidelinePercent(R.id.pattern_top_guideline, in updateMargins()
123 cs.applyTo(mContainer); in updateMargins()

1234