Home
last modified time | relevance | path

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

12

/frameworks/av/services/mediametrics/
DMediaMetricsService.cpp125 bool isTrusted; in submitInternal() local
138 isTrusted = true; in submitInternal()
147 isTrusted = false; in submitInternal()
154 if (!isTrusted || item->getPkgName().empty()) { in submitInternal()
165 (int)isTrusted, in submitInternal()
173 if (isContentValid(item, isTrusted) == false) { in submitInternal()
187 if (!isTrusted || item->getTimestamp() == 0) { in submitInternal()
200 (void)mAudioAnalytics.submit(sitem, isTrusted); in submitInternal()
451 bool MediaMetricsService::isContentValid(const mediametrics::Item *item, bool isTrusted) in isContentValid() argument
453 if (isTrusted) return true; in isContentValid()
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.h89 static bool isContentValid(const mediametrics::Item *item, bool isTrusted);
DAudioAnalytics.h57 status_t submit(const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted);
DAudioAnalytics.cpp308 const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted) in submit() argument
311 status_t status = mAnalyticsState->submit(item, isTrusted); in submit()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConcreteCandidate.java59 mIsTrusted = candidate.isTrusted(); in ConcreteCandidate()
129 public ConcreteCandidate setTrusted(boolean isTrusted) { in setTrusted() argument
130 mIsTrusted = isTrusted; in setTrusted()
135 public boolean isTrusted() { in isTrusted() method in ConcreteCandidate
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreData.java206 XmlUtil.writeNextValue(out, XML_TAG_IS_TRUSTED, provider.isTrusted()); in serializeProvider()
280 boolean isTrusted = true; in deserializeProvider()
318 isTrusted = (boolean) value; in deserializeProvider()
357 provider.setTrusted(isTrusted); in deserializeProvider()
DPasspointManager.java395 String packageName, boolean isFromSuggestion, boolean isTrusted) { in addOrUpdateProvider() argument
405 if (!(isFromSuggestion || isTrusted)) { in addOrUpdateProvider()
414 newProvider.setTrusted(isTrusted); in addOrUpdateProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java127 assertThat(mKeyguardStateController.isTrusted()).isFalse(); in testIsTrusted()
132 assertThat(mKeyguardStateController.isTrusted()).isTrue(); in testIsTrusted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java67 boolean isTrusted(); in isTrusted() method
DKeyguardStateControllerImpl.java129 public boolean isTrusted() { in isTrusted() method in KeyguardStateControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeKeyguardStateController.java62 public boolean isTrusted() { in isTrusted() method in FakeKeyguardStateController
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java257 public boolean isTrusted() { in isTrusted() method in KeyguardServiceWrapper
258 return mKeyguardStateMonitor.isTrusted(); in isTrusted()
DKeyguardStateMonitor.java78 public boolean isTrusted() { in isTrusted() method in KeyguardStateMonitor
DKeyguardServiceDelegate.java228 public boolean isTrusted() { in isTrusted() method in KeyguardServiceDelegate
230 return mKeyguardService.isTrusted(); in isTrusted()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCandidates.java92 boolean isTrusted(); in isTrusted() method
238 public boolean isTrusted() { in isTrusted() method in WifiCandidates.CandidateImpl
335 + (isTrusted() ? "trusted, " : "") in toString()
DThroughputScorer.java101 if (!candidate.isTrusted()) { in scoreCandidate()
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl75 boolean isTrusted(String controllerPackageName, int controllerPid, int controllerUid); in isTrusted() method
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiInfoTest.java83 assertTrue(readWifiInfo.isTrusted()); in testWifiInfoParcelWriteRead()
/frameworks/base/apex/media/framework/java/android/media/
DMediaSession2.java369 if (controllerInfo.mAllowedCommands == null && !controllerInfo.isTrusted()) { in onConnect()
704 public boolean isTrusted() { in isTrusted() method in MediaSession2.ControllerInfo
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskDisplayAreaTests.java158 doReturn(true).when(mDisplayContent).isTrusted(); in testDisplayPositionWithPinnedStack()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java815 @UserIdInt int userId, @NonNull String packageName, boolean isTrusted) { in ServiceState() argument
819 mIsTrusted = isTrusted; in ServiceState()
/frameworks/base/core/java/android/view/
DDisplay.java1245 public boolean isTrusted() { in isTrusted() method in Display
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java568 public boolean isTrusted() { in isTrusted() method in TrustAgentWrapper

12