Home
last modified time | relevance | path

Searched refs:UserType (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/
DTetheringMetricsTest.java57 import android.stats.connectivity.UserType;
119 final UserType user, final UpstreamEvents.Builder upstreamEvents, final long duration) in verifyReport()
173 verifyReport(expectedResult, ErrorCode.EC_NO_ERROR, UserType.USER_UNKNOWN, in runDownstreamTypesTest()
200 verifyReport(DownstreamType.DS_TETHERING_WIFI, expectedResult, UserType.USER_UNKNOWN, in runErrorCodesTest()
232 private void runUserTypesTest(final String callerPkg, final UserType expectedResult) in runUserTypesTest()
251 runUserTypesTest(TEST_CALLER_PKG, UserType.USER_UNKNOWN); in testUserTypes()
252 runUserTypesTest(SETTINGS_PKG, UserType.USER_SETTINGS); in testUserTypes()
253 runUserTypesTest(SYSTEMUI_PKG, UserType.USER_SYSTEMUI); in testUserTypes()
254 runUserTypesTest(GMS_PKG, UserType.USER_GMS); in testUserTypes()
268 UserType.USER_UNKNOWN, upstreamEvents, getElapsedRealtime()); in runUpstreamTypesTest()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java53 import android.stats.connectivity.UserType;
345 private UserType userTypeToEnum(final String callerPkg) { in userTypeToEnum()
347 return UserType.USER_SETTINGS; in userTypeToEnum()
349 return UserType.USER_SYSTEMUI; in userTypeToEnum()
351 return UserType.USER_GMS; in userTypeToEnum()
353 return UserType.USER_UNKNOWN; in userTypeToEnum()
Dstats.proto59 optional .android.stats.connectivity.UserType user_type = 4;
/packages/apps/Dialer/java/com/android/contacts/common/
DContactsUtils.java60 public static @UserType long determineUserType(Long directoryId, Long contactId) { in determineUserType()
82 public @interface UserType {} annotation in ContactsUtils
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfo.java22 import com.android.contacts.common.ContactsUtils.UserType;
61 public @UserType long userType;
DContactInfoHelper.java34 import com.android.contacts.common.ContactsUtils.UserType;
101 Context context, String lookupKey, @UserType long userType, @Nullable Long directoryId) { in lookUpDisplayNameAlternative()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java27 import com.android.contacts.common.ContactsUtils.UserType;
112 public @UserType long contactUserType;
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java109 public @interface UserType {} annotation in ContactsUtils
255 public static @UserType long determineUserType(Long directoryId, Long contactId) { in determineUserType()
/packages/services/Car/car-lib/src/android/car/admin/
DCarDevicePolicyManager.java111 public @interface UserType { annotation in CarDevicePolicyManager
197 public CreateUserResult createUser(@Nullable String name, @UserType int type) { in createUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java141 private void invalidCreateUserTypeTest(@CarDevicePolicyManager.UserType int type) in invalidCreateUserTypeTest()
166 private void createUserOkTest(@CarDevicePolicyManager.UserType int carDpmUserType) { in createUserOkTest()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java33 import com.android.contacts.common.ContactsUtils.UserType;
105 public @UserType long userType;
DStatusBarNotifier.java70 import com.android.contacts.common.ContactsUtils.UserType;
679 private CharSequence getContentString(DialerCall call, @UserType long userType) { in getContentString()
/packages/services/Car/service/src/com/android/car/admin/
DCarDevicePolicyService.java153 public void createUser(@Nullable String name, @CarDevicePolicyManager.UserType int type, in createUser()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DEnterpriseContactsTest.java22 import static com.android.bedstead.harrier.UserType.WORK_PROFILE;