Home
last modified time | relevance | path

Searched refs:mComponent (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp33 mComponent(new OMX_COMPONENTTYPE), in SoftOMXComponent()
35 mComponent->nSize = sizeof(*mComponent); in SoftOMXComponent()
36 mComponent->nVersion.s.nVersionMajor = 1; in SoftOMXComponent()
37 mComponent->nVersion.s.nVersionMinor = 0; in SoftOMXComponent()
38 mComponent->nVersion.s.nRevision = 0; in SoftOMXComponent()
39 mComponent->nVersion.s.nStep = 0; in SoftOMXComponent()
40 mComponent->pComponentPrivate = this; in SoftOMXComponent()
41 mComponent->pApplicationPrivate = appData; in SoftOMXComponent()
43 mComponent->GetComponentVersion = NULL; in SoftOMXComponent()
44 mComponent->SendCommand = SendCommandWrapper; in SoftOMXComponent()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp72 mClient->createComponent(mComponentName.c_str(), mListener, &mComponent); in SetUp()
73 ASSERT_NE(mComponent, nullptr); in SetUp()
80 if (mComponent != nullptr) { in TearDown()
85 mComponent->release(); in TearDown()
86 mComponent = nullptr; in TearDown()
100 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
115 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon899a80290111::Codec2ComponentHidlTestBase
135 c2_status_t err = mComponent->start(); in TEST_P()
139 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P()
142 err = mComponent->stop(); in TEST_P()
[all …]
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java57 private ComponentName mComponent = null; field in Dpm
188 mComponent = parseComponentName(nextArgRequired()); in parseArgs()
193 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin()
195 System.out.println("Success: Active admin set to component " + mComponent.toShortString()); in runSetActiveAdmin()
200 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetDeviceOwner()
203 if (!mDevicePolicyManager.setDeviceOwner(mComponent, mName, mUserId)) { in runSetDeviceOwner()
205 "Can't set package " + mComponent + " as device owner."); in runSetDeviceOwner()
209 mDevicePolicyManager.removeActiveAdmin(mComponent, UserHandle.USER_SYSTEM); in runSetDeviceOwner()
216 System.out.println("Success: Device owner set to package " + mComponent); in runSetDeviceOwner()
217 System.out.println("Active admin set to component " + mComponent.toShortString()); in runSetDeviceOwner()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp72 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
73 ASSERT_NE(mComponent, nullptr); in SetUp()
114 if (mComponent != nullptr) { in TearDown()
116 mComponent->release(); in TearDown()
117 mComponent = nullptr; in TearDown()
177 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
219 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon236960070111::Codec2VideoEncHidlTestBase
292 status = mComponent->config({param.get()}, C2_DONT_BLOCK, &failures); in setupConfigParam()
401 validateComponent(mComponent, mCompName, mDisableTest); in TEST_P()
454 c2_status_t c2_status = mComponent->query({}, {C2StreamGopTuning::output::PARAM_TYPE}, in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp80 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
81 ASSERT_NE(mComponent, nullptr); in SetUp()
120 mComponent->query({&secureModeTuning}, {}, C2_MAY_BLOCK, nullptr); in SetUp()
129 if (mComponent != nullptr) { in TearDown()
131 mComponent->release(); in TearDown()
132 mComponent = nullptr; in TearDown()
223 mComponent->query({&reorderBufferDepth}, {}, C2_MAY_BLOCK, in handleWorkDone()
263 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
309 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon79ad909d0111::Codec2VideoDecHidlTestBase
520 validateComponent(mComponent, mCompName, mDisableTest); in TEST_P()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp71 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
72 ASSERT_NE(mComponent, nullptr); in SetUp()
110 if (mComponent != nullptr) { in TearDown()
112 mComponent->release(); in TearDown()
113 mComponent = nullptr; in TearDown()
154 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
202 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon38ecc9b30111::Codec2AudioDecHidlTestBase
464 ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mCompName, bitStreamInfo)); in validateTimestampList()
489 validateComponent(mComponent, mCompName, mDisableTest); in TEST_P()
496 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp70 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
71 ASSERT_NE(mComponent, nullptr); in SetUp()
106 if (mComponent != nullptr) { in TearDown()
108 mComponent->release(); in TearDown()
109 mComponent = nullptr; in TearDown()
131 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
168 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anone2a8991d0111::Codec2AudioEncHidlTestBase
179 c2_status_t status = mComponent->query({}, {C2StreamMaxBufferSizeInfo::input::PARAM_TYPE}, in getInputMaxBufSize()
398 validateComponent(mComponent, mCompName, mDisableTest); in TEST_P()
436 if (!setupConfigParam(mComponent, nChannels, nSampleRate)) { in TEST_P()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java60 private ComponentName mComponent; field in JobStoreTest
75 mComponent = new ComponentName(getContext().getPackageName(), StubClass.class.getName()); in setUp()
111 final JobInfo task = new Builder(taskId, mComponent) in testMaybeWriteStatusToDisk()
143 final JobInfo task1 = new Builder(8, mComponent) in testWritingTwoFilesToDisk()
149 final JobInfo task2 = new Builder(12, mComponent) in testWritingTwoFilesToDisk()
193 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithExtras()
219 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithSourcePackage()
242 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithFlex()
266 JobInfo.Builder b = new Builder(8, mComponent) in testMassivePeriodClampedOnRead()
301 JobInfo.Builder b = new Builder(92, mComponent) in testPriorityPersisted()
[all …]
DJobSetTest.java58 private ComponentName mComponent; field in JobSetTest
64 mComponent = new ComponentName(mContext, JobStoreTest.class); in setUp()
77 final JobInfo jobInfo = new JobInfo.Builder(jobId, mComponent) in getJobStatusWithCallinUid()
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponent.cpp48 mComponent(component), in Listener()
109 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()
130 wp<Component> mComponent; member
136 std::shared_ptr<Component> mComponent; member
140 return mComponent->queue(workBundle); in queue()
164 : mComponent{component}, in Sink()
181 sSink2Component.emplace(this, component->mComponent);
206 : mComponent{component}, in Component()
237 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
242 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponent.cpp48 mComponent(component), in Listener()
109 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()
130 wp<Component> mComponent; member
136 std::shared_ptr<Component> mComponent; member
140 return mComponent->queue(workBundle); in queue()
164 : mComponent{component}, in Sink()
181 sSink2Component.emplace(this, component->mComponent);
206 : mComponent{component}, in Component()
237 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
242 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp56 mComponent = mClient->CreateComponentByName(compName.c_str(), mListener, &mClient); in createCodec2Component()
57 if (mComponent == nullptr) { in createCodec2Component()
62 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
68 status |= mComponent->start(); in createCodec2Component()
134 status = mComponent->queue(&items); in decodeFrames()
148 if (!mComponent) return; in deInitCodec()
151 mComponent->stop(); in deInitCodec()
152 mComponent->release(); in deInitCodec()
153 mComponent = nullptr; in deInitCodec()
DC2Decoder.h26 C2Decoder() : mOffset(0), mNumInputFrame(0), mComponent(nullptr) {} in C2Decoder()
44 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java40 final ComponentName mComponent; field in PersistentPreferredActivity
45 mComponent = activity; in PersistentPreferredActivity()
51 mComponent = ComponentName.unflattenFromString(shortComponent); in PersistentPreferredActivity()
52 if (mComponent == null) { in PersistentPreferredActivity()
90 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString()); in writeToXml()
100 + " " + mComponent.flattenToShortString() in toString()
/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java82 private final ComponentName mComponent; field in ManagedApplicationService
157 mComponent = component; in ManagedApplicationService()
233 return mComponent; in getComponent()
301 Intent intent = new Intent().setComponent(mComponent); in connect()
320 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
341 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
382 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
410 return Objects.equals(mComponent, component) && mUserId == userId; in matches()
451 Slog.e(TAG, "Service " + mComponent + " has died too much, not retrying."); in checkAndDeliverServiceDiedCbLocked()
455 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in checkAndDeliverServiceDiedCbLocked()
[all …]
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp71 mComponent = mClient->CreateComponentByName(compName.c_str(), mListener, &mClient); in createCodec2Component()
72 if (mComponent == nullptr) { in createCodec2Component()
77 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
83 status |= mComponent->start(); in createCodec2Component()
94 c2_status_t status = mComponent->query({}, {C2StreamMaxBufferSizeInfo::input::PARAM_TYPE}, in getInputMaxBufSize()
228 status = mComponent->queue(&items); in encodeFrames()
243 if (!mComponent) return; in deInitCodec()
246 mComponent->stop(); in deInitCodec()
247 mComponent->release(); in deInitCodec()
248 mComponent = nullptr; in deInitCodec()
DC2Encoder.h37 mComponent(nullptr) {} in C2Encoder()
63 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java66 private final ComponentName mComponent; field in CustomTile
85 mComponent = ComponentName.unflattenFromString(action); in CustomTile()
113 ServiceInfo info = pm.getServiceInfo(mComponent, flags); in updateDefaultTileAndIcon()
120 .createWithResource(mComponent.getPackageName(), icon) : null; in updateDefaultTileAndIcon()
138 return pm.getApplicationInfo(mComponent.getPackageName(), 0).isSystemApp(); in isSystemApp()
180 return mComponent; in getComponent()
185 return super.populate(logMaker).setComponentName(mComponent); in populate()
271 i.setPackage(mComponent.getPackageName()); in getLongClickIntent()
274 i.putExtra(Intent.EXTRA_COMPONENT_NAME, mComponent); in getLongClickIntent()
279 Uri.fromParts("package", mComponent.getPackageName(), null)); in getLongClickIntent()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java108 private ComponentName mComponent; field in ActivityTestsBase.ActivityBuilder
133 mComponent = component; in setComponent()
243 if (mComponent == null) { in buildInner()
245 mComponent = ComponentName.createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, in buildInner()
251 .setComponent(mComponent) in buildInner()
260 intent.setComponent(mComponent); in buildInner()
267 aInfo.applicationInfo.packageName = mComponent.getPackageName(); in buildInner()
270 aInfo.packageName = mComponent.getPackageName(); in buildInner()
271 aInfo.name = mComponent.getClassName(); in buildInner()
332 private ComponentName mComponent; field in ActivityTestsBase.TaskBuilder
[all …]
/frameworks/rs/
DrsElement.h93 const Component & getComponent() const {return mComponent;} in getComponent()
94 RsDataType getType() const {return mComponent.getType();} in getType()
95 RsDataKind getKind() const {return mComponent.getKind();} in getKind()
98 uint32_t getVectorSize() const {return mComponent.getVectorSize();} in getVectorSize()
159 Component mComponent; variable
DrsElement.cpp98 mComponent.dumpLOGV(prefix); in dumpLOGV()
112 mComponent.serialize(stream); in serialize()
173 mHal.state.dataType = mComponent.getType(); in compute()
174 mHal.state.dataKind = mComponent.getKind(); in compute()
175 mHal.state.vectorSize = mComponent.getVectorSize(); in compute()
178 mBits = mComponent.getBits(); in compute()
179 mBitsUnpadded = mComponent.getBitsUnpadded(); in compute()
180 mHasReference = mComponent.isReference(); in compute()
259 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef()
352 if (mComponent.isReference()) { in incRefs()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java77 final ComponentName mComponent; field in VoiceInteractionManagerServiceImpl
133 mComponent = service; in VoiceInteractionManagerServiceImpl()
188 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in getActiveServiceSupportedActions()
233 return mAtm.startVoiceActivity(mComponent.getPackageName(), callingFeatureId, in startVoiceActivityLocked()
256 return mAtm.startAssistantActivity(mComponent.getPackageName(), callingFeatureId, in startAssistantActivityLocked()
388 pw.print(" mComponent="); pw.println(mComponent.flattenToShortString()); in dumpLocked()
410 intent.setComponent(mComponent); in startLocked()
416 Slog.w(TAG, "Failed binding to voice interaction service " + mComponent); in startLocked()
422 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in launchVoiceAssistFromKeyguard()
458 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in notifySoundModelsChangedLocked()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java71 private LeakCheck.Tracker mComponent; field in TestableContext
89 mComponent = check != null ? check.getTracker("component") : null; in TestableContext()
298 if (mComponent != null) mComponent.getLeakInfo(callback).addAllocation(new Throwable()); in registerComponentCallbacks()
304 if (mComponent != null) mComponent.getLeakInfo(callback).clearAllocations(); in unregisterComponentCallbacks()
/frameworks/base/core/java/android/content/
DIntent.java6712 private ComponentName mComponent; field in Intent
6758 this.mComponent = o.mComponent; in Intent()
6858 mComponent = new ComponentName(packageContext, cls); in Intent()
6888 mComponent = new ComponentName(packageContext, cls); in Intent()
7096 intent.mComponent = ComponentName.unflattenFromString(value); in parseUri()
7287 intent.mComponent = new ComponentName(pkg, cls);
7959 if (mComponent != null) { in resolveTypeIfNeeded()
8661 return mComponent; in getComponent()
8721 if (mComponent != null) { in resolveActivity()
8722 return mComponent; in resolveActivity()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp172 mComponent = component; in setComponent()
181 return mInputSurface->connect(mComponent); in setInputSurface()
266 c2_status_t err = mComponent->queue(&items); in queueInputBufferInternal()
291 err = mComponent->queue(&items); in queueInputBufferInternal()
814 status_t result = mComponent->queueToOutputSurface(block, qbi, &qbo); in renderOutputBuffer()
886 c2_status_t err = mComponent->query( in start()
915 bool secure = mComponent->getName().find(".secure") != std::string::npos; in start()
941 err = mComponent->query({ &featuresSetting }, in start()
1088 err = mComponent->query({ }, in start()
1116 err = mComponent->query({ }, in start()
[all …]

12