/frameworks/rs/driver/ |
D | rsdBcc.cpp | 45 RsdCpuReference::CpuScript * cs = in rsdScriptInit() local 48 if (cs == nullptr) { in rsdScriptInit() 51 script->mHal.drv = cs; in rsdScriptInit() 52 cs->populateScript(script); in rsdScriptInit() 59 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e); in rsdInitIntrinsic() local 60 if (cs == nullptr) { in rsdInitIntrinsic() 63 s->mHal.drv = cs; in rsdInitIntrinsic() 64 cs->populateScript(s); in rsdInitIntrinsic() 98 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeForEachMulti() local 99 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc); in rsdScriptInvokeForEachMulti() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | ClockSectionTest.kt | 135 val cs = ConstraintSet() in <lambda>() constant 136 underTest.applyDefaultConstraints(cs) in <lambda>() 138 assertLargeClockTop(cs, LARGE_CLOCK_TOP) in <lambda>() 139 assertSmallClockTop(cs) in <lambda>() 158 val cs = ConstraintSet() in <lambda>() constant 159 underTest.applyDefaultConstraints(cs) in <lambda>() 161 assertLargeClockTop(cs, LARGE_CLOCK_TOP) in <lambda>() 162 assertSmallClockTop(cs) in <lambda>() 183 val cs = ConstraintSet() in <lambda>() constant 184 underTest.applyDefaultConstraints(cs) in <lambda>() [all …]
|
D | DefaultDeviceEntrySectionTest.kt | 121 val cs = ConstraintSet() in applyConstraints_udfps_refactor_off() constant 122 underTest.applyConstraints(cs) in applyConstraints_udfps_refactor_off() 124 val constraint = cs.getConstraint(R.id.lock_icon_view) in applyConstraints_udfps_refactor_off() 134 val cs = ConstraintSet() in applyConstraints_udfps_refactor_on() constant 135 underTest.applyConstraints(cs) in applyConstraints_udfps_refactor_on() 137 val constraint = cs.getConstraint(R.id.device_entry_icon_view) in applyConstraints_udfps_refactor_on() 146 val cs = ConstraintSet() in testCenterIcon_udfps_refactor_off() constant 147 underTest.centerIcon(Point(5, 6), 1F, cs) in testCenterIcon_udfps_refactor_off() 149 val constraint = cs.getConstraint(R.id.lock_icon_view) in testCenterIcon_udfps_refactor_off() 162 val cs = ConstraintSet() in testCenterIcon_udfps_refactor_on() constant [all …]
|
D | DefaultIndicationAreaSectionTest.kt | 75 val cs = ConstraintSet() in applyConstraints() constant 76 underTest.applyConstraints(cs) in applyConstraints() 78 val constraint = cs.getConstraint(R.id.keyguard_indication_area) in applyConstraints()
|
/frameworks/base/core/java/android/os/ |
D | CancellationSignalBeamer.java | 128 public CloseableToken beam(@Nullable CancellationSignal cs) { in beam() argument 129 if (cs == null) { in beam() 132 return new Token(this, cs); in beam() 195 public static IBinder beamFromScope(@NonNull CancellationSignal cs) { in beamFromScope() argument 198 var token = state.first.beam(cs); in beamFromScope() 303 CancellationSignal cs = mTokenMap.get(token); in unbeam() local 304 if (cs != null) { in unbeam() 305 return cs; in unbeam() 308 cs = new CancellationSignal(); in unbeam() 309 mTokenMap.put(token, cs); in unbeam() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | CharacterStyle.java | 36 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()
|
D | MetricAffectingSpan.java | 62 Passthrough(@NonNull MetricAffectingSpan cs) { in Passthrough() argument 63 mStyle = cs; in Passthrough()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | ClientController.java | 93 final ClientState cs = new ClientState(clientInvoker, inputConnection, in addClient() local 95 mClients.put(clientInvoker.asBinder(), cs); in addClient() local 96 return cs; in addClient() 107 final ClientState cs = mClients.remove(binder); in removeClientAsBinder() local 108 if (cs == null) { in removeClientAsBinder() 111 binder.unlinkToDeath(cs.mClientDeathRecipient, 0 /* flags */); in removeClientAsBinder() 113 mCallbacks.get(i).onClientRemoved(cs); in removeClientAsBinder() 139 final ClientState cs = mClients.get(client.asBinder()); in verifyClientAndPackageMatch() local 140 if (cs == null) { in verifyClientAndPackageMatch() 144 mPackageManagerInternal, cs.mUid, packageName); in verifyClientAndPackageMatch()
|
/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 153 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()
|
/frameworks/av/media/utils/ |
D | MediaUtilsDelayedLibrary.cpp | 24 android::CallStack cs{}; in getCallStackStringForTid() local 25 cs.update(0 /* ignoreDepth */, tid); in getCallStackStringForTid() 26 return cs.toString().c_str(); in getCallStackStringForTid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardBlueprintViewBinder.kt | 86 val cs = in <lambda>() constant 96 logAlphaVisibilityOfAppliedConstraintSet(cs, clockViewModel) in <lambda>() 97 cs.applyTo(constraintLayout) in <lambda>() 113 val cs = in <lambda>() constant 118 logAlphaVisibilityOfAppliedConstraintSet(cs, clockViewModel) in <lambda>() 119 cs.applyTo(constraintLayout) in <lambda>() 128 cs: ConstraintSet, in <lambda>()
|
D | KeyguardPreviewClockViewBinder.kt | 193 val cs = ConstraintSet().apply { clone(rootView) } in <lambda>() constant 194 applyClockDefaultConstraints(context, cs) in <lambda>() 195 previewClock.largeClock.layout.applyPreviewConstraints(cs) in <lambda>() 196 previewClock.smallClock.layout.applyPreviewConstraints(cs) in <lambda>() 212 cs.apply { in <lambda>() 216 cs.applyTo(rootView) in <lambda>()
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 172 const sp<::android::hardware::ICameraService> cs = getCameraService(); in connect() local 175 if (cs != nullptr) { in connect() 179 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect() 188 (cs == nullptr) ? "Service not available" : ret.toString8().c_str()); in connect() 261 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getNumberOfCameras() local 263 if (!cs.get()) { in getNumberOfCameras() 268 binder::Status res = cs->getNumberOfCameras( in getNumberOfCameras() 284 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getCameraInfo() local 285 if (cs == 0) return UNKNOWN_ERROR; in getCameraInfo() 286 binder::Status res = cs->getCameraInfo(cameraId, rotationOverride, deviceId, devicePolicy, in getCameraInfo()
|
/frameworks/base/telephony/java/android/telephony/gba/ |
D | UaSecurityProtocolIdentifier.java | 253 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationInfoTest.java | 52 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() 226 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuildFromBackupPayload() local [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | BlurDrawLooper.cpp | 37 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()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineJustificationTest.kt | 39 private fun makeTextLine(cs: CharSequence, paint: TextPaint) = TextLine.obtain().apply { in <lambda>() 40 set(paint, cs, 0, cs.length, Layout.DIR_LEFT_TO_RIGHT, Layout.DIRS_ALL_LEFT_TO_RIGHT, false, in <lambda>() 44 private fun getClusterCount(cs: CharSequence, paint: TextPaint) = TextLine.LineInfo().apply { in <lambda>() 45 makeTextLine(cs, paint).also { in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/view/layout/blueprints/ |
D | DefaultCommunalBlueprintTest.kt | 40 val cs = ConstraintSet() in applyConstraints() constant 41 blueprint.applyConstraints(cs) in applyConstraints() 42 verify(hubSection).applyConstraints(cs) in applyConstraints()
|
/frameworks/base/core/java/android/service/controls/ |
D | ControlsProviderService.java | 258 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj; 259 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs); 266 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj; 267 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs); 330 SubscriberProxy(boolean enforceStateless, IBinder token, IControlsSubscriber cs) { 333 mCs = cs; 337 IControlsSubscriber cs) { 338 this(enforceStateless, token, cs);
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 181 std::array<std::unique_ptr<ConsumerBuffer>, kMaxConsumerCount> cs; in TEST_F() local 183 cs[i] = ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F() 184 ASSERT_TRUE(cs[i].get() != nullptr); in TEST_F() 186 EXPECT_EQ(client_state_masks & cs[i]->client_state_mask(), 0U); in TEST_F() 187 client_state_masks |= cs[i]->client_state_mask(); in TEST_F() 197 client_state_masks &= ~cs[i]->client_state_mask(); in TEST_F() 198 cs[i] = nullptr; in TEST_F() 199 cs[i] = ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F() 200 ASSERT_TRUE(cs[i].get() != nullptr); in TEST_F() 202 EXPECT_EQ(client_state_masks & cs[i]->client_state_mask(), 0U); in TEST_F() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StringBuilderPerfTest.java | 73 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()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 348 ClockIconDrawable.ClockConstantState cs = new ClockIconDrawable.ClockConstantState( in newIcon() local 350 FastBitmapDrawable d = cs.newDrawable(); in newIcon() 383 ClockIconDrawable(ClockConstantState cs) { in ClockIconDrawable() argument 384 super(cs.mBitmap, cs.mIconColor); in ClockIconDrawable() 385 mBoundsOffset = cs.mBoundsOffset; in ClockIconDrawable() 386 mAnimInfo = cs.mAnimInfo; in ClockIconDrawable() 388 mBG = cs.mBG; in ClockIconDrawable() 389 mBgFilter = cs.mBgFilter; in ClockIconDrawable() 390 mBgPaint.setColorFilter(cs.mBgFilter); in ClockIconDrawable() 391 mThemedFgColor = cs.mThemedFgColor; in ClockIconDrawable()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/ |
D | README.md | 5 - [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/)
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 111 short cs = hsv.y; 115 //chroma = ( cv * cs )/k1; 117 m = ((int)cv*(k1 - (int)cs ))/k1; 119 // chroma == 0 <-> cs == 0 --> m=cv 120 if (cs == 0) { 124 is=(int)cs;
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 111 short cs = hsv.y; 115 //chroma = ( cv * cs )/k1; 117 m = ((int)cv*(k1 - (int)cs ))/k1; 119 // chroma == 0 <-> cs == 0 --> m=cv 120 if (cs == 0) { 124 is=(int)cs;
|