Searched refs:roleHolder (Results 1 – 2 of 2) sorted by relevance
81 AtomsProto.RoleHolder roleHolder = atom.getRoleHolder(); in testRoleHolder() local83 assertThat(roleHolder.getPackageName()).isNotNull(); in testRoleHolder()84 assertThat(roleHolder.getRole()).isNotNull(); in testRoleHolder()87 if (roleHolder.getPackageName().equals("")) { in testRoleHolder()88 assertThat(roleHolder.getUid()).isEqualTo(-1); in testRoleHolder()90 assertThat(roleHolder.getUid()).isAtLeast(0); in testRoleHolder()93 if (roleHolder.getPackageName().equals(STATSD_APP_PKG)) { in testRoleHolder()94 assertThat(getAppId(roleHolder.getUid())).isEqualTo(testAppId); in testRoleHolder()95 assertThat(roleHolder.getPackageName()).isEqualTo(STATSD_APP_PKG); in testRoleHolder()96 assertThat(roleHolder.getRole()).isEqualTo(callScreenAppRole); in testRoleHolder()
141 static void runWithRole(Context context, String roleHolder, Runnable runnable) { in runWithRole() argument166 Assert.assertTrue(setDefaultWalletRoleHolder(context, roleHolder)); in runWithRole()