Home
last modified time | relevance | path

Searched refs:mComponent (Results 1 – 25 of 39) 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/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()
DPersistentPreferredIntentResolver.java30 return packageName.equals(filter.mComponent.getPackageName()); in isPackageForFilter()
DPreferredIntentResolver.java32 return packageName.equals(filter.mPref.mComponent.getPackageName()); in isPackageForFilter()
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/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/net/java/android/net/util/
DSharedLog.java57 private final String mComponent; field in SharedLog
70 mComponent = component; in SharedLog()
82 component = mComponent + COMPONENT_DELIMITER + component; in forSubComponent()
191 if (!isRootLogInstance()) sj.add("[" + mComponent + "]"); in logLine()
200 return TextUtils.isEmpty(mComponent) || mComponent.equals(mTag); in isRootLogInstance()
/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/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.java190 private ComponentName mComponent; field in ActivityTestsBase.ActivityBuilder
204 mComponent = component; in setComponent()
249 if (mComponent == null) { in build()
251 mComponent = ComponentName.createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, in build()
257 .setComponent(mComponent) in build()
262 intent.setComponent(mComponent); in build()
265 aInfo.applicationInfo.packageName = mComponent.getPackageName(); in build()
267 aInfo.packageName = mComponent.getPackageName(); in build()
312 private ComponentName mComponent; field in ActivityTestsBase.TaskBuilder
328 mComponent = component; in setComponent()
[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.java6364 private ComponentName mComponent; field in Intent
6410 this.mComponent = o.mComponent; in Intent()
6510 mComponent = new ComponentName(packageContext, cls); in Intent()
6540 mComponent = new ComponentName(packageContext, cls); in Intent()
6748 intent.mComponent = ComponentName.unflattenFromString(value); in parseUri()
6939 intent.mComponent = new ComponentName(pkg, cls);
7611 if (mComponent != null) { in resolveTypeIfNeeded()
8313 return mComponent; in getComponent()
8373 if (mComponent != null) { in resolveActivity()
8374 return mComponent; in resolveActivity()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp252 mComponent = component; in setComponent()
261 return mInputSurface->connect(mComponent); in setInputSurface()
346 c2_status_t err = mComponent->queue(&items); in queueInputBufferInternal()
371 err = mComponent->queue(&items); in queueInputBufferInternal()
708 status_t result = mComponent->queueToOutputSurface(block, qbi, &qbo); in renderOutputBuffer()
778 c2_status_t err = mComponent->query( in start()
818 bool secure = mComponent->getName().find(".secure") != std::string::npos; in start()
839 err = mComponent->query({ }, in start()
973 err = mComponent->query({ }, in start()
1001 err = mComponent->query({ }, in start()
[all …]
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp497 mComponent.clear(); in release()
595 mComponent->dispatchDataSpaceChanged( in onDataspaceChanged_l()
886 status_t err = mComponent->submitBuffer( in submitBuffer_l()
916 status_t err = mComponent->submitEos(codecBufferId); in submitEndOfInputStream_l()
1022 || mComponent == nullptr // there is no codec connected in areWeDiscardingAvailableBuffers_l()
1033 } else if (mComponent == NULL || (mSuspended && mActionQueue.empty())) { in onBufferAcquired_l()
1151 mComponent = component; in configure()

12