OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DevicePolicyEventWrapper
(Results
1 - 11
of
11
) sorted by null
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
MixedDeviceOwnerTest.java
23
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
80
Map<String,
DevicePolicyEventWrapper
[]> getAdditionalDelegationTests() {
81
final Map<String,
DevicePolicyEventWrapper
[]> result = new HashMap<>();
82
DevicePolicyEventWrapper
[] expectedMetrics = new
DevicePolicyEventWrapper
[] {
83
new
DevicePolicyEventWrapper
.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE)
88
new
DevicePolicyEventWrapper
.Builder(EventId.RETRIEVE_NETWORK_LOGS_VALUE)
92
new
DevicePolicyEventWrapper
.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE)
DeviceAndProfileOwnerTest.java
25
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
218
}, new
DevicePolicyEventWrapper
.Builder(EventId.INSTALL_CA_CERT_VALUE)
222
new
DevicePolicyEventWrapper
.Builder(EventId.UNINSTALL_CA_CERTS_VALUE)
282
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_APPLICATION_RESTRICTIONS_VALUE)
296
private Map<String,
DevicePolicyEventWrapper
[]> getDelegationTests() {
297
final Map<String,
DevicePolicyEventWrapper
[]> result = new HashMap<>();
308
Map<String,
DevicePolicyEventWrapper
[]> getAdditionalDelegationTests() {
309
return Collections.<String,
DevicePolicyEventWrapper
[]>emptyMap();
371
final Map<String,
DevicePolicyEventWrapper
[]> delegationTests = getDelegationTests();
406
}, new
DevicePolicyEventWrapper
.Builder(EventId.CHOOSE_PRIVATE_KEY_ALIAS_VALUE
[
all
...]
PasswordComplexityTest.java
7
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
52
new
DevicePolicyEventWrapper
AdbProvisioningTests.java
23
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
56
}, new
DevicePolicyEventWrapper
.Builder(EventId.PROVISIONING_ENTRY_POINT_ADB_VALUE)
70
}, new
DevicePolicyEventWrapper
.Builder(EventId.PROVISIONING_ENTRY_POINT_ADB_VALUE)
DeviceOwnerTest.java
22
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
152
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_DEVICE_OWNER_LOCK_SCREEN_INFO_VALUE)
164
}, new
DevicePolicyEventWrapper
.Builder(EventId.GET_WIFI_MAC_ADDRESS_VALUE)
495
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE)
499
new
DevicePolicyEventWrapper
.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE)
581
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_LOCKTASK_MODE_ENABLED_VALUE)
691
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE)
697
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE)
703
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE)
709
}, new
DevicePolicyEventWrapper
.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE
[
all
...]
CrossProfileAppsHostSideTest.java
7
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
120
new
DevicePolicyEventWrapper
139
new
DevicePolicyEventWrapper
DeviceAndProfileOwnerHostSideTransferTest.java
5
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
42
}, new
DevicePolicyEventWrapper
.Builder(EventId.TRANSFER_OWNERSHIP_VALUE)
ManagedProfileTest.java
24
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
197
}, new
DevicePolicyEventWrapper
.Builder(EventId.WIPE_DATA_WITH_REASON_VALUE)
431
}, new
DevicePolicyEventWrapper
.Builder(EventId.ADD_CROSS_PROFILE_INTENT_FILTER_VALUE)
[
all
...]
DeviceOwnerPlusProfileOwnerTest.java
21
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
;
22
import com.android.cts.devicepolicy.metrics.
DevicePolicyEventWrapper
.Builder;
50
private static final
DevicePolicyEventWrapper
WIPE_DATA_WITH_REASON_DEVICE_POLICY_EVENT =
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DevicePolicyEventLogVerifier.java
43
DevicePolicyEventWrapper
... expectedLogs) throws Exception {
56
for (
DevicePolicyEventWrapper
expectedLog : expectedLogs) {
65
DevicePolicyEventWrapper
expectedLog) {
66
final List<
DevicePolicyEventWrapper
> closestMatches = new ArrayList<>();
68
final
DevicePolicyEventWrapper
actualLog =
69
DevicePolicyEventWrapper
.fromDevicePolicyAtom(atom.getDevicePolicyEvent());
DevicePolicyEventWrapper.java
30
public final class
DevicePolicyEventWrapper
{
38
private
DevicePolicyEventWrapper
(Builder builder) {
48
* Constructs a {@link
DevicePolicyEventWrapper
} from a <code>DevicePolicyEvent</code> atom.
50
static
DevicePolicyEventWrapper
fromDevicePolicyAtom(DevicePolicyEvent atom) {
81
if (!(obj instanceof
DevicePolicyEventWrapper
)) {
84
final
DevicePolicyEventWrapper
other = (
DevicePolicyEventWrapper
) obj;
103
* Builder class for {@link
DevicePolicyEventWrapper
}.
164
public
DevicePolicyEventWrapper
build() {
165
return new
DevicePolicyEventWrapper
(this)
[
all
...]
Completed in 242 milliseconds