/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXComponent.cpp | 33 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/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 72 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/ |
D | Dpm.java | 57 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/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 72 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 …]
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 80 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/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 71 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 …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 70 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/ |
D | JobStoreTest.java | 60 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 …]
|
D | JobSetTest.java | 58 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/ |
D | Component.cpp | 48 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/ |
D | Component.cpp | 48 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/ |
D | C2Decoder.cpp | 56 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()
|
D | C2Decoder.h | 26 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/ |
D | PersistentPreferredActivity.java | 40 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/ |
D | ManagedApplicationService.java | 82 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/ |
D | C2Encoder.cpp | 71 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()
|
D | C2Encoder.h | 37 mComponent(nullptr) {} in C2Encoder() 63 std::shared_ptr<android::Codec2Client::Component> mComponent; variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 66 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/ |
D | ActivityTestsBase.java | 108 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/ |
D | rsElement.h | 93 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
|
D | rsElement.cpp | 98 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/ |
D | VoiceInteractionManagerServiceImpl.java | 77 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/ |
D | TestableContext.java | 71 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/ |
D | Intent.java | 6712 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/ |
D | CCodecBufferChannel.cpp | 172 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 …]
|