Home
last modified time | relevance | path

Searched refs:mComponent (Results 1 – 25 of 43) 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.cpp77 &mComponent); in SetUp()
78 ASSERT_NE(mComponent, nullptr); in SetUp()
85 if (mComponent != nullptr) { in TearDown()
90 mComponent->release(); in TearDown()
91 mComponent = nullptr; in TearDown()
102 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, in handleWorkDone()
115 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon899a80290111::Codec2ComponentHidlTest
126 c2_status_t err = mComponent->start(); in TEST_F()
130 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
133 err = mComponent->stop(); in TEST_F()
[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.cpp78 &mComponent); in SetUp()
79 ASSERT_NE(mComponent, nullptr); in SetUp()
123 if (mComponent != nullptr) { in TearDown()
125 mComponent->release(); in TearDown()
126 mComponent = nullptr; in TearDown()
177 workDone(mComponent, work, mFlushedIndices, mQueueLock, in handleWorkDone()
217 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon236960070111::Codec2VideoEncHidlTest
272 mComponent->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
385 validateComponent(mComponent, mCompName, mDisableTest); in TEST_F()
426 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp88 &mComponent); in SetUp()
89 ASSERT_NE(mComponent, nullptr); in SetUp()
129 mComponent->query({ &secureModeTuning }, {}, C2_MAY_BLOCK, nullptr); in SetUp()
138 if (mComponent != nullptr) { in TearDown()
140 mComponent->release(); in TearDown()
141 mComponent = nullptr; in TearDown()
187 workDone(mComponent, work, mFlushedIndices, mQueueLock, in handleWorkDone()
225 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon79ad909d0111::Codec2VideoDecHidlTest
425 validateComponent(mComponent, mCompName, mDisableTest); in TEST_F()
468 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp85 &mComponent); in SetUp()
86 ASSERT_NE(mComponent, nullptr); in SetUp()
137 if (mComponent != nullptr) { in TearDown()
139 mComponent->release(); in TearDown()
140 mComponent = nullptr; in TearDown()
173 workDone(mComponent, work, mFlushedIndices, mQueueLock, in handleWorkDone()
218 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon38ecc9b30111::Codec2AudioDecHidlTest
487 validateComponent(mComponent, mCompName, mDisableTest); in TEST_F()
494 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F()
497 getInputChannelInfo(mComponent, mCompName, bitStreamInfo)); in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp79 &mComponent); in SetUp()
80 ASSERT_NE(mComponent, nullptr); in SetUp()
123 if (mComponent != nullptr) { in TearDown()
125 mComponent->release(); in TearDown()
126 mComponent = nullptr; in TearDown()
134 workDone(mComponent, work, mFlushedIndices, mQueueLock, in handleWorkDone()
167 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anone2a8991d0111::Codec2AudioEncHidlTest
178 c2_status_t status = mComponent->query( in getInputMaxBufSize()
370 validateComponent(mComponent, mCompName, mDisableTest); in TEST_F()
421 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.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()
236 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
241 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java39 final ComponentName mComponent; field in PersistentPreferredActivity
43 mComponent = activity; in PersistentPreferredActivity()
48 mComponent = ComponentName.unflattenFromString(shortComponent); in PersistentPreferredActivity()
49 if (mComponent == null) { in PersistentPreferredActivity()
85 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString()); in writeToXml()
94 + " " + mComponent.flattenToShortString() + "}"; in toString()
DPreferredComponent.java46 public final ComponentName mComponent; field in PreferredComponent
68 mComponent = component; in PreferredComponent()
104 mComponent = ComponentName.unflattenFromString(mShortComponent); in PreferredComponent()
105 if (mComponent == null) { in PreferredComponent()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp54 mComponent = mClient->CreateComponentByName(compName.c_str(), mListener, &mClient); in createCodec2Component()
55 if (mComponent == nullptr) { in createCodec2Component()
60 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
66 status |= mComponent->start(); in createCodec2Component()
132 status = mComponent->queue(&items); in decodeFrames()
146 if (!mComponent) return; in deInitCodec()
149 mComponent->stop(); in deInitCodec()
150 mComponent->release(); in deInitCodec()
151 mComponent = nullptr; in deInitCodec()
DC2Decoder.h30 C2Decoder() : mOffset(0), mNumInputFrame(0), mComponent(nullptr) {} in C2Decoder()
49 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
/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()
64 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java64 private final ComponentName mComponent; field in CustomTile
81 mComponent = ComponentName.unflattenFromString(action); in CustomTile()
103 ServiceInfo info = pm.getServiceInfo(mComponent, flags); in updateDefaultTileAndIcon()
110 .createWithResource(mComponent.getPackageName(), icon) : null; in updateDefaultTileAndIcon()
128 return pm.getApplicationInfo(mComponent.getPackageName(), 0).isSystemApp(); in isSystemApp()
170 return mComponent; in getComponent()
175 return super.populate(logMaker).setComponentName(mComponent); in populate()
256 i.setPackage(mComponent.getPackageName()); in getLongClickIntent()
259 i.putExtra(Intent.EXTRA_COMPONENT_NAME, mComponent); in getLongClickIntent()
264 Uri.fromParts("package", mComponent.getPackageName(), null)); in getLongClickIntent()
/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(), callingPid, callingUid, in startVoiceActivityLocked()
256 return mAtm.startAssistantActivity(mComponent.getPackageName(), callingPid, callingUid, 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/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java203 private ComponentName mComponent; field in ActivityTestsBase.ActivityBuilder
219 mComponent = component; in setComponent()
274 if (mComponent == null) { in build()
276 mComponent = ComponentName.createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, in build()
282 .setComponent(mComponent) in build()
287 intent.setComponent(mComponent); in build()
290 aInfo.applicationInfo.packageName = mComponent.getPackageName(); in build()
292 aInfo.packageName = mComponent.getPackageName(); in build()
293 aInfo.name = mComponent.getClassName(); in build()
339 private ComponentName mComponent; field in ActivityTestsBase.TaskBuilder
[all …]
/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.java6559 private ComponentName mComponent; field in Intent
6605 this.mComponent = o.mComponent; in Intent()
6705 mComponent = new ComponentName(packageContext, cls); in Intent()
6735 mComponent = new ComponentName(packageContext, cls); in Intent()
6943 intent.mComponent = ComponentName.unflattenFromString(value); in parseUri()
7134 intent.mComponent = new ComponentName(pkg, cls);
7806 if (mComponent != null) { in resolveTypeIfNeeded()
8508 return mComponent; in getComponent()
8568 if (mComponent != null) { in resolveActivity()
8569 return mComponent; in resolveActivity()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp253 mComponent = component; in setComponent()
262 return mInputSurface->connect(mComponent); in setInputSurface()
347 c2_status_t err = mComponent->queue(&items); in queueInputBufferInternal()
372 err = mComponent->queue(&items); in queueInputBufferInternal()
709 status_t result = mComponent->queueToOutputSurface(block, qbi, &qbo); in renderOutputBuffer()
779 c2_status_t err = mComponent->query( in start()
819 bool secure = mComponent->getName().find(".secure") != std::string::npos; in start()
840 err = mComponent->query({ }, in start()
978 err = mComponent->query({ }, in start()
1006 err = mComponent->query({ }, in start()
[all …]

12