Home
last modified time | relevance | path

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

123

/frameworks/av/services/mediametrics/
DMediaMetricsService.cpp135 bool isTrusted; in submitInternal() local
148 isTrusted = true; in submitInternal()
157 isTrusted = false; in submitInternal()
164 if (!isTrusted || item->getPkgName().empty()) { in submitInternal()
175 (int)isTrusted, in submitInternal()
183 if (isContentValid(item, isTrusted) == false) { in submitInternal()
197 if (!isTrusted || item->getTimestamp() == 0) { in submitInternal()
219 (void)mAudioAnalytics.submit(sitem, isTrusted); in submitInternal()
507 bool MediaMetricsService::isContentValid(const mediametrics::Item *item, bool isTrusted) in isContentValid() argument
509 if (isTrusted) return true; in isContentValid()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewarePermission.java88 @NonNull ISoundTriggerCallback callback, boolean isTrusted) { in attach() argument
91 ModuleWrapper wrapper = new ModuleWrapper(identity, callback, isTrusted); in attach()
92 return wrapper.attach(mDelegate.attach(handle, wrapper.getCallbackWrapper(), isTrusted)); in attach()
211 boolean isTrusted) { in ModuleWrapper() argument
214 mIsTrusted = isTrusted; in ModuleWrapper()
DISoundTriggerMiddlewareInternal.java46 boolean isTrusted); in attach() argument
DSoundTriggerMiddlewareService.java114 Identity originatorIdentity, ISoundTriggerCallback callback, boolean isTrusted) { in attachAsMiddleman() argument
118 return new ModuleService(mDelegate.attach(handle, callback, isTrusted)); in attachAsMiddleman()
DSoundTriggerMiddlewareImpl.java120 boolean isTrusted) { in attach() argument
DSoundTriggerMiddlewareLogging.java152 ISoundTriggerModule attach(int handle, ISoundTriggerCallback callback, boolean isTrusted) { in attach() argument
156 + mSessionCount.getAndIncrement() + (isTrusted ? "trusted" : ""); in attach()
163 result.attach(mDelegate.attach(handle, callbackWrapper, isTrusted), eventLogger); in attach()
167 packageIdentification, result, handle, callback, isTrusted) in attach()
/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.h279 status_t put(const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted = false) {
285 key.c_str(), (int)isTrusted, item->count());
293 if (!isTrusted) return PERMISSION_DENIED;
315 if (!isTrusted) {
326 if (!isTrusted) continue;
/frameworks/base/core/java/android/view/
DInputWindowHandle.java285 boolean isTrusted) { in setTrustedOverlay() argument
287 t.setTrustedOverlay(sc, isTrusted); in setTrustedOverlay()
288 } else if (isTrusted) { in setTrustedOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DTrustModel.kt26 val isTrusted: Boolean, constant in com.android.systemui.keyguard.shared.model.TrustModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DTrustInteractor.kt42 val isTrusted: Flow<Boolean> = repository.isCurrentUserTrusted constant
/frameworks/av/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt5 Landroid/media/MediaSession2$ControllerInfo;->isTrusted()Z
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1056 && next != null && !current.isTrusted(context)) { in finishDataDelivery()
1191 && next != null && !current.isTrusted(context)) { in checkAppOpPermission()
1259 if (!isDatasource && next != null && !current.isTrusted(context)) { in checkRuntimePermission()
1297 && (current.isTrusted(context) || current.equals(attributionSource)) in checkRuntimePermission()
1298 && (next == null || next.isTrusted(context)); in checkRuntimePermission()
1378 boolean startDataDelivery, boolean selfAccess, boolean isTrusted) { in resolveProxyAttributionFlags() argument
1380 startDataDelivery, selfAccess, isTrusted, /*flagsForProxy*/ true); in resolveProxyAttributionFlags()
1386 boolean startDataDelivery, boolean selfAccess, boolean isTrusted) { in resolveProxiedAttributionFlags() argument
1388 startDataDelivery, selfAccess, isTrusted, /*flagsForProxy*/ false); in resolveProxiedAttributionFlags()
1394 boolean startDataDelivery, boolean selfAccess, boolean isTrusted, in resolveAttributionFlags() argument
[all …]
/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DISoundTriggerMiddlewareService.aidl92 boolean isTrusted); in attachAsMiddleman() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyTests.java111 doReturn(true).when(displayContent).isTrusted(); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
179 doReturn(true).when(displayContent).isTrusted(); in testTaskDisplayAreasCanHostHomeTask()
233 doReturn(true).when(displayContent).isTrusted(); in createPolicyWith2TaskDisplayAreas()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DFakeKeyguardStateController.java75 public boolean isTrusted() { in isTrusted() method in FakeKeyguardStateController
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeKeyguardStateController.java78 public boolean isTrusted() { in isTrusted() method in FakeKeyguardStateController
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityRecordWrapper.java103 return mActivityRecord.getDisplayContent().isTrusted(); in isDisplayTrusted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java91 boolean isTrusted(); in isTrusted() method
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java57 Session attach(@NonNull IBinder client, ModuleProperties underlyingModule, boolean isTrusted); in attach() argument
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java295 public boolean isTrusted() { in isTrusted() method in KeyguardServiceWrapper
296 return mKeyguardStateMonitor.isTrusted(); in isTrusted()
DKeyguardStateMonitor.java77 public boolean isTrusted() { in isTrusted() method in KeyguardStateMonitor
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java207 assertThat(mKeyguardStateController.isTrusted()).isFalse(); in testIsTrusted()
212 assertThat(mKeyguardStateController.isTrusted()).isTrue(); in testIsTrusted()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java87 boolean isTrusted) { in SoundTriggerModule() argument
96 isTrusted); in SoundTriggerModule()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceUnlockedInteractor.kt66 trustInteractor.isTrusted.filter { it }.map { DeviceUnlockSource.TrustAgent }, in <lambda>()

123