test_class.declarator: mHalo
test_class.modifier: private
test_class.original_string: private Halo mHalo;
test_class.type: Halo
test_class.var_name: mHalo
test_class.declarator: mMockServer
test_class.modifier: private
test_class.original_string: private MockServer mMockServer;
test_class.type: MockServer
test_class.var_name: mMockServer
test_class.declarator: mCallbackFlag
test_class.modifier: private
test_class.original_string: private CallbackFlag mCallbackFlag;
test_class.type: CallbackFlag
test_class.var_name: mCallbackFlag
test_class.declarator: mDeviceSyncSubscription
test_class.modifier: private
test_class.original_string: private ISubscription mDeviceSyncSubscription;
test_class.type: ISubscription
test_class.var_name: mDeviceSyncSubscription
test_class.file: sdk/halo-sdk/src/test/java/com/mobgen/halo/android/sdk/core/management/HaloManagerApiTest.java
test_class.identifier: HaloManagerApiTest
test_class.superclass: extends HaloRobolectricTest
test_case.body: @Test
      public void thatAddADeviceTag() throws IOException {
          enqueueServerFile(mMockServer, ADD_SEGMENTATION_TAG);
          final HaloSegmentationTag mySegmentationTag = new HaloSegmentationTag("myCustomTagYear", "1984");
          CallbackV2<Device> callback = givenCallbackWithDeviceSegmentationTagAdd(mCallbackFlag, mySegmentationTag);
          ICancellable cancellable = mHalo.getCore().manager()
                  .addDeviceTag(mySegmentationTag, true)
                  .threadPolicy(Threading.POOL_QUEUE_POLICY)
                  .execute(callback);
          assertThat(mCallbackFlag.isFlagged()).isTrue();
          assertThat(cancellable).isNotNull();
      }
