• Home
  • Raw
  • Download

Lines Matching refs:info

63         VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME);  in testServiceNameWithDefaults()  local
64 assertThat(info.getIntent().getComponent()) in testServiceNameWithDefaults()
66 assertThat(info.shouldBeBound()).isFalse(); in testServiceNameWithDefaults()
67 assertThat(info.shouldBeStartedInForeground()).isFalse(); in testServiceNameWithDefaults()
68 assertThat(info.isSystemUserService()).isTrue(); in testServiceNameWithDefaults()
69 assertThat(info.isForegroundUserService()).isTrue(); in testServiceNameWithDefaults()
70 assertThat(info.shouldStartOnUnlock()).isTrue(); in testServiceNameWithDefaults()
75 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService() local
76 assertThat(info.shouldBeBound()).isFalse(); in startService()
77 assertThat(info.shouldBeStartedInForeground()).isFalse(); in startService()
78 assertThat(info.getIntent().getComponent()) in startService()
84 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=bind"); in bindService() local
85 assertThat(info.shouldBeBound()).isTrue(); in bindService()
86 assertThat(info.shouldBeStartedInForeground()).isFalse(); in bindService()
91 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=startForeground"); in startServiceInForeground() local
92 assertThat(info.shouldBeBound()).isFalse(); in startServiceInForeground()
93 assertThat(info.shouldBeStartedInForeground()).isTrue(); in startServiceInForeground()
98 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=asap"); in triggerAsap() local
99 assertThat(info.shouldStartOnUnlock()).isFalse(); in triggerAsap()
104 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=userUnlocked"); in triggerUnlocked() local
105 assertThat(info.shouldStartOnUnlock()).isTrue(); in triggerUnlocked()
116 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=foreground"); in userScopeForeground() local
117 assertThat(info.isForegroundUserService()).isTrue(); in userScopeForeground()
118 assertThat(info.isSystemUserService()).isFalse(); in userScopeForeground()
123 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=system"); in userScopeSystem() local
124 assertThat(info.isForegroundUserService()).isFalse(); in userScopeSystem()
125 assertThat(info.isSystemUserService()).isTrue(); in userScopeSystem()
130 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=all"); in userScopeAll() local
131 assertThat(info.isForegroundUserService()).isTrue(); in userScopeAll()
132 assertThat(info.isSystemUserService()).isTrue(); in userScopeAll()
143 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME in allArgs() local
145 assertThat(info.getIntent().getComponent()) in allArgs()
147 assertThat(info.shouldBeBound()).isTrue(); in allArgs()
148 assertThat(info.isForegroundUserService()).isTrue(); in allArgs()
149 assertThat(info.isSystemUserService()).isFalse(); in allArgs()
150 assertThat(info.shouldStartOnUnlock()).isTrue(); in allArgs()
151 assertThat(info.shouldStartAsap()).isFalse(); in allArgs()