Home
last modified time | relevance | path

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

123

/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.cpp71 mClient->createComponent(mComponentName.c_str(), mListener, &mComponent); in SetUp()
72 ASSERT_NE(mComponent, nullptr); in SetUp()
79 if (mComponent != nullptr) { in TearDown()
84 mComponent->release(); in TearDown()
85 mComponent = nullptr; in TearDown()
99 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
114 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon1148f1700111::Codec2ComponentHidlTestBase
133 c2_status_t err = mComponent->start(); in TEST_P()
137 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P()
140 err = mComponent->stop(); in TEST_P()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp94 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
95 ASSERT_NE(mComponent, nullptr); in SetUp()
103 mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, C2_DONT_BLOCK, &queried); in SetUp()
126 if (mComponent != nullptr) { in TearDown()
128 mComponent->release(); in TearDown()
129 mComponent = nullptr; in TearDown()
172 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
203 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon4a66929a0111::Codec2AudioDecHidlTestBase
404 ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mMime, bitStreamInfo)); in validateTimestampList()
429 validateComponent(mComponent, mDisableTest); in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp67 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
68 ASSERT_NE(mComponent, nullptr); in SetUp()
76 mComponent->query({}, {C2PortMediaTypeSetting::output::PARAM_TYPE}, C2_DONT_BLOCK, in SetUp()
101 if (mComponent != nullptr) { in TearDown()
103 mComponent->release(); in TearDown()
104 mComponent = nullptr; in TearDown()
132 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
161 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anonf42262040111::Codec2AudioEncHidlTestBase
178 c2_status_t status = mComponent->query({}, {C2StreamMaxBufferSizeInfo::input::PARAM_TYPE}, in getInputMaxBufSize()
252 c2_status_t c2err = mComponent->querySupportedValues(validValueInfos, C2_DONT_BLOCK); in getChannelCount()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerServiceShellCommand.java55 private ComponentName mComponent; field in DevicePolicyManagerServiceShellCommand
245 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetActiveAdmin()
247 pw.printf("Success: Active admin set to component %s\n", mComponent.flattenToShortString()); in runSetActiveAdmin()
253 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetDeviceOwner()
256 if (!mService.setDeviceOwner(mComponent, mName, mUserId)) { in runSetDeviceOwner()
258 "Can't set package " + mComponent + " as device owner."); in runSetDeviceOwner()
262 mService.removeActiveAdmin(mComponent, UserHandle.USER_SYSTEM); in runSetDeviceOwner()
269 pw.printf("Success: Device owner set to package %s\n", mComponent.flattenToShortString()); in runSetDeviceOwner()
270 pw.printf("Active admin set to component %s\n", mComponent.flattenToShortString()); in runSetDeviceOwner()
276 mService.forceRemoveActiveAdmin(mComponent, mUserId); in runRemoveActiveAdmin()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp67 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
68 ASSERT_NE(mComponent, nullptr); in SetUp()
77 mComponent->query({}, {C2PortMediaTypeSetting::output::PARAM_TYPE}, C2_DONT_BLOCK, in SetUp()
104 mComponent->query({&secureModeTuning}, {}, C2_MAY_BLOCK, nullptr); in SetUp()
115 if (mComponent != nullptr) { in TearDown()
117 mComponent->release(); in TearDown()
118 mComponent = nullptr; in TearDown()
179 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
217 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon34e328ee0111::Codec2VideoEncHidlTestBase
284 status = mComponent->config({param.get()}, C2_DONT_BLOCK, &failures); in setupConfigParam()
[all …]
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp117 mClient->createComponent(mComponentName, mListener, &mComponent); in SetUp()
118 ASSERT_NE(mComponent, nullptr); in SetUp()
126 mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, C2_DONT_BLOCK, &queried); in SetUp()
141 mComponent->query({&secureModeTuning}, {}, C2_MAY_BLOCK, nullptr); in SetUp()
160 if (mComponent != nullptr) { in TearDown()
162 mComponent->release(); in TearDown()
163 mComponent = nullptr; in TearDown()
256 mComponent->query({&reorderBufferDepth}, {}, C2_MAY_BLOCK, nullptr); in handleWorkDone()
295 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
329 std::shared_ptr<android::Codec2Client::Component> mComponent; member in __anon8b2759840111::Codec2VideoDecHidlTestBase
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredActivity.java42 final ComponentName mComponent; field in PersistentPreferredActivity
61 mComponent = activity;
74 mComponent = f.mComponent;
82 mComponent = ComponentName.unflattenFromString(shortComponent);
83 if (mComponent == null) {
122 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString());
136 + " " + mComponent.flattenToShortString()
DPreferredComponent.java47 public final ComponentName mComponent; field in PreferredComponent
69 mComponent = component; in PreferredComponent()
105 mComponent = ComponentName.unflattenFromString(mShortComponent); in PreferredComponent()
106 if (mComponent == null) { in PreferredComponent()
257 || !sameComponent(pc.mComponent)) { in sameSet()
276 if (mComponent == null || comp == null) { in sameComponent()
279 if (mComponent.getPackageName().equals(comp.getPackageName()) in sameComponent()
280 && mComponent.getClassName().equals(comp.getClassName())) { in sameComponent()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java62 private ComponentName mComponent; field in JobStoreTest
77 mComponent = new ComponentName(getContext().getPackageName(), StubClass.class.getName()); in setUp()
127 final JobInfo task = new Builder(taskId, mComponent) in testMaybeWriteStatusToDisk()
159 final JobInfo task1 = new Builder(8, mComponent) in testWritingTwoFilesToDisk()
165 final JobInfo task2 = new Builder(12, mComponent) in testWritingTwoFilesToDisk()
209 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithExtras()
235 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithSourcePackage()
258 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithFlex()
282 JobInfo.Builder b = new Builder(8, mComponent) in testMassivePeriodClampedOnRead()
317 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.cpp52 mComponent(component), in Listener()
113 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()
134 wp<Component> mComponent; member
140 std::shared_ptr<Component> mComponent; member
144 return mComponent->queue(workBundle); in queue()
168 : mComponent{component}, in Sink()
185 sSink2Component.emplace(this, component->mComponent);
210 : mComponent{component}, in Component()
241 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
246 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponent.cpp52 mComponent(component), in Listener()
113 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()
134 wp<Component> mComponent; member
140 std::shared_ptr<Component> mComponent; member
144 return mComponent->queue(workBundle); in queue()
168 : mComponent{component}, in Sink()
185 sSink2Component.emplace(this, component->mComponent);
210 : mComponent{component}, in Component()
241 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
246 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/frameworks/av/media/codec2/hidl/1.2/utils/
DComponent.cpp52 mComponent(component), in Listener()
113 sp<Component> strongComponent = mComponent.promote(); in onWorkDone_nb()
134 wp<Component> mComponent; member
140 std::shared_ptr<Component> mComponent; member
144 return mComponent->queue(workBundle); in queue()
168 : mComponent{component}, in Sink()
185 sSink2Component.emplace(this, component->mComponent);
210 : mComponent{component}, in Component()
241 return static_cast<Status>(mComponent->queue_nb(&c2works)); in queue()
246 c2_status_t c2res = mComponent->flush_sm( in flush()
[all …]
/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()
321 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
342 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
383 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect()
411 return Objects.equals(mComponent, component) && mUserId == userId; in matches()
452 Slog.e(TAG, "Service " + mComponent + " has died too much, not retrying."); in checkAndDeliverServiceDiedCbLocked()
456 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in checkAndDeliverServiceDiedCbLocked()
[all …]
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp56 if (mClient->CreateComponentByName(compName.c_str(), mListener, &mComponent, &mClient) != 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()
45 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp71 if (mClient->CreateComponentByName(compName.c_str(), mListener, &mComponent, &mClient) != 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/av/media/codec2/fuzzer/
DC2Fuzzer.cpp179 status = componentStore->createComponent(C2COMPONENTNAME, &mComponent); in initDecoder()
215 status = mComponent->setListener_vb(mListener, C2_DONT_BLOCK); in initDecoder()
226 status = mComponent->start(); in initDecoder()
235 mComponent->stop(); in deInitDecoder()
236 mComponent->reset(); in deInitDecoder()
237 mComponent->release(); in deInitDecoder()
238 mComponent = nullptr; in deInitDecoder()
292 status = mComponent->queue_nb(&items); in decodeFrames()
300 mComponent->flush_sm(C2Component::FLUSH_COMPONENT, &c2flushedWorks); in decodeFrames()
/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/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java82 private final ComponentName mComponent; field in CustomTile
117 mComponent = ComponentName.unflattenFromString(action); in CustomTile()
121 mKey = new TileServiceKey(mComponent, mUser); in CustomTile()
159 ServiceInfo info = pm.getServiceInfo(mComponent, flags); in updateDefaultTileAndIcon()
166 .createWithResource(mComponent.getPackageName(), icon) : null; in updateDefaultTileAndIcon()
184 return pm.getApplicationInfo(mComponent.getPackageName(), 0).isSystemApp(); in isSystemApp()
226 return mComponent; in getComponent()
231 return super.populate(logMaker).setComponentName(mComponent); in populate()
345 i.setPackage(mComponent.getPackageName()); in getLongClickIntent()
348 i.putExtra(Intent.EXTRA_COMPONENT_NAME, mComponent); in getLongClickIntent()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java92 final ComponentName mComponent; field in VoiceInteractionManagerServiceImpl
159 mComponent = service; in VoiceInteractionManagerServiceImpl()
228 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in getActiveServiceSupportedActions()
273 return mAtm.startVoiceActivity(mComponent.getPackageName(), callingFeatureId, in startVoiceActivityLocked()
296 return mAtm.startAssistantActivity(mComponent.getPackageName(), callingFeatureId, in startAssistantActivityLocked()
617 pw.print(" mComponent="); pw.println(mComponent.flattenToShortString()); in dumpLocked()
644 intent.setComponent(mComponent); in startLocked()
650 Slog.w(TAG, "Failed binding to voice interaction service " + mComponent); in startLocked()
656 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in launchVoiceAssistFromKeyguard()
695 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()

123