Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 1181) sorted by relevance

12345678910>>...48

/frameworks/native/libs/ui/tests/
DSize_test.cpp39 Size s(123, 456); in TEST() local
65 Size s(123, 456); in TEST() local
72 Size s(123, 456); in TEST() local
78 Size s(123, 456); in TEST() local
84 Size s(123, 456); in TEST() local
90 Size s(123, 456); in TEST() local
98 Size s; in TEST() local
104 Size s(-1, -1); in TEST() local
110 Size s(1, -1000); in TEST() local
116 Size s(-1000, 1); in TEST() local
[all …]
/frameworks/minikin/tests/unittest/
DStringPieceTest.cpp25 StringPiece s(nullptr); in TEST() local
31 StringPiece s(""); in TEST() local
37 StringPiece s("", 0); in TEST() local
43 StringPiece s("abcde"); in TEST() local
51 StringPiece s("abcde", 5); in TEST() local
59 StringPiece s("abcde", 3); in TEST() local
68 StringPiece s(kText + 2, 3); in TEST() local
77 StringPiece s(kText + 2); in TEST() local
87 StringPiece s("abcde"); in TEST() local
97 StringPiece s("mississippi"); in TEST() local
[all …]
/frameworks/base/media/jni/tuner/
DTunerClient.cpp50 Status s = mTunerService->getFrontendIds(&ids); in getFrontendIds() local
62 Status s = mTunerService->openFrontend(frontendHandle, &tunerFrontend); in openFrontend() local
87 Status s = mTunerService->getFrontendInfo(id, &aidlFrontendInfo); in getFrontendInfo() local
100 Status s = mTunerService->openDemux(demuxHandle, &tunerDemux); in openDemux() local
113 Status s = mTunerService->getDemuxInfo(demuxHandle, &aidlDemuxInfo); in getDemuxInfo() local
124 Status s = mTunerService->getDemuxInfoList(demuxInfoList); in getDemuxInfoList() local
134 Status s = mTunerService->getDemuxCaps(&aidlCaps); in getDemuxCaps() local
147 Status s = mTunerService->openDescrambler(descramblerHandle, &tunerDescrambler); in openDescrambler() local
160 Status s = mTunerService->openLnb(lnbHandle, &tunerLnb); in openLnb() local
173 Status s = mTunerService->openLnbByName(lnbName, &tunerLnb); in openLnbByName() local
[all …]
DDemuxClient.cpp45 Status s = mTunerDemux->setFrontendDataSource(frontendClient->getAidlFrontend()); in setFrontendDataSource() local
54 Status s = mTunerDemux->setFrontendDataSourceById(frontendId); in setFrontendDataSourceById() local
71 Status s = mTunerDemux->openFilter(type, bufferSize, callback, &tunerFilter); in openFilter() local
84 Status s = mTunerDemux->openTimeFilter(&tunerTimeFilter); in openTimeFilter() local
101 Status s = mTunerDemux->getAvSyncHwId(filterClient->getAidlFilter(), &hwId); in getAvSyncHwId() local
114 Status s = mTunerDemux->getAvSyncTime(avSyncHwId, &time); in getAvSyncTime() local
133 Status s = mTunerDemux->openDvr(dvbType, bufferSize, callback, &tunerDvr); in openDvr() local
145 Status s = mTunerDemux->connectCiCam(ciCamId); in connectCiCam() local
154 Status s = mTunerDemux->disconnectCiCam(); in disconnectCiCam() local
163 Status s = mTunerDemux->close(); in close() local
DFrontendClient.cpp43 Status s = mTunerFrontend->setCallback(aidlCallback); in setCallback() local
52 Status s = mTunerFrontend->tune(settings); in tune() local
61 Status s = mTunerFrontend->stopTune(); in stopTune() local
70 Status s = mTunerFrontend->scan(settings, type); in scan() local
79 Status s = mTunerFrontend->stopScan(); in stopScan() local
98 Status s = mTunerFrontend->setLnb(lnbClient->getAidlLnb()); in setLnb() local
109 Status s = mTunerFrontend->linkCiCamToFrontend(ciCamId, &ltsId); in linkCiCamToFrontend() local
120 Status s = mTunerFrontend->unlinkCiCamToFrontend(ciCamId); in unlinkCiCamToFrontend() local
129 Status s = mTunerFrontend->close(); in close() local
139 Status s = mTunerFrontend->getHardwareInfo(&info); in getHardwareInfo() local
[all …]
DFilterClient.cpp80 Status s = mTunerFilter->configure(configure); in configure() local
94 Status s = mTunerFilter->configureMonitorEvent(monitorEventType); in configureMonitorEvent() local
104 Status s = mTunerFilter->configureIpFilterContextId(cid); in configureIpFilterContextId() local
114 Status s = mTunerFilter->configureAvStreamType(avStreamType); in configureAvStreamType() local
124 Status s = mTunerFilter->start(); in start() local
134 Status s = mTunerFilter->stop(); in stop() local
144 Status s = mTunerFilter->flush(); in flush() local
154 Status s = mTunerFilter->getId(&id); in getId() local
164 Status s = mTunerFilter->getId64Bit(&id); in getId64Bit() local
174 Status s = mTunerFilter->releaseAvHandle(dupToAidl(handle), avDataId); in releaseAvHandle() local
[all …]
DTimeFilterClient.cpp43 Status s = mTunerTimeFilter->setTimeStamp(timeStamp); in setTimeStamp() local
52 Status s = mTunerTimeFilter->clearTimeStamp(); in clearTimeStamp() local
62 Status s = mTunerTimeFilter->getTimeStamp(&timeStamp); in getTimeStamp() local
75 Status s = mTunerTimeFilter->getTimeStamp(&sourceTime); in getSourceTime() local
87 Status s = mTunerTimeFilter->close(); in close() local
DLnbClient.cpp39 Status s = mTunerLnb->setCallback(aidlCallback); in setCallback() local
48 Status s = mTunerLnb->setVoltage(voltage); in setVoltage() local
57 Status s = mTunerLnb->setTone(tone); in setTone() local
66 Status s = mTunerLnb->setSatellitePosition(position); in setSatellitePosition() local
75 Status s = mTunerLnb->sendDiseqcMessage(diseqcMessage); in sendDiseqcMessage() local
84 Status s = mTunerLnb->close(); in close() local
DDescramblerClient.cpp41 Status s = mTunerDescrambler->setDemuxSource(demuxClient->getAidlDemux()); in setDemuxSource() local
50 Status s = mTunerDescrambler->setKeyToken(keyToken); in setKeyToken() local
61 Status s = mTunerDescrambler->addPid(pid, aidlFilter); in addPid() local
72 Status s = mTunerDescrambler->removePid(pid, aidlFilter); in removePid() local
81 Status s = mTunerDescrambler->close(); in close() local
DDvrClient.cpp215 Status s = mTunerDvr->configure(settings); in configure() local
241 Status s = mTunerDvr->attachFilter(filterClient->getAidlFilter()); in attachFilter() local
254 Status s = mTunerDvr->detachFilter(filterClient->getAidlFilter()); in detachFilter() local
263 Status s = mTunerDvr->start(); in start() local
272 Status s = mTunerDvr->stop(); in stop() local
281 Status s = mTunerDvr->flush(); in flush() local
299 Status s = mTunerDvr->close(); in close() local
314 Status s = mTunerDvr->setStatusCheckIntervalHint(durationInMs); in setStatusCheckIntervalHint() local
/frameworks/av/services/camera/libcameraservice/common/
DHalConversionsTemplated.h27 const CameraDeviceStatus& s) { in mapFrameworkToHalCameraDeviceStatus()
42 const HalCameraDeviceStatus& s) { in HalToFrameworkCameraDeviceStatus()
57 const HalCameraResourceCost& s) { in HalToFrameworkResourceCost()
68 const HalTorchModeStatus& s) { in HalToFrameworkTorchModeStatus()
82 const char* HalDeviceStatusToString(const HalCameraDeviceStatus& s) { in HalDeviceStatusToString()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceHintManagerTest.java82 Session s = createSession(); in testUpdateTargetWorkDuration() local
89 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration() local
98 Session s = createSession(); in testReportActualWorkDuration() local
108 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument() local
118 Session s = createSession(); in testSendHint() local
127 Session s = createSession(); in testSendHintWithNegativeHint() local
136 Session s = createSession(); in testCloseHintSession() local
/frameworks/rs/driver/runtime/
Drs_sampler.c8 rsSamplerGetMinification(rs_sampler s) { in rsSamplerGetMinification()
17 rsSamplerGetMagnification(rs_sampler s) { in rsSamplerGetMagnification()
26 rsSamplerGetWrapS(rs_sampler s) { in rsSamplerGetWrapS()
35 rsSamplerGetWrapT(rs_sampler s) { in rsSamplerGetWrapT()
44 rsSamplerGetAnisotropy(rs_sampler s) { in rsSamplerGetAnisotropy()
/frameworks/base/core/java/android/app/slice/
DSliceQuery.java83 public static List<SliceItem> findAll(SliceItem s, String type) { in findAll()
90 public static List<SliceItem> findAll(SliceItem s, String type, String hints, String nonHints) { in findAll()
97 public static List<SliceItem> findAll(SliceItem s, String type, String[] hints, in findAll()
107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { in find()
114 public static SliceItem find(Slice s, String type) { in find()
121 public static SliceItem find(SliceItem s, String type) { in find()
128 public static SliceItem find(SliceItem s, String type, String hints, String nonHints) { in find()
135 public static SliceItem find(Slice s, String type, String[] hints, String[] nonHints) { in find()
144 public static SliceItem find(SliceItem s, String type, String[] hints, String[] nonHints) { in find()
/frameworks/rs/driver/
DrsdBcc.cpp56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, in rsdInitIntrinsic()
69 Script *s, in rsdScriptInvokeForEach()
89 Script *s, in rsdScriptInvokeForEachMulti()
103 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot()
108 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit()
113 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren()
118 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction()
126 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce()
135 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar()
141 void rsdScriptGetGlobalVar(const Context *dc, const Script *s, in rsdScriptGetGlobalVar()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_fp16.java36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { in initializeGlobals()
58 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf()
79 private void TestHalf2(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf2()
100 private void TestHalf3(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf3()
121 private void TestHalf4(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf4()
145 ScriptC_fp16 s = new ScriptC_fp16(pRS); in run() local
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java75 SpannableString s = new SpannableString("Hello there world"); in testWrapParcel() local
115 private void checkPriority(Spannable s) { in checkPriority()
175 public void onSpanChanged(Spannable b, Object o, int s, int e, int st, int en) { } in onSpanChanged()
178 public void onSpanRemoved(Spannable b, Object o, int s, int e) { } in onSpanRemoved()
181 public void onSpanAdded(Spannable b, Object o, int s, int e) { in onSpanAdded()
189 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } in beforeTextChanged()
192 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged()
200 public void afterTextChanged(Editable s) { } in afterTextChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java62 State s = new State(); in testNoFirstAnimation() local
85 State s = new State(); in testMutateIconDrawable() local
101 State s = new State(); in testNoFirstFade() local
113 State s = new State(); in testStateSetCorrectly_toString() local
146 State s = new State(); in testIconStartedAndStoppedWhenAllowAnimationsFalse() local
165 State s = new State(); in testAnimatorCallbackRemovedOnOldDrawable() local
/frameworks/av/media/module/foundation/
DAString.cpp45 AString::AString(const char *s) in AString()
57 AString::AString(const char *s, size_t size) in AString()
114 void AString::setTo(const char *s) { in setTo()
118 void AString::setTo(const char *s, size_t size) { in setTo()
187 void AString::append(const char *s) { in append()
191 void AString::append(const char *s, size_t size) { in append()
214 char s[16]; in append() local
221 char s[16]; in append() local
228 char s[32]; in append() local
235 char s[32]; in append() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DStringIterationPerfTest.java37 String s = "hello, world!"; in timeStringIteration0() local
49 String s = "hello, world!"; in timeStringIteration1() local
61 String s = "hello, world!"; in timeStringIteration2() local
74 String s = "hello, world!"; in timeStringToCharArray() local
/frameworks/native/cmds/lshal/
DTextTable.h38 explicit TextTableRow(std::string&& s) : mLine(std::move(s)) {} in TextTableRow()
39 explicit TextTableRow(const std::string& s) : mLine(s) {} in TextTableRow()
65 void add(const std::string& s) { mTable.emplace_back(s); } in add()
66 void add(std::string&& s) { mTable.emplace_back(std::move(s)); } in add()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java51 String s = (i / 3 + "[ " + df.f(mVert[i])); in print() local
63 public void scale(float[] s) { in scale()
71 public void scale(double[] s) { in scale()
105 String[] s = lnr.readLine().split("\\s"); in read() local
116 String[] s = lnr.readLine().split("\\s"); in read() local
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
Dtypes.cpp70 void copyVector(DstVector* d, const SrcVector& s) { in copyVector()
83 bool objcpy(ParamField *d, const C2ParamField &s) { in objcpy()
103 bool objcpy(WorkOrdinal *d, const C2WorkOrdinalStruct &s) { in objcpy()
111 bool objcpy(C2WorkOrdinalStruct *d, const WorkOrdinal &s) { in objcpy()
121 const decltype(C2FieldSupportedValues::range)& s) { in objcpy()
131 bool objcpy(FieldSupportedValues *d, const C2FieldSupportedValues &s) { in objcpy()
171 const ValueRange& s) { in objcpy()
181 bool objcpy(C2FieldSupportedValues *d, const FieldSupportedValues &s) { in objcpy()
218 const C2FieldSupportedValuesQuery& s) { in objcpy()
242 const FieldSupportedValuesQuery& s) { in objcpy()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSms7BitEncodingTranslatorTest.java64 String s = null; in testCommonTranslate() local
78 String s = null; in testGsmTranslate() local
92 String s = null; in testCdmaTranslate() local
/frameworks/native/libs/gui/
DBufferQueueCore.cpp135 for (int s = 0; s < numStartingBuffers; s++) { in BufferQueueCore() local
138 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore() local
191 for (int s : mActiveBuffers) { in dumpState() local
208 for (int s : mFreeBuffers) { in dumpState() local
217 for (int s : mFreeSlots) { in dumpState() local
280 for (int s : mFreeSlots) { in freeAllBuffersLocked() local
284 for (int s : mFreeBuffers) { in freeAllBuffersLocked() local
290 for (int s : mActiveBuffers) { in freeAllBuffersLocked() local
317 for (int s : mFreeBuffers) { in discardFreeBuffersLocked() local

12345678910>>...48