test_case.class_method_signature: HaloManagerApiTest.thatAddADeviceTag()
test_case.full_signature: @Test public void thatAddADeviceTag()
test_case.identifier: thatAddADeviceTag
test_case.invocations: enqueueServerFile givenCallbackWithDeviceSegmentationTagAdd execute threadPolicy addDeviceTag manager getCore isTrue assertThat isFlagged isNotNull assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void thatAddADeviceTag()
focal_class.declarator: DEVICE_UPDATE_EVENT_ID = EventId.create(":halo:device:update")
focal_class.modifier: public static final
focal_class.original_string: public static final EventId DEVICE_UPDATE_EVENT_ID = EventId.create(":halo:device:update");
focal_class.type: EventId
focal_class.var_name: DEVICE_UPDATE_EVENT_ID
focal_class.declarator: mManagerStorage
focal_class.modifier: private
focal_class.original_string: private HaloStorageApi mManagerStorage;
focal_class.type: HaloStorageApi
focal_class.var_name: mManagerStorage
focal_class.declarator: mModulesRepository
focal_class.modifier: private
focal_class.original_string: private ModulesRepository mModulesRepository;
focal_class.type: ModulesRepository
focal_class.var_name: mModulesRepository
focal_class.declarator: mVersionRepository
focal_class.modifier: private
focal_class.original_string: private VersionRepository mVersionRepository;
focal_class.type: VersionRepository
focal_class.var_name: mVersionRepository
focal_class.declarator: mTokenRepository
focal_class.modifier: private
focal_class.original_string: private TokenRepository mTokenRepository;
focal_class.type: TokenRepository
focal_class.var_name: mTokenRepository
focal_class.declarator: mDeviceRepository
focal_class.modifier: private
focal_class.original_string: private DeviceRepository mDeviceRepository;
focal_class.type: DeviceRepository
focal_class.var_name: mDeviceRepository
focal_class.declarator: mEventRespository
focal_class.modifier: private
focal_class.original_string: private EventRepository mEventRespository;
focal_class.type: EventRepository
focal_class.var_name: mEventRespository
focal_class.file: sdk/halo-sdk/src/main/java/com/mobgen/halo/android/sdk/core/management/HaloManagerApi.java
focal_class.identifier: HaloManagerApi
focal_class.class_method_signature: HaloManagerApi.HaloManagerApi(@NonNull Halo halo)
focal_class.full_signature: private  HaloManagerApi(@NonNull Halo halo)
focal_class.identifier: HaloManagerApi
focal_class.modifiers: private
focal_class.parameters: (@NonNull Halo halo)
focal_class.signature:  HaloManagerApi(@NonNull Halo halo)
focal_class.class_method_signature: HaloManagerApi.with(Halo halo)
focal_class.full_signature: public static HaloManagerApi with(Halo halo)
focal_class.identifier: with
focal_class.modifiers: public static
focal_class.parameters: (Halo halo)
focal_class.return: HaloManagerApi
focal_class.signature: HaloManagerApi with(Halo halo)
focal_class.class_method_signature: HaloManagerApi.storage()
focal_class.full_signature: @Keep @Api(2.0) @NonNull public HaloStorageApi storage()
focal_class.identifier: storage
focal_class.modifiers: @Keep @Api(2.0) @NonNull public
focal_class.parameters: ()
focal_class.return: HaloStorageApi
focal_class.signature: HaloStorageApi storage()
focal_class.class_method_signature: HaloManagerApi.getModules(@Data.Policy int dataMode, @NonNull HaloModuleQuery moduleQuery)
focal_class.full_signature: @Keep @NonNull @Api(2.0) @CheckResult(suggest = "You may want to call asContent() or asRaw() to get the information") public HaloSelectorFactory<List<HaloModule>, Cursor> getModules(@Data.Policy int dataMode, @NonNull HaloModuleQuery moduleQuery)
focal_class.identifier: getModules
focal_class.modifiers: @Keep @NonNull @Api(2.0) @CheckResult(suggest = "You may want to call asContent() or asRaw() to get the information") public
focal_class.parameters: (@Data.Policy int dataMode, @NonNull HaloModuleQuery moduleQuery)
focal_class.return: HaloSelectorFactory<List<HaloModule>, Cursor>
focal_class.signature: HaloSelectorFactory<List<HaloModule>, Cursor> getModules(@Data.Policy int dataMode, @NonNull HaloModuleQuery moduleQuery)
focal_class.class_method_signature: HaloManagerApi.printModulesMetaData()
focal_class.full_signature: @Keep @NonNull @Api(2.3) public ICancellable printModulesMetaData()
focal_class.identifier: printModulesMetaData
focal_class.modifiers: @Keep @NonNull @Api(2.3) public
focal_class.parameters: ()
focal_class.return: ICancellable
focal_class.signature: ICancellable printModulesMetaData()
focal_class.class_method_signature: HaloManagerApi.getModuleWithMetaData(@NonNull HaloModuleQuery moduleQuery)
focal_class.full_signature: @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") private HaloSelectorFactory<List<HaloModule>, Cursor> getModuleWithMetaData(@NonNull HaloModuleQuery moduleQuery)
focal_class.identifier: getModuleWithMetaData
focal_class.modifiers: @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") private
focal_class.parameters: (@NonNull HaloModuleQuery moduleQuery)
focal_class.return: HaloSelectorFactory<List<HaloModule>, Cursor>
focal_class.signature: HaloSelectorFactory<List<HaloModule>, Cursor> getModuleWithMetaData(@NonNull HaloModuleQuery moduleQuery)
focal_class.class_method_signature: HaloManagerApi.getServerVersion()
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<HaloServerVersion> getServerVersion()
focal_class.identifier: getServerVersion
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: ()
focal_class.return: HaloInteractorExecutor<HaloServerVersion>
focal_class.signature: HaloInteractorExecutor<HaloServerVersion> getServerVersion()
focal_class.class_method_signature: HaloManagerApi.requestToken(@NonNull Credentials credentials)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Token> requestToken(@NonNull Credentials credentials)
focal_class.identifier: requestToken
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@NonNull Credentials credentials)
focal_class.return: HaloInteractorExecutor<Token>
focal_class.signature: HaloInteractorExecutor<Token> requestToken(@NonNull Credentials credentials)
focal_class.class_method_signature: HaloManagerApi.isAppAuthentication()
focal_class.full_signature: @Keep @Api(1.3) public boolean isAppAuthentication()
focal_class.identifier: isAppAuthentication
focal_class.modifiers: @Keep @Api(1.3) public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAppAuthentication()
focal_class.class_method_signature: HaloManagerApi.isPasswordAuthentication()
focal_class.full_signature: @Keep @Api(1.3) public boolean isPasswordAuthentication()
focal_class.identifier: isPasswordAuthentication
focal_class.modifiers: @Keep @Api(1.3) public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPasswordAuthentication()
focal_class.class_method_signature: HaloManagerApi.syncDevice()
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> syncDevice()
focal_class.identifier: syncDevice
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: ()
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> syncDevice()
focal_class.class_method_signature: HaloManagerApi.syncDeviceWhenNetworkAvailable(@Threading.Policy final int threading)
focal_class.full_signature: @Keep @Api(2.0) public void syncDeviceWhenNetworkAvailable(@Threading.Policy final int threading)
focal_class.identifier: syncDeviceWhenNetworkAvailable
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: (@Threading.Policy final int threading)
focal_class.return: void
focal_class.signature: void syncDeviceWhenNetworkAvailable(@Threading.Policy final int threading)
focal_class.class_method_signature: HaloManagerApi.subscribeForDeviceSync(@NonNull Subscriber subscriber)
focal_class.full_signature: @Keep @NonNull @Api(2.0) @CheckResult(suggest = "Subscription.unsubscribe() to avoid memory leaks") public ISubscription subscribeForDeviceSync(@NonNull Subscriber subscriber)
focal_class.identifier: subscribeForDeviceSync
focal_class.modifiers: @Keep @NonNull @Api(2.0) @CheckResult(suggest = "Subscription.unsubscribe() to avoid memory leaks") public
focal_class.parameters: (@NonNull Subscriber subscriber)
focal_class.return: ISubscription
focal_class.signature: ISubscription subscribeForDeviceSync(@NonNull Subscriber subscriber)
focal_class.class_method_signature: HaloManagerApi.sendDevice()
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> sendDevice()
focal_class.identifier: sendDevice
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: ()
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> sendDevice()
focal_class.class_method_signature: HaloManagerApi.setNotificationsToken(@Nullable String notificationToken)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> setNotificationsToken(@Nullable String notificationToken)
focal_class.identifier: setNotificationsToken
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable String notificationToken)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> setNotificationsToken(@Nullable String notificationToken)
focal_class.class_method_signature: HaloManagerApi.fetchCurrentDevice()
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> fetchCurrentDevice()
focal_class.identifier: fetchCurrentDevice
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: ()
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> fetchCurrentDevice()
focal_class.class_method_signature: HaloManagerApi.addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_class.identifier: addDeviceTag
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_class.class_method_signature: HaloManagerApi.addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.full_signature: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.identifier: addDeviceTag
focal_class.modifiers: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable HaloSegmentationTag tag, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.class_method_signature: HaloManagerApi.addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice)
focal_class.identifier: addDeviceTags
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice)
focal_class.class_method_signature: HaloManagerApi.addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.full_signature: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.identifier: addDeviceTags
focal_class.modifiers: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> addDeviceTags(@Nullable List<HaloSegmentationTag> segmentationTags, boolean shouldSendDevice, boolean shouldOverrideTags)
focal_class.class_method_signature: HaloManagerApi.removeDeviceTag(@Nullable String tagName, boolean shouldSendDevice)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> removeDeviceTag(@Nullable String tagName, boolean shouldSendDevice)
focal_class.identifier: removeDeviceTag
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable String tagName, boolean shouldSendDevice)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> removeDeviceTag(@Nullable String tagName, boolean shouldSendDevice)
focal_class.class_method_signature: HaloManagerApi.removeDeviceTags(@Nullable List<String> tagNames, boolean shouldSendDevice)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> removeDeviceTags(@Nullable List<String> tagNames, boolean shouldSendDevice)
focal_class.identifier: removeDeviceTags
focal_class.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@Nullable List<String> tagNames, boolean shouldSendDevice)
focal_class.return: HaloInteractorExecutor<Device>
focal_class.signature: HaloInteractorExecutor<Device> removeDeviceTags(@Nullable List<String> tagNames, boolean shouldSendDevice)
focal_class.class_method_signature: HaloManagerApi.getDevice()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public Device getDevice()
focal_class.identifier: getDevice
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: Device
focal_class.signature: Device getDevice()
focal_class.class_method_signature: HaloManagerApi.getAppId()
focal_class.full_signature: @Keep @Api(2.3) @Nullable public String getAppId()
focal_class.identifier: getAppId
focal_class.modifiers: @Keep @Api(2.3) @Nullable public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAppId()
focal_class.class_method_signature: HaloManagerApi.sendEvent(@NonNull HaloEvent haloEvent)
focal_class.full_signature: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<HaloEvent> sendEvent(@NonNull HaloEvent haloEvent)
focal_class.identifier: sendEvent
focal_class.modifiers: @Keep @Api(2.33) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_class.parameters: (@NonNull HaloEvent haloEvent)
focal_class.return: HaloInteractorExecutor<HaloEvent>
focal_class.signature: HaloInteractorExecutor<HaloEvent> sendEvent(@NonNull HaloEvent haloEvent)
focal_class.superclass: extends HaloPluginApi
focal_method.body: @Keep
      @Api(2.0)
      @NonNull
      @CheckResult(suggest = "You may want to call execute() to run the task")
      public HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice) {
          return addDeviceTags(Collections.singletonList(tag), shouldSendDevice);
      }
focal_method.class_method_signature: HaloManagerApi.addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_method.full_signature: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_method.identifier: addDeviceTag
focal_method.invocations: addDeviceTags singletonList
focal_method.modifiers: @Keep @Api(2.0) @NonNull @CheckResult(suggest = "You may want to call execute() to run the task") public
focal_method.parameters: (@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)
focal_method.return: HaloInteractorExecutor<Device>
focal_method.signature: HaloInteractorExecutor<Device> addDeviceTag(@Nullable HaloSegmentationTag tag, boolean shouldSendDevice)