/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/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/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/camera/ |
D | CameraBase.cpp | 160 const sp<::android::hardware::ICameraService> cs = getCameraService(); in connect() local 163 if (cs != nullptr) { in connect() 165 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect() 173 (cs == nullptr) ? "Service not available" : ret.toString8().string()); in connect() 246 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getNumberOfCameras() local 248 if (!cs.get()) { in getNumberOfCameras() 253 binder::Status res = cs->getNumberOfCameras( in getNumberOfCameras() 268 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getCameraInfo() local 269 if (cs == 0) return UNKNOWN_ERROR; in getCameraInfo() 270 binder::Status res = cs->getCameraInfo(cameraId, cameraInfo); 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/libs/hwui/hwui/ |
D | BlurDrawLooper.cpp | 35 sk_sp<BlurDrawLooper> BlurDrawLooper::Make(SkColor4f color, SkColorSpace* cs, float blurSigma, in Make() argument 37 if (cs) { in Make() 39 tmp.setColor(color, cs); // converts color to sRGB in Make()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationInfoTest.java | 50 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuild() local 70 .addOrUpdateStatus(cs) in testBuild() 91 assertThat(conversationInfo.getStatuses()).contains(cs); in testBuild() 123 ConversationStatus cs = new ConversationStatus.Builder("id", ACTIVITY_ANNIVERSARY).build(); in testBuildFromAnotherConversationInfo() local 141 .addOrUpdateStatus(cs) in testBuildFromAnotherConversationInfo() 164 assertThat(destination.getStatuses()).contains(cs); in testBuildFromAnotherConversationInfo()
|
/frameworks/base/core/java/android/service/controls/ |
D | ControlsProviderService.java | 185 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj; 186 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs); 193 final IControlsSubscriber cs = (IControlsSubscriber) msg.obj; 194 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs); 256 SubscriberProxy(boolean enforceStateless, IBinder token, IControlsSubscriber cs) { 259 mCs = cs; 263 IControlsSubscriber cs) { 264 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/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;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/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/ImageProcessing/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/av/services/camera/libcameraservice/hidl/ |
D | HidlCameraService.h | 75 static sp<HidlCameraService> getInstance(android::CameraService *cs); 78 HidlCameraService(android::CameraService *cs) : mAidlICameraService(cs) { }; in HidlCameraService()
|
/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/ex/common/java/com/android/common/ |
D | Rfc822Validator.java | 150 public CharSequence fixText(CharSequence cs) { in fixText() argument 152 if (TextUtils.getTrimmedLength(cs) == 0) return ""; in fixText() 154 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs); in fixText()
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 261 sk_sp<SkColorSpace> cs; in ABitmap_compress() local 266 cs = nullptr; in ABitmap_compress() 268 cs = uirenderer::DataSpaceToColorSpace((android_dataspace) dataSpace); in ABitmap_compress() 271 if (!cs || dataSpace == ADATASPACE_UNKNOWN) { in ABitmap_compress() 284 SkImageInfo::Make(info->width, info->height, colorType, alphaType, std::move(cs)); in ABitmap_compress()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 911 ColorSpace cs = source.getColorSpace(); in createBitmap() local 914 bitmap = createBitmap(null, neww, newh, newConfig, source.hasAlpha(), cs); in createBitmap() 928 if (cs == null) { in createBitmap() 929 cs = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap() 935 transformed || source.hasAlpha(), cs); in createBitmap() 1864 ColorSpace cs = Color.colorSpace(color); in eraseColor() local 1865 nativeErase(mNativePtr, cs.getNativeInstance(), color); in eraseColor() 1889 private static float clamp(float value, @NonNull ColorSpace cs, int index) { in clamp() argument 1890 return Math.max(Math.min(value, cs.getMaxValue(index)), cs.getMinValue(index)); in clamp() 1912 final ColorSpace cs = getColorSpace(); in getColor() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextPerfUtils.java | 101 CharSequence cs = CharBuffer.wrap(buffer); in nextRandomParagraph() local 103 return cs; in nextRandomParagraph() 106 SpannableStringBuilder ssb = new SpannableStringBuilder(cs); in nextRandomParagraph()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 377 final ConversationStore cs = packageData.getConversationStore(); in pruneExpiredConversationStatuses() 388 updateConversationStoreThenNotifyListeners(cs, builder.build(), in pruneExpiredConversationStatuses() 420 ConversationStore cs = getConversationStoreOrThrow(packageName, userId); in addOrUpdateStatus() local 421 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in addOrUpdateStatus() 424 updateConversationStoreThenNotifyListeners(cs, builder.build(), packageName, userId); in addOrUpdateStatus() 435 ConversationStore cs = getConversationStoreOrThrow(packageName, userId); in clearStatus() local 436 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in clearStatus() 439 updateConversationStoreThenNotifyListeners(cs, builder.build(), packageName, userId); in clearStatus() 443 ConversationStore cs = getConversationStoreOrThrow(packageName, userId); in clearStatuses() local 444 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in clearStatuses() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 306 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()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/ |
D | CloudPrintPlugin.java | 134 byte[] cs = caseInsensitiveAttributes.get(ATTRIBUTE_CS); in CloudPrintPlugin() 135 if (cs == null || !POSSIBLE_CONNECTION_STATES.contains( in CloudPrintPlugin() 136 new String(cs, StandardCharsets.UTF_8).toLowerCase())) { in CloudPrintPlugin()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 1733 final ClientState cs = mClients.get(clientToBeReset.asBinder()); in switchUserOnHandlerLocked() local 1734 if (cs == null) { in switchUserOnHandlerLocked() 1739 cs.client.scheduleStartInputIfNecessary(mInFullscreenMode); in switchUserOnHandlerLocked() 2203 ClientState cs = mClients.remove(client.asBinder()); in removeClient() local 2204 if (cs != null) { in removeClient() 2205 client.asBinder().unlinkToDeath(cs.clientDeathRecipient, 0); in removeClient() 2206 clearClientSessionLocked(cs); in removeClient() 2207 if (mCurClient == cs) { in removeClient() 2219 if (mCurFocusedWindowClient == cs) { in removeClient() 2325 InputBindResult startInputUncheckedLocked(@NonNull ClientState cs, IInputContext inputContext, in startInputUncheckedLocked() argument [all …]
|
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
D | camera_service_fuzzer.cpp | 100 CameraFuzzer(sp<CameraService> cs, std::shared_ptr<FuzzedDataProvider> fp) : in CameraFuzzer() argument 101 mCameraService(cs), mFuzzedDataProvider(fp) {}; in CameraFuzzer() 513 Camera2Fuzzer(sp<CameraService> cs, std::shared_ptr<FuzzedDataProvider> fp) : in Camera2Fuzzer() argument 514 mCameraService(cs), mFuzzedDataProvider(fp) { }; in Camera2Fuzzer() 590 sp<CameraService> cs = new CameraService(); in LLVMFuzzerTestOneInput() local 591 cs->clearCachedVariables(); in LLVMFuzzerTestOneInput() 592 sp<CameraFuzzer> camerafuzzer = new CameraFuzzer(cs, fp); in LLVMFuzzerTestOneInput() 597 Camera2Fuzzer camera2fuzzer(cs, fp); in LLVMFuzzerTestOneInput()
|