Home
last modified time | relevance | path

Searched refs:isTrusted (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/av/services/mediametrics/
DMediaMetricsService.cpp133 bool isTrusted; in submitInternal() local
146 isTrusted = true; in submitInternal()
155 isTrusted = false; in submitInternal()
162 if (!isTrusted || item->getPkgName().empty()) { in submitInternal()
173 (int)isTrusted, in submitInternal()
181 if (isContentValid(item, isTrusted) == false) { in submitInternal()
195 if (!isTrusted || item->getTimestamp() == 0) { in submitInternal()
217 (void)mAudioAnalytics.submit(sitem, isTrusted); in submitInternal()
505 bool MediaMetricsService::isContentValid(const mediametrics::Item *item, bool isTrusted) in isContentValid() argument
507 if (isTrusted) return true; in isContentValid()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAnalyticsState.h54 status_t submit(const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted) { in submit() argument
55 return mTimeMachine.put(item, isTrusted) ?: mTransactionLog.put(item); in submit()
DTimeMachine.h273 status_t put(const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted = false) {
279 key.c_str(), (int)isTrusted, item->count());
287 if (!isTrusted) return PERMISSION_DENIED;
309 if (!isTrusted) {
320 if (!isTrusted) continue;
DMediaMetricsService.h96 static bool isContentValid(const mediametrics::Item *item, bool isTrusted);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DTrustModel.kt22 val isTrusted: Boolean, constant in com.android.systemui.keyguard.shared.model.TrustModel
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1080 && next != null && !current.isTrusted(context)) { in finishDataDelivery()
1215 && next != null && !current.isTrusted(context)) { in checkAppOpPermission()
1285 && next != null && !current.isTrusted(context)) { in checkRuntimePermission()
1323 && (current.isTrusted(context) || current.equals(attributionSource)) in checkRuntimePermission()
1324 && (next == null || next.isTrusted(context)); in checkRuntimePermission()
1393 boolean startDataDelivery, boolean selfAccess, boolean isTrusted) { in resolveProxyAttributionFlags() argument
1395 startDataDelivery, selfAccess, isTrusted, /*flagsForProxy*/ true); in resolveProxyAttributionFlags()
1401 boolean startDataDelivery, boolean selfAccess, boolean isTrusted) { in resolveProxiedAttributionFlags() argument
1403 startDataDelivery, selfAccess, isTrusted, /*flagsForProxy*/ false); in resolveProxiedAttributionFlags()
1409 boolean startDataDelivery, boolean selfAccess, boolean isTrusted, in resolveAttributionFlags() argument
[all …]
/frameworks/av/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt5 Landroid/media/MediaSession2$ControllerInfo;->isTrusted()Z
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java143 assertThat(mKeyguardStateController.isTrusted()).isFalse(); in testIsTrusted()
148 assertThat(mKeyguardStateController.isTrusted()).isTrue(); in testIsTrusted()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyTests.java124 doReturn(true).when(displayContent).isTrusted(); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
192 doReturn(true).when(displayContent).isTrusted(); in testTaskDisplayAreasCanHostHomeTask()
242 doReturn(true).when(displayContent).isTrusted(); in createPolicyWith2TaskDisplayAreas()
DDisplayAreaOrganizerTest.java123 doReturn(false).when(mDisplayContent).isTrusted(); in testRegisterOrganizer_ignoreUntrustedDisplay()
213 doReturn(false).when(mDisplayContent).isTrusted(); in testCreateTaskDisplayArea_invalidDisplayAndRoot()
DActivityTaskSupervisorTests.java276 doReturn(true).when(display).isTrusted(); in testDisplayCanLaunchActivities()
282 doReturn(false).when(display).isTrusted(); in testDisplayCanLaunchActivities()
DTaskDisplayAreaTests.java269 doReturn(true).when(mDisplayContent).isTrusted(); in testDisplayPositionWithPinnedRootTask()
294 doReturn(true).when(mDisplayContent).isTrusted(); in testMovingChildTaskOnTop()
323 doReturn(true).when(mDisplayContent).isTrusted(); in testDontMovingChildTaskOnTop()
629 doReturn(false).when(display).isTrusted(); in testGetOrCreateRootHomeTask_untrustedDisplay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DFakeKeyguardStateController.java71 public boolean isTrusted() { in isTrusted() method in FakeKeyguardStateController
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeKeyguardStateController.java67 public boolean isTrusted() { in isTrusted() method in FakeKeyguardStateController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java87 boolean isTrusted(); in isTrusted() method
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DTrustRepositoryLogger.kt71 bool1 = value.isTrusted in trustModelEmitted()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java285 public boolean isTrusted() { in isTrusted() method in KeyguardServiceWrapper
286 return mKeyguardStateMonitor.isTrusted(); in isTrusted()
DKeyguardStateMonitor.java77 public boolean isTrusted() { in isTrusted() method in KeyguardStateMonitor
DKeyguardServiceDelegate.java234 public boolean isTrusted() { in isTrusted() method in KeyguardServiceDelegate
236 return mKeyguardService.isTrusted(); in isTrusted()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityRecordWrapper.java115 return mActivityRecord.getDisplayContent().isTrusted(); in isDisplayTrusted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DTrustRepository.kt95 .map { latestTrustModelForUser[it.second.id]?.isTrusted ?: false } in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java152 if (!dc.isTrusted()) { in registerOrganizer()
212 if (!display.isTrusted()) { in createTaskDisplayArea()
DDisplayAreaPolicy.java110 if (content.isTrusted()) { in instantiate()
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl76 boolean isTrusted(String controllerPackageName, int controllerPid, int controllerUid); in isTrusted() method
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java484 Signature trustedCert = isTrusted(certs, trusted); in getInstallerChecksums()
486 trustedCert = isTrusted(pastCerts, trusted); in getInstallerChecksums()
629 private static Signature isTrusted(Signature[] signatures, Set<Signature> trusted) { in isTrusted() method in ApkChecksums

12