/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataReaderTest.java | 53 private final Flags mFlags = FlagsFactory.getFlagsForTest(); field in CustomAudienceUpdatableDataReaderTest 69 mFlags.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectSuccess() 70 mFlags.getFledgeCustomAudienceMaxTrustedBiddingDataSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectSuccess() 71 mFlags.getFledgeCustomAudienceMaxAdsSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectSuccess() 72 mFlags.getFledgeCustomAudienceMaxNumAds(), in testGetUserBiddingSignalsFromFullJsonObjectSuccess() 73 mFlags.getFledgeAdSelectionFilteringEnabled()); in testGetUserBiddingSignalsFromFullJsonObjectSuccess() 95 mFlags.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectWithHarmlessJunkSuccess() 96 mFlags.getFledgeCustomAudienceMaxTrustedBiddingDataSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectWithHarmlessJunkSuccess() 97 mFlags.getFledgeCustomAudienceMaxAdsSizeB(), in testGetUserBiddingSignalsFromFullJsonObjectWithHarmlessJunkSuccess() 98 mFlags.getFledgeCustomAudienceMaxNumAds(), in testGetUserBiddingSignalsFromFullJsonObjectWithHarmlessJunkSuccess() [all …]
|
D | BackgroundFetchRunnerTest.java | 71 private final Flags mFlags = FlagsFactory.getFlagsForTest(); field in BackgroundFetchRunnerTest 104 mFlags)); in setup() 136 .deleteAllDisallowedOwnerCustomAudienceData(mPackageManagerMock, mFlags); in testDeleteDisallowedOwnerCustomAudiences() 145 verify(mAppInstallDaoMock).deleteAllDisallowedPackageEntries(mPackageManagerMock, mFlags); in deleteDisallowedPackageAppInstallEntries() 161 .deleteAllDisallowedBuyerCustomAudienceData(mEnrollmentDaoMock, mFlags); in testDeleteDisallowedBuyerCustomAudiences() 174 mFlags)); in testBackgroundFetchRunnerNullInputsCauseFailure() 183 mFlags)); in testBackgroundFetchRunnerNullInputsCauseFailure() 192 mFlags)); in testBackgroundFetchRunnerNullInputsCauseFailure() 201 mFlags)); in testBackgroundFetchRunnerNullInputsCauseFailure() 216 doReturn(mFlags).when(FlagsFactory::getFlags); in testUpdateCustomAudienceWithEmptyUpdate() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | Permission.java | 40 private int mFlags; field in Permission 55 mFlags = flags; in Permission() 96 return mFlags; in getFlags() 144 return (mFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) != 0; in isReviewRequired() 148 mFlags &= ~PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED; in unsetReviewRequired() 160 return (mFlags & PackageManager.FLAG_PERMISSION_USER_FIXED) != 0; in isUserFixed() 165 mFlags |= PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 167 mFlags &= ~PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 177 mFlags |= PackageManager.FLAG_PERMISSION_ONE_TIME; in setOneTime() 179 mFlags &= ~PackageManager.FLAG_PERMISSION_ONE_TIME; in setOneTime() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegateTest.java | 47 @Mock private Flags mFlags; field in EventReportWindowCalcDelegateTest 53 doReturn(false).when(mFlags).getMeasurementEnableConfigurableEventReportingWindows(); in setup() 54 mEventReportWindowCalcDelegate = new EventReportWindowCalcDelegate(mFlags); in setup() 300 doReturn(true).when(mFlags).getMeasurementEnableVtcConfigurableMaxEventReports(); in getMaxReportCount_configuredConversionsNonInstall_returnsConfiguredCount() 301 doReturn(3).when(mFlags).getMeasurementVtcConfigurableMaxEventReportsCount(); in getMaxReportCount_configuredConversionsNonInstall_returnsConfiguredCount() 316 doReturn(true).when(mFlags).getMeasurementEnableVtcConfigurableMaxEventReports(); in getMaxReportCount_configuredConversionsInstallCase_returnsConfiguredCount() 317 doReturn(2).when(mFlags).getMeasurementVtcConfigurableMaxEventReportsCount(); in getMaxReportCount_configuredConversionsInstallCase_returnsConfiguredCount() 332 doReturn(true).when(mFlags).getMeasurementEnableVtcConfigurableMaxEventReports(); in getMaxReportCount_configuredConversionsToOneInstallCase_incrementConfiguredCount() 333 doReturn(1).when(mFlags).getMeasurementVtcConfigurableMaxEventReportsCount(); in getMaxReportCount_configuredConversionsToOneInstallCase_incrementConfiguredCount() 348 doReturn(true).when(mFlags).getMeasurementEnableVtcConfigurableMaxEventReports(); in getMaxReportCount_configuredConversionsToOneInstallCase_noEffectOnCtc() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceFieldSizeValidator.java | 75 @NonNull private final Flags mFlags; field in CustomAudienceFieldSizeValidator 80 mFlags = flags; in CustomAudienceFieldSizeValidator() 94 if (nameSize > mFlags.getFledgeCustomAudienceMaxNameSizeB()) { in addValidation() 99 mFlags.getFledgeCustomAudienceMaxNameSizeB(), in addValidation() 104 if (dailyUpdateUriSize > mFlags.getFledgeCustomAudienceMaxDailyUpdateUriSizeB()) { in addValidation() 109 mFlags.getFledgeCustomAudienceMaxDailyUpdateUriSizeB(), in addValidation() 114 if (biddingLogicUriSize > mFlags.getFledgeCustomAudienceMaxBiddingLogicUriSizeB()) { in addValidation() 119 mFlags.getFledgeCustomAudienceMaxBiddingLogicUriSizeB(), in addValidation() 125 if (userBiddingSignalSize > mFlags.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB()) { in addValidation() 130 mFlags.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB(), in addValidation() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AdServicesCommonServiceImpl.java | 66 private final Flags mFlags; field in AdServicesCommonServiceImpl 71 mFlags = flags; in AdServicesCommonServiceImpl() 88 boolean isAdServicesEnabled = mFlags.getAdServicesEnabled(); in isAdServicesEnabled() 89 if (mFlags.isBackCompatActivityFeatureEnabled()) { in isAdServicesEnabled() 153 + mFlags.getAdServicesEnabled()); in setAdServicesEnabled() 157 if (mFlags.getAdServicesEnabled() && adServicesEntryPointEnabled) { in setAdServicesEnabled() 162 if (mFlags.isUiFeatureTypeLoggingEnabled()) { in setAdServicesEnabled() 163 if (mFlags.getEuNotifFlowChangeEnabled()) { in setAdServicesEnabled() 176 if (mFlags.isUiFeatureTypeLoggingEnabled()) { in setAdServicesEnabled() 177 if (mFlags.getEuNotifFlowChangeEnabled()) { in setAdServicesEnabled() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 34 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 39 : mFlags(Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY), mProbability(NOT_A_PROBABILITY), in ProbabilityEntry() 44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 52 : mFlags(createFlags(unigramProperty->representsBeginningOfSentence(), in ProbabilityEntry() 61 : mFlags(0), mProbability(ngramProperty->getProbability()), in ProbabilityEntry() 65 return (mFlags & Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY) == 0; in isValid() 73 return mFlags; in getFlags() 85 return (mFlags & Ver4DictConstants::FLAG_REPRESENTS_BEGINNING_OF_SENTENCE) != 0; in representsBeginningOfSentence() 89 return (mFlags & Ver4DictConstants::FLAG_NOT_A_WORD) != 0; in isNotAWord() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | ConsentNotificationJobServiceTest.java | 92 @Mock Flags mFlags; field in ConsentNotificationJobServiceTest 142 Mockito.doReturn(true).when(mFlags).getBackgroundJobsLoggingKillSwitch(); in testOnStartJobAsyncUtilExecute_withoutLogging() 155 Mockito.doReturn(false).when(mFlags).getBackgroundJobsLoggingKillSwitch(); in testOnStartJobAsyncUtilExecute_withLogging() 169 doReturn(mFlags).when(FlagsFactory::getFlags); in testOnStartJobAsyncUtilExecute_Reconsent_GaUxDisabled() 170 when(mFlags.getConsentNotificationDebugMode()).thenReturn(false); in testOnStartJobAsyncUtilExecute_Reconsent_GaUxDisabled() 171 when(mFlags.getGaUxFeatureEnabled()).thenReturn(false); in testOnStartJobAsyncUtilExecute_Reconsent_GaUxDisabled() 195 when(mFlags.getConsentNotificationDebugMode()).thenReturn(false); in testOnStartJobAsyncUtilExecute_Reconsent_GaUxDisabled() 208 doReturn(mFlags).when(FlagsFactory::getFlags); in testOnStartJobAsyncUtilExecute_ReconsentFalse() 209 when(mFlags.getConsentNotificationDebugMode()).thenReturn(false); in testOnStartJobAsyncUtilExecute_ReconsentFalse() 210 when(mFlags.getGaUxFeatureEnabled()).thenReturn(true); in testOnStartJobAsyncUtilExecute_ReconsentFalse() [all …]
|
D | AdServicesCommonServiceImplTest.java | 68 @Mock private Flags mFlags; field in AdServicesCommonServiceImplTest 93 mCommonService = new AdServicesCommonServiceImpl(mContext, mFlags); in setup() 94 doReturn(true).when(mFlags).getAdServicesEnabled(); in setup() 116 doReturn(Flags.UI_EEA_COUNTRIES).when(mFlags).getUiEeaCountries(); in setup() 133 doReturn(false).when(mFlags).getGaUxFeatureEnabled(); in getAdserviceStatusTest() 134 mCommonService = new AdServicesCommonServiceImpl(mContext, mFlags); in getAdserviceStatusTest() 145 doReturn(false).when(mFlags).getAdServicesEnabled(); in getAdserviceStatusTest() 159 doReturn(true).when(mFlags).isBackCompatActivityFeatureEnabled(); in getAdserviceStatusWithCheckActivityTest() 161 doReturn(false).when(mFlags).getGaUxFeatureEnabled(); in getAdserviceStatusWithCheckActivityTest() 162 mCommonService = new AdServicesCommonServiceImpl(mContext, mFlags); in getAdserviceStatusWithCheckActivityTest() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_entry.h | 38 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry() 47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 55 return ProbabilityEntry(mFlags, probability, &mHistoricalInfo); in createEntryWithUpdatedProbability() 60 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo() 68 return mFlags; in getFlags() 83 const int mFlags; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | pt_node_params.h | 35 PtNodeParams() : mHeadPos(NOT_A_DICT_POS), mFlags(0), mHasMovedFlag(false), in PtNodeParams() 44 : mHeadPos(ptNodeParams.mHeadPos), mFlags(ptNodeParams.mFlags), in PtNodeParams() 64 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(false), mParentPos(NOT_A_DICT_POS), in PtNodeParams() 79 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 93 : mHeadPos(ptNodeParams->getHeadPos()), mFlags(flags), mHasMovedFlag(true), in PtNodeParams() 110 : mHeadPos(NOT_A_DICT_POS), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 132 return mHasMovedFlag && DynamicPtReadingUtils::isDeleted(mFlags); in isDeleted() 136 return mHasMovedFlag && DynamicPtReadingUtils::willBecomeNonTerminal(mFlags); in willBecomeNonTerminal() 144 return PatriciaTrieReadingUtils::isTerminal(mFlags); in isTerminal() 148 return PatriciaTrieReadingUtils::isPossiblyOffensive(mFlags); in isPossiblyOffensive() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/errorlogging/ |
D | AdServicesErrorLoggerImplTest.java | 51 @Mock private Flags mFlags; field in AdServicesErrorLoggerImplTest 57 mErrorLogger = new AdServicesErrorLoggerImpl(mFlags, mStatsdLoggerMock); in setUp() 58 doReturn(ImmutableList.of()).when(mFlags).getErrorCodeLoggingDenyList(); in setUp() 63 doReturn(false).when(mFlags).getAdServicesErrorLoggingEnabled(); in testLogError_errorLoggingFlagDisabled() 74 doReturn(true).when(mFlags).getAdServicesErrorLoggingEnabled(); in testLogError_errorLoggingFlagEnabled_errorCodeLoggingDenied() 76 .when(mFlags) in testLogError_errorLoggingFlagEnabled_errorCodeLoggingDenied() 88 doReturn(true).when(mFlags).getAdServicesErrorLoggingEnabled(); in testLogError_errorLoggingFlagEnabled() 107 doReturn(false).when(mFlags).getAdServicesErrorLoggingEnabled(); in testLogErrorWithExceptionInfo_errorLoggingFlagDisabled() 119 doReturn(true).when(mFlags).getAdServicesErrorLoggingEnabled(); in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled_errorCodeLoggingDenied() 121 .when(mFlags) in testLogErrorWithExceptionInfo_errorLoggingFlagEnabled_errorCodeLoggingDenied() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/errorlogging/ |
D | AdServicesErrorLoggerImpl.java | 33 @NonNull private final Flags mFlags; field in AdServicesErrorLoggerImpl 38 @NonNull Flags mFlags, in AdServicesErrorLoggerImpl() 40 this.mFlags = mFlags; in AdServicesErrorLoggerImpl() 64 if (!mFlags.getAdServicesErrorLoggingEnabled() in logError() 65 || mFlags.getErrorCodeLoggingDenyList().contains(errorCode)) { in logError() 83 if (!mFlags.getAdServicesErrorLoggingEnabled() in logErrorWithExceptionInfo() 84 || mFlags.getErrorCodeLoggingDenyList().contains(errorCode)) { in logErrorWithExceptionInfo()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | ConsentManager.java | 113 private final Flags mFlags; field in ConsentManager 168 mFlags = flags; in ConsentManager() 368 if (mFlags.getConsentManagerDebugMode()) { in getConsent() 387 if (mFlags.getEnableAppsearchConsentData()) { in getConsent() 416 if (!mFlags.getGaUxFeatureEnabled()) { in getConsent() 420 if (mFlags.getConsentManagerDebugMode()) { in getConsent() 437 if (mFlags.getEnableAppsearchConsentData()) { in getConsent() 544 if (mFlags.getEnableAppsearchConsentData()) { in getKnownAppsWithConsent() 588 if (mFlags.getEnableAppsearchConsentData()) { in getAppsWithRevokedConsent() 631 if (mFlags.getEnableAppsearchConsentData()) { in revokeConsentForApp() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | OnDeviceAdSelectionRunnerTest.java | 234 private Flags mFlags = new OnDeviceAdSelectionRunnerTestFlags(); field in OnDeviceAdSelectionRunnerTest 380 mFlags, in testRunAdSelectionSuccess() 426 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionSuccess() 432 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionSuccess() 607 doReturn(mFlags).when(FlagsFactory::getFlags); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 626 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 633 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 708 mFlags, in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 726 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 732 mFlags.getAdSelectionBiddingTimeoutPerBuyerMs(), in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() [all …]
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | RequiredComponent.java | 61 private final int mFlags; field in RequiredComponent 90 mFlags = flags; in RequiredComponent() 130 return mFlags; in getFlags() 198 if (mFlags != 0) { in getQualifyingComponentsInternal() 200 if ((componentFlags & mFlags) != mFlags) { in getQualifyingComponentsInternal() 303 + ", mFlags='" + mFlags + '\'' in toString() 321 && mFlags == that.mFlags in equals() 329 return Objects.hash(mIntentFilterData, mMinTargetSdkVersion, mFlags, mPermission, in hashCode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/ |
D | EnrollmentTest.java | 62 @Mock private Flags mFlags; field in EnrollmentTest 85 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_success() 95 REGISTRATION_URI, PACKAGE_NAME, mEnrollmentDao, sContext, mFlags)); in testMaybeGetEnrollmentId_success() 103 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_enrollmentDataNull() 113 REGISTRATION_URI, PACKAGE_NAME, mEnrollmentDao, sContext, mFlags)); in testMaybeGetEnrollmentId_enrollmentDataNull() 121 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(true); in testMaybeGetEnrollmentId_blockedByEnrollmentBlockList() 130 REGISTRATION_URI, PACKAGE_NAME, mEnrollmentDao, sContext, mFlags)); in testMaybeGetEnrollmentId_blockedByEnrollmentBlockList() 137 when(mFlags.isEnrollmentBlocklisted(any())).thenReturn(false); in testMaybeGetEnrollmentId_packageManifestCheckFailure() 148 REGISTRATION_URI, PACKAGE_NAME, mEnrollmentDao, sContext, mFlags)); in testMaybeGetEnrollmentId_packageManifestCheckFailure()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | MeasurementServiceImpl.java | 94 private final Flags mFlags; field in MeasurementServiceImpl 135 mFlags = flags; in MeasurementServiceImpl() 178 request, mFlags)), in register() 180 mFlags.getPpapiAppAllowList(), in register() 222 mFlags::getEnforceForegroundStatusForMeasurementRegisterWebSource; in registerWebSource() 229 mFlags::getMeasurementApiRegisterWebSourceKillSwitch), in registerWebSource() 236 mFlags.getPpapiAppAllowList(), in registerWebSource() 241 mFlags.getWebContextClientAppAllowList(), in registerWebSource() 281 mFlags::getEnforceForegroundStatusForMeasurementRegisterWebTrigger; in registerWebTrigger() 288 mFlags::getMeasurementApiRegisterWebTriggerKillSwitch), in registerWebTrigger() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EpochManager.java | 114 private final Flags mFlags; field in EpochManager 130 mFlags = flags; in EpochManager() 204 currentEpochId, mFlags.getTopicsNumberOfLookBackEpochs()); in processEpoch() 213 mFlags.getTopicsNumberOfTopTopics(), in processEpoch() 214 mFlags.getTopicsNumberOfRandomTopics()); in processEpoch() 317 long epochJobPeriodsMs = mFlags.getTopicsEpochJobPeriodMs(); in getCurrentEpochId() 405 mFlags.getTopicsNumberOfTopTopics())) { in computeReturnedAppSdkTopics() 422 mFlags.getTopicsNumberOfTopTopics())) { in computeReturnedAppSdkTopics() 443 == mFlags.getTopicsNumberOfTopTopics() in selectRandomTopic() 444 + mFlags.getTopicsNumberOfRandomTopics()); in selectRandomTopic() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 127 private int mFlags; field in RecentsOrientedState 154 mFlags = mActivityInterface.rotationSupportedByActivity in RecentsOrientedState() 157 mFlags |= FLAG_SWIPE_UP_NOT_RUNNING; in RecentsOrientedState() 242 mStateId = (((((mFlags << 2) in updateHandler() 260 && (mFlags & VALUE_ROTATION_WATCHER_ENABLED) == VALUE_ROTATION_WATCHER_ENABLED in setFlag() 263 mFlags |= mask; in setFlag() 265 mFlags &= ~mask; in setFlag() 269 && (mFlags & VALUE_ROTATION_WATCHER_ENABLED) == VALUE_ROTATION_WATCHER_ENABLED in setFlag() 375 return (mFlags & MASK_MULTIPLE_ORIENTATION_SUPPORTED_BY_DEVICE) in isMultipleOrientationSupportedByDevice() 386 return ((mFlags & MASK_MULTIPLE_ORIENTATION_SUPPORTED_BY_DEVICE) in isRecentsActivityRotationAllowed() [all …]
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/customaudience/ |
D | CustomAudienceService.java | 48 private Flags mFlags; field in CustomAudienceService 56 this.mFlags = flags; in CustomAudienceService() 62 if (mFlags.getFledgeCustomAudienceServiceKillSwitch()) { in onCreate() 72 PackageChangedReceiver.enableReceiver(this, mFlags); in onCreate() 79 if (mFlags.getFledgeCustomAudienceServiceKillSwitch()) { in onBind() 89 if (mFlags.getGaUxFeatureEnabled()) { in hasUserConsent()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/adselection/ |
D | AdSelectionService.java | 49 private Flags mFlags; field in AdSelectionService 57 this.mFlags = flags; in AdSelectionService() 63 if (mFlags.getFledgeSelectAdsKillSwitch()) { in onCreate() 73 PackageChangedReceiver.enableReceiver(this, mFlags); in onCreate() 81 if (mFlags.getFledgeSelectAdsKillSwitch()) { in onBind() 98 if (mFlags.getGaUxFeatureEnabled()) { in hasUserConsent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ActivityState.java | 52 protected int mFlags; field in ActivityState 151 if ((0 != (mFlags & FLAG_SCREEN_ON_ALWAYS)) || in setScreenFlags() 152 (mPlugged && 0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED))) { in setScreenFlags() 157 if (0 != (mFlags & FLAG_ALLOW_LOCK_WHILE_SCREEN_ON)) { in setScreenFlags() 162 if (0 != (mFlags & FLAG_SHOW_WHEN_LOCKED)) { in setScreenFlags() 187 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in onPause() 202 if ((mFlags & FLAG_HIDE_ACTION_BAR) != 0) { in resume() 217 boolean lightsOut = ((mFlags & FLAG_HIDE_STATUS_BAR) != 0); in resume() 226 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in resume()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/inputverification/ |
D | ClickVerifier.java | 30 private final Flags mFlags; field in ClickVerifier 34 mFlags = FlagsFactory.getFlags(); in ClickVerifier() 40 mFlags = flags; in ClickVerifier() 61 return !mFlags.getMeasurementIsClickVerifiedByInputEvent() in isInputEventVerifiableBySystem() 73 <= mFlags.getMeasurementRegistrationInputEventValidWindowMs(); in isInputEventWithinValidTimeRange()
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 160 private final int mFlags; field in RuntimePermissionsState.PermissionState 172 mFlags = flags; in PermissionState() 200 return mFlags; in getFlags() 213 && mFlags == that.mFlags in equals() 219 return Objects.hash(mName, mGranted, mFlags); in hashCode()
|