Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Sid Dahiya 3c77727853
Add StampEventIKeyForConcerns option in Java layer (#1107)
* Add StampEventIKeyForConcerns option in Java layer

* Update modules version and bump version

* Bump version to speed up release.
2023-03-06 13:37:48 -08:00
Sid Dahiya c18ed6c034
Update modules commit and related wrappers (#958) 2021-11-17 10:03:09 -08:00
Reiley Yang 3fcb47f28c
standardize the copyright info (#925) 2021-08-31 15:19:56 -07:00
Sid Dahiya 2b9c151c1b
Add Multiple LogManager support for Privacy Guard (#850)
* Add PrivacyGuardHelper

The class manages the PrivacyGuard shared_ptr.shared_ptr. This is needed to allow for logmanger-specific integration.

* Add checks for module before including PG.

* Update modules commit to module-master

* Fix build breaks and address comments.

* Correctly use the shared_ptr

* Fix missing methods for ILogManager

- Added tests
- Renamed PrivacyGuardState to PrivacyGuardHelper.

* Remove `/*static*/` where it's not used.

* Simplify the PG registration for LogManager

* Revert "Remove `/*static*/` where it's not used."

This reverts commit 3cf8f12242.

* Revert "Add PrivacyGuardState"

This reverts commit 42996be631.

# Conflicts:
#	lib/android_build/maesdk/src/main/java/com/microsoft/applications/events/LogManagerProvider.java
#	lib/jni/LogManager_jni.cpp
#	lib/jni/PrivacyGuard_jni.cpp

* Revert more changes.

* Cleanup LogManager and tests

* Minor rename of methods.

* Improve the test for PG on Multiple LogManager

* Minor refactoring.

* Add Java implementation for PG InitConfig

* Fix Mac build break for Android

Add support for multi-user scenarios
Point modules to newer commit with PG Module changes.

* Update modules and JNI.

* Try fix build break.

* Disable Android test for PG

Remove all the #ifs I added to make the test work.

* Fix PrivacyGuard_JNI compilation

* Remove deprecated CDC fields from Java.

* Update Obj-C Wrapper.

* Add ObjC InitConfig files.

* ObjC Wrapper updates.

* Update modules commit.

* Modules repo commit update.

* Pair programming and Xcode FTW

* Java Updates

* Address ObjC comments.

* Update main.mm to initialize the NSMutableArrays before using them.

* fix typo

* Update PG test

* Update InitConfig to use a C'tor for required values.

* Fix a typo on ObjC Wrapper

* Update Modules commit point to master tip.

Co-authored-by: David Brown <dabrow@microsoft.com>
2021-05-11 17:33:25 -07:00
Brendan Weibel 4fd545042e Fix one last missing instance of setting null to clear 2021-03-04 15:05:58 -08:00
Sid Dahiya fd566799e0 Switch CommonDataContext to not be unique_ptr. 2021-03-01 14:11:32 -08:00
Sid Dahiya d3b7a1a76d Update PrivacyGuard constructor. 2021-02-26 18:36:11 -08:00
Sid Dahiya 5d19e2cd02 Fixes based on module changes. 2021-02-26 17:55:05 -08:00
Sid Dahiya f2970995a2 Fix Android build. 2021-02-26 17:12:27 -08:00
Sid Dahiya f268220e3d Remove `GenerateCommonDataContextObject from JniConvertors as it is more of a PrivacyGuard_jni method. 2021-02-25 14:22:04 -08:00
Sid Dahiya 267c0263a6 Fix JNI wrapper 2021-02-24 13:21:44 -08:00
Max Golovanov 2960cac1c3 License cleanup + license clean-up scripts:
- change LICENSE file as per agreement with CELA: all code has not been previously released and is now licensed as Apache License 2.0
- move couple 3rd party code units to third_party
- scripts to search and replace
- add SPDX copyright to all compilation units
2020-10-07 00:51:29 -07:00
Sid Dahiya b2730fd263 Address PR Comments. 2020-09-29 12:30:29 -07:00
Sid Dahiya dc22260e66 Use WrapperLogManager instead of LogManager 2020-09-29 11:37:08 -07:00
Sid Dahiya e72e003d18 Address PR comments:
Add return values to initializePrivacyGuard

Add return value to appendCommonDataContext

Throw if appendCommonDataContext is called with null CommonDataContext

Fix bug where spPrivacyGuard wasn't registered with LogManager
2020-09-29 10:39:17 -07:00
Sid Dahiya 4819035317 Resolve comments from PR 2020-09-29 08:07:54 -07:00
Sid Dahiya d691da732b Add initial Java wrappers with JNI implementations. 2020-09-28 14:33:24 -07:00